diff --git a/go.mod b/go.mod index 8310ab2fb..5f74c1310 100644 --- a/go.mod +++ b/go.mod @@ -13,13 +13,13 @@ require ( github.com/mapt-oss/pulumi-ibmcloud/sdk v0.0.12 github.com/pulumi/pulumi-command/sdk v1.2.1 github.com/pulumi/pulumi-random/sdk/v4 v4.21.0 - github.com/pulumi/pulumi/sdk/v3 v3.244.0 + github.com/pulumi/pulumi/sdk/v3 v3.245.0 github.com/sirupsen/logrus v1.9.4 github.com/spf13/cobra v1.10.2 ) require ( - github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.1 + github.com/Azure/azure-sdk-for-go/sdk/azcore v1.22.0 github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v7 v7.3.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcegraph/armresourcegraph v0.10.0 @@ -28,13 +28,13 @@ require ( github.com/IBM/go-sdk-core/v5 v5.21.4 github.com/aws/amazon-ec2-instance-selector/v3 v3.1.3 github.com/aws/aws-sdk-go-v2 v1.41.12 - github.com/aws/aws-sdk-go-v2/config v1.32.23 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.304.2 - github.com/aws/aws-sdk-go-v2/service/s3 v1.101.0 + github.com/aws/aws-sdk-go-v2/config v1.32.20 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.305.2 + github.com/aws/aws-sdk-go-v2/service/s3 v1.103.2 github.com/aws/aws-sdk-go-v2/service/sts v1.43.2 - github.com/pulumi/pulumi-aws-native/sdk v1.66.0 - github.com/pulumi/pulumi-aws/sdk/v7 v7.30.0 - github.com/pulumi/pulumi-awsx/sdk/v3 v3.5.0 + github.com/pulumi/pulumi-aws-native/sdk v1.68.0 + github.com/pulumi/pulumi-aws/sdk/v7 v7.32.0 + github.com/pulumi/pulumi-awsx/sdk/v3 v3.6.0 github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.19.0 github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.19.0 github.com/pulumi/pulumi-azure-native-sdk/containerservice/v3 v3.19.0 @@ -44,7 +44,7 @@ require ( github.com/pulumi/pulumi-azure-native-sdk/storage/v3 v3.19.0 github.com/pulumi/pulumi-gitlab/sdk/v8 v8.11.0 github.com/pulumi/pulumi-tls/sdk/v5 v5.5.0 - golang.org/x/exp v0.0.0-20260529124908-c761662dc8c9 + golang.org/x/exp v0.0.0-20260603202125-055de637280b k8s.io/apimachinery v0.36.1 k8s.io/client-go v0.36.1 ) @@ -66,7 +66,7 @@ require ( github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.29 // indirect github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.21 // indirect github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.28 // indirect - github.com/aws/aws-sdk-go-v2/service/pricing v1.42.6 // indirect + github.com/aws/aws-sdk-go-v2/service/pricing v1.42.2 // indirect github.com/blang/semver/v4 v4.0.0 // indirect github.com/evertras/bubble-table v0.19.2 // indirect github.com/hashicorp/hcl/v2 v2.24.0 // indirect @@ -85,20 +85,20 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/managementgroups/armmanagementgroups v1.2.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 // indirect github.com/BurntSushi/toml v1.6.0 // indirect - github.com/IBM/platform-services-go-sdk v0.98.0 // indirect + github.com/IBM/platform-services-go-sdk v0.99.0 // indirect github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.19.22 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.28 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.19.19 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.25 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.28 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.28 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.12 // indirect github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.28 // indirect - github.com/aws/aws-sdk-go-v2/service/signin v1.1.4 // indirect + github.com/aws/aws-sdk-go-v2/service/signin v1.1.1 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.31.2 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.5 // indirect - github.com/aws/smithy-go v1.27.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.2 // indirect + github.com/aws/smithy-go v1.27.2 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/cenkalti/backoff/v5 v5.0.3 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -108,7 +108,7 @@ require ( github.com/charmbracelet/lipgloss v1.1.0 // indirect github.com/charmbracelet/x/ansi v0.11.7 // indirect github.com/charmbracelet/x/cellbuf v0.0.15 // indirect - github.com/charmbracelet/x/exp/golden v0.0.0-20260601140041-e36ca9b00c4e // indirect + github.com/charmbracelet/x/exp/golden v0.0.0-20260607010151-cd19a2bba55f // indirect github.com/charmbracelet/x/term v0.2.2 // indirect github.com/clipperhouse/displaywidth v0.11.0 // indirect github.com/clipperhouse/uax29/v2 v2.7.0 // indirect @@ -124,15 +124,15 @@ require ( github.com/go-openapi/errors v0.22.8 // indirect github.com/go-openapi/jsonpointer v0.23.1 // indirect github.com/go-openapi/jsonreference v0.21.6 // indirect - github.com/go-openapi/loads v0.23.3 // indirect - github.com/go-openapi/runtime v0.32.3 // indirect - github.com/go-openapi/runtime/server-middleware v0.32.3 // indirect + github.com/go-openapi/loads v0.24.0 // indirect + github.com/go-openapi/runtime v0.32.2 // indirect + github.com/go-openapi/runtime/server-middleware v0.32.2 // indirect github.com/go-openapi/spec v0.22.5 // indirect github.com/go-openapi/strfmt v0.26.3 // indirect - github.com/go-openapi/swag v0.26.1 // indirect - github.com/go-openapi/swag/cmdutils v0.26.1 // indirect + github.com/go-openapi/swag v0.26.0 // indirect + github.com/go-openapi/swag/cmdutils v0.26.0 // indirect github.com/go-openapi/swag/conv v0.26.1 // indirect - github.com/go-openapi/swag/fileutils v0.26.1 // indirect + github.com/go-openapi/swag/fileutils v0.26.0 // indirect github.com/go-openapi/swag/jsonname v0.26.1 // indirect github.com/go-openapi/swag/jsonutils v0.26.1 // indirect github.com/go-openapi/swag/loading v0.26.1 // indirect @@ -205,7 +205,7 @@ require ( gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect k8s.io/klog/v2 v2.140.0 // indirect - k8s.io/kube-openapi v0.0.0-20260520065146-aa012df4f4af // indirect + k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 // indirect k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 // indirect sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect sigs.k8s.io/randfill v1.0.0 // indirect @@ -216,7 +216,7 @@ require ( require ( github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armsubscriptions v1.3.0 github.com/IBM-Cloud/power-go-client v1.15.0 - github.com/IBM/vpc-go-sdk v0.83.2 + github.com/IBM/vpc-go-sdk v0.84.0 github.com/Microsoft/go-winio v0.6.2 // indirect github.com/ProtonMail/go-crypto v1.4.1 // indirect github.com/aws/aws-sdk-go-v2/service/ecs v1.82.3 diff --git a/go.sum b/go.sum index 0264e18cc..d2b54f73d 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8= dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.1 h1:jHb/wfvRikGdxMXYV3QG/SzUOPYN9KEUUuC0Yd0/vC0= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.1/go.mod h1:pzBXCYn05zvYIrwLgtK8Ap8QcjRg+0i76tMQdWN6wOk= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.22.0 h1:aokoqcHvaGjiM3VpjKDfMMnF/8epJ+Q1HLJ7CudztqE= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.22.0/go.mod h1:/WYEx9pcM9Y+Dd/APJaNlSvVSvzl54rrMdZT5+Oi2LM= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1 h1:Hk5QBxZQC1jb2Fwj6mpzme37xbCDdNTxU7O9eb5+LB4= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.13.1/go.mod h1:IYus9qsFobWIc2YVwe/WPjcnyCkPKtnHAqUYeebc8z0= github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2 h1:yz1bePFlP5Vws5+8ez6T3HWXPmwOK7Yvq8QxDBD3SKY= @@ -42,10 +42,10 @@ github.com/IBM-Cloud/power-go-client v1.15.0 h1:bXkcx9DlhCmNr9w2xHI9lpzjkfM7uLVv github.com/IBM-Cloud/power-go-client v1.15.0/go.mod h1:UTyMxybFDj0xHNalAIC5qfRZs16gOSDzPFfUOWnRD64= github.com/IBM/go-sdk-core/v5 v5.21.4 h1:f1x/AkOj1BZuOHUM7qyeIt6Cw2pprlDRIKR+RUpxobs= github.com/IBM/go-sdk-core/v5 v5.21.4/go.mod h1:cZJMMEImJkIXCd61kHeDFtjbdDpXq4ua4ITrwpBYdWs= -github.com/IBM/platform-services-go-sdk v0.98.0 h1:Ff9LULrp/dlu/vIGZOeSdROWiAa4fKVbuZaAqc1aFFk= -github.com/IBM/platform-services-go-sdk v0.98.0/go.mod h1:t93mozFmKrxexnKNdx2gNOtEI9Wd62dKAVffQYm0vRM= -github.com/IBM/vpc-go-sdk v0.83.2 h1:RLMha7+buktU9hrhvAMF2QRHIvxaAsuU14W6akybJqs= -github.com/IBM/vpc-go-sdk v0.83.2/go.mod h1:85bJ/0FS7vYAifHdZvlnXypf8pQSmuf9kxReDDI5ZdY= +github.com/IBM/platform-services-go-sdk v0.99.0 h1:oaWxQ6hSzqzFF3E9WU2FpQi77FMPPHRW+pMzOO7r0PQ= +github.com/IBM/platform-services-go-sdk v0.99.0/go.mod h1:t93mozFmKrxexnKNdx2gNOtEI9Wd62dKAVffQYm0vRM= +github.com/IBM/vpc-go-sdk v0.84.0 h1:r2wIAOrRGD7bIPaZ3M/0HLUSNziUW9kdDyW96Wf3eUg= +github.com/IBM/vpc-go-sdk v0.84.0/go.mod h1:PkBoJoyDAdkcM2wrBSTJr0L6BVoX00wmX5LK5bR1/PY= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= @@ -69,20 +69,20 @@ github.com/aws/aws-sdk-go-v2 v1.41.12 h1:DIKX2c31ekm9RA2D9FBj1EWXx++9AdAqRw+e78T github.com/aws/aws-sdk-go-v2 v1.41.12/go.mod h1:27+ACypSLljLAEKsCYOmrjKh83vuTRkuAe9Uv/3A4bg= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.13 h1:p1BBrg/Hhp6uK7zpejeI8QFXHJeC/mynzi04Sl03k9g= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.13/go.mod h1:8cIfkE9MDhkRZGpQ22aV6/lkYeYSozpz16Smrs5x4Ls= -github.com/aws/aws-sdk-go-v2/config v1.32.23 h1:PYDobtcsJXK6bQe9I8RQk6s19Bz3xa3xRU08Hy1Em3Y= -github.com/aws/aws-sdk-go-v2/config v1.32.23/go.mod h1:QID4dqUQVgEOYPKsPWd1sNWCCR2c5g7o3jeEtIXPOZU= -github.com/aws/aws-sdk-go-v2/credentials v1.19.22 h1:SHfH6wyPsEgG7fVsi5rQxWEt7tuIcN2PGhb1mTFv6tE= -github.com/aws/aws-sdk-go-v2/credentials v1.19.22/go.mod h1:54nO8lKD4aQPOntM/VTWjnR+DYzTwx0YkSMZMhAgewQ= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.28 h1:b+kcDejJrXc30zU/w8Tc9klISwaO5wh+6T0sMBdDoHM= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.28/go.mod h1:LnI62O9GnSv6GcuLXxOYqlq0C8EmxMcgnF6m7LdYuOY= +github.com/aws/aws-sdk-go-v2/config v1.32.20 h1:8VMDnWc/kEzxsI/1ngGM9mG81a8IGmIHD8KLcYGwagc= +github.com/aws/aws-sdk-go-v2/config v1.32.20/go.mod h1:PuwEpciweIXGULWeOeSTXtSbH4CW9mWdWrhdCKQI1sM= +github.com/aws/aws-sdk-go-v2/credentials v1.19.19 h1:yuFzSV1U0aRNYCQGVaTY2zW2M/L93pYHnXnrJUphYhU= +github.com/aws/aws-sdk-go-v2/credentials v1.19.19/go.mod h1:7y63L1kGzeoDlJaQ3Z578KrnmfBut96JjvJUzGwR+YE= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.25 h1:0w6dCiO8iez+YKwRhRBlL1CH/E3GTfdkuzrwj1by8vo= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.25/go.mod h1:9FDWUothyr5RCRAHc45XOiVCzUR8n/IhCYX+uVqw6vk= github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.28 h1:Xf2j7NdVcUKomlZ4iihOP4AZ3Fzlr8h4yKpXeP+OFPg= github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.28/go.mod h1:O8cDo1dW63jU7ki//kRe1z+tLGcpnD1jrouitsQddDw= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.28 h1:KqIfN9kpkKkcBqBbNpNGTIrXO6ExTUvFKvXkC+YAzVo= github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.28/go.mod h1:uxtQiKvLtNS4iXVsH2McVD/ls8FKN/uUhe1hGxPjrw0= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.29 h1:VkE9FuzTQVjBBrnj4+oCdxCLFIz7aqLYKUCjtvxVcOs= github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.29/go.mod h1:H32Z2Qth9b+9LqjyBsCnozMQ8H2N7YBUDVXwbs0iggg= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.304.2 h1:puQq1j5XHH/zaeAJS8ngKUaBAlg70VStCvhwH69Vr4o= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.304.2/go.mod h1:BmEhUktSbAPK6oedmAp9w/j4Yaa2WqTmNTQ4ovydhX4= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.305.2 h1:xcHUdx4FNgUZmLuI6vqB5QDsVnWx1MVbPSoaXtLxUB8= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.305.2/go.mod h1:SUtka5kgdr5Wx2BdRrH/IGkCKHW63IVQoyBkP0P1gdo= github.com/aws/aws-sdk-go-v2/service/ecs v1.82.3 h1:0h+khLoWaCU9JE6ZeQrQ9xZS+EnrjISQlnt/xtxEL/I= github.com/aws/aws-sdk-go-v2/service/ecs v1.82.3/go.mod h1:st/PIQyL6fJSoYTxijbYIKZjPpPP2JiUdcUf++xX0Kk= github.com/aws/aws-sdk-go-v2/service/iam v1.54.3 h1:ur8hMC1VjTXvvTfE9LEbtmuvfgjOW7mhPHE65Hmk5zc= @@ -95,20 +95,20 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.28 h1:axj4mEDl github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.28/go.mod h1:3Aaz69M0jqfSHLKqxgolgUBFT4hpwSNc7DzC95orEi8= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.28 h1:li8rTZAAb22g4UsxbjwMdaNVWbgVcDzPqI7nDTI+mF4= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.28/go.mod h1:/brXioSGIMEdcBFoubpSdmighSVp6poP+mma/wB7iHA= -github.com/aws/aws-sdk-go-v2/service/pricing v1.42.6 h1:5EEtWhATwSvA94j/DYUpK3LqVhdaL9kYW+cUvX3q+1Q= -github.com/aws/aws-sdk-go-v2/service/pricing v1.42.6/go.mod h1:U1FZ57d+DLTWaCB4LqEjqSYKGjUiXZIQwCcAtqpBB+k= -github.com/aws/aws-sdk-go-v2/service/s3 v1.101.0 h1:etqBTKY581iwLL/H/S2sVgk3C9lAsTJFeXWFDsDcWOU= -github.com/aws/aws-sdk-go-v2/service/s3 v1.101.0/go.mod h1:L2dcoOgS2VSgbPLvpak2NyUPsO1TBN7M45Z4H7DlRc4= -github.com/aws/aws-sdk-go-v2/service/signin v1.1.4 h1:YcpVyIPLCbiypN6KSphijN5fC7DDjX114SqA7prnnxg= -github.com/aws/aws-sdk-go-v2/service/signin v1.1.4/go.mod h1:5ZICS++oFTRPfa1GsBqFDWX/8WamZ/QQOcCzIuU/zLw= +github.com/aws/aws-sdk-go-v2/service/pricing v1.42.2 h1:qLe0KpIqzUuBQk6iV7oiOGW/EEWLs87uTP/xNKpfe88= +github.com/aws/aws-sdk-go-v2/service/pricing v1.42.2/go.mod h1:aciuNKM3vUImiRzhEquRAAfetzdIKAdbEIL3cTm1XE4= +github.com/aws/aws-sdk-go-v2/service/s3 v1.103.2 h1:b4ikkRk22T4xYkEgaWc3Voe+3xbt5YbbFhNehOWyUiY= +github.com/aws/aws-sdk-go-v2/service/s3 v1.103.2/go.mod h1:Gp7eHZ0NZ8ZK5RXpoIUp/C8OeAmJqpCgdwEK1D/QOek= +github.com/aws/aws-sdk-go-v2/service/signin v1.1.1 h1:1VwbP3qMNfxUDEXWki4rCE5iA+44VA1lokTz9HasGzw= +github.com/aws/aws-sdk-go-v2/service/signin v1.1.1/go.mod h1:vUtyoSj0OPji3kjIVSc/GlKuWEiL33f/WFxl6dmpy/A= github.com/aws/aws-sdk-go-v2/service/sso v1.31.2 h1:ySNWu7TPmj5fKFIa1GYvX+Ddxd5ccruqC20aMNuyWDM= github.com/aws/aws-sdk-go-v2/service/sso v1.31.2/go.mod h1:A+U9luAOwFeB1kseyWCITVg7/NntoPebCFR9pQ4ch9A= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.5 h1:KSzGGqfk39O+WU3OEyYbx6F7sLDQCqxlOJ+2IksfK6U= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.5/go.mod h1:ATs88lXDeQB6CZOgQ5BIl9JbYS+EsCWUSDyff6L/oVo= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.2 h1:hc+lBYiiTr8Zk4MTzIsQ92MeDWCIDvWGmzKUWOaBcOg= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.2/go.mod h1:hU6fqB3OJA6/ePheD47LQnxvjYk6br6PtQxs+Q9ojvk= github.com/aws/aws-sdk-go-v2/service/sts v1.43.2 h1:RTO7mmGyedgnNmcPh3yQizNfc6GKoV5iqfdJavuf9vw= github.com/aws/aws-sdk-go-v2/service/sts v1.43.2/go.mod h1:fBhUZXDin9YYqhcpOMjIcpdik25rVwWyxLdPH1RZd9s= -github.com/aws/smithy-go v1.27.1 h1:4T340VFndXtADGF52gYa1POyL7s9E4Z1OeZ1hCscIw8= -github.com/aws/smithy-go v1.27.1/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= +github.com/aws/smithy-go v1.27.2 h1:y9NPmSE6am6LjEFPfqHqG/jJk7AauQvhCJONKh7kpzk= +github.com/aws/smithy-go v1.27.2/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/aymanbagabas/go-udiff v0.4.1 h1:OEIrQ8maEeDBXQDoGCbbTTXYJMYRCRO1fnodZ12Gv5o= @@ -135,8 +135,8 @@ github.com/charmbracelet/x/ansi v0.11.7 h1:kzv1kJvjg2S3r9KHo8hDdHFQLEqn4RBCb39dA github.com/charmbracelet/x/ansi v0.11.7/go.mod h1:9qGpnAVYz+8ACONkZBUWPtL7lulP9No6p1epAihUZwQ= github.com/charmbracelet/x/cellbuf v0.0.15 h1:ur3pZy0o6z/R7EylET877CBxaiE1Sp1GMxoFPAIztPI= github.com/charmbracelet/x/cellbuf v0.0.15/go.mod h1:J1YVbR7MUuEGIFPCaaZ96KDl5NoS0DAWkskup+mOY+Q= -github.com/charmbracelet/x/exp/golden v0.0.0-20260601140041-e36ca9b00c4e h1:lnQ7vb36GesIqIP+ycKHpmxiGJ7J+RDIHFzCPvoGy8I= -github.com/charmbracelet/x/exp/golden v0.0.0-20260601140041-e36ca9b00c4e/go.mod h1:6fMpcW6iwN/kX+xJ52eqVWsDiBTe0UJD24JLoHFe+P0= +github.com/charmbracelet/x/exp/golden v0.0.0-20260607010151-cd19a2bba55f h1:OI180DPmhNwolp31Gdvle0DXO5ILX/kTySKSLintoRM= +github.com/charmbracelet/x/exp/golden v0.0.0-20260607010151-cd19a2bba55f/go.mod h1:6fMpcW6iwN/kX+xJ52eqVWsDiBTe0UJD24JLoHFe+P0= github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk= github.com/charmbracelet/x/term v0.2.2/go.mod h1:kF8CY5RddLWrsgVwpw4kAa6TESp6EB5y3uxGLeCqzAI= github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= @@ -211,24 +211,24 @@ github.com/go-openapi/jsonpointer v0.23.1 h1:1HBACs7XIwR2RcmItfdSFlALhGbe6S92p0r github.com/go-openapi/jsonpointer v0.23.1/go.mod h1:iWRmZTrGn7XwYhtPt/fvdSFj1OfNBngqRT2UG3BxSqY= github.com/go-openapi/jsonreference v0.21.6 h1:NZ5nGfnaM1n4I43Xjm1e5/M2GjOwQwndQz22uhxwD+Y= github.com/go-openapi/jsonreference v0.21.6/go.mod h1:xzbgtQ3ZbWxvET3AxdzCJlJt6vkovbf+IfSPJjD0tUY= -github.com/go-openapi/loads v0.23.3 h1:g5Xap1JfwKkUnZdn+S0L3SzBDpcTIYzZ5Qaag0YDkKQ= -github.com/go-openapi/loads v0.23.3/go.mod h1:NOH07zLajXo8y55hom0omlHWDVVvCwBM/S+csCK8LqA= -github.com/go-openapi/runtime v0.32.3 h1:J7Ycy5DJmhhP1By3NifhRUjnkXTrk21qbeqSULjwX8U= -github.com/go-openapi/runtime v0.32.3/go.mod h1:/WTQi0fa5DiGnnCXQKsTkSm15OzJp8Uz3H2t+67TBr4= -github.com/go-openapi/runtime/server-middleware v0.32.3 h1:Y/6h9ix9NCoMG04XazRwX6eA3alh4+JZ6qXdar5yd24= -github.com/go-openapi/runtime/server-middleware v0.32.3/go.mod h1:fYPep4GdTwg/XqZUjR40uIM/8C12Ba5M+MrGCiwpTHo= +github.com/go-openapi/loads v0.24.0 h1:4LLorXRPTzIN9V6ngMUZbAscsBOUBk3Oa8cClu/bFrQ= +github.com/go-openapi/loads v0.24.0/go.mod h1:xQMgX+hw5xRAhGrcDXxeMw78IFqUpIzhleu3HqPhyF4= +github.com/go-openapi/runtime v0.32.2 h1:X9mZz716lFwYZ6bFV1BBnthNdHTy46zKM5Em4D1UISI= +github.com/go-openapi/runtime v0.32.2/go.mod h1:IfM3cpgencPuwBp5Uo16i2IQaE74odL7Q4DCGovIQac= +github.com/go-openapi/runtime/server-middleware v0.32.2 h1:fuWQmduxHbEjBuRkQ3c7pI5YKSuPCJ2RHeZafceo2yw= +github.com/go-openapi/runtime/server-middleware v0.32.2/go.mod h1:fYPep4GdTwg/XqZUjR40uIM/8C12Ba5M+MrGCiwpTHo= github.com/go-openapi/spec v0.22.5 h1:KhO7RBlKQfonUWX2WzQCoLIXVA6AcNqDGZ3a1Dutdlo= github.com/go-openapi/spec v0.22.5/go.mod h1:vxpOtMya5TXtENXKE5bKqv5NjocVhyhxHrlZfvKnZ74= github.com/go-openapi/strfmt v0.26.3 h1:rzmslHarJgBbf2qfGge+X3htclQfmXqBZMm0Too0HhU= github.com/go-openapi/strfmt v0.26.3/go.mod h1:a5nsUw0oRpQzZeOwx8bi6cKbzFZslpbCKt1LEot+KnQ= -github.com/go-openapi/swag v0.26.1 h1:l5sVEyVpwj+DDYeZyo7wQI/Ebn/mKYIyGB/pFwAfGoQ= -github.com/go-openapi/swag v0.26.1/go.mod h1:yNY38BbIVthxbkDtq1UHBCGasBqjakW3lCR6ANzdBEw= -github.com/go-openapi/swag/cmdutils v0.26.1 h1:f2iE1ijYaJ3nuu5PaEMx3zpEhzhZFgivCJObWEObLIQ= -github.com/go-openapi/swag/cmdutils v0.26.1/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= +github.com/go-openapi/swag v0.26.0 h1:GVDXCmfvhfu1BxiHo8/FA+BbKmhecHnG3varjON5/RI= +github.com/go-openapi/swag v0.26.0/go.mod h1:82g3193sZJRbocs7bNCqGfIgq8pkuwVwCfhKIRlEQF0= +github.com/go-openapi/swag/cmdutils v0.26.0 h1:iowihOcvq7y4egO8cOq0dmfohz6wfeQ63U1EnuhO2TU= +github.com/go-openapi/swag/cmdutils v0.26.0/go.mod h1:Sm1MVFMkF6guJJ+pQqHnQA3N0j9qALV3NxzDSv6bETM= github.com/go-openapi/swag/conv v0.26.1 h1:slr5FVkg9Wc3Y5zcwenD8Sd/PQ94b2I/QJI7N7KTBpg= github.com/go-openapi/swag/conv v0.26.1/go.mod h1:mvQXgPptZk9GTrFgGwWvT4q+dN+zQej9JfmGwnipz1A= -github.com/go-openapi/swag/fileutils v0.26.1 h1:K1XCM2CGhfNsc6YDt6v7Q5+1e59rftYWdcu/isZhvFw= -github.com/go-openapi/swag/fileutils v0.26.1/go.mod h1:mYUgxQAKX4ShS3qvvySx+/9yrlUnDhjiD1CalaQl8lQ= +github.com/go-openapi/swag/fileutils v0.26.0 h1:WJoPRvsA7QRiiWluowkLJa9jaYR7FCuxmDvnCgaRRxU= +github.com/go-openapi/swag/fileutils v0.26.0/go.mod h1:0WDJ7lp67eNjPMO50wAWYlKvhOb6CQ37rzR7wrgI8Tc= github.com/go-openapi/swag/jsonname v0.26.1 h1:VReupaV6WxlAsCn0e4DUfgV6bPmINnPpyJDLqSfNPcE= github.com/go-openapi/swag/jsonname v0.26.1/go.mod h1:OvdW6BoWoj33pTfi7x9vFrgmT+fk7aw0BRwvCE0YOuc= github.com/go-openapi/swag/jsonutils v0.26.1 h1:2hdBfFkHg+7Wrz2VsCbeyR6hzkRDs7AztnMR2u84yOY= @@ -408,12 +408,12 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.25.0 h1:U31tSec7ikQuj4RG3Nhm3mqBz/dp+2MQDLA3bY6/v3w= github.com/pulumi/esc v0.25.0/go.mod h1:A6rZBVCQBZepaOyt+xoZjPHtC4kKqxapkJ8wKB5VT7k= -github.com/pulumi/pulumi-aws-native/sdk v1.66.0 h1:U4RQneKxQXCh6E/NF1wHKR4n1rzp4arxqypNFqifD0A= -github.com/pulumi/pulumi-aws-native/sdk v1.66.0/go.mod h1:08HfiYFanToWN1uRzHgjoXUNGyzKG3vHthcmZ/a1s5A= -github.com/pulumi/pulumi-aws/sdk/v7 v7.30.0 h1:CJBeCvVfMmy7f0vPZHIxkYQOsBpx6cfKUzt7oE4P4WQ= -github.com/pulumi/pulumi-aws/sdk/v7 v7.30.0/go.mod h1:iri0lya1u/qsulT5drsRvV/50gAX1WyvGA7BkKIFCAI= -github.com/pulumi/pulumi-awsx/sdk/v3 v3.5.0 h1:4yNWM2R0VrF7nG2D6BjBkrxZcR2XHz3M/tYUwOS/5OY= -github.com/pulumi/pulumi-awsx/sdk/v3 v3.5.0/go.mod h1:2/RMtCM6nOYsWHV0rFZRze7PdSMIKM61ZHbDGEwMaOs= +github.com/pulumi/pulumi-aws-native/sdk v1.68.0 h1:D38YqbA7G3BMVX65DR4xi1WcUxZ4QR1Adg8suOhZAvE= +github.com/pulumi/pulumi-aws-native/sdk v1.68.0/go.mod h1:08HfiYFanToWN1uRzHgjoXUNGyzKG3vHthcmZ/a1s5A= +github.com/pulumi/pulumi-aws/sdk/v7 v7.32.0 h1:8Ve5Y/mbbUj0C+Ga6MFy7fyICcCZJSd1xYyFYjoZmeI= +github.com/pulumi/pulumi-aws/sdk/v7 v7.32.0/go.mod h1:w/xDmxDjm97jz2DNCbKwuffBsmcR6ATq6l9NXYr7aL8= +github.com/pulumi/pulumi-awsx/sdk/v3 v3.6.0 h1:HrO2LGephMNHBLOOZRCHUUZbc6lyo9oELDLlbzFhU3Y= +github.com/pulumi/pulumi-awsx/sdk/v3 v3.6.0/go.mod h1:5IRij9mHJMZBjecVckf+xYMRMlyxBP4+OH0FpX3wUy0= github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.19.0 h1:qSpiQvycpUPJyIQEcBIsiP2wrKBKQNM3PXtttPl4Vkk= github.com/pulumi/pulumi-azure-native-sdk/authorization/v3 v3.19.0/go.mod h1:0xOUSkalPeYZE2BGk975hSKZGn9SICiEwy3YZsP/v9c= github.com/pulumi/pulumi-azure-native-sdk/compute/v3 v3.19.0 h1:WV3JU8+jNTl8PTnSl2zhW3f7dJhXtGb7Q/Wr2cTvuLg= @@ -444,8 +444,8 @@ github.com/pulumi/pulumi-random/sdk/v4 v4.21.0 h1:j6LtoXue77y16trYOR40iqCUxXxv8T github.com/pulumi/pulumi-random/sdk/v4 v4.21.0/go.mod h1:92+w+95clbBPdrYdi0uCajihmgol52w/pWgZJ9wT0To= github.com/pulumi/pulumi-tls/sdk/v5 v5.5.0 h1:oNZILwuCvNpiXMDkvagEEvdHUMEHo/UxqMKcn6aS7mg= github.com/pulumi/pulumi-tls/sdk/v5 v5.5.0/go.mod h1:cLzvf6CO+f/Wae6OcOaJQh9B5K6RtErETjX9TQ8XrDg= -github.com/pulumi/pulumi/sdk/v3 v3.244.0 h1:oyQ9bwDE58wrQOqS70JrojJSlNoLcVhVcQgK4yusgcg= -github.com/pulumi/pulumi/sdk/v3 v3.244.0/go.mod h1:BPWWuYPXcPH5YbXGoyy9Rrfa+evrh6IdM51AjDhcDpM= +github.com/pulumi/pulumi/sdk/v3 v3.245.0 h1:HvHDnraVlRm64xJJx38/hPNnTpfkOlfm7fHDSwyJJaE= +github.com/pulumi/pulumi/sdk/v3 v3.245.0/go.mod h1:BPWWuYPXcPH5YbXGoyy9Rrfa+evrh6IdM51AjDhcDpM= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= @@ -552,8 +552,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988= golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc= -golang.org/x/exp v0.0.0-20260529124908-c761662dc8c9 h1:4d4PbuBNwaxMXkXI8yiIYjydtMU+04RHeuSxJdgKftM= -golang.org/x/exp v0.0.0-20260529124908-c761662dc8c9/go.mod h1:d2fgXJLVs4dYDHUk5lwMIfzRzSrWCfGZb0ZqeLa/Vcw= +golang.org/x/exp v0.0.0-20260603202125-055de637280b h1:v1uXiEBHo8QA0LiGCo7UgHMzHT4Kdfpl2zmtH5vaP1Q= +golang.org/x/exp v0.0.0-20260603202125-055de637280b/go.mod h1:d2fgXJLVs4dYDHUk5lwMIfzRzSrWCfGZb0ZqeLa/Vcw= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= @@ -650,8 +650,8 @@ k8s.io/client-go v0.36.1 h1:FN/K8QIT2CEDt+2WB2HnWrUANZ50AP5GII43/SP2JR0= k8s.io/client-go v0.36.1/go.mod h1:s6rAnCtTGYDQnpNjEhSaISV+2O8jwruZ6m3QOYBFbtU= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc= k8s.io/klog/v2 v2.140.0/go.mod h1:o+/RWfJ6PwpnFn7OyAG3QnO47BFsymfEfrz6XyYSSp0= -k8s.io/kube-openapi v0.0.0-20260520065146-aa012df4f4af h1:zLXA2Irn14q2/06WMkxViyr7YCPUO2lJ0QYE9Juy5vA= -k8s.io/kube-openapi v0.0.0-20260520065146-aa012df4f4af/go.mod h1:V/QaCUYDa+0QpcHhVVc5l99Uz56wEMEXBSj9oCDkNDY= +k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 h1:mPMaPMpBij2V1Wv/fR+HW124vVGXXvOSS9ver/9yjWs= +k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25/go.mod h1:V/QaCUYDa+0QpcHhVVc5l99Uz56wEMEXBSj9oCDkNDY= k8s.io/utils v0.0.0-20260507154919-ff6756f316d2 h1:wU4tMEhLGgIbLvXQb1cfN+EcM0wf7zC6CPF+C79jroc= k8s.io/utils v0.0.0-20260507154919-ff6756f316d2/go.mod h1:xDxuJ0whA3d0I4mf/C4ppKHxXynQ+fxnkmQH0vTHnuk= lukechampine.com/frand v1.5.1 h1:fg0eRtdmGFIxhP5zQJzM1lFDbD6CUfu/f+7WgAZd5/w= diff --git a/oci/Containerfile b/oci/Containerfile index 2bf04f0a8..38c694028 100644 --- a/oci/Containerfile +++ b/oci/Containerfile @@ -1,12 +1,12 @@ -FROM registry.access.redhat.com/ubi9/go-toolset@sha256:a2ba4645e7c424b08aa83ed7792e279683b0d33acbc5131b18183fd21e336c55 as builder +FROM registry.access.redhat.com/ubi9/go-toolset@sha256:d36470d5258da00f618b7aca9bdaab8e05134aa938bd6c42d9bd17d50ed45e76 as builder ARG TARGETARCH USER root WORKDIR /workspace COPY . . # renovate: datasource=github-releases depName=pulumi/pulumi -ENV PULUMI_VERSION 3.244.0 +ENV PULUMI_VERSION 3.245.0 ENV PULUMI_BASE_URL="https://github.com/pulumi/pulumi/releases/download/v${PULUMI_VERSION}/pulumi-v${PULUMI_VERSION}" ENV PULUMI_URL="${PULUMI_BASE_URL}-linux-x64.tar.gz" @@ -18,7 +18,7 @@ RUN unset VERSION \ && curl -L ${PULUMI_URL} -o pulumicli.tar.gz \ && tar -xzvf pulumicli.tar.gz -FROM registry.access.redhat.com/ubi9/go-toolset@sha256:a2ba4645e7c424b08aa83ed7792e279683b0d33acbc5131b18183fd21e336c55 +FROM registry.access.redhat.com/ubi9/go-toolset@sha256:d36470d5258da00f618b7aca9bdaab8e05134aa938bd6c42d9bd17d50ed45e76 ARG TARGETARCH LABEL org.opencontainers.image.authors="Redhat Developer" @@ -33,7 +33,7 @@ ENV AWS_SDK_LOAD_CONFIG=1 \ # renovate: datasource=github-releases depName=pulumi/pulumi-aws ARG PULUMI_AWS_VERSION=v7.32.0 # renovate: datasource=github-releases depName=pulumi/pulumi-awsx -ARG PULUMI_AWSX_VERSION=v3.5.0 +ARG PULUMI_AWSX_VERSION=v3.6.0 # renovate: datasource=github-releases depName=pulumi/pulumi-azure-native ARG PULUMI_AZURE_NATIVE_VERSION=v3.19.0 # renovate: datasource=github-releases depName=pulumi/pulumi-command diff --git a/tools/go.mod b/tools/go.mod index 557d4dace..c49476d1c 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -10,6 +10,8 @@ replace ( require github.com/golangci/golangci-lint/v2 v2.12.2 +require github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect + require ( dev.gaijin.team/go/exhaustruct/v4 v4.0.0 // indirect github.com/bombsimon/wsl/v4 v4.7.0 // indirect @@ -27,10 +29,10 @@ require ( github.com/charmbracelet/x/windows v0.2.2 // indirect github.com/clipperhouse/displaywidth v0.11.0 // indirect github.com/denis-tingaikin/go-header v0.5.0 // indirect - github.com/dlclark/regexp2/v2 v2.1.1 // indirect - github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect + github.com/dlclark/regexp2/v2 v2.2.1 // indirect + // github.com/golangci/gofmt v0.0.0-20251215234548-e7be49a5ab4d // indirect github.com/golangci/golines v0.15.0 // indirect - github.com/golangci/rowserrcheck v0.0.0-20260430141503-8d53bbc4a7d3 // indirect + github.com/golangci/rowserrcheck v0.0.0-20260602201336-0ec5bd2741d7 // indirect github.com/muesli/cancelreader v0.2.2 // indirect github.com/ryancurrah/gomodguard/v2 v2.1.3 // indirect go-simpler.org/sloglint v0.12.0 // indirect @@ -142,7 +144,7 @@ require ( github.com/kunwardeep/paralleltest v1.0.15 // indirect github.com/lasiar/canonicalheader v1.1.2 // indirect github.com/ldez/exptostd v0.4.5 // indirect - github.com/ldez/gomoddirectives v0.8.0 // indirect + github.com/ldez/gomoddirectives v0.9.0 // indirect github.com/ldez/grignotin v0.10.1 // indirect github.com/ldez/structtags v0.6.1 // indirect github.com/ldez/tagliatelle v0.7.2 // indirect @@ -220,7 +222,7 @@ require ( go.augendre.info/fatcontext v0.9.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.28.0 // indirect - golang.org/x/exp/typeparams v0.0.0-20260529124908-c761662dc8c9 // indirect + golang.org/x/exp/typeparams v0.0.0-20260603202125-055de637280b // indirect golang.org/x/mod v0.36.0 // indirect golang.org/x/sync v0.20.0 // indirect golang.org/x/sys v0.45.0 // indirect diff --git a/tools/go.sum b/tools/go.sum index ebb8475cd..88aa1e847 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -120,8 +120,8 @@ github.com/denis-tingaikin/go-header v0.5.0 h1:SRdnP5ZKvcO9KKRP1KJrhFR3RrlGuD+42 github.com/denis-tingaikin/go-header v0.5.0/go.mod h1:mMenU5bWrok6Wl2UsZjy+1okegmwQ3UgWl4V1D8gjlY= github.com/dlclark/regexp2 v1.12.0 h1:0j4c5qQmnC6XOWNjP3PIXURXN2gWx76rd3KvgdPkCz8= github.com/dlclark/regexp2 v1.12.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= -github.com/dlclark/regexp2/v2 v2.1.1 h1:LCUGyd9Wf+r+VVOl8Ny38JTpWJcAsdVnCIuhhtthmKw= -github.com/dlclark/regexp2/v2 v2.1.1/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= +github.com/dlclark/regexp2/v2 v2.2.1 h1:mf4KkFUj0gJuarK8P+LgiS+Lit7m9N1yAwEfPbee7R0= +github.com/dlclark/regexp2/v2 v2.2.1/go.mod h1:avUrQvPaLz2DrFNHJF0taWAFFX2C1GMSSoeiqFjcBmU= github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q= github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A= github.com/fatih/color v1.19.0 h1:Zp3PiM21/9Ld6FzSKyL5c/BULoe/ONr9KlbYVOfG8+w= @@ -193,8 +193,8 @@ github.com/golangci/plugin-module-register v0.1.2 h1:e5WM6PO6NIAEcij3B053CohVp3H github.com/golangci/plugin-module-register v0.1.2/go.mod h1:1+QGTsKBvAIvPvoY/os+G5eoqxWn70HYDm2uvUyGuVw= github.com/golangci/revgrep v0.8.0 h1:EZBctwbVd0aMeRnNUsFogoyayvKHyxlV3CdUA46FX2s= github.com/golangci/revgrep v0.8.0/go.mod h1:U4R/s9dlXZsg8uJmaR1GrloUr14D7qDl8gi2iPXJH8k= -github.com/golangci/rowserrcheck v0.0.0-20260430141503-8d53bbc4a7d3 h1:hyfJdhlDHo1Z4kULxqQnjVW3ZKP54GojCdLhzvf++b8= -github.com/golangci/rowserrcheck v0.0.0-20260430141503-8d53bbc4a7d3/go.mod h1:sCBNcpRmhJCtbFGz49+IM3ETTFf7QdJ30AeYCd43NKk= +github.com/golangci/rowserrcheck v0.0.0-20260602201336-0ec5bd2741d7 h1:EkxDgmyFzvtQ4n9DDc0fz1VBZgXoUslrVtTY6awdYi0= +github.com/golangci/rowserrcheck v0.0.0-20260602201336-0ec5bd2741d7/go.mod h1:j6rPrGpyRy5aJohxKb3MKcvz+TR76UjgMGUL7LaBEg8= github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e h1:ai0EfmVYE2bRA5htgAG9r7s3tHsfjIhN98WshBTJ9jM= github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e/go.mod h1:Vrn4B5oR9qRwM+f54koyeH3yzphlecwERs0el27Fr/s= github.com/golangci/unconvert v0.0.0-20250410112200-a129a6e6413e h1:gD6P7NEo7Eqtt0ssnqSJNNndxe69DOQ24A5h7+i3KpM= @@ -257,8 +257,8 @@ github.com/lasiar/canonicalheader v1.1.2 h1:vZ5uqwvDbyJCnMhmFYimgMZnJMjwljN5VGY0 github.com/lasiar/canonicalheader v1.1.2/go.mod h1:qJCeLFS0G/QlLQ506T+Fk/fWMa2VmBUiEI2cuMK4djI= github.com/ldez/exptostd v0.4.5 h1:kv2ZGUVI6VwRfp/+bcQ6Nbx0ghFWcGIKInkG/oFn1aQ= github.com/ldez/exptostd v0.4.5/go.mod h1:QRjHRMXJrCTIm9WxVNH6VW7oN7KrGSht69bIRwvdFsM= -github.com/ldez/gomoddirectives v0.8.0 h1:JqIuTtgvFC2RdH1s357vrE23WJF2cpDCPFgA/TWDGpk= -github.com/ldez/gomoddirectives v0.8.0/go.mod h1:jutzamvZR4XYJLr0d5Honycp4Gy6GEg2mS9+2YX3F1Q= +github.com/ldez/gomoddirectives v0.9.0 h1:2YV/EX7nVlWL4jySusYTzBKHuE3D2fgcRsQuMa3yIoo= +github.com/ldez/gomoddirectives v0.9.0/go.mod h1:DdZzfm9MdXCjn2/UGYXCFfo+tzrp2Ib4iD2Q0kIJkwE= github.com/ldez/grignotin v0.10.1 h1:keYi9rYsgbvqAZGI1liek5c+jv9UUjbvdj3Tbn5fn4o= github.com/ldez/grignotin v0.10.1/go.mod h1:UlDbXFCARrXbWGNGP3S5vsysNXAPhnSuBufpTEbwOas= github.com/ldez/structtags v0.6.1 h1:bUooFLbXx41tW8SvkfwfFkkjPYvFFs59AAMgVg6DUBk= @@ -469,8 +469,8 @@ golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/y golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8= golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= -golang.org/x/exp/typeparams v0.0.0-20260529124908-c761662dc8c9 h1:+fQIRiP9clFFkNieeqLley4NLoTYWIZeHZ/lfWB10aw= -golang.org/x/exp/typeparams v0.0.0-20260529124908-c761662dc8c9/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo= +golang.org/x/exp/typeparams v0.0.0-20260603202125-055de637280b h1:E7MAoHE/7prIY6tu29UATfH3hVHv6IWqOchjE48pTAU= +golang.org/x/exp/typeparams v0.0.0-20260603202125-055de637280b/go.mod h1:PqrXSW65cXDZH0k4IeUbhmg/bcAZDbzNz3byBpKCsXo= 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.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/README.md b/tools/vendor/github.com/dlclark/regexp2/v2/README.md index ead72f69e..f49a0d059 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/README.md +++ b/tools/vendor/github.com/dlclark/regexp2/v2/README.md @@ -16,7 +16,7 @@ This is a go-gettable library, so install is easy: Version 2 includes changes that may affect compatibility with existing v1 users: * The module path is now `github.com/dlclark/regexp2/v2`, so imports need to use the `/v2` suffix. -* The minimum supported Go version is now Go 1.26. +* The minimum supported Go version is now Go 1.25. * Changes to support https://github.com/dlclark/regexp2cg are merged in to support generated regex engines. * `Regexp.Split` is now available for splitting strings with regexp matches. * The new `compat` sub-package provides a [`regexp` compatibility adapter](#regexp-compatibility-adapter) with the same `Find*` and `Match*` method signatures as `regexp.Regexp`, plus a `compat.Matcher` interface that is implemented by both `*regexp.Regexp` and the adapter. @@ -76,6 +76,22 @@ func regexp2FindAllString(re *regexp2.Regexp, s string) []string { The internals of `regexp2` always operate on `[]rune` so `RuneIndex` and `RuneLength` data in a `Match` always reference a position in `rune`s rather than `byte`s (even if the input was given as a string). `ByteRange()` provides UTF-8 byte offsets, matching the original string input for string APIs. It's advisable to use the provided `String()` methods when you do not need explicit offsets. `ByteRange()` lazily caches byte offsets on the shared match text, so the first call on captures from the same match is not safe to run concurrently with other `ByteRange()` calls on that match. +## Unicode character classes + +`regexp2` supports Unicode character classes with `\p{...}` and negated classes with `\P{...}`. Outside ECMAScript Unicode mode, it also accepts the RE2/PCRE-style one-letter form, such as `\pL`. + +The class name may be a Go Unicode category, category alias, script, or property exposed by the Go standard library Unicode tables. For example: + +```go +letter := regexp2.MustCompile(`\p{L}+`) +katakana := regexp2.MustCompile(`\p{Katakana}+`) +notEmoji := regexp2.MustCompile(`\P{Emoji}+`) +``` + +`regexp2` also supports Unicode property selection syntax in the form `\p{property=value}`. Property and value aliases are matched loosely: case, hyphens, and underscores are ignored. For example, `\p{GCB=RI}`, `\p{grapheme_cluster_break=regional_indicator}`, and `\p{grapheme-cluster-break=regional-indicator}` all refer to the same class. + +Valid property names and aliases come from Unicode 17.0.0 [`PropertyAliases.txt`](https://www.unicode.org/Public/17.0.0/ucd/PropertyAliases.txt). Valid property values and aliases come from Unicode 17.0.0 [`PropertyValueAliases.txt`](https://www.unicode.org/Public/17.0.0/ucd/PropertyValueAliases.txt). The generated tables use Unicode 17.0.0 data from [`DerivedCoreProperties.txt`](https://www.unicode.org/Public/17.0.0/ucd/DerivedCoreProperties.txt), [`emoji/emoji-data.txt`](https://www.unicode.org/Public/17.0.0/ucd/emoji/emoji-data.txt), [`auxiliary/GraphemeBreakProperty.txt`](https://www.unicode.org/Public/17.0.0/ucd/auxiliary/GraphemeBreakProperty.txt), [`auxiliary/WordBreakProperty.txt`](https://www.unicode.org/Public/17.0.0/ucd/auxiliary/WordBreakProperty.txt), and [`auxiliary/SentenceBreakProperty.txt`](https://www.unicode.org/Public/17.0.0/ucd/auxiliary/SentenceBreakProperty.txt) for the package-local properties whose data changes more frequently than the Go standard library tables. + ## `regexp` compatibility adapter The `github.com/dlclark/regexp2/v2/compat` package provides an adapter for callers that want the same `Find*` and `Match*` method signatures as the standard library's `regexp.Regexp`, while still using the `regexp2` engine. diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/runner.go b/tools/vendor/github.com/dlclark/regexp2/v2/runner.go index 9b37a79d8..ce09df07d 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/runner.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/runner.go @@ -1429,9 +1429,9 @@ func findFirstCharOptimized(r *Runner) (handled bool, found bool) { case syntax.LeadingString_OrdinalIgnoreCase_LeftToRight: return true, findLeadingStringLeftToRight(r, []rune(opts.LeadingPrefix), true) case syntax.LeadingStrings_LeftToRight: - return true, findLeadingStringsLeftToRight(r, opts.LeadingPrefixes, false) + return true, findLeadingStringsLeftToRight(r, opts.LeadingPrefixesRunes, false) case syntax.LeadingStrings_OrdinalIgnoreCase_LeftToRight: - return true, findLeadingStringsLeftToRight(r, opts.LeadingPrefixes, true) + return true, findLeadingStringsLeftToRight(r, opts.LeadingPrefixesRunes, true) case syntax.FixedDistanceSets_LeftToRight: return true, findFixedDistanceSetsLeftToRight(r, opts.FixedDistanceSets) case syntax.FixedDistanceChar_LeftToRight: @@ -1487,20 +1487,19 @@ func findLeadingStringLeftToRight(r *Runner, prefix []rune, ignoreCase bool) boo return true } -func findLeadingStringsLeftToRight(r *Runner, prefixes []string, ignoreCase bool) bool { +func findLeadingStringsLeftToRight(r *Runner, prefixes [][]rune, ignoreCase bool) bool { if len(prefixes) == 0 { return false } for start := r.Runtextpos; start <= latestPossibleStart(r); start++ { for _, prefix := range prefixes { - prefixRunes := []rune(prefix) if ignoreCase { - if helpers.StartsWithIgnoreCase(r.Runtext[start:], prefixRunes) { + if helpers.StartsWithIgnoreCase(r.Runtext[start:], prefix) { r.Runtextpos = start return true } - } else if helpers.StartsWith(r.Runtext[start:], prefixRunes) { + } else if helpers.StartsWith(r.Runtext[start:], prefix) { r.Runtextpos = start return true } @@ -1627,26 +1626,25 @@ func findRequiredLandmarkChainLeftToRight(r *Runner, chain *syntax.RequiredLandm } for searchStart := r.Runtextpos; searchStart <= latestPossibleStart(r); { - firstStart, firstEnd, ok := findNextRequiredLandmarkRunes(r.Runtext, searchStart, r.Runtextend, chain.Landmarks[0]) + first, ok := findNextRequiredLandmarkRunes(r.Runtext, searchStart, r.Runtextend, chain.Landmarks[0]) if !ok { r.Runtextpos = r.Runtextend return false } - nextStart := firstEnd + nextStart := first.End for i := 1; i < len(chain.Landmarks); i++ { - _, landmarkEnd, ok := findNextRequiredLandmarkRunes(r.Runtext, nextStart, r.Runtextend, chain.Landmarks[i]) + landmark, ok := findNextRequiredLandmarkRunes(r.Runtext, nextStart, r.Runtextend, chain.Landmarks[i]) if !ok { r.Runtextpos = r.Runtextend return false } - nextStart = landmarkEnd + nextStart = landmark.End } - candidate := firstStart - firstWhitespaceSet := firstLandmarkWhitespaceSet(chain.Landmarks[0]) - for candidate > r.Runtextpos && firstWhitespaceSet != nil && firstWhitespaceSet.CharIn(r.Runtext[candidate-1]) { - candidate-- + candidate := first.Start + if candidate < r.Runtextpos { + candidate = r.Runtextpos } for candidate > r.Runtextpos && chain.LeadingLoopSet.CharIn(r.Runtext[candidate-1]) { candidate-- @@ -1656,37 +1654,42 @@ func findRequiredLandmarkChainLeftToRight(r *Runner, chain *syntax.RequiredLandm return true } - searchStart = firstStart + 1 + searchStart = first.CoreStart + 1 } r.Runtextpos = r.Runtextend return false } -func findNextRequiredLandmarkRunes(input []rune, startAt, endAt int, landmark syntax.RequiredLandmark) (start int, end int, ok bool) { +type requiredLandmarkMatch struct { + Start int + CoreStart int + End int +} + +func findNextRequiredLandmarkRunes(input []rune, startAt, endAt int, landmark syntax.RequiredLandmark) (requiredLandmarkMatch, bool) { for i := startAt; i < endAt; i++ { for _, alt := range landmark.Alternatives { - if end, ok := requiredLandmarkAlternativeEnd(input, i, endAt, alt); ok { - return i, end, true + if match, ok := requiredLandmarkAlternativeMatch(input, i, endAt, alt); ok { + return match, true } } } - return 0, 0, false + return requiredLandmarkMatch{}, false } -func requiredLandmarkAlternativeEnd(input []rune, start, endAt int, alt syntax.RequiredLandmarkAlternative) (int, bool) { +func requiredLandmarkAlternativeMatch(input []rune, start, endAt int, alt syntax.RequiredLandmarkAlternative) (requiredLandmarkMatch, bool) { if alt.RequireWhitespaceBefore && - (start == 0 || alt.WhitespaceSet == nil || !alt.WhitespaceSet.CharIn(input[start-1])) { - return 0, false + (start == 0 || alt.LeadingWhitespaceSet == nil || !alt.LeadingWhitespaceSet.CharIn(input[start-1])) { + return requiredLandmarkMatch{}, false } var end int - if alt.Literal != "" { - literal := []rune(alt.Literal) - if len(literal) == 0 || start+len(literal) > endAt || !helpers.StartsWith(input[start:], literal) { - return 0, false + if len(alt.Literal) > 0 { + if start+len(alt.Literal) > endAt || !helpers.StartsWith(input[start:], alt.Literal) { + return requiredLandmarkMatch{}, false } - end = start + len(literal) + end = start + len(alt.Literal) } else if alt.Set != nil && alt.MinRepeat > 0 { end = start maxRepeat := alt.MaxRepeat @@ -1697,26 +1700,22 @@ func requiredLandmarkAlternativeEnd(input []rune, start, endAt int, alt syntax.R end++ } if end-start < alt.MinRepeat { - return 0, false + return requiredLandmarkMatch{}, false } } else { - return 0, false + return requiredLandmarkMatch{}, false } if alt.RequireWhitespaceAfter && - (end >= endAt || alt.WhitespaceSet == nil || !alt.WhitespaceSet.CharIn(input[end])) { - return 0, false + (end >= endAt || alt.TrailingWhitespaceSet == nil || !alt.TrailingWhitespaceSet.CharIn(input[end])) { + return requiredLandmarkMatch{}, false } - return end, true -} -func firstLandmarkWhitespaceSet(landmark syntax.RequiredLandmark) *syntax.CharSet { - for _, alt := range landmark.Alternatives { - if alt.WhitespaceSet != nil { - return alt.WhitespaceSet - } + matchStart := start + for matchStart > 0 && alt.LeadingWhitespaceSet != nil && alt.LeadingWhitespaceSet.CharIn(input[matchStart-1]) { + matchStart-- } - return nil + return requiredLandmarkMatch{Start: matchStart, CoreStart: start, End: end}, true } func indexOfLiteralAfterLoop(r *Runner, literal *syntax.LiteralAfterLoop, searchStart int) int { diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/stringprefixfilter.go b/tools/vendor/github.com/dlclark/regexp2/v2/stringprefixfilter.go index f8852f239..fe9cb6ad7 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/stringprefixfilter.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/stringprefixfilter.go @@ -88,30 +88,110 @@ func stringIndexPrefixesFilter(prefixes []string, ignoreCase bool, minRequiredLe } } - prefixes = append([]string(nil), prefixes...) + if filter, ok := compileASCIIStringSetPrefixFilter(prefixes, ignoreCase, minRequiredLength); ok { + return filter.index + } + return func(input string, startAt int) (candidateByteIndex int, ok bool) { - if !hasMinRequiredBytes(input, startAt, minRequiredLength) { - return 0, false + return indexAnyPrefixFallback(input, startAt, prefixes, ignoreCase, minRequiredLength) + } +} + +func indexAnyPrefixFallback(input string, startAt int, prefixes []string, ignoreCase bool, minRequiredLength int) (candidateByteIndex int, ok bool) { + if !hasMinRequiredBytes(input, startAt, minRequiredLength) { + return 0, false + } + + best := -1 + remaining := input[startAt:] + for _, prefix := range prefixes { + var offset int + if ignoreCase { + offset = helpers.IndexStringIgnoreCaseASCII(remaining, prefix) + } else { + offset = strings.Index(remaining, prefix) + } + if offset >= 0 && (best < 0 || offset < best) { + best = offset } + } + if best < 0 { + return 0, false + } + return startAt + best, true +} - best := -1 - remaining := input[startAt:] - for _, prefix := range prefixes { - var offset int - if ignoreCase { - offset = helpers.IndexStringIgnoreCaseASCII(remaining, prefix) - } else { - offset = strings.Index(remaining, prefix) - } - if offset >= 0 && (best < 0 || offset < best) { - best = offset - } +type asciiStringSetPrefixFilter struct { + firstChars string + prefixesByFirst [256][]string + minRequiredBytes int +} + +// compileASCIIStringSetPrefixFilter builds a byte-oriented multi-prefix scanner +// for the narrow shape where it beats running strings.Index once per prefix: +// case-sensitive ASCII prefixes with at least two prefixes sharing a first byte. +// It indexes possible first bytes with strings.IndexAny, then verifies only the +// bucket for the byte found. Other shapes fall back to the old implementation. +func compileASCIIStringSetPrefixFilter(prefixes []string, ignoreCase bool, minRequiredLength int) (*asciiStringSetPrefixFilter, bool) { + if ignoreCase { + return nil, false + } + + filter := &asciiStringSetPrefixFilter{ + minRequiredBytes: minRequiredLength, + } + var firstChars [256]bool + var hasSharedFirst bool + for _, prefix := range prefixes { + if prefix == "" || !isASCIIString(prefix) { + return nil, false + } + + first := prefix[0] + filter.prefixesByFirst[first] = append(filter.prefixesByFirst[first], prefix) + if len(filter.prefixesByFirst[first]) > 1 { + hasSharedFirst = true + } + firstChars[first] = true + } + + if !hasSharedFirst { + return nil, false + } + + firstBytes := make([]byte, 0, len(prefixes)*2) + for i, ok := range firstChars { + if ok { + firstBytes = append(firstBytes, byte(i)) } - if best < 0 { + } + if len(firstBytes) == 0 { + return nil, false + } + filter.firstChars = string(firstBytes) + return filter, true +} + +func (f *asciiStringSetPrefixFilter) index(input string, startAt int) (candidateByteIndex int, ok bool) { + if !hasMinRequiredBytes(input, startAt, f.minRequiredBytes) { + return 0, false + } + + for searchAt := startAt; searchAt < len(input); { + offset := strings.IndexAny(input[searchAt:], f.firstChars) + if offset < 0 { return 0, false } - return startAt + best, true + i := searchAt + offset + first := input[i] + for _, prefix := range f.prefixesByFirst[first] { + if len(input)-i >= len(prefix) && strings.HasPrefix(input[i:], prefix) { + return i, true + } + } + searchAt = i + 1 } + return 0, false } func stringFixedDistanceCharFilter(ch rune, distance, minRequiredLength int) StringPrefixFilter { diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/charclass.go b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/charclass.go index 8ddee2d24..9dc4b630e 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/charclass.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/charclass.go @@ -6,6 +6,7 @@ import ( "fmt" "slices" "sort" + "strings" "unicode" "unicode/utf8" ) @@ -87,6 +88,9 @@ var unicodeCategories = func() map[string]*unicode.RangeTable { for k, v := range unicode.Properties { retVal[k] = v } + for k, v := range unicodeAliasCategories { + retVal[k] = v + } return retVal }() @@ -633,13 +637,66 @@ func (c *CharSet) addNegativeRanges(ranges []SingleRange) { c.canonicalize() } +func normalizeUnicodeCategoryAlias(catName string) string { + var b strings.Builder + b.Grow(len(catName)) + for _, ch := range catName { + switch ch { + case '_', '-', ' ': + continue + default: + b.WriteRune(unicode.ToLower(ch)) + } + } + return b.String() +} + +func canonicalUnicodeCatName(catName string) (string, bool) { + if _, ok := unicodeCategories[catName]; ok { + return catName, true + } + + normalized := normalizeUnicodeCategoryAlias(catName) + if canonical, ok := unicodeSupportedPropertyAliases[normalized]; ok { + return canonical, true + } + if canonical, ok := unicodeBarePropertyValueAliases[normalized]; ok { + return canonical, true + } + + if eq := strings.IndexRune(catName, '='); eq >= 0 { + propName := catName[:eq] + valueName := catName[eq+1:] + prop, ok := unicodeSupportedPropertyAliases[normalizeUnicodeCategoryAlias(propName)] + if !ok { + return "", false + } + values := unicodeSupportedPropertyValueAliases[prop] + if values == nil { + return "", false + } + value, ok := values[normalizeUnicodeCategoryAlias(valueName)] + if !ok { + return "", false + } + canonical := prop + "=" + value + if _, ok := unicodeCategories[canonical]; ok { + return canonical, true + } + } + + return "", false +} + func isValidUnicodeCat(catName string) bool { - _, ok := unicodeCategories[catName] + _, ok := canonicalUnicodeCatName(catName) return ok } func (c *CharSet) addCategory(categoryName string, negate, caseInsensitive bool) { - if !isValidUnicodeCat(categoryName) { + var ok bool + categoryName, ok = canonicalUnicodeCatName(categoryName) + if !ok { // unknown unicode category, script, or property "blah" panic(fmt.Errorf("unknown unicode category, script, or property '%v'", categoryName)) diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/code.go b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/code.go index 5862572c5..1df4e45a9 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/code.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/code.go @@ -299,6 +299,9 @@ func (c *Code) Dump() string { } fmt.Fprintf(buf, "Anchors: %v\n", c.Anchors) + if c.FindOptimizations != nil { + fmt.Fprint(buf, c.FindOptimizations.Dump()) + } fmt.Fprintln(buf) if c.BmPrefix != nil { diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/optimizations.go b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/optimizations.go index 54f1252a0..0186497a0 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/optimizations.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/optimizations.go @@ -3,6 +3,7 @@ package syntax import ( "bytes" "cmp" + "fmt" "slices" ) @@ -10,13 +11,14 @@ type FindOptimizations struct { rightToLeft bool asciiLookups [][]uint - FindMode FindNextStartingPositionMode - LeadingAnchor NodeType - TrailingAnchor NodeType - MinRequiredLength int - MaxPossibleLength int - LeadingPrefix string - LeadingPrefixes []string + FindMode FindNextStartingPositionMode + LeadingAnchor NodeType + TrailingAnchor NodeType + MinRequiredLength int + MaxPossibleLength int + LeadingPrefix string + LeadingPrefixes []string + LeadingPrefixesRunes [][]rune //LeadingStrings *helpers.StringSearchValues FixedDistanceLiteral FixedDistanceLiteral @@ -49,21 +51,56 @@ type FixedDistanceLiteral struct { } type RequiredLandmarkChain struct { + // LeadingLoopSet is the unbounded leading set loop that precedes every + // landmark in the original concatenation. At run time, after the first + // landmark alternative is found, the scanner walks backward over this set + // to recover the earliest plausible regex start position. LeadingLoopSet *CharSet - Landmarks []RequiredLandmark + + // Landmarks must all be found, in slice order, for the chain prefilter to + // produce a candidate. Each landmark is satisfied by exactly one matching + // alternative; alternatives are tried independently by the runner. + Landmarks []RequiredLandmark } type RequiredLandmark struct { + // Alternatives describes the mutually exclusive shapes that can satisfy + // this single required landmark. A landmark matches when any one alternative + // matches at a position in the input. Alternatives []RequiredLandmarkAlternative } type RequiredLandmarkAlternative struct { - Literal string - Chars []rune - Set *CharSet - WhitespaceSet *CharSet - MinRepeat int - MaxRepeat int + // Literal is the core token for literal alternatives. When non-empty, it + // must match exactly at the candidate core position, and Set must be nil. + Literal []rune + + // Set is the core token for character-class alternatives. When non-nil, it + // must match between MinRepeat and MaxRepeat runes at the candidate core + // position, and Literal must be empty. The analyzer only builds set + // alternatives for non-negated sets that can be cheaply enumerated, but the + // runner uses Set for membership checks. + Set *CharSet + + // LeadingWhitespaceSet is the optional or required whitespace immediately + // before the core token. If RequireWhitespaceBefore is true, at least one + // rune from this set must precede the core. When this alternative is the + // first matched landmark, the runner may rewind over additional contiguous + // leading whitespace from this set before rewinding over LeadingLoopSet. + LeadingWhitespaceSet *CharSet + + // TrailingWhitespaceSet is the optional or required whitespace immediately + // after the core token. If RequireWhitespaceAfter is true, at least one rune + // from this set must follow the core. The runner validates the requirement, + // but does not consume optional trailing whitespace into the landmark end. + TrailingWhitespaceSet *CharSet + + // MinRepeat and MaxRepeat describe the core token width. Literal alternatives + // use 1..1 regardless of literal length because the literal is matched as one + // fixed core token; Set alternatives use the source set repetition. + MinRepeat int + MaxRepeat int + RequireWhitespaceBefore bool RequireWhitespaceAfter bool } @@ -126,6 +163,183 @@ const ( RequiredLandmarkChain_LeftToRight ) +func (m FindNextStartingPositionMode) String() string { + switch m { + case NoSearch: + return "NoSearch" + case LeadingAnchor_LeftToRight_Beginning: + return "LeadingAnchor_LeftToRight_Beginning" + case LeadingAnchor_LeftToRight_Start: + return "LeadingAnchor_LeftToRight_Start" + case LeadingAnchor_LeftToRight_EndZ: + return "LeadingAnchor_LeftToRight_EndZ" + case LeadingAnchor_LeftToRight_End: + return "LeadingAnchor_LeftToRight_End" + case LeadingAnchor_RightToLeft_Beginning: + return "LeadingAnchor_RightToLeft_Beginning" + case LeadingAnchor_RightToLeft_Start: + return "LeadingAnchor_RightToLeft_Start" + case LeadingAnchor_RightToLeft_EndZ: + return "LeadingAnchor_RightToLeft_EndZ" + case LeadingAnchor_RightToLeft_End: + return "LeadingAnchor_RightToLeft_End" + case TrailingAnchor_FixedLength_LeftToRight_End: + return "TrailingAnchor_FixedLength_LeftToRight_End" + case TrailingAnchor_FixedLength_LeftToRight_EndZ: + return "TrailingAnchor_FixedLength_LeftToRight_EndZ" + case LeadingString_LeftToRight: + return "LeadingString_LeftToRight" + case LeadingString_RightToLeft: + return "LeadingString_RightToLeft" + case LeadingString_OrdinalIgnoreCase_LeftToRight: + return "LeadingString_OrdinalIgnoreCase_LeftToRight" + case LeadingStrings_LeftToRight: + return "LeadingStrings_LeftToRight" + case LeadingStrings_OrdinalIgnoreCase_LeftToRight: + return "LeadingStrings_OrdinalIgnoreCase_LeftToRight" + case LeadingSet_LeftToRight: + return "LeadingSet_LeftToRight" + case LeadingSet_RightToLeft: + return "LeadingSet_RightToLeft" + case LeadingChar_RightToLeft: + return "LeadingChar_RightToLeft" + case FixedDistanceChar_LeftToRight: + return "FixedDistanceChar_LeftToRight" + case FixedDistanceString_LeftToRight: + return "FixedDistanceString_LeftToRight" + case FixedDistanceSets_LeftToRight: + return "FixedDistanceSets_LeftToRight" + case LiteralAfterLoop_LeftToRight: + return "LiteralAfterLoop_LeftToRight" + case RequiredLandmarkChain_LeftToRight: + return "RequiredLandmarkChain_LeftToRight" + default: + return fmt.Sprintf("FindNextStartingPositionMode(%d)", int(m)) + } +} + +func (f *FindOptimizations) Dump() string { + buf := &bytes.Buffer{} + if f == nil { + fmt.Fprintln(buf, "Find mode: n/a") + return buf.String() + } + + fmt.Fprintf(buf, "Find mode: %s\n", f.FindMode) + fmt.Fprintf(buf, "Min length: %d\n", f.MinRequiredLength) + if f.MaxPossibleLength > 0 { + fmt.Fprintf(buf, "Max length: %d\n", f.MaxPossibleLength) + } + + switch f.FindMode { + case LeadingAnchor_LeftToRight_Beginning, LeadingAnchor_LeftToRight_Start, + LeadingAnchor_LeftToRight_EndZ, LeadingAnchor_LeftToRight_End, + LeadingAnchor_RightToLeft_Beginning, LeadingAnchor_RightToLeft_Start, + LeadingAnchor_RightToLeft_EndZ, LeadingAnchor_RightToLeft_End: + fmt.Fprintf(buf, "Anchor: %v\n", f.LeadingAnchor) + + case TrailingAnchor_FixedLength_LeftToRight_End, TrailingAnchor_FixedLength_LeftToRight_EndZ: + fmt.Fprintf(buf, "Anchor: %v\n", f.TrailingAnchor) + + case LeadingString_LeftToRight, LeadingString_RightToLeft, LeadingString_OrdinalIgnoreCase_LeftToRight: + fmt.Fprintf(buf, "Prefix: %q\n", f.LeadingPrefix) + + case LeadingStrings_LeftToRight, LeadingStrings_OrdinalIgnoreCase_LeftToRight: + fmt.Fprintf(buf, "Prefixes: %q\n", f.LeadingPrefixes) + + case FixedDistanceChar_LeftToRight: + fmt.Fprintf(buf, "Literal: %q at distance %d\n", f.FixedDistanceLiteral.C, f.FixedDistanceLiteral.Distance) + + case FixedDistanceString_LeftToRight: + fmt.Fprintf(buf, "Literal: %q at distance %d\n", f.FixedDistanceLiteral.S, f.FixedDistanceLiteral.Distance) + + case FixedDistanceSets_LeftToRight: + for i, set := range f.FixedDistanceSets { + fmt.Fprintf(buf, "Set[%d]: distance=%d %s\n", i, set.Distance, fixedDistanceSetDescription(set)) + } + + case LiteralAfterLoop_LeftToRight: + fmt.Fprintf(buf, "Literal: %s\n", literalAfterLoopDescription(f.LiteralAfterLoop)) + + case RequiredLandmarkChain_LeftToRight: + fmt.Fprintf(buf, "Landmarks: %s\n", landmarkChainDescription(f.LandmarkChain)) + } + + return buf.String() +} + +func fixedDistanceSetDescription(set FixedDistanceSet) string { + switch { + case len(set.Chars) > 0: + return fmt.Sprintf("chars=%q negated=%t", string(set.Chars), set.Negated) + case set.Range != nil: + return fmt.Sprintf("range=%q-%q negated=%t", set.Range.First, set.Range.Last, set.Negated) + case set.Set != nil: + return fmt.Sprintf("set=%s", set.Set.String()) + default: + return "set=" + } +} + +func literalAfterLoopDescription(literal *LiteralAfterLoop) string { + if literal == nil { + return "" + } + loopSet := "" + if literal.LoopNode != nil && literal.LoopNode.Set != nil { + loopSet = literal.LoopNode.Set.String() + } + switch { + case literal.String != "": + return fmt.Sprintf("string=%q ignoreCase=%t after loop set %s", literal.String, literal.StringIgnoreCase, loopSet) + case len(literal.Chars) > 0: + return fmt.Sprintf("chars=%q after loop set %s", string(literal.Chars), loopSet) + default: + return fmt.Sprintf("char=%q after loop set %s", literal.Char, loopSet) + } +} + +func landmarkChainDescription(chain *RequiredLandmarkChain) string { + if chain == nil { + return "" + } + loopSet := "" + if chain.LeadingLoopSet != nil { + loopSet = chain.LeadingLoopSet.String() + } + buf := &bytes.Buffer{} + fmt.Fprintf(buf, "leadingLoop=%s", loopSet) + for i, landmark := range chain.Landmarks { + fmt.Fprintf(buf, " landmark[%d]=", i) + for j, alt := range landmark.Alternatives { + if j > 0 { + buf.WriteString("|") + } + buf.WriteString(requiredLandmarkAlternativeDescription(alt)) + } + } + return buf.String() +} + +func requiredLandmarkAlternativeDescription(alt RequiredLandmarkAlternative) string { + core := "" + switch { + case len(alt.Literal) > 0: + core = fmt.Sprintf("literal=%q", string(alt.Literal)) + case alt.Set != nil: + core = fmt.Sprintf("set=%s repeat=%d..%d", alt.Set.String(), alt.MinRepeat, alt.MaxRepeat) + default: + core = "" + } + if alt.LeadingWhitespaceSet != nil { + core += fmt.Sprintf(" leadingWhitespace=%s required=%t", alt.LeadingWhitespaceSet.String(), alt.RequireWhitespaceBefore) + } + if alt.TrailingWhitespaceSet != nil { + core += fmt.Sprintf(" trailingWhitespace=%s required=%t", alt.TrailingWhitespaceSet.String(), alt.RequireWhitespaceAfter) + } + return core +} + func newFindOptimizations(tree *RegexTree, opt ParseOptions) *FindOptimizations { f := newFindOptimizationsForNode(tree.Root, opt, false) @@ -253,6 +467,7 @@ func newFindOptimizationsForNode(root *RegexNode, opt ParseOptions, isLeadingPar ciPrefixes := findPrefixes(root, true) if len(ciPrefixes) > 1 { f.LeadingPrefixes = ciPrefixes + f.LeadingPrefixesRunes = toRunePrefixes(ciPrefixes) f.FindMode = LeadingStrings_OrdinalIgnoreCase_LeftToRight /*SYSTEM_TEXT_REGULAREXPRESSIONS if usesRfoTryFind { @@ -307,6 +522,7 @@ func newFindOptimizationsForNode(root *RegexNode, opt ParseOptions, isLeadingPar caseSensitivePrefixes := findPrefixes(root, false) if len(caseSensitivePrefixes) > 1 { f.LeadingPrefixes = caseSensitivePrefixes + f.LeadingPrefixesRunes = toRunePrefixes(caseSensitivePrefixes) f.FindMode = LeadingStrings_LeftToRight return f } @@ -360,6 +576,17 @@ func (f *FindOptimizations) isUseful() bool { return f.FindMode != NoSearch || f.LeadingAnchor == NtBol } +func toRunePrefixes(prefixes []string) [][]rune { + if len(prefixes) == 0 { + return nil + } + runes := make([][]rune, len(prefixes)) + for i, prefix := range prefixes { + runes[i] = []rune(prefix) + } + return runes +} + func getFindMode(rtl bool, t NodeType) FindNextStartingPositionMode { if rtl { switch t { diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/parser.go b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/parser.go index 3ce3667c6..9e9029a8c 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/parser.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/parser.go @@ -1486,10 +1486,11 @@ func (p *parser) parseProperty() (string, error) { if p.charsRight() >= 1 && p.rightChar(0) != '{' && (!p.useOptionE() || !p.useOptionU()) { ch := string(p.moveRightGetChar()) // check if it's a valid cat - if !isValidUnicodeCat(ch) { + canonical, ok := canonicalUnicodeCatName(ch) + if !ok { return "", p.getErr(ErrUnknownSlashP, ch) } - return ch, nil + return canonical, nil } if p.charsRight() < 3 { @@ -1503,7 +1504,7 @@ func (p *parser) parseProperty() (string, error) { startpos := p.textpos() for p.charsRight() > 0 { ch = p.moveRightGetChar() - if !IsWordChar(ch) && ch != '-' { + if !IsWordChar(ch) && ch != '-' && ch != '=' { p.moveLeft() break } @@ -1514,11 +1515,12 @@ func (p *parser) parseProperty() (string, error) { return "", p.getErr(ErrIncompleteSlashP) } - if !isValidUnicodeCat(capname) { + canonical, ok := canonicalUnicodeCatName(capname) + if !ok { return "", p.getErr(ErrUnknownSlashP, capname) } - return capname, nil + return canonical, nil } // Returns ReNode type for zero-length assertions with a \ code. diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/prefixanalyzer.go b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/prefixanalyzer.go index 09bfc8456..0490585bd 100644 --- a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/prefixanalyzer.go +++ b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/prefixanalyzer.go @@ -1184,6 +1184,10 @@ func findLiteralFollowingLeadingLoop(node *RegexNode) *LiteralAfterLoop { } nextChild = node.Children[2] } + nextChild = unwrapImmediateLiteralAfterLoopNode(nextChild) + if nextChild == nil { + return nil + } // Is the set loop followed by a case-sensitive string we can search for? if prefix := findPrefix(nextChild); len(prefix) >= 1 { @@ -1230,16 +1234,6 @@ func findLiteralFollowingLeadingLoop(node *RegexNode) *LiteralAfterLoop { } } - // Is the set loop followed by a set we can search for? Whereas the above helpers will drill down into - // children as is appropriate, to examine a set here, we need to drill in ourselves. We can drill through - // atomic and capture nodes, as they don't affect flow control, and into the left-most node of a concatenate, - // as the first child is guaranteed next. We can also drill into a loop or lazy loop that has a guaranteed - // iteration, for the same reason as with concatenate. - for nextChild.T == NtAtomic || nextChild.T == NtCapture || nextChild.T == NtConcatenate || - (nextChild.T == NtLoop || nextChild.T == NtLazyloop && nextChild.M >= 1) { - nextChild = nextChild.Children[0] - } - // If the resulting node is a set with at least one iteration, we can search for it. if nextChild.IsSetFamily() && !nextChild.Set.IsNegated() && @@ -1264,6 +1258,22 @@ func findLiteralFollowingLeadingLoop(node *RegexNode) *LiteralAfterLoop { return nil } +func unwrapImmediateLiteralAfterLoopNode(node *RegexNode) *RegexNode { + for { + node = unwrapTransparentNodes(node) + if node == nil { + return nil + } + if node.T != NtConcatenate { + return node + } + if len(node.Children) == 0 { + return nil + } + node = node.Children[0] + } +} + func findRequiredLandmarkChain(node *RegexNode) *RequiredLandmarkChain { if (node.Options & RightToLeft) != 0 { return nil @@ -1286,6 +1296,8 @@ func findRequiredLandmarkChain(node *RegexNode) *RequiredLandmarkChain { for _, child := range node.Children[1:] { if landmark, ok := extractRequiredLandmark(child); ok { landmarks = append(landmarks, landmark) + } else if len(landmarks) == 0 && !isZeroWidthLandmarkGap(child) { + return nil } } if len(landmarks) < 2 { @@ -1298,6 +1310,21 @@ func findRequiredLandmarkChain(node *RegexNode) *RequiredLandmarkChain { } } +func isZeroWidthLandmarkGap(node *RegexNode) bool { + node = unwrapTransparentNodes(node) + if node == nil { + return true + } + switch node.T { + case NtEmpty, NtUpdateBumpalong, + NtBeginning, NtBol, NtStart, NtEndZ, NtEnd, NtEol, + NtBoundary, NtNonboundary, NtECMABoundary, NtNonECMABoundary: + return true + default: + return false + } +} + func unwrapTransparentNodes(node *RegexNode) *RegexNode { for node != nil && (node.T == NtAtomic || node.T == NtCapture || node.T == NtGroup) && len(node.Children) == 1 { node = node.Children[0] @@ -1352,7 +1379,7 @@ func extractRequiredLandmarkAlternative(node *RegexNode) (RequiredLandmarkAltern i := 0 if i < len(children) { if whitespaceSet, min, ok := whitespaceLoop(children[i]); ok { - alt.WhitespaceSet = whitespaceSet + alt.LeadingWhitespaceSet = whitespaceSet alt.RequireWhitespaceBefore = min > 0 i++ } @@ -1367,11 +1394,11 @@ func extractRequiredLandmarkAlternative(node *RegexNode) (RequiredLandmarkAltern core := unwrapTransparentNodes(children[i]) switch core.T { case NtOne: - alt.Literal = string(core.Ch) + alt.Literal = []rune{core.Ch} alt.MinRepeat = 1 alt.MaxRepeat = 1 case NtMulti: - alt.Literal = string(core.Str) + alt.Literal = core.Str alt.MinRepeat = 1 alt.MaxRepeat = 1 case NtSet, NtSetloop, NtSetloopatomic, NtSetlazy: @@ -1392,7 +1419,6 @@ func extractRequiredLandmarkAlternative(node *RegexNode) (RequiredLandmarkAltern return RequiredLandmarkAlternative{}, false } alt.Set = core.Set - alt.Chars = chars default: return RequiredLandmarkAlternative{}, false } @@ -1400,9 +1426,7 @@ func extractRequiredLandmarkAlternative(node *RegexNode) (RequiredLandmarkAltern if i < len(children) { if whitespaceSet, min, ok := whitespaceLoop(children[i]); ok { - if alt.WhitespaceSet == nil { - alt.WhitespaceSet = whitespaceSet - } + alt.TrailingWhitespaceSet = whitespaceSet alt.RequireWhitespaceAfter = min > 0 i++ } diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/syntax/unicode_alias_tables.go b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/unicode_alias_tables.go new file mode 100644 index 000000000..a165b57ea --- /dev/null +++ b/tools/vendor/github.com/dlclark/regexp2/v2/syntax/unicode_alias_tables.go @@ -0,0 +1,6058 @@ +package syntax + +import "unicode" + +const unicodePropertyTableVersion = "17.0.0" +const goUnicodeTableVersion = unicode.Version + +// Unicode property alias tables generated from Unicode 17.0.0 data. +// +// At generation time, the Go standard library Unicode tables used for scripts, +// general categories, category aliases, and built-in properties are Unicode +// 15.0.0 in the supported Go toolchain. These package-local tables +// intentionally use Unicode 17.0.0 for commonly updated properties, especially Emoji and +// Extended_Pictographic. +// +// Sources: +// - PropertyAliases.txt +// - PropertyValueAliases.txt +// - DerivedCoreProperties.txt +// - emoji/emoji-data.txt +// - auxiliary/GraphemeBreakProperty.txt +// - auxiliary/WordBreakProperty.txt +// - auxiliary/SentenceBreakProperty.txt +var unicodeAliasCategories = map[string]*unicode.RangeTable{ + "Emoji": unicodeAliasEmoji, + "Emoji_Component": unicodeAliasEmoji_Component, + "Emoji_Modifier": unicodeAliasEmoji_Modifier, + "Emoji_Modifier_Base": unicodeAliasEmoji_Modifier_Base, + "Emoji_Presentation": unicodeAliasEmoji_Presentation, + "Extended_Pictographic": unicodeAliasExtended_Pictographic, + "Grapheme_Cluster_Break=CR": unicodeAliasGrapheme_Cluster_Break_CR, + "Grapheme_Cluster_Break=Control": unicodeAliasGrapheme_Cluster_Break_Control, + "Grapheme_Cluster_Break=Extend": unicodeAliasGrapheme_Cluster_Break_Extend, + "Grapheme_Cluster_Break=L": unicodeAliasGrapheme_Cluster_Break_L, + "Grapheme_Cluster_Break=LF": unicodeAliasGrapheme_Cluster_Break_LF, + "Grapheme_Cluster_Break=LV": unicodeAliasGrapheme_Cluster_Break_LV, + "Grapheme_Cluster_Break=LVT": unicodeAliasGrapheme_Cluster_Break_LVT, + "Grapheme_Cluster_Break=Prepend": unicodeAliasGrapheme_Cluster_Break_Prepend, + "Grapheme_Cluster_Break=Regional_Indicator": unicodeAliasGrapheme_Cluster_Break_Regional_Indicator, + "Grapheme_Cluster_Break=SpacingMark": unicodeAliasGrapheme_Cluster_Break_SpacingMark, + "Grapheme_Cluster_Break=T": unicodeAliasGrapheme_Cluster_Break_T, + "Grapheme_Cluster_Break=V": unicodeAliasGrapheme_Cluster_Break_V, + "Grapheme_Cluster_Break=ZWJ": unicodeAliasGrapheme_Cluster_Break_ZWJ, + "Math": unicodeAliasMath, + "Sentence_Break=ATerm": unicodeAliasSentence_Break_ATerm, + "Sentence_Break=CR": unicodeAliasSentence_Break_CR, + "Sentence_Break=Close": unicodeAliasSentence_Break_Close, + "Sentence_Break=Extend": unicodeAliasSentence_Break_Extend, + "Sentence_Break=Format": unicodeAliasSentence_Break_Format, + "Sentence_Break=LF": unicodeAliasSentence_Break_LF, + "Sentence_Break=Lower": unicodeAliasSentence_Break_Lower, + "Sentence_Break=Numeric": unicodeAliasSentence_Break_Numeric, + "Sentence_Break=OLetter": unicodeAliasSentence_Break_OLetter, + "Sentence_Break=SContinue": unicodeAliasSentence_Break_SContinue, + "Sentence_Break=STerm": unicodeAliasSentence_Break_STerm, + "Sentence_Break=Sep": unicodeAliasSentence_Break_Sep, + "Sentence_Break=Sp": unicodeAliasSentence_Break_Sp, + "Sentence_Break=Upper": unicodeAliasSentence_Break_Upper, + "Word_Break=ALetter": unicodeAliasWord_Break_ALetter, + "Word_Break=CR": unicodeAliasWord_Break_CR, + "Word_Break=Double_Quote": unicodeAliasWord_Break_Double_Quote, + "Word_Break=Extend": unicodeAliasWord_Break_Extend, + "Word_Break=ExtendNumLet": unicodeAliasWord_Break_ExtendNumLet, + "Word_Break=Format": unicodeAliasWord_Break_Format, + "Word_Break=Hebrew_Letter": unicodeAliasWord_Break_Hebrew_Letter, + "Word_Break=Katakana": unicodeAliasWord_Break_Katakana, + "Word_Break=LF": unicodeAliasWord_Break_LF, + "Word_Break=MidLetter": unicodeAliasWord_Break_MidLetter, + "Word_Break=MidNum": unicodeAliasWord_Break_MidNum, + "Word_Break=MidNumLet": unicodeAliasWord_Break_MidNumLet, + "Word_Break=Newline": unicodeAliasWord_Break_Newline, + "Word_Break=Numeric": unicodeAliasWord_Break_Numeric, + "Word_Break=Regional_Indicator": unicodeAliasWord_Break_Regional_Indicator, + "Word_Break=Single_Quote": unicodeAliasWord_Break_Single_Quote, + "Word_Break=WSegSpace": unicodeAliasWord_Break_WSegSpace, + "Word_Break=ZWJ": unicodeAliasWord_Break_ZWJ, +} + +var unicodeSupportedPropertyAliases = map[string]string{ + "ebase": "Emoji_Modifier_Base", + "ecomp": "Emoji_Component", + "emod": "Emoji_Modifier", + "emoji": "Emoji", + "emojicomponent": "Emoji_Component", + "emojimodifier": "Emoji_Modifier", + "emojimodifierbase": "Emoji_Modifier_Base", + "emojipresentation": "Emoji_Presentation", + "epres": "Emoji_Presentation", + "extendedpictographic": "Extended_Pictographic", + "extpict": "Extended_Pictographic", + "gcb": "Grapheme_Cluster_Break", + "graphemeclusterbreak": "Grapheme_Cluster_Break", + "math": "Math", + "sb": "Sentence_Break", + "sentencebreak": "Sentence_Break", + "wb": "Word_Break", + "wordbreak": "Word_Break", +} + +var unicodeSupportedPropertyValueAliases = map[string]map[string]string{ + "Grapheme_Cluster_Break": { + "cn": "Control", + "control": "Control", + "cr": "CR", + "ex": "Extend", + "extend": "Extend", + "l": "L", + "lf": "LF", + "lv": "LV", + "lvt": "LVT", + "pp": "Prepend", + "prepend": "Prepend", + "regionalindicator": "Regional_Indicator", + "ri": "Regional_Indicator", + "sm": "SpacingMark", + "spacingmark": "SpacingMark", + "t": "T", + "v": "V", + "zwj": "ZWJ", + }, + "Sentence_Break": { + "at": "ATerm", + "aterm": "ATerm", + "cl": "Close", + "close": "Close", + "cr": "CR", + "ex": "Extend", + "extend": "Extend", + "fo": "Format", + "format": "Format", + "le": "OLetter", + "lf": "LF", + "lo": "Lower", + "lower": "Lower", + "nu": "Numeric", + "numeric": "Numeric", + "oletter": "OLetter", + "sc": "SContinue", + "scontinue": "SContinue", + "se": "Sep", + "sep": "Sep", + "sp": "Sp", + "st": "STerm", + "sterm": "STerm", + "up": "Upper", + "upper": "Upper", + }, + "Word_Break": { + "aletter": "ALetter", + "cr": "CR", + "doublequote": "Double_Quote", + "dq": "Double_Quote", + "ex": "ExtendNumLet", + "extend": "Extend", + "extendnumlet": "ExtendNumLet", + "fo": "Format", + "format": "Format", + "hebrewletter": "Hebrew_Letter", + "hl": "Hebrew_Letter", + "ka": "Katakana", + "katakana": "Katakana", + "le": "ALetter", + "lf": "LF", + "mb": "MidNumLet", + "midletter": "MidLetter", + "midnum": "MidNum", + "midnumlet": "MidNumLet", + "ml": "MidLetter", + "mn": "MidNum", + "newline": "Newline", + "nl": "Newline", + "nu": "Numeric", + "numeric": "Numeric", + "regionalindicator": "Regional_Indicator", + "ri": "Regional_Indicator", + "singlequote": "Single_Quote", + "sq": "Single_Quote", + "wsegspace": "WSegSpace", + "zwj": "ZWJ", + }, +} + +var unicodeBarePropertyValueAliases = map[string]string{ + "extendnumlet": "Word_Break=ExtendNumLet", + "hebrewletter": "Word_Break=Hebrew_Letter", + "regionalindicator": "Grapheme_Cluster_Break=Regional_Indicator", + "ri": "Grapheme_Cluster_Break=Regional_Indicator", + "wsegspace": "Word_Break=WSegSpace", +} + +var unicodeAliasEmoji = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x23, Hi: 0x23, Stride: 1}, + {Lo: 0x2A, Hi: 0x2A, Stride: 1}, + {Lo: 0x30, Hi: 0x39, Stride: 1}, + {Lo: 0xA9, Hi: 0xA9, Stride: 1}, + {Lo: 0xAE, Hi: 0xAE, Stride: 1}, + {Lo: 0x203C, Hi: 0x203C, Stride: 1}, + {Lo: 0x2049, Hi: 0x2049, Stride: 1}, + {Lo: 0x2122, Hi: 0x2122, Stride: 1}, + {Lo: 0x2139, Hi: 0x2139, Stride: 1}, + {Lo: 0x2194, Hi: 0x2199, Stride: 1}, + {Lo: 0x21A9, Hi: 0x21AA, Stride: 1}, + {Lo: 0x231A, Hi: 0x231B, Stride: 1}, + {Lo: 0x2328, Hi: 0x2328, Stride: 1}, + {Lo: 0x23CF, Hi: 0x23CF, Stride: 1}, + {Lo: 0x23E9, Hi: 0x23F3, Stride: 1}, + {Lo: 0x23F8, Hi: 0x23FA, Stride: 1}, + {Lo: 0x24C2, Hi: 0x24C2, Stride: 1}, + {Lo: 0x25AA, Hi: 0x25AB, Stride: 1}, + {Lo: 0x25B6, Hi: 0x25B6, Stride: 1}, + {Lo: 0x25C0, Hi: 0x25C0, Stride: 1}, + {Lo: 0x25FB, Hi: 0x25FE, Stride: 1}, + {Lo: 0x2600, Hi: 0x2604, Stride: 1}, + {Lo: 0x260E, Hi: 0x260E, Stride: 1}, + {Lo: 0x2611, Hi: 0x2611, Stride: 1}, + {Lo: 0x2614, Hi: 0x2615, Stride: 1}, + {Lo: 0x2618, Hi: 0x2618, Stride: 1}, + {Lo: 0x261D, Hi: 0x261D, Stride: 1}, + {Lo: 0x2620, Hi: 0x2620, Stride: 1}, + {Lo: 0x2622, Hi: 0x2623, Stride: 1}, + {Lo: 0x2626, Hi: 0x2626, Stride: 1}, + {Lo: 0x262A, Hi: 0x262A, Stride: 1}, + {Lo: 0x262E, Hi: 0x262F, Stride: 1}, + {Lo: 0x2638, Hi: 0x263A, Stride: 1}, + {Lo: 0x2640, Hi: 0x2640, Stride: 1}, + {Lo: 0x2642, Hi: 0x2642, Stride: 1}, + {Lo: 0x2648, Hi: 0x2653, Stride: 1}, + {Lo: 0x265F, Hi: 0x2660, Stride: 1}, + {Lo: 0x2663, Hi: 0x2663, Stride: 1}, + {Lo: 0x2665, Hi: 0x2666, Stride: 1}, + {Lo: 0x2668, Hi: 0x2668, Stride: 1}, + {Lo: 0x267B, Hi: 0x267B, Stride: 1}, + {Lo: 0x267E, Hi: 0x267F, Stride: 1}, + {Lo: 0x2692, Hi: 0x2697, Stride: 1}, + {Lo: 0x2699, Hi: 0x2699, Stride: 1}, + {Lo: 0x269B, Hi: 0x269C, Stride: 1}, + {Lo: 0x26A0, Hi: 0x26A1, Stride: 1}, + {Lo: 0x26A7, Hi: 0x26A7, Stride: 1}, + {Lo: 0x26AA, Hi: 0x26AB, Stride: 1}, + {Lo: 0x26B0, Hi: 0x26B1, Stride: 1}, + {Lo: 0x26BD, Hi: 0x26BE, Stride: 1}, + {Lo: 0x26C4, Hi: 0x26C5, Stride: 1}, + {Lo: 0x26C8, Hi: 0x26C8, Stride: 1}, + {Lo: 0x26CE, Hi: 0x26CF, Stride: 1}, + {Lo: 0x26D1, Hi: 0x26D1, Stride: 1}, + {Lo: 0x26D3, Hi: 0x26D4, Stride: 1}, + {Lo: 0x26E9, Hi: 0x26EA, Stride: 1}, + {Lo: 0x26F0, Hi: 0x26F5, Stride: 1}, + {Lo: 0x26F7, Hi: 0x26FA, Stride: 1}, + {Lo: 0x26FD, Hi: 0x26FD, Stride: 1}, + {Lo: 0x2702, Hi: 0x2702, Stride: 1}, + {Lo: 0x2705, Hi: 0x2705, Stride: 1}, + {Lo: 0x2708, Hi: 0x270D, Stride: 1}, + {Lo: 0x270F, Hi: 0x270F, Stride: 1}, + {Lo: 0x2712, Hi: 0x2712, Stride: 1}, + {Lo: 0x2714, Hi: 0x2714, Stride: 1}, + {Lo: 0x2716, Hi: 0x2716, Stride: 1}, + {Lo: 0x271D, Hi: 0x271D, Stride: 1}, + {Lo: 0x2721, Hi: 0x2721, Stride: 1}, + {Lo: 0x2728, Hi: 0x2728, Stride: 1}, + {Lo: 0x2733, Hi: 0x2734, Stride: 1}, + {Lo: 0x2744, Hi: 0x2744, Stride: 1}, + {Lo: 0x2747, Hi: 0x2747, Stride: 1}, + {Lo: 0x274C, Hi: 0x274C, Stride: 1}, + {Lo: 0x274E, Hi: 0x274E, Stride: 1}, + {Lo: 0x2753, Hi: 0x2755, Stride: 1}, + {Lo: 0x2757, Hi: 0x2757, Stride: 1}, + {Lo: 0x2763, Hi: 0x2764, Stride: 1}, + {Lo: 0x2795, Hi: 0x2797, Stride: 1}, + {Lo: 0x27A1, Hi: 0x27A1, Stride: 1}, + {Lo: 0x27B0, Hi: 0x27B0, Stride: 1}, + {Lo: 0x27BF, Hi: 0x27BF, Stride: 1}, + {Lo: 0x2934, Hi: 0x2935, Stride: 1}, + {Lo: 0x2B05, Hi: 0x2B07, Stride: 1}, + {Lo: 0x2B1B, Hi: 0x2B1C, Stride: 1}, + {Lo: 0x2B50, Hi: 0x2B50, Stride: 1}, + {Lo: 0x2B55, Hi: 0x2B55, Stride: 1}, + {Lo: 0x3030, Hi: 0x3030, Stride: 1}, + {Lo: 0x303D, Hi: 0x303D, Stride: 1}, + {Lo: 0x3297, Hi: 0x3297, Stride: 1}, + {Lo: 0x3299, Hi: 0x3299, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1F004, Hi: 0x1F004, Stride: 1}, + {Lo: 0x1F0CF, Hi: 0x1F0CF, Stride: 1}, + {Lo: 0x1F170, Hi: 0x1F171, Stride: 1}, + {Lo: 0x1F17E, Hi: 0x1F17F, Stride: 1}, + {Lo: 0x1F18E, Hi: 0x1F18E, Stride: 1}, + {Lo: 0x1F191, Hi: 0x1F19A, Stride: 1}, + {Lo: 0x1F1E6, Hi: 0x1F1FF, Stride: 1}, + {Lo: 0x1F201, Hi: 0x1F202, Stride: 1}, + {Lo: 0x1F21A, Hi: 0x1F21A, Stride: 1}, + {Lo: 0x1F22F, Hi: 0x1F22F, Stride: 1}, + {Lo: 0x1F232, Hi: 0x1F23A, Stride: 1}, + {Lo: 0x1F250, Hi: 0x1F251, Stride: 1}, + {Lo: 0x1F300, Hi: 0x1F321, Stride: 1}, + {Lo: 0x1F324, Hi: 0x1F393, Stride: 1}, + {Lo: 0x1F396, Hi: 0x1F397, Stride: 1}, + {Lo: 0x1F399, Hi: 0x1F39B, Stride: 1}, + {Lo: 0x1F39E, Hi: 0x1F3F0, Stride: 1}, + {Lo: 0x1F3F3, Hi: 0x1F3F5, Stride: 1}, + {Lo: 0x1F3F7, Hi: 0x1F4FD, Stride: 1}, + {Lo: 0x1F4FF, Hi: 0x1F53D, Stride: 1}, + {Lo: 0x1F549, Hi: 0x1F54E, Stride: 1}, + {Lo: 0x1F550, Hi: 0x1F567, Stride: 1}, + {Lo: 0x1F56F, Hi: 0x1F570, Stride: 1}, + {Lo: 0x1F573, Hi: 0x1F57A, Stride: 1}, + {Lo: 0x1F587, Hi: 0x1F587, Stride: 1}, + {Lo: 0x1F58A, Hi: 0x1F58D, Stride: 1}, + {Lo: 0x1F590, Hi: 0x1F590, Stride: 1}, + {Lo: 0x1F595, Hi: 0x1F596, Stride: 1}, + {Lo: 0x1F5A4, Hi: 0x1F5A5, Stride: 1}, + {Lo: 0x1F5A8, Hi: 0x1F5A8, Stride: 1}, + {Lo: 0x1F5B1, Hi: 0x1F5B2, Stride: 1}, + {Lo: 0x1F5BC, Hi: 0x1F5BC, Stride: 1}, + {Lo: 0x1F5C2, Hi: 0x1F5C4, Stride: 1}, + {Lo: 0x1F5D1, Hi: 0x1F5D3, Stride: 1}, + {Lo: 0x1F5DC, Hi: 0x1F5DE, Stride: 1}, + {Lo: 0x1F5E1, Hi: 0x1F5E1, Stride: 1}, + {Lo: 0x1F5E3, Hi: 0x1F5E3, Stride: 1}, + {Lo: 0x1F5E8, Hi: 0x1F5E8, Stride: 1}, + {Lo: 0x1F5EF, Hi: 0x1F5EF, Stride: 1}, + {Lo: 0x1F5F3, Hi: 0x1F5F3, Stride: 1}, + {Lo: 0x1F5FA, Hi: 0x1F64F, Stride: 1}, + {Lo: 0x1F680, Hi: 0x1F6C5, Stride: 1}, + {Lo: 0x1F6CB, Hi: 0x1F6D2, Stride: 1}, + {Lo: 0x1F6D5, Hi: 0x1F6D8, Stride: 1}, + {Lo: 0x1F6DC, Hi: 0x1F6E5, Stride: 1}, + {Lo: 0x1F6E9, Hi: 0x1F6E9, Stride: 1}, + {Lo: 0x1F6EB, Hi: 0x1F6EC, Stride: 1}, + {Lo: 0x1F6F0, Hi: 0x1F6F0, Stride: 1}, + {Lo: 0x1F6F3, Hi: 0x1F6FC, Stride: 1}, + {Lo: 0x1F7E0, Hi: 0x1F7EB, Stride: 1}, + {Lo: 0x1F7F0, Hi: 0x1F7F0, Stride: 1}, + {Lo: 0x1F90C, Hi: 0x1F93A, Stride: 1}, + {Lo: 0x1F93C, Hi: 0x1F945, Stride: 1}, + {Lo: 0x1F947, Hi: 0x1F9FF, Stride: 1}, + {Lo: 0x1FA70, Hi: 0x1FA7C, Stride: 1}, + {Lo: 0x1FA80, Hi: 0x1FA8A, Stride: 1}, + {Lo: 0x1FA8E, Hi: 0x1FAC6, Stride: 1}, + {Lo: 0x1FAC8, Hi: 0x1FAC8, Stride: 1}, + {Lo: 0x1FACD, Hi: 0x1FADC, Stride: 1}, + {Lo: 0x1FADF, Hi: 0x1FAEA, Stride: 1}, + {Lo: 0x1FAEF, Hi: 0x1FAF8, Stride: 1}, + }, +} + +var unicodeAliasEmoji_Component = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x23, Hi: 0x23, Stride: 1}, + {Lo: 0x2A, Hi: 0x2A, Stride: 1}, + {Lo: 0x30, Hi: 0x39, Stride: 1}, + {Lo: 0x200D, Hi: 0x200D, Stride: 1}, + {Lo: 0x20E3, Hi: 0x20E3, Stride: 1}, + {Lo: 0xFE0F, Hi: 0xFE0F, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1F1E6, Hi: 0x1F1FF, Stride: 1}, + {Lo: 0x1F3FB, Hi: 0x1F3FF, Stride: 1}, + {Lo: 0x1F9B0, Hi: 0x1F9B3, Stride: 1}, + {Lo: 0xE0020, Hi: 0xE007F, Stride: 1}, + }, +} + +var unicodeAliasEmoji_Modifier = &unicode.RangeTable{ + R32: []unicode.Range32{ + {Lo: 0x1F3FB, Hi: 0x1F3FF, Stride: 1}, + }, +} + +var unicodeAliasEmoji_Modifier_Base = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x261D, Hi: 0x261D, Stride: 1}, + {Lo: 0x26F9, Hi: 0x26F9, Stride: 1}, + {Lo: 0x270A, Hi: 0x270D, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1F385, Hi: 0x1F385, Stride: 1}, + {Lo: 0x1F3C2, Hi: 0x1F3C4, Stride: 1}, + {Lo: 0x1F3C7, Hi: 0x1F3C7, Stride: 1}, + {Lo: 0x1F3CA, Hi: 0x1F3CC, Stride: 1}, + {Lo: 0x1F442, Hi: 0x1F443, Stride: 1}, + {Lo: 0x1F446, Hi: 0x1F450, Stride: 1}, + {Lo: 0x1F466, Hi: 0x1F478, Stride: 1}, + {Lo: 0x1F47C, Hi: 0x1F47C, Stride: 1}, + {Lo: 0x1F481, Hi: 0x1F483, Stride: 1}, + {Lo: 0x1F485, Hi: 0x1F487, Stride: 1}, + {Lo: 0x1F48F, Hi: 0x1F48F, Stride: 1}, + {Lo: 0x1F491, Hi: 0x1F491, Stride: 1}, + {Lo: 0x1F4AA, Hi: 0x1F4AA, Stride: 1}, + {Lo: 0x1F574, Hi: 0x1F575, Stride: 1}, + {Lo: 0x1F57A, Hi: 0x1F57A, Stride: 1}, + {Lo: 0x1F590, Hi: 0x1F590, Stride: 1}, + {Lo: 0x1F595, Hi: 0x1F596, Stride: 1}, + {Lo: 0x1F645, Hi: 0x1F647, Stride: 1}, + {Lo: 0x1F64B, Hi: 0x1F64F, Stride: 1}, + {Lo: 0x1F6A3, Hi: 0x1F6A3, Stride: 1}, + {Lo: 0x1F6B4, Hi: 0x1F6B6, Stride: 1}, + {Lo: 0x1F6C0, Hi: 0x1F6C0, Stride: 1}, + {Lo: 0x1F6CC, Hi: 0x1F6CC, Stride: 1}, + {Lo: 0x1F90C, Hi: 0x1F90C, Stride: 1}, + {Lo: 0x1F90F, Hi: 0x1F90F, Stride: 1}, + {Lo: 0x1F918, Hi: 0x1F91F, Stride: 1}, + {Lo: 0x1F926, Hi: 0x1F926, Stride: 1}, + {Lo: 0x1F930, Hi: 0x1F939, Stride: 1}, + {Lo: 0x1F93C, Hi: 0x1F93E, Stride: 1}, + {Lo: 0x1F977, Hi: 0x1F977, Stride: 1}, + {Lo: 0x1F9B5, Hi: 0x1F9B6, Stride: 1}, + {Lo: 0x1F9B8, Hi: 0x1F9B9, Stride: 1}, + {Lo: 0x1F9BB, Hi: 0x1F9BB, Stride: 1}, + {Lo: 0x1F9CD, Hi: 0x1F9CF, Stride: 1}, + {Lo: 0x1F9D1, Hi: 0x1F9DD, Stride: 1}, + {Lo: 0x1FAC3, Hi: 0x1FAC5, Stride: 1}, + {Lo: 0x1FAF0, Hi: 0x1FAF8, Stride: 1}, + }, +} + +var unicodeAliasEmoji_Presentation = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x231A, Hi: 0x231B, Stride: 1}, + {Lo: 0x23E9, Hi: 0x23EC, Stride: 1}, + {Lo: 0x23F0, Hi: 0x23F0, Stride: 1}, + {Lo: 0x23F3, Hi: 0x23F3, Stride: 1}, + {Lo: 0x25FD, Hi: 0x25FE, Stride: 1}, + {Lo: 0x2614, Hi: 0x2615, Stride: 1}, + {Lo: 0x2648, Hi: 0x2653, Stride: 1}, + {Lo: 0x267F, Hi: 0x267F, Stride: 1}, + {Lo: 0x2693, Hi: 0x2693, Stride: 1}, + {Lo: 0x26A1, Hi: 0x26A1, Stride: 1}, + {Lo: 0x26AA, Hi: 0x26AB, Stride: 1}, + {Lo: 0x26BD, Hi: 0x26BE, Stride: 1}, + {Lo: 0x26C4, Hi: 0x26C5, Stride: 1}, + {Lo: 0x26CE, Hi: 0x26CE, Stride: 1}, + {Lo: 0x26D4, Hi: 0x26D4, Stride: 1}, + {Lo: 0x26EA, Hi: 0x26EA, Stride: 1}, + {Lo: 0x26F2, Hi: 0x26F3, Stride: 1}, + {Lo: 0x26F5, Hi: 0x26F5, Stride: 1}, + {Lo: 0x26FA, Hi: 0x26FA, Stride: 1}, + {Lo: 0x26FD, Hi: 0x26FD, Stride: 1}, + {Lo: 0x2705, Hi: 0x2705, Stride: 1}, + {Lo: 0x270A, Hi: 0x270B, Stride: 1}, + {Lo: 0x2728, Hi: 0x2728, Stride: 1}, + {Lo: 0x274C, Hi: 0x274C, Stride: 1}, + {Lo: 0x274E, Hi: 0x274E, Stride: 1}, + {Lo: 0x2753, Hi: 0x2755, Stride: 1}, + {Lo: 0x2757, Hi: 0x2757, Stride: 1}, + {Lo: 0x2795, Hi: 0x2797, Stride: 1}, + {Lo: 0x27B0, Hi: 0x27B0, Stride: 1}, + {Lo: 0x27BF, Hi: 0x27BF, Stride: 1}, + {Lo: 0x2B1B, Hi: 0x2B1C, Stride: 1}, + {Lo: 0x2B50, Hi: 0x2B50, Stride: 1}, + {Lo: 0x2B55, Hi: 0x2B55, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1F004, Hi: 0x1F004, Stride: 1}, + {Lo: 0x1F0CF, Hi: 0x1F0CF, Stride: 1}, + {Lo: 0x1F18E, Hi: 0x1F18E, Stride: 1}, + {Lo: 0x1F191, Hi: 0x1F19A, Stride: 1}, + {Lo: 0x1F1E6, Hi: 0x1F1FF, Stride: 1}, + {Lo: 0x1F201, Hi: 0x1F201, Stride: 1}, + {Lo: 0x1F21A, Hi: 0x1F21A, Stride: 1}, + {Lo: 0x1F22F, Hi: 0x1F22F, Stride: 1}, + {Lo: 0x1F232, Hi: 0x1F236, Stride: 1}, + {Lo: 0x1F238, Hi: 0x1F23A, Stride: 1}, + {Lo: 0x1F250, Hi: 0x1F251, Stride: 1}, + {Lo: 0x1F300, Hi: 0x1F320, Stride: 1}, + {Lo: 0x1F32D, Hi: 0x1F335, Stride: 1}, + {Lo: 0x1F337, Hi: 0x1F37C, Stride: 1}, + {Lo: 0x1F37E, Hi: 0x1F393, Stride: 1}, + {Lo: 0x1F3A0, Hi: 0x1F3CA, Stride: 1}, + {Lo: 0x1F3CF, Hi: 0x1F3D3, Stride: 1}, + {Lo: 0x1F3E0, Hi: 0x1F3F0, Stride: 1}, + {Lo: 0x1F3F4, Hi: 0x1F3F4, Stride: 1}, + {Lo: 0x1F3F8, Hi: 0x1F43E, Stride: 1}, + {Lo: 0x1F440, Hi: 0x1F440, Stride: 1}, + {Lo: 0x1F442, Hi: 0x1F4FC, Stride: 1}, + {Lo: 0x1F4FF, Hi: 0x1F53D, Stride: 1}, + {Lo: 0x1F54B, Hi: 0x1F54E, Stride: 1}, + {Lo: 0x1F550, Hi: 0x1F567, Stride: 1}, + {Lo: 0x1F57A, Hi: 0x1F57A, Stride: 1}, + {Lo: 0x1F595, Hi: 0x1F596, Stride: 1}, + {Lo: 0x1F5A4, Hi: 0x1F5A4, Stride: 1}, + {Lo: 0x1F5FB, Hi: 0x1F64F, Stride: 1}, + {Lo: 0x1F680, Hi: 0x1F6C5, Stride: 1}, + {Lo: 0x1F6CC, Hi: 0x1F6CC, Stride: 1}, + {Lo: 0x1F6D0, Hi: 0x1F6D2, Stride: 1}, + {Lo: 0x1F6D5, Hi: 0x1F6D8, Stride: 1}, + {Lo: 0x1F6DC, Hi: 0x1F6DF, Stride: 1}, + {Lo: 0x1F6EB, Hi: 0x1F6EC, Stride: 1}, + {Lo: 0x1F6F4, Hi: 0x1F6FC, Stride: 1}, + {Lo: 0x1F7E0, Hi: 0x1F7EB, Stride: 1}, + {Lo: 0x1F7F0, Hi: 0x1F7F0, Stride: 1}, + {Lo: 0x1F90C, Hi: 0x1F93A, Stride: 1}, + {Lo: 0x1F93C, Hi: 0x1F945, Stride: 1}, + {Lo: 0x1F947, Hi: 0x1F9FF, Stride: 1}, + {Lo: 0x1FA70, Hi: 0x1FA7C, Stride: 1}, + {Lo: 0x1FA80, Hi: 0x1FA8A, Stride: 1}, + {Lo: 0x1FA8E, Hi: 0x1FAC6, Stride: 1}, + {Lo: 0x1FAC8, Hi: 0x1FAC8, Stride: 1}, + {Lo: 0x1FACD, Hi: 0x1FADC, Stride: 1}, + {Lo: 0x1FADF, Hi: 0x1FAEA, Stride: 1}, + {Lo: 0x1FAEF, Hi: 0x1FAF8, Stride: 1}, + }, +} + +var unicodeAliasExtended_Pictographic = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xA9, Hi: 0xA9, Stride: 1}, + {Lo: 0xAE, Hi: 0xAE, Stride: 1}, + {Lo: 0x203C, Hi: 0x203C, Stride: 1}, + {Lo: 0x2049, Hi: 0x2049, Stride: 1}, + {Lo: 0x2122, Hi: 0x2122, Stride: 1}, + {Lo: 0x2139, Hi: 0x2139, Stride: 1}, + {Lo: 0x2194, Hi: 0x2199, Stride: 1}, + {Lo: 0x21A9, Hi: 0x21AA, Stride: 1}, + {Lo: 0x231A, Hi: 0x231B, Stride: 1}, + {Lo: 0x2328, Hi: 0x2328, Stride: 1}, + {Lo: 0x23CF, Hi: 0x23CF, Stride: 1}, + {Lo: 0x23E9, Hi: 0x23F3, Stride: 1}, + {Lo: 0x23F8, Hi: 0x23FA, Stride: 1}, + {Lo: 0x24C2, Hi: 0x24C2, Stride: 1}, + {Lo: 0x25AA, Hi: 0x25AB, Stride: 1}, + {Lo: 0x25B6, Hi: 0x25B6, Stride: 1}, + {Lo: 0x25C0, Hi: 0x25C0, Stride: 1}, + {Lo: 0x25FB, Hi: 0x25FE, Stride: 1}, + {Lo: 0x2600, Hi: 0x2604, Stride: 1}, + {Lo: 0x260E, Hi: 0x260E, Stride: 1}, + {Lo: 0x2611, Hi: 0x2611, Stride: 1}, + {Lo: 0x2614, Hi: 0x2615, Stride: 1}, + {Lo: 0x2618, Hi: 0x2618, Stride: 1}, + {Lo: 0x261D, Hi: 0x261D, Stride: 1}, + {Lo: 0x2620, Hi: 0x2620, Stride: 1}, + {Lo: 0x2622, Hi: 0x2623, Stride: 1}, + {Lo: 0x2626, Hi: 0x2626, Stride: 1}, + {Lo: 0x262A, Hi: 0x262A, Stride: 1}, + {Lo: 0x262E, Hi: 0x262F, Stride: 1}, + {Lo: 0x2638, Hi: 0x263A, Stride: 1}, + {Lo: 0x2640, Hi: 0x2640, Stride: 1}, + {Lo: 0x2642, Hi: 0x2642, Stride: 1}, + {Lo: 0x2648, Hi: 0x2653, Stride: 1}, + {Lo: 0x265F, Hi: 0x2660, Stride: 1}, + {Lo: 0x2663, Hi: 0x2663, Stride: 1}, + {Lo: 0x2665, Hi: 0x2666, Stride: 1}, + {Lo: 0x2668, Hi: 0x2668, Stride: 1}, + {Lo: 0x267B, Hi: 0x267B, Stride: 1}, + {Lo: 0x267E, Hi: 0x267F, Stride: 1}, + {Lo: 0x2692, Hi: 0x2697, Stride: 1}, + {Lo: 0x2699, Hi: 0x2699, Stride: 1}, + {Lo: 0x269B, Hi: 0x269C, Stride: 1}, + {Lo: 0x26A0, Hi: 0x26A1, Stride: 1}, + {Lo: 0x26A7, Hi: 0x26A7, Stride: 1}, + {Lo: 0x26AA, Hi: 0x26AB, Stride: 1}, + {Lo: 0x26B0, Hi: 0x26B1, Stride: 1}, + {Lo: 0x26BD, Hi: 0x26BE, Stride: 1}, + {Lo: 0x26C4, Hi: 0x26C5, Stride: 1}, + {Lo: 0x26C8, Hi: 0x26C8, Stride: 1}, + {Lo: 0x26CE, Hi: 0x26CF, Stride: 1}, + {Lo: 0x26D1, Hi: 0x26D1, Stride: 1}, + {Lo: 0x26D3, Hi: 0x26D4, Stride: 1}, + {Lo: 0x26E9, Hi: 0x26EA, Stride: 1}, + {Lo: 0x26F0, Hi: 0x26F5, Stride: 1}, + {Lo: 0x26F7, Hi: 0x26FA, Stride: 1}, + {Lo: 0x26FD, Hi: 0x26FD, Stride: 1}, + {Lo: 0x2702, Hi: 0x2702, Stride: 1}, + {Lo: 0x2705, Hi: 0x2705, Stride: 1}, + {Lo: 0x2708, Hi: 0x270D, Stride: 1}, + {Lo: 0x270F, Hi: 0x270F, Stride: 1}, + {Lo: 0x2712, Hi: 0x2712, Stride: 1}, + {Lo: 0x2714, Hi: 0x2714, Stride: 1}, + {Lo: 0x2716, Hi: 0x2716, Stride: 1}, + {Lo: 0x271D, Hi: 0x271D, Stride: 1}, + {Lo: 0x2721, Hi: 0x2721, Stride: 1}, + {Lo: 0x2728, Hi: 0x2728, Stride: 1}, + {Lo: 0x2733, Hi: 0x2734, Stride: 1}, + {Lo: 0x2744, Hi: 0x2744, Stride: 1}, + {Lo: 0x2747, Hi: 0x2747, Stride: 1}, + {Lo: 0x274C, Hi: 0x274C, Stride: 1}, + {Lo: 0x274E, Hi: 0x274E, Stride: 1}, + {Lo: 0x2753, Hi: 0x2755, Stride: 1}, + {Lo: 0x2757, Hi: 0x2757, Stride: 1}, + {Lo: 0x2763, Hi: 0x2764, Stride: 1}, + {Lo: 0x2795, Hi: 0x2797, Stride: 1}, + {Lo: 0x27A1, Hi: 0x27A1, Stride: 1}, + {Lo: 0x27B0, Hi: 0x27B0, Stride: 1}, + {Lo: 0x27BF, Hi: 0x27BF, Stride: 1}, + {Lo: 0x2934, Hi: 0x2935, Stride: 1}, + {Lo: 0x2B05, Hi: 0x2B07, Stride: 1}, + {Lo: 0x2B1B, Hi: 0x2B1C, Stride: 1}, + {Lo: 0x2B50, Hi: 0x2B50, Stride: 1}, + {Lo: 0x2B55, Hi: 0x2B55, Stride: 1}, + {Lo: 0x3030, Hi: 0x3030, Stride: 1}, + {Lo: 0x303D, Hi: 0x303D, Stride: 1}, + {Lo: 0x3297, Hi: 0x3297, Stride: 1}, + {Lo: 0x3299, Hi: 0x3299, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1F004, Hi: 0x1F004, Stride: 1}, + {Lo: 0x1F02C, Hi: 0x1F02F, Stride: 1}, + {Lo: 0x1F094, Hi: 0x1F09F, Stride: 1}, + {Lo: 0x1F0AF, Hi: 0x1F0B0, Stride: 1}, + {Lo: 0x1F0C0, Hi: 0x1F0C0, Stride: 1}, + {Lo: 0x1F0CF, Hi: 0x1F0D0, Stride: 1}, + {Lo: 0x1F0F6, Hi: 0x1F0FF, Stride: 1}, + {Lo: 0x1F170, Hi: 0x1F171, Stride: 1}, + {Lo: 0x1F17E, Hi: 0x1F17F, Stride: 1}, + {Lo: 0x1F18E, Hi: 0x1F18E, Stride: 1}, + {Lo: 0x1F191, Hi: 0x1F19A, Stride: 1}, + {Lo: 0x1F1AE, Hi: 0x1F1E5, Stride: 1}, + {Lo: 0x1F201, Hi: 0x1F20F, Stride: 1}, + {Lo: 0x1F21A, Hi: 0x1F21A, Stride: 1}, + {Lo: 0x1F22F, Hi: 0x1F22F, Stride: 1}, + {Lo: 0x1F232, Hi: 0x1F23A, Stride: 1}, + {Lo: 0x1F23C, Hi: 0x1F23F, Stride: 1}, + {Lo: 0x1F249, Hi: 0x1F25F, Stride: 1}, + {Lo: 0x1F266, Hi: 0x1F321, Stride: 1}, + {Lo: 0x1F324, Hi: 0x1F393, Stride: 1}, + {Lo: 0x1F396, Hi: 0x1F397, Stride: 1}, + {Lo: 0x1F399, Hi: 0x1F39B, Stride: 1}, + {Lo: 0x1F39E, Hi: 0x1F3F0, Stride: 1}, + {Lo: 0x1F3F3, Hi: 0x1F3F5, Stride: 1}, + {Lo: 0x1F3F7, Hi: 0x1F3FA, Stride: 1}, + {Lo: 0x1F400, Hi: 0x1F4FD, Stride: 1}, + {Lo: 0x1F4FF, Hi: 0x1F53D, Stride: 1}, + {Lo: 0x1F549, Hi: 0x1F54E, Stride: 1}, + {Lo: 0x1F550, Hi: 0x1F567, Stride: 1}, + {Lo: 0x1F56F, Hi: 0x1F570, Stride: 1}, + {Lo: 0x1F573, Hi: 0x1F57A, Stride: 1}, + {Lo: 0x1F587, Hi: 0x1F587, Stride: 1}, + {Lo: 0x1F58A, Hi: 0x1F58D, Stride: 1}, + {Lo: 0x1F590, Hi: 0x1F590, Stride: 1}, + {Lo: 0x1F595, Hi: 0x1F596, Stride: 1}, + {Lo: 0x1F5A4, Hi: 0x1F5A5, Stride: 1}, + {Lo: 0x1F5A8, Hi: 0x1F5A8, Stride: 1}, + {Lo: 0x1F5B1, Hi: 0x1F5B2, Stride: 1}, + {Lo: 0x1F5BC, Hi: 0x1F5BC, Stride: 1}, + {Lo: 0x1F5C2, Hi: 0x1F5C4, Stride: 1}, + {Lo: 0x1F5D1, Hi: 0x1F5D3, Stride: 1}, + {Lo: 0x1F5DC, Hi: 0x1F5DE, Stride: 1}, + {Lo: 0x1F5E1, Hi: 0x1F5E1, Stride: 1}, + {Lo: 0x1F5E3, Hi: 0x1F5E3, Stride: 1}, + {Lo: 0x1F5E8, Hi: 0x1F5E8, Stride: 1}, + {Lo: 0x1F5EF, Hi: 0x1F5EF, Stride: 1}, + {Lo: 0x1F5F3, Hi: 0x1F5F3, Stride: 1}, + {Lo: 0x1F5FA, Hi: 0x1F64F, Stride: 1}, + {Lo: 0x1F680, Hi: 0x1F6C5, Stride: 1}, + {Lo: 0x1F6CB, Hi: 0x1F6D2, Stride: 1}, + {Lo: 0x1F6D5, Hi: 0x1F6E5, Stride: 1}, + {Lo: 0x1F6E9, Hi: 0x1F6E9, Stride: 1}, + {Lo: 0x1F6EB, Hi: 0x1F6F0, Stride: 1}, + {Lo: 0x1F6F3, Hi: 0x1F6FF, Stride: 1}, + {Lo: 0x1F7DA, Hi: 0x1F7FF, Stride: 1}, + {Lo: 0x1F80C, Hi: 0x1F80F, Stride: 1}, + {Lo: 0x1F848, Hi: 0x1F84F, Stride: 1}, + {Lo: 0x1F85A, Hi: 0x1F85F, Stride: 1}, + {Lo: 0x1F888, Hi: 0x1F88F, Stride: 1}, + {Lo: 0x1F8AE, Hi: 0x1F8AF, Stride: 1}, + {Lo: 0x1F8BC, Hi: 0x1F8BF, Stride: 1}, + {Lo: 0x1F8C2, Hi: 0x1F8CF, Stride: 1}, + {Lo: 0x1F8D9, Hi: 0x1F8FF, Stride: 1}, + {Lo: 0x1F90C, Hi: 0x1F93A, Stride: 1}, + {Lo: 0x1F93C, Hi: 0x1F945, Stride: 1}, + {Lo: 0x1F947, Hi: 0x1F9FF, Stride: 1}, + {Lo: 0x1FA58, Hi: 0x1FA5F, Stride: 1}, + {Lo: 0x1FA6E, Hi: 0x1FAFF, Stride: 1}, + {Lo: 0x1FC00, Hi: 0x1FFFD, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_CR = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xD, Hi: 0xD, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_Control = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x0, Hi: 0x9, Stride: 1}, + {Lo: 0xB, Hi: 0xC, Stride: 1}, + {Lo: 0xE, Hi: 0x1F, Stride: 1}, + {Lo: 0x7F, Hi: 0x9F, Stride: 1}, + {Lo: 0xAD, Hi: 0xAD, Stride: 1}, + {Lo: 0x61C, Hi: 0x61C, Stride: 1}, + {Lo: 0x180E, Hi: 0x180E, Stride: 1}, + {Lo: 0x200B, Hi: 0x200B, Stride: 1}, + {Lo: 0x200E, Hi: 0x200F, Stride: 1}, + {Lo: 0x2028, Hi: 0x202E, Stride: 1}, + {Lo: 0x2060, Hi: 0x206F, Stride: 1}, + {Lo: 0xFEFF, Hi: 0xFEFF, Stride: 1}, + {Lo: 0xFFF0, Hi: 0xFFFB, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x13430, Hi: 0x1343F, Stride: 1}, + {Lo: 0x1BCA0, Hi: 0x1BCA3, Stride: 1}, + {Lo: 0x1D173, Hi: 0x1D17A, Stride: 1}, + {Lo: 0xE0000, Hi: 0xE001F, Stride: 1}, + {Lo: 0xE0080, Hi: 0xE00FF, Stride: 1}, + {Lo: 0xE01F0, Hi: 0xE0FFF, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_Extend = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x300, Hi: 0x36F, Stride: 1}, + {Lo: 0x483, Hi: 0x489, Stride: 1}, + {Lo: 0x591, Hi: 0x5BD, Stride: 1}, + {Lo: 0x5BF, Hi: 0x5BF, Stride: 1}, + {Lo: 0x5C1, Hi: 0x5C2, Stride: 1}, + {Lo: 0x5C4, Hi: 0x5C5, Stride: 1}, + {Lo: 0x5C7, Hi: 0x5C7, Stride: 1}, + {Lo: 0x610, Hi: 0x61A, Stride: 1}, + {Lo: 0x64B, Hi: 0x65F, Stride: 1}, + {Lo: 0x670, Hi: 0x670, Stride: 1}, + {Lo: 0x6D6, Hi: 0x6DC, Stride: 1}, + {Lo: 0x6DF, Hi: 0x6E4, Stride: 1}, + {Lo: 0x6E7, Hi: 0x6E8, Stride: 1}, + {Lo: 0x6EA, Hi: 0x6ED, Stride: 1}, + {Lo: 0x711, Hi: 0x711, Stride: 1}, + {Lo: 0x730, Hi: 0x74A, Stride: 1}, + {Lo: 0x7A6, Hi: 0x7B0, Stride: 1}, + {Lo: 0x7EB, Hi: 0x7F3, Stride: 1}, + {Lo: 0x7FD, Hi: 0x7FD, Stride: 1}, + {Lo: 0x816, Hi: 0x819, Stride: 1}, + {Lo: 0x81B, Hi: 0x823, Stride: 1}, + {Lo: 0x825, Hi: 0x827, Stride: 1}, + {Lo: 0x829, Hi: 0x82D, Stride: 1}, + {Lo: 0x859, Hi: 0x85B, Stride: 1}, + {Lo: 0x897, Hi: 0x89F, Stride: 1}, + {Lo: 0x8CA, Hi: 0x8E1, Stride: 1}, + {Lo: 0x8E3, Hi: 0x902, Stride: 1}, + {Lo: 0x93A, Hi: 0x93A, Stride: 1}, + {Lo: 0x93C, Hi: 0x93C, Stride: 1}, + {Lo: 0x941, Hi: 0x948, Stride: 1}, + {Lo: 0x94D, Hi: 0x94D, Stride: 1}, + {Lo: 0x951, Hi: 0x957, Stride: 1}, + {Lo: 0x962, Hi: 0x963, Stride: 1}, + {Lo: 0x981, Hi: 0x981, Stride: 1}, + {Lo: 0x9BC, Hi: 0x9BC, Stride: 1}, + {Lo: 0x9BE, Hi: 0x9BE, Stride: 1}, + {Lo: 0x9C1, Hi: 0x9C4, Stride: 1}, + {Lo: 0x9CD, Hi: 0x9CD, Stride: 1}, + {Lo: 0x9D7, Hi: 0x9D7, Stride: 1}, + {Lo: 0x9E2, Hi: 0x9E3, Stride: 1}, + {Lo: 0x9FE, Hi: 0x9FE, Stride: 1}, + {Lo: 0xA01, Hi: 0xA02, Stride: 1}, + {Lo: 0xA3C, Hi: 0xA3C, Stride: 1}, + {Lo: 0xA41, Hi: 0xA42, Stride: 1}, + {Lo: 0xA47, Hi: 0xA48, Stride: 1}, + {Lo: 0xA4B, Hi: 0xA4D, Stride: 1}, + {Lo: 0xA51, Hi: 0xA51, Stride: 1}, + {Lo: 0xA70, Hi: 0xA71, Stride: 1}, + {Lo: 0xA75, Hi: 0xA75, Stride: 1}, + {Lo: 0xA81, Hi: 0xA82, Stride: 1}, + {Lo: 0xABC, Hi: 0xABC, Stride: 1}, + {Lo: 0xAC1, Hi: 0xAC5, Stride: 1}, + {Lo: 0xAC7, Hi: 0xAC8, Stride: 1}, + {Lo: 0xACD, Hi: 0xACD, Stride: 1}, + {Lo: 0xAE2, Hi: 0xAE3, Stride: 1}, + {Lo: 0xAFA, Hi: 0xAFF, Stride: 1}, + {Lo: 0xB01, Hi: 0xB01, Stride: 1}, + {Lo: 0xB3C, Hi: 0xB3C, Stride: 1}, + {Lo: 0xB3E, Hi: 0xB3F, Stride: 1}, + {Lo: 0xB41, Hi: 0xB44, Stride: 1}, + {Lo: 0xB4D, Hi: 0xB4D, Stride: 1}, + {Lo: 0xB55, Hi: 0xB57, Stride: 1}, + {Lo: 0xB62, Hi: 0xB63, Stride: 1}, + {Lo: 0xB82, Hi: 0xB82, Stride: 1}, + {Lo: 0xBBE, Hi: 0xBBE, Stride: 1}, + {Lo: 0xBC0, Hi: 0xBC0, Stride: 1}, + {Lo: 0xBCD, Hi: 0xBCD, Stride: 1}, + {Lo: 0xBD7, Hi: 0xBD7, Stride: 1}, + {Lo: 0xC00, Hi: 0xC00, Stride: 1}, + {Lo: 0xC04, Hi: 0xC04, Stride: 1}, + {Lo: 0xC3C, Hi: 0xC3C, Stride: 1}, + {Lo: 0xC3E, Hi: 0xC40, Stride: 1}, + {Lo: 0xC46, Hi: 0xC48, Stride: 1}, + {Lo: 0xC4A, Hi: 0xC4D, Stride: 1}, + {Lo: 0xC55, Hi: 0xC56, Stride: 1}, + {Lo: 0xC62, Hi: 0xC63, Stride: 1}, + {Lo: 0xC81, Hi: 0xC81, Stride: 1}, + {Lo: 0xCBC, Hi: 0xCBC, Stride: 1}, + {Lo: 0xCBF, Hi: 0xCC0, Stride: 1}, + {Lo: 0xCC2, Hi: 0xCC2, Stride: 1}, + {Lo: 0xCC6, Hi: 0xCC8, Stride: 1}, + {Lo: 0xCCA, Hi: 0xCCD, Stride: 1}, + {Lo: 0xCD5, Hi: 0xCD6, Stride: 1}, + {Lo: 0xCE2, Hi: 0xCE3, Stride: 1}, + {Lo: 0xD00, Hi: 0xD01, Stride: 1}, + {Lo: 0xD3B, Hi: 0xD3C, Stride: 1}, + {Lo: 0xD3E, Hi: 0xD3E, Stride: 1}, + {Lo: 0xD41, Hi: 0xD44, Stride: 1}, + {Lo: 0xD4D, Hi: 0xD4D, Stride: 1}, + {Lo: 0xD57, Hi: 0xD57, Stride: 1}, + {Lo: 0xD62, Hi: 0xD63, Stride: 1}, + {Lo: 0xD81, Hi: 0xD81, Stride: 1}, + {Lo: 0xDCA, Hi: 0xDCA, Stride: 1}, + {Lo: 0xDCF, Hi: 0xDCF, Stride: 1}, + {Lo: 0xDD2, Hi: 0xDD4, Stride: 1}, + {Lo: 0xDD6, Hi: 0xDD6, Stride: 1}, + {Lo: 0xDDF, Hi: 0xDDF, Stride: 1}, + {Lo: 0xE31, Hi: 0xE31, Stride: 1}, + {Lo: 0xE34, Hi: 0xE3A, Stride: 1}, + {Lo: 0xE47, Hi: 0xE4E, Stride: 1}, + {Lo: 0xEB1, Hi: 0xEB1, Stride: 1}, + {Lo: 0xEB4, Hi: 0xEBC, Stride: 1}, + {Lo: 0xEC8, Hi: 0xECE, Stride: 1}, + {Lo: 0xF18, Hi: 0xF19, Stride: 1}, + {Lo: 0xF35, Hi: 0xF35, Stride: 1}, + {Lo: 0xF37, Hi: 0xF37, Stride: 1}, + {Lo: 0xF39, Hi: 0xF39, Stride: 1}, + {Lo: 0xF71, Hi: 0xF7E, Stride: 1}, + {Lo: 0xF80, Hi: 0xF84, Stride: 1}, + {Lo: 0xF86, Hi: 0xF87, Stride: 1}, + {Lo: 0xF8D, Hi: 0xF97, Stride: 1}, + {Lo: 0xF99, Hi: 0xFBC, Stride: 1}, + {Lo: 0xFC6, Hi: 0xFC6, Stride: 1}, + {Lo: 0x102D, Hi: 0x1030, Stride: 1}, + {Lo: 0x1032, Hi: 0x1037, Stride: 1}, + {Lo: 0x1039, Hi: 0x103A, Stride: 1}, + {Lo: 0x103D, Hi: 0x103E, Stride: 1}, + {Lo: 0x1058, Hi: 0x1059, Stride: 1}, + {Lo: 0x105E, Hi: 0x1060, Stride: 1}, + {Lo: 0x1071, Hi: 0x1074, Stride: 1}, + {Lo: 0x1082, Hi: 0x1082, Stride: 1}, + {Lo: 0x1085, Hi: 0x1086, Stride: 1}, + {Lo: 0x108D, Hi: 0x108D, Stride: 1}, + {Lo: 0x109D, Hi: 0x109D, Stride: 1}, + {Lo: 0x135D, Hi: 0x135F, Stride: 1}, + {Lo: 0x1712, Hi: 0x1715, Stride: 1}, + {Lo: 0x1732, Hi: 0x1734, Stride: 1}, + {Lo: 0x1752, Hi: 0x1753, Stride: 1}, + {Lo: 0x1772, Hi: 0x1773, Stride: 1}, + {Lo: 0x17B4, Hi: 0x17B5, Stride: 1}, + {Lo: 0x17B7, Hi: 0x17BD, Stride: 1}, + {Lo: 0x17C6, Hi: 0x17C6, Stride: 1}, + {Lo: 0x17C9, Hi: 0x17D3, Stride: 1}, + {Lo: 0x17DD, Hi: 0x17DD, Stride: 1}, + {Lo: 0x180B, Hi: 0x180D, Stride: 1}, + {Lo: 0x180F, Hi: 0x180F, Stride: 1}, + {Lo: 0x1885, Hi: 0x1886, Stride: 1}, + {Lo: 0x18A9, Hi: 0x18A9, Stride: 1}, + {Lo: 0x1920, Hi: 0x1922, Stride: 1}, + {Lo: 0x1927, Hi: 0x1928, Stride: 1}, + {Lo: 0x1932, Hi: 0x1932, Stride: 1}, + {Lo: 0x1939, Hi: 0x193B, Stride: 1}, + {Lo: 0x1A17, Hi: 0x1A18, Stride: 1}, + {Lo: 0x1A1B, Hi: 0x1A1B, Stride: 1}, + {Lo: 0x1A56, Hi: 0x1A56, Stride: 1}, + {Lo: 0x1A58, Hi: 0x1A5E, Stride: 1}, + {Lo: 0x1A60, Hi: 0x1A60, Stride: 1}, + {Lo: 0x1A62, Hi: 0x1A62, Stride: 1}, + {Lo: 0x1A65, Hi: 0x1A6C, Stride: 1}, + {Lo: 0x1A73, Hi: 0x1A7C, Stride: 1}, + {Lo: 0x1A7F, Hi: 0x1A7F, Stride: 1}, + {Lo: 0x1AB0, Hi: 0x1ADD, Stride: 1}, + {Lo: 0x1AE0, Hi: 0x1AEB, Stride: 1}, + {Lo: 0x1B00, Hi: 0x1B03, Stride: 1}, + {Lo: 0x1B34, Hi: 0x1B3D, Stride: 1}, + {Lo: 0x1B42, Hi: 0x1B44, Stride: 1}, + {Lo: 0x1B6B, Hi: 0x1B73, Stride: 1}, + {Lo: 0x1B80, Hi: 0x1B81, Stride: 1}, + {Lo: 0x1BA2, Hi: 0x1BA5, Stride: 1}, + {Lo: 0x1BA8, Hi: 0x1BAD, Stride: 1}, + {Lo: 0x1BE6, Hi: 0x1BE6, Stride: 1}, + {Lo: 0x1BE8, Hi: 0x1BE9, Stride: 1}, + {Lo: 0x1BED, Hi: 0x1BED, Stride: 1}, + {Lo: 0x1BEF, Hi: 0x1BF3, Stride: 1}, + {Lo: 0x1C2C, Hi: 0x1C33, Stride: 1}, + {Lo: 0x1C36, Hi: 0x1C37, Stride: 1}, + {Lo: 0x1CD0, Hi: 0x1CD2, Stride: 1}, + {Lo: 0x1CD4, Hi: 0x1CE0, Stride: 1}, + {Lo: 0x1CE2, Hi: 0x1CE8, Stride: 1}, + {Lo: 0x1CED, Hi: 0x1CED, Stride: 1}, + {Lo: 0x1CF4, Hi: 0x1CF4, Stride: 1}, + {Lo: 0x1CF8, Hi: 0x1CF9, Stride: 1}, + {Lo: 0x1DC0, Hi: 0x1DFF, Stride: 1}, + {Lo: 0x200C, Hi: 0x200C, Stride: 1}, + {Lo: 0x20D0, Hi: 0x20F0, Stride: 1}, + {Lo: 0x2CEF, Hi: 0x2CF1, Stride: 1}, + {Lo: 0x2D7F, Hi: 0x2D7F, Stride: 1}, + {Lo: 0x2DE0, Hi: 0x2DFF, Stride: 1}, + {Lo: 0x302A, Hi: 0x302F, Stride: 1}, + {Lo: 0x3099, Hi: 0x309A, Stride: 1}, + {Lo: 0xA66F, Hi: 0xA672, Stride: 1}, + {Lo: 0xA674, Hi: 0xA67D, Stride: 1}, + {Lo: 0xA69E, Hi: 0xA69F, Stride: 1}, + {Lo: 0xA6F0, Hi: 0xA6F1, Stride: 1}, + {Lo: 0xA802, Hi: 0xA802, Stride: 1}, + {Lo: 0xA806, Hi: 0xA806, Stride: 1}, + {Lo: 0xA80B, Hi: 0xA80B, Stride: 1}, + {Lo: 0xA825, Hi: 0xA826, Stride: 1}, + {Lo: 0xA82C, Hi: 0xA82C, Stride: 1}, + {Lo: 0xA8C4, Hi: 0xA8C5, Stride: 1}, + {Lo: 0xA8E0, Hi: 0xA8F1, Stride: 1}, + {Lo: 0xA8FF, Hi: 0xA8FF, Stride: 1}, + {Lo: 0xA926, Hi: 0xA92D, Stride: 1}, + {Lo: 0xA947, Hi: 0xA951, Stride: 1}, + {Lo: 0xA953, Hi: 0xA953, Stride: 1}, + {Lo: 0xA980, Hi: 0xA982, Stride: 1}, + {Lo: 0xA9B3, Hi: 0xA9B3, Stride: 1}, + {Lo: 0xA9B6, Hi: 0xA9B9, Stride: 1}, + {Lo: 0xA9BC, Hi: 0xA9BD, Stride: 1}, + {Lo: 0xA9C0, Hi: 0xA9C0, Stride: 1}, + {Lo: 0xA9E5, Hi: 0xA9E5, Stride: 1}, + {Lo: 0xAA29, Hi: 0xAA2E, Stride: 1}, + {Lo: 0xAA31, Hi: 0xAA32, Stride: 1}, + {Lo: 0xAA35, Hi: 0xAA36, Stride: 1}, + {Lo: 0xAA43, Hi: 0xAA43, Stride: 1}, + {Lo: 0xAA4C, Hi: 0xAA4C, Stride: 1}, + {Lo: 0xAA7C, Hi: 0xAA7C, Stride: 1}, + {Lo: 0xAAB0, Hi: 0xAAB0, Stride: 1}, + {Lo: 0xAAB2, Hi: 0xAAB4, Stride: 1}, + {Lo: 0xAAB7, Hi: 0xAAB8, Stride: 1}, + {Lo: 0xAABE, Hi: 0xAABF, Stride: 1}, + {Lo: 0xAAC1, Hi: 0xAAC1, Stride: 1}, + {Lo: 0xAAEC, Hi: 0xAAED, Stride: 1}, + {Lo: 0xAAF6, Hi: 0xAAF6, Stride: 1}, + {Lo: 0xABE5, Hi: 0xABE5, Stride: 1}, + {Lo: 0xABE8, Hi: 0xABE8, Stride: 1}, + {Lo: 0xABED, Hi: 0xABED, Stride: 1}, + {Lo: 0xFB1E, Hi: 0xFB1E, Stride: 1}, + {Lo: 0xFE00, Hi: 0xFE0F, Stride: 1}, + {Lo: 0xFE20, Hi: 0xFE2F, Stride: 1}, + {Lo: 0xFF9E, Hi: 0xFF9F, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x101FD, Hi: 0x101FD, Stride: 1}, + {Lo: 0x102E0, Hi: 0x102E0, Stride: 1}, + {Lo: 0x10376, Hi: 0x1037A, Stride: 1}, + {Lo: 0x10A01, Hi: 0x10A03, Stride: 1}, + {Lo: 0x10A05, Hi: 0x10A06, Stride: 1}, + {Lo: 0x10A0C, Hi: 0x10A0F, Stride: 1}, + {Lo: 0x10A38, Hi: 0x10A3A, Stride: 1}, + {Lo: 0x10A3F, Hi: 0x10A3F, Stride: 1}, + {Lo: 0x10AE5, Hi: 0x10AE6, Stride: 1}, + {Lo: 0x10D24, Hi: 0x10D27, Stride: 1}, + {Lo: 0x10D69, Hi: 0x10D6D, Stride: 1}, + {Lo: 0x10EAB, Hi: 0x10EAC, Stride: 1}, + {Lo: 0x10EFA, Hi: 0x10EFF, Stride: 1}, + {Lo: 0x10F46, Hi: 0x10F50, Stride: 1}, + {Lo: 0x10F82, Hi: 0x10F85, Stride: 1}, + {Lo: 0x11001, Hi: 0x11001, Stride: 1}, + {Lo: 0x11038, Hi: 0x11046, Stride: 1}, + {Lo: 0x11070, Hi: 0x11070, Stride: 1}, + {Lo: 0x11073, Hi: 0x11074, Stride: 1}, + {Lo: 0x1107F, Hi: 0x11081, Stride: 1}, + {Lo: 0x110B3, Hi: 0x110B6, Stride: 1}, + {Lo: 0x110B9, Hi: 0x110BA, Stride: 1}, + {Lo: 0x110C2, Hi: 0x110C2, Stride: 1}, + {Lo: 0x11100, Hi: 0x11102, Stride: 1}, + {Lo: 0x11127, Hi: 0x1112B, Stride: 1}, + {Lo: 0x1112D, Hi: 0x11134, Stride: 1}, + {Lo: 0x11173, Hi: 0x11173, Stride: 1}, + {Lo: 0x11180, Hi: 0x11181, Stride: 1}, + {Lo: 0x111B6, Hi: 0x111BE, Stride: 1}, + {Lo: 0x111C0, Hi: 0x111C0, Stride: 1}, + {Lo: 0x111C9, Hi: 0x111CC, Stride: 1}, + {Lo: 0x111CF, Hi: 0x111CF, Stride: 1}, + {Lo: 0x1122F, Hi: 0x11231, Stride: 1}, + {Lo: 0x11234, Hi: 0x11237, Stride: 1}, + {Lo: 0x1123E, Hi: 0x1123E, Stride: 1}, + {Lo: 0x11241, Hi: 0x11241, Stride: 1}, + {Lo: 0x112DF, Hi: 0x112DF, Stride: 1}, + {Lo: 0x112E3, Hi: 0x112EA, Stride: 1}, + {Lo: 0x11300, Hi: 0x11301, Stride: 1}, + {Lo: 0x1133B, Hi: 0x1133C, Stride: 1}, + {Lo: 0x1133E, Hi: 0x1133E, Stride: 1}, + {Lo: 0x11340, Hi: 0x11340, Stride: 1}, + {Lo: 0x1134D, Hi: 0x1134D, Stride: 1}, + {Lo: 0x11357, Hi: 0x11357, Stride: 1}, + {Lo: 0x11366, Hi: 0x1136C, Stride: 1}, + {Lo: 0x11370, Hi: 0x11374, Stride: 1}, + {Lo: 0x113B8, Hi: 0x113B8, Stride: 1}, + {Lo: 0x113BB, Hi: 0x113C0, Stride: 1}, + {Lo: 0x113C2, Hi: 0x113C2, Stride: 1}, + {Lo: 0x113C5, Hi: 0x113C5, Stride: 1}, + {Lo: 0x113C7, Hi: 0x113C9, Stride: 1}, + {Lo: 0x113CE, Hi: 0x113D0, Stride: 1}, + {Lo: 0x113D2, Hi: 0x113D2, Stride: 1}, + {Lo: 0x113E1, Hi: 0x113E2, Stride: 1}, + {Lo: 0x11438, Hi: 0x1143F, Stride: 1}, + {Lo: 0x11442, Hi: 0x11444, Stride: 1}, + {Lo: 0x11446, Hi: 0x11446, Stride: 1}, + {Lo: 0x1145E, Hi: 0x1145E, Stride: 1}, + {Lo: 0x114B0, Hi: 0x114B0, Stride: 1}, + {Lo: 0x114B3, Hi: 0x114B8, Stride: 1}, + {Lo: 0x114BA, Hi: 0x114BA, Stride: 1}, + {Lo: 0x114BD, Hi: 0x114BD, Stride: 1}, + {Lo: 0x114BF, Hi: 0x114C0, Stride: 1}, + {Lo: 0x114C2, Hi: 0x114C3, Stride: 1}, + {Lo: 0x115AF, Hi: 0x115AF, Stride: 1}, + {Lo: 0x115B2, Hi: 0x115B5, Stride: 1}, + {Lo: 0x115BC, Hi: 0x115BD, Stride: 1}, + {Lo: 0x115BF, Hi: 0x115C0, Stride: 1}, + {Lo: 0x115DC, Hi: 0x115DD, Stride: 1}, + {Lo: 0x11633, Hi: 0x1163A, Stride: 1}, + {Lo: 0x1163D, Hi: 0x1163D, Stride: 1}, + {Lo: 0x1163F, Hi: 0x11640, Stride: 1}, + {Lo: 0x116AB, Hi: 0x116AB, Stride: 1}, + {Lo: 0x116AD, Hi: 0x116AD, Stride: 1}, + {Lo: 0x116B0, Hi: 0x116B7, Stride: 1}, + {Lo: 0x1171D, Hi: 0x1171D, Stride: 1}, + {Lo: 0x1171F, Hi: 0x1171F, Stride: 1}, + {Lo: 0x11722, Hi: 0x11725, Stride: 1}, + {Lo: 0x11727, Hi: 0x1172B, Stride: 1}, + {Lo: 0x1182F, Hi: 0x11837, Stride: 1}, + {Lo: 0x11839, Hi: 0x1183A, Stride: 1}, + {Lo: 0x11930, Hi: 0x11930, Stride: 1}, + {Lo: 0x1193B, Hi: 0x1193E, Stride: 1}, + {Lo: 0x11943, Hi: 0x11943, Stride: 1}, + {Lo: 0x119D4, Hi: 0x119D7, Stride: 1}, + {Lo: 0x119DA, Hi: 0x119DB, Stride: 1}, + {Lo: 0x119E0, Hi: 0x119E0, Stride: 1}, + {Lo: 0x11A01, Hi: 0x11A0A, Stride: 1}, + {Lo: 0x11A33, Hi: 0x11A38, Stride: 1}, + {Lo: 0x11A3B, Hi: 0x11A3E, Stride: 1}, + {Lo: 0x11A47, Hi: 0x11A47, Stride: 1}, + {Lo: 0x11A51, Hi: 0x11A56, Stride: 1}, + {Lo: 0x11A59, Hi: 0x11A5B, Stride: 1}, + {Lo: 0x11A8A, Hi: 0x11A96, Stride: 1}, + {Lo: 0x11A98, Hi: 0x11A99, Stride: 1}, + {Lo: 0x11B60, Hi: 0x11B60, Stride: 1}, + {Lo: 0x11B62, Hi: 0x11B64, Stride: 1}, + {Lo: 0x11B66, Hi: 0x11B66, Stride: 1}, + {Lo: 0x11C30, Hi: 0x11C36, Stride: 1}, + {Lo: 0x11C38, Hi: 0x11C3D, Stride: 1}, + {Lo: 0x11C3F, Hi: 0x11C3F, Stride: 1}, + {Lo: 0x11C92, Hi: 0x11CA7, Stride: 1}, + {Lo: 0x11CAA, Hi: 0x11CB0, Stride: 1}, + {Lo: 0x11CB2, Hi: 0x11CB3, Stride: 1}, + {Lo: 0x11CB5, Hi: 0x11CB6, Stride: 1}, + {Lo: 0x11D31, Hi: 0x11D36, Stride: 1}, + {Lo: 0x11D3A, Hi: 0x11D3A, Stride: 1}, + {Lo: 0x11D3C, Hi: 0x11D3D, Stride: 1}, + {Lo: 0x11D3F, Hi: 0x11D45, Stride: 1}, + {Lo: 0x11D47, Hi: 0x11D47, Stride: 1}, + {Lo: 0x11D90, Hi: 0x11D91, Stride: 1}, + {Lo: 0x11D95, Hi: 0x11D95, Stride: 1}, + {Lo: 0x11D97, Hi: 0x11D97, Stride: 1}, + {Lo: 0x11EF3, Hi: 0x11EF4, Stride: 1}, + {Lo: 0x11F00, Hi: 0x11F01, Stride: 1}, + {Lo: 0x11F36, Hi: 0x11F3A, Stride: 1}, + {Lo: 0x11F40, Hi: 0x11F42, Stride: 1}, + {Lo: 0x11F5A, Hi: 0x11F5A, Stride: 1}, + {Lo: 0x13440, Hi: 0x13440, Stride: 1}, + {Lo: 0x13447, Hi: 0x13455, Stride: 1}, + {Lo: 0x1611E, Hi: 0x16129, Stride: 1}, + {Lo: 0x1612D, Hi: 0x1612F, Stride: 1}, + {Lo: 0x16AF0, Hi: 0x16AF4, Stride: 1}, + {Lo: 0x16B30, Hi: 0x16B36, Stride: 1}, + {Lo: 0x16F4F, Hi: 0x16F4F, Stride: 1}, + {Lo: 0x16F8F, Hi: 0x16F92, Stride: 1}, + {Lo: 0x16FE4, Hi: 0x16FE4, Stride: 1}, + {Lo: 0x16FF0, Hi: 0x16FF1, Stride: 1}, + {Lo: 0x1BC9D, Hi: 0x1BC9E, Stride: 1}, + {Lo: 0x1CF00, Hi: 0x1CF2D, Stride: 1}, + {Lo: 0x1CF30, Hi: 0x1CF46, Stride: 1}, + {Lo: 0x1D165, Hi: 0x1D169, Stride: 1}, + {Lo: 0x1D16D, Hi: 0x1D172, Stride: 1}, + {Lo: 0x1D17B, Hi: 0x1D182, Stride: 1}, + {Lo: 0x1D185, Hi: 0x1D18B, Stride: 1}, + {Lo: 0x1D1AA, Hi: 0x1D1AD, Stride: 1}, + {Lo: 0x1D242, Hi: 0x1D244, Stride: 1}, + {Lo: 0x1DA00, Hi: 0x1DA36, Stride: 1}, + {Lo: 0x1DA3B, Hi: 0x1DA6C, Stride: 1}, + {Lo: 0x1DA75, Hi: 0x1DA75, Stride: 1}, + {Lo: 0x1DA84, Hi: 0x1DA84, Stride: 1}, + {Lo: 0x1DA9B, Hi: 0x1DA9F, Stride: 1}, + {Lo: 0x1DAA1, Hi: 0x1DAAF, Stride: 1}, + {Lo: 0x1E000, Hi: 0x1E006, Stride: 1}, + {Lo: 0x1E008, Hi: 0x1E018, Stride: 1}, + {Lo: 0x1E01B, Hi: 0x1E021, Stride: 1}, + {Lo: 0x1E023, Hi: 0x1E024, Stride: 1}, + {Lo: 0x1E026, Hi: 0x1E02A, Stride: 1}, + {Lo: 0x1E08F, Hi: 0x1E08F, Stride: 1}, + {Lo: 0x1E130, Hi: 0x1E136, Stride: 1}, + {Lo: 0x1E2AE, Hi: 0x1E2AE, Stride: 1}, + {Lo: 0x1E2EC, Hi: 0x1E2EF, Stride: 1}, + {Lo: 0x1E4EC, Hi: 0x1E4EF, Stride: 1}, + {Lo: 0x1E5EE, Hi: 0x1E5EF, Stride: 1}, + {Lo: 0x1E6E3, Hi: 0x1E6E3, Stride: 1}, + {Lo: 0x1E6E6, Hi: 0x1E6E6, Stride: 1}, + {Lo: 0x1E6EE, Hi: 0x1E6EF, Stride: 1}, + {Lo: 0x1E6F5, Hi: 0x1E6F5, Stride: 1}, + {Lo: 0x1E8D0, Hi: 0x1E8D6, Stride: 1}, + {Lo: 0x1E944, Hi: 0x1E94A, Stride: 1}, + {Lo: 0x1F3FB, Hi: 0x1F3FF, Stride: 1}, + {Lo: 0xE0020, Hi: 0xE007F, Stride: 1}, + {Lo: 0xE0100, Hi: 0xE01EF, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_L = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x1100, Hi: 0x115F, Stride: 1}, + {Lo: 0xA960, Hi: 0xA97C, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_LF = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xA, Hi: 0xA, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_LV = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xAC00, Hi: 0xAC00, Stride: 1}, + {Lo: 0xAC1C, Hi: 0xAC1C, Stride: 1}, + {Lo: 0xAC38, Hi: 0xAC38, Stride: 1}, + {Lo: 0xAC54, Hi: 0xAC54, Stride: 1}, + {Lo: 0xAC70, Hi: 0xAC70, Stride: 1}, + {Lo: 0xAC8C, Hi: 0xAC8C, Stride: 1}, + {Lo: 0xACA8, Hi: 0xACA8, Stride: 1}, + {Lo: 0xACC4, Hi: 0xACC4, Stride: 1}, + {Lo: 0xACE0, Hi: 0xACE0, Stride: 1}, + {Lo: 0xACFC, Hi: 0xACFC, Stride: 1}, + {Lo: 0xAD18, Hi: 0xAD18, Stride: 1}, + {Lo: 0xAD34, Hi: 0xAD34, Stride: 1}, + {Lo: 0xAD50, Hi: 0xAD50, Stride: 1}, + {Lo: 0xAD6C, Hi: 0xAD6C, Stride: 1}, + {Lo: 0xAD88, Hi: 0xAD88, Stride: 1}, + {Lo: 0xADA4, Hi: 0xADA4, Stride: 1}, + {Lo: 0xADC0, Hi: 0xADC0, Stride: 1}, + {Lo: 0xADDC, Hi: 0xADDC, Stride: 1}, + {Lo: 0xADF8, Hi: 0xADF8, Stride: 1}, + {Lo: 0xAE14, Hi: 0xAE14, Stride: 1}, + {Lo: 0xAE30, Hi: 0xAE30, Stride: 1}, + {Lo: 0xAE4C, Hi: 0xAE4C, Stride: 1}, + {Lo: 0xAE68, Hi: 0xAE68, Stride: 1}, + {Lo: 0xAE84, Hi: 0xAE84, Stride: 1}, + {Lo: 0xAEA0, Hi: 0xAEA0, Stride: 1}, + {Lo: 0xAEBC, Hi: 0xAEBC, Stride: 1}, + {Lo: 0xAED8, Hi: 0xAED8, Stride: 1}, + {Lo: 0xAEF4, Hi: 0xAEF4, Stride: 1}, + {Lo: 0xAF10, Hi: 0xAF10, Stride: 1}, + {Lo: 0xAF2C, Hi: 0xAF2C, Stride: 1}, + {Lo: 0xAF48, Hi: 0xAF48, Stride: 1}, + {Lo: 0xAF64, Hi: 0xAF64, Stride: 1}, + {Lo: 0xAF80, Hi: 0xAF80, Stride: 1}, + {Lo: 0xAF9C, Hi: 0xAF9C, Stride: 1}, + {Lo: 0xAFB8, Hi: 0xAFB8, Stride: 1}, + {Lo: 0xAFD4, Hi: 0xAFD4, Stride: 1}, + {Lo: 0xAFF0, Hi: 0xAFF0, Stride: 1}, + {Lo: 0xB00C, Hi: 0xB00C, Stride: 1}, + {Lo: 0xB028, Hi: 0xB028, Stride: 1}, + {Lo: 0xB044, Hi: 0xB044, Stride: 1}, + {Lo: 0xB060, Hi: 0xB060, Stride: 1}, + {Lo: 0xB07C, Hi: 0xB07C, Stride: 1}, + {Lo: 0xB098, Hi: 0xB098, Stride: 1}, + {Lo: 0xB0B4, Hi: 0xB0B4, Stride: 1}, + {Lo: 0xB0D0, Hi: 0xB0D0, Stride: 1}, + {Lo: 0xB0EC, Hi: 0xB0EC, Stride: 1}, + {Lo: 0xB108, Hi: 0xB108, Stride: 1}, + {Lo: 0xB124, Hi: 0xB124, Stride: 1}, + {Lo: 0xB140, Hi: 0xB140, Stride: 1}, + {Lo: 0xB15C, Hi: 0xB15C, Stride: 1}, + {Lo: 0xB178, Hi: 0xB178, Stride: 1}, + {Lo: 0xB194, Hi: 0xB194, Stride: 1}, + {Lo: 0xB1B0, Hi: 0xB1B0, Stride: 1}, + {Lo: 0xB1CC, Hi: 0xB1CC, Stride: 1}, + {Lo: 0xB1E8, Hi: 0xB1E8, Stride: 1}, + {Lo: 0xB204, Hi: 0xB204, Stride: 1}, + {Lo: 0xB220, Hi: 0xB220, Stride: 1}, + {Lo: 0xB23C, Hi: 0xB23C, Stride: 1}, + {Lo: 0xB258, Hi: 0xB258, Stride: 1}, + {Lo: 0xB274, Hi: 0xB274, Stride: 1}, + {Lo: 0xB290, Hi: 0xB290, Stride: 1}, + {Lo: 0xB2AC, Hi: 0xB2AC, Stride: 1}, + {Lo: 0xB2C8, Hi: 0xB2C8, Stride: 1}, + {Lo: 0xB2E4, Hi: 0xB2E4, Stride: 1}, + {Lo: 0xB300, Hi: 0xB300, Stride: 1}, + {Lo: 0xB31C, Hi: 0xB31C, Stride: 1}, + {Lo: 0xB338, Hi: 0xB338, Stride: 1}, + {Lo: 0xB354, Hi: 0xB354, Stride: 1}, + {Lo: 0xB370, Hi: 0xB370, Stride: 1}, + {Lo: 0xB38C, Hi: 0xB38C, Stride: 1}, + {Lo: 0xB3A8, Hi: 0xB3A8, Stride: 1}, + {Lo: 0xB3C4, Hi: 0xB3C4, Stride: 1}, + {Lo: 0xB3E0, Hi: 0xB3E0, Stride: 1}, + {Lo: 0xB3FC, Hi: 0xB3FC, Stride: 1}, + {Lo: 0xB418, Hi: 0xB418, Stride: 1}, + {Lo: 0xB434, Hi: 0xB434, Stride: 1}, + {Lo: 0xB450, Hi: 0xB450, Stride: 1}, + {Lo: 0xB46C, Hi: 0xB46C, Stride: 1}, + {Lo: 0xB488, Hi: 0xB488, Stride: 1}, + {Lo: 0xB4A4, Hi: 0xB4A4, Stride: 1}, + {Lo: 0xB4C0, Hi: 0xB4C0, Stride: 1}, + {Lo: 0xB4DC, Hi: 0xB4DC, Stride: 1}, + {Lo: 0xB4F8, Hi: 0xB4F8, Stride: 1}, + {Lo: 0xB514, Hi: 0xB514, Stride: 1}, + {Lo: 0xB530, Hi: 0xB530, Stride: 1}, + {Lo: 0xB54C, Hi: 0xB54C, Stride: 1}, + {Lo: 0xB568, Hi: 0xB568, Stride: 1}, + {Lo: 0xB584, Hi: 0xB584, Stride: 1}, + {Lo: 0xB5A0, Hi: 0xB5A0, Stride: 1}, + {Lo: 0xB5BC, Hi: 0xB5BC, Stride: 1}, + {Lo: 0xB5D8, Hi: 0xB5D8, Stride: 1}, + {Lo: 0xB5F4, Hi: 0xB5F4, Stride: 1}, + {Lo: 0xB610, Hi: 0xB610, Stride: 1}, + {Lo: 0xB62C, Hi: 0xB62C, Stride: 1}, + {Lo: 0xB648, Hi: 0xB648, Stride: 1}, + {Lo: 0xB664, Hi: 0xB664, Stride: 1}, + {Lo: 0xB680, Hi: 0xB680, Stride: 1}, + {Lo: 0xB69C, Hi: 0xB69C, Stride: 1}, + {Lo: 0xB6B8, Hi: 0xB6B8, Stride: 1}, + {Lo: 0xB6D4, Hi: 0xB6D4, Stride: 1}, + {Lo: 0xB6F0, Hi: 0xB6F0, Stride: 1}, + {Lo: 0xB70C, Hi: 0xB70C, Stride: 1}, + {Lo: 0xB728, Hi: 0xB728, Stride: 1}, + {Lo: 0xB744, Hi: 0xB744, Stride: 1}, + {Lo: 0xB760, Hi: 0xB760, Stride: 1}, + {Lo: 0xB77C, Hi: 0xB77C, Stride: 1}, + {Lo: 0xB798, Hi: 0xB798, Stride: 1}, + {Lo: 0xB7B4, Hi: 0xB7B4, Stride: 1}, + {Lo: 0xB7D0, Hi: 0xB7D0, Stride: 1}, + {Lo: 0xB7EC, Hi: 0xB7EC, Stride: 1}, + {Lo: 0xB808, Hi: 0xB808, Stride: 1}, + {Lo: 0xB824, Hi: 0xB824, Stride: 1}, + {Lo: 0xB840, Hi: 0xB840, Stride: 1}, + {Lo: 0xB85C, Hi: 0xB85C, Stride: 1}, + {Lo: 0xB878, Hi: 0xB878, Stride: 1}, + {Lo: 0xB894, Hi: 0xB894, Stride: 1}, + {Lo: 0xB8B0, Hi: 0xB8B0, Stride: 1}, + {Lo: 0xB8CC, Hi: 0xB8CC, Stride: 1}, + {Lo: 0xB8E8, Hi: 0xB8E8, Stride: 1}, + {Lo: 0xB904, Hi: 0xB904, Stride: 1}, + {Lo: 0xB920, Hi: 0xB920, Stride: 1}, + {Lo: 0xB93C, Hi: 0xB93C, Stride: 1}, + {Lo: 0xB958, Hi: 0xB958, Stride: 1}, + {Lo: 0xB974, Hi: 0xB974, Stride: 1}, + {Lo: 0xB990, Hi: 0xB990, Stride: 1}, + {Lo: 0xB9AC, Hi: 0xB9AC, Stride: 1}, + {Lo: 0xB9C8, Hi: 0xB9C8, Stride: 1}, + {Lo: 0xB9E4, Hi: 0xB9E4, Stride: 1}, + {Lo: 0xBA00, Hi: 0xBA00, Stride: 1}, + {Lo: 0xBA1C, Hi: 0xBA1C, Stride: 1}, + {Lo: 0xBA38, Hi: 0xBA38, Stride: 1}, + {Lo: 0xBA54, Hi: 0xBA54, Stride: 1}, + {Lo: 0xBA70, Hi: 0xBA70, Stride: 1}, + {Lo: 0xBA8C, Hi: 0xBA8C, Stride: 1}, + {Lo: 0xBAA8, Hi: 0xBAA8, Stride: 1}, + {Lo: 0xBAC4, Hi: 0xBAC4, Stride: 1}, + {Lo: 0xBAE0, Hi: 0xBAE0, Stride: 1}, + {Lo: 0xBAFC, Hi: 0xBAFC, Stride: 1}, + {Lo: 0xBB18, Hi: 0xBB18, Stride: 1}, + {Lo: 0xBB34, Hi: 0xBB34, Stride: 1}, + {Lo: 0xBB50, Hi: 0xBB50, Stride: 1}, + {Lo: 0xBB6C, Hi: 0xBB6C, Stride: 1}, + {Lo: 0xBB88, Hi: 0xBB88, Stride: 1}, + {Lo: 0xBBA4, Hi: 0xBBA4, Stride: 1}, + {Lo: 0xBBC0, Hi: 0xBBC0, Stride: 1}, + {Lo: 0xBBDC, Hi: 0xBBDC, Stride: 1}, + {Lo: 0xBBF8, Hi: 0xBBF8, Stride: 1}, + {Lo: 0xBC14, Hi: 0xBC14, Stride: 1}, + {Lo: 0xBC30, Hi: 0xBC30, Stride: 1}, + {Lo: 0xBC4C, Hi: 0xBC4C, Stride: 1}, + {Lo: 0xBC68, Hi: 0xBC68, Stride: 1}, + {Lo: 0xBC84, Hi: 0xBC84, Stride: 1}, + {Lo: 0xBCA0, Hi: 0xBCA0, Stride: 1}, + {Lo: 0xBCBC, Hi: 0xBCBC, Stride: 1}, + {Lo: 0xBCD8, Hi: 0xBCD8, Stride: 1}, + {Lo: 0xBCF4, Hi: 0xBCF4, Stride: 1}, + {Lo: 0xBD10, Hi: 0xBD10, Stride: 1}, + {Lo: 0xBD2C, Hi: 0xBD2C, Stride: 1}, + {Lo: 0xBD48, Hi: 0xBD48, Stride: 1}, + {Lo: 0xBD64, Hi: 0xBD64, Stride: 1}, + {Lo: 0xBD80, Hi: 0xBD80, Stride: 1}, + {Lo: 0xBD9C, Hi: 0xBD9C, Stride: 1}, + {Lo: 0xBDB8, Hi: 0xBDB8, Stride: 1}, + {Lo: 0xBDD4, Hi: 0xBDD4, Stride: 1}, + {Lo: 0xBDF0, Hi: 0xBDF0, Stride: 1}, + {Lo: 0xBE0C, Hi: 0xBE0C, Stride: 1}, + {Lo: 0xBE28, Hi: 0xBE28, Stride: 1}, + {Lo: 0xBE44, Hi: 0xBE44, Stride: 1}, + {Lo: 0xBE60, Hi: 0xBE60, Stride: 1}, + {Lo: 0xBE7C, Hi: 0xBE7C, Stride: 1}, + {Lo: 0xBE98, Hi: 0xBE98, Stride: 1}, + {Lo: 0xBEB4, Hi: 0xBEB4, Stride: 1}, + {Lo: 0xBED0, Hi: 0xBED0, Stride: 1}, + {Lo: 0xBEEC, Hi: 0xBEEC, Stride: 1}, + {Lo: 0xBF08, Hi: 0xBF08, Stride: 1}, + {Lo: 0xBF24, Hi: 0xBF24, Stride: 1}, + {Lo: 0xBF40, Hi: 0xBF40, Stride: 1}, + {Lo: 0xBF5C, Hi: 0xBF5C, Stride: 1}, + {Lo: 0xBF78, Hi: 0xBF78, Stride: 1}, + {Lo: 0xBF94, Hi: 0xBF94, Stride: 1}, + {Lo: 0xBFB0, Hi: 0xBFB0, Stride: 1}, + {Lo: 0xBFCC, Hi: 0xBFCC, Stride: 1}, + {Lo: 0xBFE8, Hi: 0xBFE8, Stride: 1}, + {Lo: 0xC004, Hi: 0xC004, Stride: 1}, + {Lo: 0xC020, Hi: 0xC020, Stride: 1}, + {Lo: 0xC03C, Hi: 0xC03C, Stride: 1}, + {Lo: 0xC058, Hi: 0xC058, Stride: 1}, + {Lo: 0xC074, Hi: 0xC074, Stride: 1}, + {Lo: 0xC090, Hi: 0xC090, Stride: 1}, + {Lo: 0xC0AC, Hi: 0xC0AC, Stride: 1}, + {Lo: 0xC0C8, Hi: 0xC0C8, Stride: 1}, + {Lo: 0xC0E4, Hi: 0xC0E4, Stride: 1}, + {Lo: 0xC100, Hi: 0xC100, Stride: 1}, + {Lo: 0xC11C, Hi: 0xC11C, Stride: 1}, + {Lo: 0xC138, Hi: 0xC138, Stride: 1}, + {Lo: 0xC154, Hi: 0xC154, Stride: 1}, + {Lo: 0xC170, Hi: 0xC170, Stride: 1}, + {Lo: 0xC18C, Hi: 0xC18C, Stride: 1}, + {Lo: 0xC1A8, Hi: 0xC1A8, Stride: 1}, + {Lo: 0xC1C4, Hi: 0xC1C4, Stride: 1}, + {Lo: 0xC1E0, Hi: 0xC1E0, Stride: 1}, + {Lo: 0xC1FC, Hi: 0xC1FC, Stride: 1}, + {Lo: 0xC218, Hi: 0xC218, Stride: 1}, + {Lo: 0xC234, Hi: 0xC234, Stride: 1}, + {Lo: 0xC250, Hi: 0xC250, Stride: 1}, + {Lo: 0xC26C, Hi: 0xC26C, Stride: 1}, + {Lo: 0xC288, Hi: 0xC288, Stride: 1}, + {Lo: 0xC2A4, Hi: 0xC2A4, Stride: 1}, + {Lo: 0xC2C0, Hi: 0xC2C0, Stride: 1}, + {Lo: 0xC2DC, Hi: 0xC2DC, Stride: 1}, + {Lo: 0xC2F8, Hi: 0xC2F8, Stride: 1}, + {Lo: 0xC314, Hi: 0xC314, Stride: 1}, + {Lo: 0xC330, Hi: 0xC330, Stride: 1}, + {Lo: 0xC34C, Hi: 0xC34C, Stride: 1}, + {Lo: 0xC368, Hi: 0xC368, Stride: 1}, + {Lo: 0xC384, Hi: 0xC384, Stride: 1}, + {Lo: 0xC3A0, Hi: 0xC3A0, Stride: 1}, + {Lo: 0xC3BC, Hi: 0xC3BC, Stride: 1}, + {Lo: 0xC3D8, Hi: 0xC3D8, Stride: 1}, + {Lo: 0xC3F4, Hi: 0xC3F4, Stride: 1}, + {Lo: 0xC410, Hi: 0xC410, Stride: 1}, + {Lo: 0xC42C, Hi: 0xC42C, Stride: 1}, + {Lo: 0xC448, Hi: 0xC448, Stride: 1}, + {Lo: 0xC464, Hi: 0xC464, Stride: 1}, + {Lo: 0xC480, Hi: 0xC480, Stride: 1}, + {Lo: 0xC49C, Hi: 0xC49C, Stride: 1}, + {Lo: 0xC4B8, Hi: 0xC4B8, Stride: 1}, + {Lo: 0xC4D4, Hi: 0xC4D4, Stride: 1}, + {Lo: 0xC4F0, Hi: 0xC4F0, Stride: 1}, + {Lo: 0xC50C, Hi: 0xC50C, Stride: 1}, + {Lo: 0xC528, Hi: 0xC528, Stride: 1}, + {Lo: 0xC544, Hi: 0xC544, Stride: 1}, + {Lo: 0xC560, Hi: 0xC560, Stride: 1}, + {Lo: 0xC57C, Hi: 0xC57C, Stride: 1}, + {Lo: 0xC598, Hi: 0xC598, Stride: 1}, + {Lo: 0xC5B4, Hi: 0xC5B4, Stride: 1}, + {Lo: 0xC5D0, Hi: 0xC5D0, Stride: 1}, + {Lo: 0xC5EC, Hi: 0xC5EC, Stride: 1}, + {Lo: 0xC608, Hi: 0xC608, Stride: 1}, + {Lo: 0xC624, Hi: 0xC624, Stride: 1}, + {Lo: 0xC640, Hi: 0xC640, Stride: 1}, + {Lo: 0xC65C, Hi: 0xC65C, Stride: 1}, + {Lo: 0xC678, Hi: 0xC678, Stride: 1}, + {Lo: 0xC694, Hi: 0xC694, Stride: 1}, + {Lo: 0xC6B0, Hi: 0xC6B0, Stride: 1}, + {Lo: 0xC6CC, Hi: 0xC6CC, Stride: 1}, + {Lo: 0xC6E8, Hi: 0xC6E8, Stride: 1}, + {Lo: 0xC704, Hi: 0xC704, Stride: 1}, + {Lo: 0xC720, Hi: 0xC720, Stride: 1}, + {Lo: 0xC73C, Hi: 0xC73C, Stride: 1}, + {Lo: 0xC758, Hi: 0xC758, Stride: 1}, + {Lo: 0xC774, Hi: 0xC774, Stride: 1}, + {Lo: 0xC790, Hi: 0xC790, Stride: 1}, + {Lo: 0xC7AC, Hi: 0xC7AC, Stride: 1}, + {Lo: 0xC7C8, Hi: 0xC7C8, Stride: 1}, + {Lo: 0xC7E4, Hi: 0xC7E4, Stride: 1}, + {Lo: 0xC800, Hi: 0xC800, Stride: 1}, + {Lo: 0xC81C, Hi: 0xC81C, Stride: 1}, + {Lo: 0xC838, Hi: 0xC838, Stride: 1}, + {Lo: 0xC854, Hi: 0xC854, Stride: 1}, + {Lo: 0xC870, Hi: 0xC870, Stride: 1}, + {Lo: 0xC88C, Hi: 0xC88C, Stride: 1}, + {Lo: 0xC8A8, Hi: 0xC8A8, Stride: 1}, + {Lo: 0xC8C4, Hi: 0xC8C4, Stride: 1}, + {Lo: 0xC8E0, Hi: 0xC8E0, Stride: 1}, + {Lo: 0xC8FC, Hi: 0xC8FC, Stride: 1}, + {Lo: 0xC918, Hi: 0xC918, Stride: 1}, + {Lo: 0xC934, Hi: 0xC934, Stride: 1}, + {Lo: 0xC950, Hi: 0xC950, Stride: 1}, + {Lo: 0xC96C, Hi: 0xC96C, Stride: 1}, + {Lo: 0xC988, Hi: 0xC988, Stride: 1}, + {Lo: 0xC9A4, Hi: 0xC9A4, Stride: 1}, + {Lo: 0xC9C0, Hi: 0xC9C0, Stride: 1}, + {Lo: 0xC9DC, Hi: 0xC9DC, Stride: 1}, + {Lo: 0xC9F8, Hi: 0xC9F8, Stride: 1}, + {Lo: 0xCA14, Hi: 0xCA14, Stride: 1}, + {Lo: 0xCA30, Hi: 0xCA30, Stride: 1}, + {Lo: 0xCA4C, Hi: 0xCA4C, Stride: 1}, + {Lo: 0xCA68, Hi: 0xCA68, Stride: 1}, + {Lo: 0xCA84, Hi: 0xCA84, Stride: 1}, + {Lo: 0xCAA0, Hi: 0xCAA0, Stride: 1}, + {Lo: 0xCABC, Hi: 0xCABC, Stride: 1}, + {Lo: 0xCAD8, Hi: 0xCAD8, Stride: 1}, + {Lo: 0xCAF4, Hi: 0xCAF4, Stride: 1}, + {Lo: 0xCB10, Hi: 0xCB10, Stride: 1}, + {Lo: 0xCB2C, Hi: 0xCB2C, Stride: 1}, + {Lo: 0xCB48, Hi: 0xCB48, Stride: 1}, + {Lo: 0xCB64, Hi: 0xCB64, Stride: 1}, + {Lo: 0xCB80, Hi: 0xCB80, Stride: 1}, + {Lo: 0xCB9C, Hi: 0xCB9C, Stride: 1}, + {Lo: 0xCBB8, Hi: 0xCBB8, Stride: 1}, + {Lo: 0xCBD4, Hi: 0xCBD4, Stride: 1}, + {Lo: 0xCBF0, Hi: 0xCBF0, Stride: 1}, + {Lo: 0xCC0C, Hi: 0xCC0C, Stride: 1}, + {Lo: 0xCC28, Hi: 0xCC28, Stride: 1}, + {Lo: 0xCC44, Hi: 0xCC44, Stride: 1}, + {Lo: 0xCC60, Hi: 0xCC60, Stride: 1}, + {Lo: 0xCC7C, Hi: 0xCC7C, Stride: 1}, + {Lo: 0xCC98, Hi: 0xCC98, Stride: 1}, + {Lo: 0xCCB4, Hi: 0xCCB4, Stride: 1}, + {Lo: 0xCCD0, Hi: 0xCCD0, Stride: 1}, + {Lo: 0xCCEC, Hi: 0xCCEC, Stride: 1}, + {Lo: 0xCD08, Hi: 0xCD08, Stride: 1}, + {Lo: 0xCD24, Hi: 0xCD24, Stride: 1}, + {Lo: 0xCD40, Hi: 0xCD40, Stride: 1}, + {Lo: 0xCD5C, Hi: 0xCD5C, Stride: 1}, + {Lo: 0xCD78, Hi: 0xCD78, Stride: 1}, + {Lo: 0xCD94, Hi: 0xCD94, Stride: 1}, + {Lo: 0xCDB0, Hi: 0xCDB0, Stride: 1}, + {Lo: 0xCDCC, Hi: 0xCDCC, Stride: 1}, + {Lo: 0xCDE8, Hi: 0xCDE8, Stride: 1}, + {Lo: 0xCE04, Hi: 0xCE04, Stride: 1}, + {Lo: 0xCE20, Hi: 0xCE20, Stride: 1}, + {Lo: 0xCE3C, Hi: 0xCE3C, Stride: 1}, + {Lo: 0xCE58, Hi: 0xCE58, Stride: 1}, + {Lo: 0xCE74, Hi: 0xCE74, Stride: 1}, + {Lo: 0xCE90, Hi: 0xCE90, Stride: 1}, + {Lo: 0xCEAC, Hi: 0xCEAC, Stride: 1}, + {Lo: 0xCEC8, Hi: 0xCEC8, Stride: 1}, + {Lo: 0xCEE4, Hi: 0xCEE4, Stride: 1}, + {Lo: 0xCF00, Hi: 0xCF00, Stride: 1}, + {Lo: 0xCF1C, Hi: 0xCF1C, Stride: 1}, + {Lo: 0xCF38, Hi: 0xCF38, Stride: 1}, + {Lo: 0xCF54, Hi: 0xCF54, Stride: 1}, + {Lo: 0xCF70, Hi: 0xCF70, Stride: 1}, + {Lo: 0xCF8C, Hi: 0xCF8C, Stride: 1}, + {Lo: 0xCFA8, Hi: 0xCFA8, Stride: 1}, + {Lo: 0xCFC4, Hi: 0xCFC4, Stride: 1}, + {Lo: 0xCFE0, Hi: 0xCFE0, Stride: 1}, + {Lo: 0xCFFC, Hi: 0xCFFC, Stride: 1}, + {Lo: 0xD018, Hi: 0xD018, Stride: 1}, + {Lo: 0xD034, Hi: 0xD034, Stride: 1}, + {Lo: 0xD050, Hi: 0xD050, Stride: 1}, + {Lo: 0xD06C, Hi: 0xD06C, Stride: 1}, + {Lo: 0xD088, Hi: 0xD088, Stride: 1}, + {Lo: 0xD0A4, Hi: 0xD0A4, Stride: 1}, + {Lo: 0xD0C0, Hi: 0xD0C0, Stride: 1}, + {Lo: 0xD0DC, Hi: 0xD0DC, Stride: 1}, + {Lo: 0xD0F8, Hi: 0xD0F8, Stride: 1}, + {Lo: 0xD114, Hi: 0xD114, Stride: 1}, + {Lo: 0xD130, Hi: 0xD130, Stride: 1}, + {Lo: 0xD14C, Hi: 0xD14C, Stride: 1}, + {Lo: 0xD168, Hi: 0xD168, Stride: 1}, + {Lo: 0xD184, Hi: 0xD184, Stride: 1}, + {Lo: 0xD1A0, Hi: 0xD1A0, Stride: 1}, + {Lo: 0xD1BC, Hi: 0xD1BC, Stride: 1}, + {Lo: 0xD1D8, Hi: 0xD1D8, Stride: 1}, + {Lo: 0xD1F4, Hi: 0xD1F4, Stride: 1}, + {Lo: 0xD210, Hi: 0xD210, Stride: 1}, + {Lo: 0xD22C, Hi: 0xD22C, Stride: 1}, + {Lo: 0xD248, Hi: 0xD248, Stride: 1}, + {Lo: 0xD264, Hi: 0xD264, Stride: 1}, + {Lo: 0xD280, Hi: 0xD280, Stride: 1}, + {Lo: 0xD29C, Hi: 0xD29C, Stride: 1}, + {Lo: 0xD2B8, Hi: 0xD2B8, Stride: 1}, + {Lo: 0xD2D4, Hi: 0xD2D4, Stride: 1}, + {Lo: 0xD2F0, Hi: 0xD2F0, Stride: 1}, + {Lo: 0xD30C, Hi: 0xD30C, Stride: 1}, + {Lo: 0xD328, Hi: 0xD328, Stride: 1}, + {Lo: 0xD344, Hi: 0xD344, Stride: 1}, + {Lo: 0xD360, Hi: 0xD360, Stride: 1}, + {Lo: 0xD37C, Hi: 0xD37C, Stride: 1}, + {Lo: 0xD398, Hi: 0xD398, Stride: 1}, + {Lo: 0xD3B4, Hi: 0xD3B4, Stride: 1}, + {Lo: 0xD3D0, Hi: 0xD3D0, Stride: 1}, + {Lo: 0xD3EC, Hi: 0xD3EC, Stride: 1}, + {Lo: 0xD408, Hi: 0xD408, Stride: 1}, + {Lo: 0xD424, Hi: 0xD424, Stride: 1}, + {Lo: 0xD440, Hi: 0xD440, Stride: 1}, + {Lo: 0xD45C, Hi: 0xD45C, Stride: 1}, + {Lo: 0xD478, Hi: 0xD478, Stride: 1}, + {Lo: 0xD494, Hi: 0xD494, Stride: 1}, + {Lo: 0xD4B0, Hi: 0xD4B0, Stride: 1}, + {Lo: 0xD4CC, Hi: 0xD4CC, Stride: 1}, + {Lo: 0xD4E8, Hi: 0xD4E8, Stride: 1}, + {Lo: 0xD504, Hi: 0xD504, Stride: 1}, + {Lo: 0xD520, Hi: 0xD520, Stride: 1}, + {Lo: 0xD53C, Hi: 0xD53C, Stride: 1}, + {Lo: 0xD558, Hi: 0xD558, Stride: 1}, + {Lo: 0xD574, Hi: 0xD574, Stride: 1}, + {Lo: 0xD590, Hi: 0xD590, Stride: 1}, + {Lo: 0xD5AC, Hi: 0xD5AC, Stride: 1}, + {Lo: 0xD5C8, Hi: 0xD5C8, Stride: 1}, + {Lo: 0xD5E4, Hi: 0xD5E4, Stride: 1}, + {Lo: 0xD600, Hi: 0xD600, Stride: 1}, + {Lo: 0xD61C, Hi: 0xD61C, Stride: 1}, + {Lo: 0xD638, Hi: 0xD638, Stride: 1}, + {Lo: 0xD654, Hi: 0xD654, Stride: 1}, + {Lo: 0xD670, Hi: 0xD670, Stride: 1}, + {Lo: 0xD68C, Hi: 0xD68C, Stride: 1}, + {Lo: 0xD6A8, Hi: 0xD6A8, Stride: 1}, + {Lo: 0xD6C4, Hi: 0xD6C4, Stride: 1}, + {Lo: 0xD6E0, Hi: 0xD6E0, Stride: 1}, + {Lo: 0xD6FC, Hi: 0xD6FC, Stride: 1}, + {Lo: 0xD718, Hi: 0xD718, Stride: 1}, + {Lo: 0xD734, Hi: 0xD734, Stride: 1}, + {Lo: 0xD750, Hi: 0xD750, Stride: 1}, + {Lo: 0xD76C, Hi: 0xD76C, Stride: 1}, + {Lo: 0xD788, Hi: 0xD788, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_LVT = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xAC01, Hi: 0xAC1B, Stride: 1}, + {Lo: 0xAC1D, Hi: 0xAC37, Stride: 1}, + {Lo: 0xAC39, Hi: 0xAC53, Stride: 1}, + {Lo: 0xAC55, Hi: 0xAC6F, Stride: 1}, + {Lo: 0xAC71, Hi: 0xAC8B, Stride: 1}, + {Lo: 0xAC8D, Hi: 0xACA7, Stride: 1}, + {Lo: 0xACA9, Hi: 0xACC3, Stride: 1}, + {Lo: 0xACC5, Hi: 0xACDF, Stride: 1}, + {Lo: 0xACE1, Hi: 0xACFB, Stride: 1}, + {Lo: 0xACFD, Hi: 0xAD17, Stride: 1}, + {Lo: 0xAD19, Hi: 0xAD33, Stride: 1}, + {Lo: 0xAD35, Hi: 0xAD4F, Stride: 1}, + {Lo: 0xAD51, Hi: 0xAD6B, Stride: 1}, + {Lo: 0xAD6D, Hi: 0xAD87, Stride: 1}, + {Lo: 0xAD89, Hi: 0xADA3, Stride: 1}, + {Lo: 0xADA5, Hi: 0xADBF, Stride: 1}, + {Lo: 0xADC1, Hi: 0xADDB, Stride: 1}, + {Lo: 0xADDD, Hi: 0xADF7, Stride: 1}, + {Lo: 0xADF9, Hi: 0xAE13, Stride: 1}, + {Lo: 0xAE15, Hi: 0xAE2F, Stride: 1}, + {Lo: 0xAE31, Hi: 0xAE4B, Stride: 1}, + {Lo: 0xAE4D, Hi: 0xAE67, Stride: 1}, + {Lo: 0xAE69, Hi: 0xAE83, Stride: 1}, + {Lo: 0xAE85, Hi: 0xAE9F, Stride: 1}, + {Lo: 0xAEA1, Hi: 0xAEBB, Stride: 1}, + {Lo: 0xAEBD, Hi: 0xAED7, Stride: 1}, + {Lo: 0xAED9, Hi: 0xAEF3, Stride: 1}, + {Lo: 0xAEF5, Hi: 0xAF0F, Stride: 1}, + {Lo: 0xAF11, Hi: 0xAF2B, Stride: 1}, + {Lo: 0xAF2D, Hi: 0xAF47, Stride: 1}, + {Lo: 0xAF49, Hi: 0xAF63, Stride: 1}, + {Lo: 0xAF65, Hi: 0xAF7F, Stride: 1}, + {Lo: 0xAF81, Hi: 0xAF9B, Stride: 1}, + {Lo: 0xAF9D, Hi: 0xAFB7, Stride: 1}, + {Lo: 0xAFB9, Hi: 0xAFD3, Stride: 1}, + {Lo: 0xAFD5, Hi: 0xAFEF, Stride: 1}, + {Lo: 0xAFF1, Hi: 0xB00B, Stride: 1}, + {Lo: 0xB00D, Hi: 0xB027, Stride: 1}, + {Lo: 0xB029, Hi: 0xB043, Stride: 1}, + {Lo: 0xB045, Hi: 0xB05F, Stride: 1}, + {Lo: 0xB061, Hi: 0xB07B, Stride: 1}, + {Lo: 0xB07D, Hi: 0xB097, Stride: 1}, + {Lo: 0xB099, Hi: 0xB0B3, Stride: 1}, + {Lo: 0xB0B5, Hi: 0xB0CF, Stride: 1}, + {Lo: 0xB0D1, Hi: 0xB0EB, Stride: 1}, + {Lo: 0xB0ED, Hi: 0xB107, Stride: 1}, + {Lo: 0xB109, Hi: 0xB123, Stride: 1}, + {Lo: 0xB125, Hi: 0xB13F, Stride: 1}, + {Lo: 0xB141, Hi: 0xB15B, Stride: 1}, + {Lo: 0xB15D, Hi: 0xB177, Stride: 1}, + {Lo: 0xB179, Hi: 0xB193, Stride: 1}, + {Lo: 0xB195, Hi: 0xB1AF, Stride: 1}, + {Lo: 0xB1B1, Hi: 0xB1CB, Stride: 1}, + {Lo: 0xB1CD, Hi: 0xB1E7, Stride: 1}, + {Lo: 0xB1E9, Hi: 0xB203, Stride: 1}, + {Lo: 0xB205, Hi: 0xB21F, Stride: 1}, + {Lo: 0xB221, Hi: 0xB23B, Stride: 1}, + {Lo: 0xB23D, Hi: 0xB257, Stride: 1}, + {Lo: 0xB259, Hi: 0xB273, Stride: 1}, + {Lo: 0xB275, Hi: 0xB28F, Stride: 1}, + {Lo: 0xB291, Hi: 0xB2AB, Stride: 1}, + {Lo: 0xB2AD, Hi: 0xB2C7, Stride: 1}, + {Lo: 0xB2C9, Hi: 0xB2E3, Stride: 1}, + {Lo: 0xB2E5, Hi: 0xB2FF, Stride: 1}, + {Lo: 0xB301, Hi: 0xB31B, Stride: 1}, + {Lo: 0xB31D, Hi: 0xB337, Stride: 1}, + {Lo: 0xB339, Hi: 0xB353, Stride: 1}, + {Lo: 0xB355, Hi: 0xB36F, Stride: 1}, + {Lo: 0xB371, Hi: 0xB38B, Stride: 1}, + {Lo: 0xB38D, Hi: 0xB3A7, Stride: 1}, + {Lo: 0xB3A9, Hi: 0xB3C3, Stride: 1}, + {Lo: 0xB3C5, Hi: 0xB3DF, Stride: 1}, + {Lo: 0xB3E1, Hi: 0xB3FB, Stride: 1}, + {Lo: 0xB3FD, Hi: 0xB417, Stride: 1}, + {Lo: 0xB419, Hi: 0xB433, Stride: 1}, + {Lo: 0xB435, Hi: 0xB44F, Stride: 1}, + {Lo: 0xB451, Hi: 0xB46B, Stride: 1}, + {Lo: 0xB46D, Hi: 0xB487, Stride: 1}, + {Lo: 0xB489, Hi: 0xB4A3, Stride: 1}, + {Lo: 0xB4A5, Hi: 0xB4BF, Stride: 1}, + {Lo: 0xB4C1, Hi: 0xB4DB, Stride: 1}, + {Lo: 0xB4DD, Hi: 0xB4F7, Stride: 1}, + {Lo: 0xB4F9, Hi: 0xB513, Stride: 1}, + {Lo: 0xB515, Hi: 0xB52F, Stride: 1}, + {Lo: 0xB531, Hi: 0xB54B, Stride: 1}, + {Lo: 0xB54D, Hi: 0xB567, Stride: 1}, + {Lo: 0xB569, Hi: 0xB583, Stride: 1}, + {Lo: 0xB585, Hi: 0xB59F, Stride: 1}, + {Lo: 0xB5A1, Hi: 0xB5BB, Stride: 1}, + {Lo: 0xB5BD, Hi: 0xB5D7, Stride: 1}, + {Lo: 0xB5D9, Hi: 0xB5F3, Stride: 1}, + {Lo: 0xB5F5, Hi: 0xB60F, Stride: 1}, + {Lo: 0xB611, Hi: 0xB62B, Stride: 1}, + {Lo: 0xB62D, Hi: 0xB647, Stride: 1}, + {Lo: 0xB649, Hi: 0xB663, Stride: 1}, + {Lo: 0xB665, Hi: 0xB67F, Stride: 1}, + {Lo: 0xB681, Hi: 0xB69B, Stride: 1}, + {Lo: 0xB69D, Hi: 0xB6B7, Stride: 1}, + {Lo: 0xB6B9, Hi: 0xB6D3, Stride: 1}, + {Lo: 0xB6D5, Hi: 0xB6EF, Stride: 1}, + {Lo: 0xB6F1, Hi: 0xB70B, Stride: 1}, + {Lo: 0xB70D, Hi: 0xB727, Stride: 1}, + {Lo: 0xB729, Hi: 0xB743, Stride: 1}, + {Lo: 0xB745, Hi: 0xB75F, Stride: 1}, + {Lo: 0xB761, Hi: 0xB77B, Stride: 1}, + {Lo: 0xB77D, Hi: 0xB797, Stride: 1}, + {Lo: 0xB799, Hi: 0xB7B3, Stride: 1}, + {Lo: 0xB7B5, Hi: 0xB7CF, Stride: 1}, + {Lo: 0xB7D1, Hi: 0xB7EB, Stride: 1}, + {Lo: 0xB7ED, Hi: 0xB807, Stride: 1}, + {Lo: 0xB809, Hi: 0xB823, Stride: 1}, + {Lo: 0xB825, Hi: 0xB83F, Stride: 1}, + {Lo: 0xB841, Hi: 0xB85B, Stride: 1}, + {Lo: 0xB85D, Hi: 0xB877, Stride: 1}, + {Lo: 0xB879, Hi: 0xB893, Stride: 1}, + {Lo: 0xB895, Hi: 0xB8AF, Stride: 1}, + {Lo: 0xB8B1, Hi: 0xB8CB, Stride: 1}, + {Lo: 0xB8CD, Hi: 0xB8E7, Stride: 1}, + {Lo: 0xB8E9, Hi: 0xB903, Stride: 1}, + {Lo: 0xB905, Hi: 0xB91F, Stride: 1}, + {Lo: 0xB921, Hi: 0xB93B, Stride: 1}, + {Lo: 0xB93D, Hi: 0xB957, Stride: 1}, + {Lo: 0xB959, Hi: 0xB973, Stride: 1}, + {Lo: 0xB975, Hi: 0xB98F, Stride: 1}, + {Lo: 0xB991, Hi: 0xB9AB, Stride: 1}, + {Lo: 0xB9AD, Hi: 0xB9C7, Stride: 1}, + {Lo: 0xB9C9, Hi: 0xB9E3, Stride: 1}, + {Lo: 0xB9E5, Hi: 0xB9FF, Stride: 1}, + {Lo: 0xBA01, Hi: 0xBA1B, Stride: 1}, + {Lo: 0xBA1D, Hi: 0xBA37, Stride: 1}, + {Lo: 0xBA39, Hi: 0xBA53, Stride: 1}, + {Lo: 0xBA55, Hi: 0xBA6F, Stride: 1}, + {Lo: 0xBA71, Hi: 0xBA8B, Stride: 1}, + {Lo: 0xBA8D, Hi: 0xBAA7, Stride: 1}, + {Lo: 0xBAA9, Hi: 0xBAC3, Stride: 1}, + {Lo: 0xBAC5, Hi: 0xBADF, Stride: 1}, + {Lo: 0xBAE1, Hi: 0xBAFB, Stride: 1}, + {Lo: 0xBAFD, Hi: 0xBB17, Stride: 1}, + {Lo: 0xBB19, Hi: 0xBB33, Stride: 1}, + {Lo: 0xBB35, Hi: 0xBB4F, Stride: 1}, + {Lo: 0xBB51, Hi: 0xBB6B, Stride: 1}, + {Lo: 0xBB6D, Hi: 0xBB87, Stride: 1}, + {Lo: 0xBB89, Hi: 0xBBA3, Stride: 1}, + {Lo: 0xBBA5, Hi: 0xBBBF, Stride: 1}, + {Lo: 0xBBC1, Hi: 0xBBDB, Stride: 1}, + {Lo: 0xBBDD, Hi: 0xBBF7, Stride: 1}, + {Lo: 0xBBF9, Hi: 0xBC13, Stride: 1}, + {Lo: 0xBC15, Hi: 0xBC2F, Stride: 1}, + {Lo: 0xBC31, Hi: 0xBC4B, Stride: 1}, + {Lo: 0xBC4D, Hi: 0xBC67, Stride: 1}, + {Lo: 0xBC69, Hi: 0xBC83, Stride: 1}, + {Lo: 0xBC85, Hi: 0xBC9F, Stride: 1}, + {Lo: 0xBCA1, Hi: 0xBCBB, Stride: 1}, + {Lo: 0xBCBD, Hi: 0xBCD7, Stride: 1}, + {Lo: 0xBCD9, Hi: 0xBCF3, Stride: 1}, + {Lo: 0xBCF5, Hi: 0xBD0F, Stride: 1}, + {Lo: 0xBD11, Hi: 0xBD2B, Stride: 1}, + {Lo: 0xBD2D, Hi: 0xBD47, Stride: 1}, + {Lo: 0xBD49, Hi: 0xBD63, Stride: 1}, + {Lo: 0xBD65, Hi: 0xBD7F, Stride: 1}, + {Lo: 0xBD81, Hi: 0xBD9B, Stride: 1}, + {Lo: 0xBD9D, Hi: 0xBDB7, Stride: 1}, + {Lo: 0xBDB9, Hi: 0xBDD3, Stride: 1}, + {Lo: 0xBDD5, Hi: 0xBDEF, Stride: 1}, + {Lo: 0xBDF1, Hi: 0xBE0B, Stride: 1}, + {Lo: 0xBE0D, Hi: 0xBE27, Stride: 1}, + {Lo: 0xBE29, Hi: 0xBE43, Stride: 1}, + {Lo: 0xBE45, Hi: 0xBE5F, Stride: 1}, + {Lo: 0xBE61, Hi: 0xBE7B, Stride: 1}, + {Lo: 0xBE7D, Hi: 0xBE97, Stride: 1}, + {Lo: 0xBE99, Hi: 0xBEB3, Stride: 1}, + {Lo: 0xBEB5, Hi: 0xBECF, Stride: 1}, + {Lo: 0xBED1, Hi: 0xBEEB, Stride: 1}, + {Lo: 0xBEED, Hi: 0xBF07, Stride: 1}, + {Lo: 0xBF09, Hi: 0xBF23, Stride: 1}, + {Lo: 0xBF25, Hi: 0xBF3F, Stride: 1}, + {Lo: 0xBF41, Hi: 0xBF5B, Stride: 1}, + {Lo: 0xBF5D, Hi: 0xBF77, Stride: 1}, + {Lo: 0xBF79, Hi: 0xBF93, Stride: 1}, + {Lo: 0xBF95, Hi: 0xBFAF, Stride: 1}, + {Lo: 0xBFB1, Hi: 0xBFCB, Stride: 1}, + {Lo: 0xBFCD, Hi: 0xBFE7, Stride: 1}, + {Lo: 0xBFE9, Hi: 0xC003, Stride: 1}, + {Lo: 0xC005, Hi: 0xC01F, Stride: 1}, + {Lo: 0xC021, Hi: 0xC03B, Stride: 1}, + {Lo: 0xC03D, Hi: 0xC057, Stride: 1}, + {Lo: 0xC059, Hi: 0xC073, Stride: 1}, + {Lo: 0xC075, Hi: 0xC08F, Stride: 1}, + {Lo: 0xC091, Hi: 0xC0AB, Stride: 1}, + {Lo: 0xC0AD, Hi: 0xC0C7, Stride: 1}, + {Lo: 0xC0C9, Hi: 0xC0E3, Stride: 1}, + {Lo: 0xC0E5, Hi: 0xC0FF, Stride: 1}, + {Lo: 0xC101, Hi: 0xC11B, Stride: 1}, + {Lo: 0xC11D, Hi: 0xC137, Stride: 1}, + {Lo: 0xC139, Hi: 0xC153, Stride: 1}, + {Lo: 0xC155, Hi: 0xC16F, Stride: 1}, + {Lo: 0xC171, Hi: 0xC18B, Stride: 1}, + {Lo: 0xC18D, Hi: 0xC1A7, Stride: 1}, + {Lo: 0xC1A9, Hi: 0xC1C3, Stride: 1}, + {Lo: 0xC1C5, Hi: 0xC1DF, Stride: 1}, + {Lo: 0xC1E1, Hi: 0xC1FB, Stride: 1}, + {Lo: 0xC1FD, Hi: 0xC217, Stride: 1}, + {Lo: 0xC219, Hi: 0xC233, Stride: 1}, + {Lo: 0xC235, Hi: 0xC24F, Stride: 1}, + {Lo: 0xC251, Hi: 0xC26B, Stride: 1}, + {Lo: 0xC26D, Hi: 0xC287, Stride: 1}, + {Lo: 0xC289, Hi: 0xC2A3, Stride: 1}, + {Lo: 0xC2A5, Hi: 0xC2BF, Stride: 1}, + {Lo: 0xC2C1, Hi: 0xC2DB, Stride: 1}, + {Lo: 0xC2DD, Hi: 0xC2F7, Stride: 1}, + {Lo: 0xC2F9, Hi: 0xC313, Stride: 1}, + {Lo: 0xC315, Hi: 0xC32F, Stride: 1}, + {Lo: 0xC331, Hi: 0xC34B, Stride: 1}, + {Lo: 0xC34D, Hi: 0xC367, Stride: 1}, + {Lo: 0xC369, Hi: 0xC383, Stride: 1}, + {Lo: 0xC385, Hi: 0xC39F, Stride: 1}, + {Lo: 0xC3A1, Hi: 0xC3BB, Stride: 1}, + {Lo: 0xC3BD, Hi: 0xC3D7, Stride: 1}, + {Lo: 0xC3D9, Hi: 0xC3F3, Stride: 1}, + {Lo: 0xC3F5, Hi: 0xC40F, Stride: 1}, + {Lo: 0xC411, Hi: 0xC42B, Stride: 1}, + {Lo: 0xC42D, Hi: 0xC447, Stride: 1}, + {Lo: 0xC449, Hi: 0xC463, Stride: 1}, + {Lo: 0xC465, Hi: 0xC47F, Stride: 1}, + {Lo: 0xC481, Hi: 0xC49B, Stride: 1}, + {Lo: 0xC49D, Hi: 0xC4B7, Stride: 1}, + {Lo: 0xC4B9, Hi: 0xC4D3, Stride: 1}, + {Lo: 0xC4D5, Hi: 0xC4EF, Stride: 1}, + {Lo: 0xC4F1, Hi: 0xC50B, Stride: 1}, + {Lo: 0xC50D, Hi: 0xC527, Stride: 1}, + {Lo: 0xC529, Hi: 0xC543, Stride: 1}, + {Lo: 0xC545, Hi: 0xC55F, Stride: 1}, + {Lo: 0xC561, Hi: 0xC57B, Stride: 1}, + {Lo: 0xC57D, Hi: 0xC597, Stride: 1}, + {Lo: 0xC599, Hi: 0xC5B3, Stride: 1}, + {Lo: 0xC5B5, Hi: 0xC5CF, Stride: 1}, + {Lo: 0xC5D1, Hi: 0xC5EB, Stride: 1}, + {Lo: 0xC5ED, Hi: 0xC607, Stride: 1}, + {Lo: 0xC609, Hi: 0xC623, Stride: 1}, + {Lo: 0xC625, Hi: 0xC63F, Stride: 1}, + {Lo: 0xC641, Hi: 0xC65B, Stride: 1}, + {Lo: 0xC65D, Hi: 0xC677, Stride: 1}, + {Lo: 0xC679, Hi: 0xC693, Stride: 1}, + {Lo: 0xC695, Hi: 0xC6AF, Stride: 1}, + {Lo: 0xC6B1, Hi: 0xC6CB, Stride: 1}, + {Lo: 0xC6CD, Hi: 0xC6E7, Stride: 1}, + {Lo: 0xC6E9, Hi: 0xC703, Stride: 1}, + {Lo: 0xC705, Hi: 0xC71F, Stride: 1}, + {Lo: 0xC721, Hi: 0xC73B, Stride: 1}, + {Lo: 0xC73D, Hi: 0xC757, Stride: 1}, + {Lo: 0xC759, Hi: 0xC773, Stride: 1}, + {Lo: 0xC775, Hi: 0xC78F, Stride: 1}, + {Lo: 0xC791, Hi: 0xC7AB, Stride: 1}, + {Lo: 0xC7AD, Hi: 0xC7C7, Stride: 1}, + {Lo: 0xC7C9, Hi: 0xC7E3, Stride: 1}, + {Lo: 0xC7E5, Hi: 0xC7FF, Stride: 1}, + {Lo: 0xC801, Hi: 0xC81B, Stride: 1}, + {Lo: 0xC81D, Hi: 0xC837, Stride: 1}, + {Lo: 0xC839, Hi: 0xC853, Stride: 1}, + {Lo: 0xC855, Hi: 0xC86F, Stride: 1}, + {Lo: 0xC871, Hi: 0xC88B, Stride: 1}, + {Lo: 0xC88D, Hi: 0xC8A7, Stride: 1}, + {Lo: 0xC8A9, Hi: 0xC8C3, Stride: 1}, + {Lo: 0xC8C5, Hi: 0xC8DF, Stride: 1}, + {Lo: 0xC8E1, Hi: 0xC8FB, Stride: 1}, + {Lo: 0xC8FD, Hi: 0xC917, Stride: 1}, + {Lo: 0xC919, Hi: 0xC933, Stride: 1}, + {Lo: 0xC935, Hi: 0xC94F, Stride: 1}, + {Lo: 0xC951, Hi: 0xC96B, Stride: 1}, + {Lo: 0xC96D, Hi: 0xC987, Stride: 1}, + {Lo: 0xC989, Hi: 0xC9A3, Stride: 1}, + {Lo: 0xC9A5, Hi: 0xC9BF, Stride: 1}, + {Lo: 0xC9C1, Hi: 0xC9DB, Stride: 1}, + {Lo: 0xC9DD, Hi: 0xC9F7, Stride: 1}, + {Lo: 0xC9F9, Hi: 0xCA13, Stride: 1}, + {Lo: 0xCA15, Hi: 0xCA2F, Stride: 1}, + {Lo: 0xCA31, Hi: 0xCA4B, Stride: 1}, + {Lo: 0xCA4D, Hi: 0xCA67, Stride: 1}, + {Lo: 0xCA69, Hi: 0xCA83, Stride: 1}, + {Lo: 0xCA85, Hi: 0xCA9F, Stride: 1}, + {Lo: 0xCAA1, Hi: 0xCABB, Stride: 1}, + {Lo: 0xCABD, Hi: 0xCAD7, Stride: 1}, + {Lo: 0xCAD9, Hi: 0xCAF3, Stride: 1}, + {Lo: 0xCAF5, Hi: 0xCB0F, Stride: 1}, + {Lo: 0xCB11, Hi: 0xCB2B, Stride: 1}, + {Lo: 0xCB2D, Hi: 0xCB47, Stride: 1}, + {Lo: 0xCB49, Hi: 0xCB63, Stride: 1}, + {Lo: 0xCB65, Hi: 0xCB7F, Stride: 1}, + {Lo: 0xCB81, Hi: 0xCB9B, Stride: 1}, + {Lo: 0xCB9D, Hi: 0xCBB7, Stride: 1}, + {Lo: 0xCBB9, Hi: 0xCBD3, Stride: 1}, + {Lo: 0xCBD5, Hi: 0xCBEF, Stride: 1}, + {Lo: 0xCBF1, Hi: 0xCC0B, Stride: 1}, + {Lo: 0xCC0D, Hi: 0xCC27, Stride: 1}, + {Lo: 0xCC29, Hi: 0xCC43, Stride: 1}, + {Lo: 0xCC45, Hi: 0xCC5F, Stride: 1}, + {Lo: 0xCC61, Hi: 0xCC7B, Stride: 1}, + {Lo: 0xCC7D, Hi: 0xCC97, Stride: 1}, + {Lo: 0xCC99, Hi: 0xCCB3, Stride: 1}, + {Lo: 0xCCB5, Hi: 0xCCCF, Stride: 1}, + {Lo: 0xCCD1, Hi: 0xCCEB, Stride: 1}, + {Lo: 0xCCED, Hi: 0xCD07, Stride: 1}, + {Lo: 0xCD09, Hi: 0xCD23, Stride: 1}, + {Lo: 0xCD25, Hi: 0xCD3F, Stride: 1}, + {Lo: 0xCD41, Hi: 0xCD5B, Stride: 1}, + {Lo: 0xCD5D, Hi: 0xCD77, Stride: 1}, + {Lo: 0xCD79, Hi: 0xCD93, Stride: 1}, + {Lo: 0xCD95, Hi: 0xCDAF, Stride: 1}, + {Lo: 0xCDB1, Hi: 0xCDCB, Stride: 1}, + {Lo: 0xCDCD, Hi: 0xCDE7, Stride: 1}, + {Lo: 0xCDE9, Hi: 0xCE03, Stride: 1}, + {Lo: 0xCE05, Hi: 0xCE1F, Stride: 1}, + {Lo: 0xCE21, Hi: 0xCE3B, Stride: 1}, + {Lo: 0xCE3D, Hi: 0xCE57, Stride: 1}, + {Lo: 0xCE59, Hi: 0xCE73, Stride: 1}, + {Lo: 0xCE75, Hi: 0xCE8F, Stride: 1}, + {Lo: 0xCE91, Hi: 0xCEAB, Stride: 1}, + {Lo: 0xCEAD, Hi: 0xCEC7, Stride: 1}, + {Lo: 0xCEC9, Hi: 0xCEE3, Stride: 1}, + {Lo: 0xCEE5, Hi: 0xCEFF, Stride: 1}, + {Lo: 0xCF01, Hi: 0xCF1B, Stride: 1}, + {Lo: 0xCF1D, Hi: 0xCF37, Stride: 1}, + {Lo: 0xCF39, Hi: 0xCF53, Stride: 1}, + {Lo: 0xCF55, Hi: 0xCF6F, Stride: 1}, + {Lo: 0xCF71, Hi: 0xCF8B, Stride: 1}, + {Lo: 0xCF8D, Hi: 0xCFA7, Stride: 1}, + {Lo: 0xCFA9, Hi: 0xCFC3, Stride: 1}, + {Lo: 0xCFC5, Hi: 0xCFDF, Stride: 1}, + {Lo: 0xCFE1, Hi: 0xCFFB, Stride: 1}, + {Lo: 0xCFFD, Hi: 0xD017, Stride: 1}, + {Lo: 0xD019, Hi: 0xD033, Stride: 1}, + {Lo: 0xD035, Hi: 0xD04F, Stride: 1}, + {Lo: 0xD051, Hi: 0xD06B, Stride: 1}, + {Lo: 0xD06D, Hi: 0xD087, Stride: 1}, + {Lo: 0xD089, Hi: 0xD0A3, Stride: 1}, + {Lo: 0xD0A5, Hi: 0xD0BF, Stride: 1}, + {Lo: 0xD0C1, Hi: 0xD0DB, Stride: 1}, + {Lo: 0xD0DD, Hi: 0xD0F7, Stride: 1}, + {Lo: 0xD0F9, Hi: 0xD113, Stride: 1}, + {Lo: 0xD115, Hi: 0xD12F, Stride: 1}, + {Lo: 0xD131, Hi: 0xD14B, Stride: 1}, + {Lo: 0xD14D, Hi: 0xD167, Stride: 1}, + {Lo: 0xD169, Hi: 0xD183, Stride: 1}, + {Lo: 0xD185, Hi: 0xD19F, Stride: 1}, + {Lo: 0xD1A1, Hi: 0xD1BB, Stride: 1}, + {Lo: 0xD1BD, Hi: 0xD1D7, Stride: 1}, + {Lo: 0xD1D9, Hi: 0xD1F3, Stride: 1}, + {Lo: 0xD1F5, Hi: 0xD20F, Stride: 1}, + {Lo: 0xD211, Hi: 0xD22B, Stride: 1}, + {Lo: 0xD22D, Hi: 0xD247, Stride: 1}, + {Lo: 0xD249, Hi: 0xD263, Stride: 1}, + {Lo: 0xD265, Hi: 0xD27F, Stride: 1}, + {Lo: 0xD281, Hi: 0xD29B, Stride: 1}, + {Lo: 0xD29D, Hi: 0xD2B7, Stride: 1}, + {Lo: 0xD2B9, Hi: 0xD2D3, Stride: 1}, + {Lo: 0xD2D5, Hi: 0xD2EF, Stride: 1}, + {Lo: 0xD2F1, Hi: 0xD30B, Stride: 1}, + {Lo: 0xD30D, Hi: 0xD327, Stride: 1}, + {Lo: 0xD329, Hi: 0xD343, Stride: 1}, + {Lo: 0xD345, Hi: 0xD35F, Stride: 1}, + {Lo: 0xD361, Hi: 0xD37B, Stride: 1}, + {Lo: 0xD37D, Hi: 0xD397, Stride: 1}, + {Lo: 0xD399, Hi: 0xD3B3, Stride: 1}, + {Lo: 0xD3B5, Hi: 0xD3CF, Stride: 1}, + {Lo: 0xD3D1, Hi: 0xD3EB, Stride: 1}, + {Lo: 0xD3ED, Hi: 0xD407, Stride: 1}, + {Lo: 0xD409, Hi: 0xD423, Stride: 1}, + {Lo: 0xD425, Hi: 0xD43F, Stride: 1}, + {Lo: 0xD441, Hi: 0xD45B, Stride: 1}, + {Lo: 0xD45D, Hi: 0xD477, Stride: 1}, + {Lo: 0xD479, Hi: 0xD493, Stride: 1}, + {Lo: 0xD495, Hi: 0xD4AF, Stride: 1}, + {Lo: 0xD4B1, Hi: 0xD4CB, Stride: 1}, + {Lo: 0xD4CD, Hi: 0xD4E7, Stride: 1}, + {Lo: 0xD4E9, Hi: 0xD503, Stride: 1}, + {Lo: 0xD505, Hi: 0xD51F, Stride: 1}, + {Lo: 0xD521, Hi: 0xD53B, Stride: 1}, + {Lo: 0xD53D, Hi: 0xD557, Stride: 1}, + {Lo: 0xD559, Hi: 0xD573, Stride: 1}, + {Lo: 0xD575, Hi: 0xD58F, Stride: 1}, + {Lo: 0xD591, Hi: 0xD5AB, Stride: 1}, + {Lo: 0xD5AD, Hi: 0xD5C7, Stride: 1}, + {Lo: 0xD5C9, Hi: 0xD5E3, Stride: 1}, + {Lo: 0xD5E5, Hi: 0xD5FF, Stride: 1}, + {Lo: 0xD601, Hi: 0xD61B, Stride: 1}, + {Lo: 0xD61D, Hi: 0xD637, Stride: 1}, + {Lo: 0xD639, Hi: 0xD653, Stride: 1}, + {Lo: 0xD655, Hi: 0xD66F, Stride: 1}, + {Lo: 0xD671, Hi: 0xD68B, Stride: 1}, + {Lo: 0xD68D, Hi: 0xD6A7, Stride: 1}, + {Lo: 0xD6A9, Hi: 0xD6C3, Stride: 1}, + {Lo: 0xD6C5, Hi: 0xD6DF, Stride: 1}, + {Lo: 0xD6E1, Hi: 0xD6FB, Stride: 1}, + {Lo: 0xD6FD, Hi: 0xD717, Stride: 1}, + {Lo: 0xD719, Hi: 0xD733, Stride: 1}, + {Lo: 0xD735, Hi: 0xD74F, Stride: 1}, + {Lo: 0xD751, Hi: 0xD76B, Stride: 1}, + {Lo: 0xD76D, Hi: 0xD787, Stride: 1}, + {Lo: 0xD789, Hi: 0xD7A3, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_Prepend = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x600, Hi: 0x605, Stride: 1}, + {Lo: 0x6DD, Hi: 0x6DD, Stride: 1}, + {Lo: 0x70F, Hi: 0x70F, Stride: 1}, + {Lo: 0x890, Hi: 0x891, Stride: 1}, + {Lo: 0x8E2, Hi: 0x8E2, Stride: 1}, + {Lo: 0xD4E, Hi: 0xD4E, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x110BD, Hi: 0x110BD, Stride: 1}, + {Lo: 0x110CD, Hi: 0x110CD, Stride: 1}, + {Lo: 0x111C2, Hi: 0x111C3, Stride: 1}, + {Lo: 0x113D1, Hi: 0x113D1, Stride: 1}, + {Lo: 0x1193F, Hi: 0x1193F, Stride: 1}, + {Lo: 0x11941, Hi: 0x11941, Stride: 1}, + {Lo: 0x11A84, Hi: 0x11A89, Stride: 1}, + {Lo: 0x11D46, Hi: 0x11D46, Stride: 1}, + {Lo: 0x11F02, Hi: 0x11F02, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_Regional_Indicator = &unicode.RangeTable{ + R32: []unicode.Range32{ + {Lo: 0x1F1E6, Hi: 0x1F1FF, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_SpacingMark = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x903, Hi: 0x903, Stride: 1}, + {Lo: 0x93B, Hi: 0x93B, Stride: 1}, + {Lo: 0x93E, Hi: 0x940, Stride: 1}, + {Lo: 0x949, Hi: 0x94C, Stride: 1}, + {Lo: 0x94E, Hi: 0x94F, Stride: 1}, + {Lo: 0x982, Hi: 0x983, Stride: 1}, + {Lo: 0x9BF, Hi: 0x9C0, Stride: 1}, + {Lo: 0x9C7, Hi: 0x9C8, Stride: 1}, + {Lo: 0x9CB, Hi: 0x9CC, Stride: 1}, + {Lo: 0xA03, Hi: 0xA03, Stride: 1}, + {Lo: 0xA3E, Hi: 0xA40, Stride: 1}, + {Lo: 0xA83, Hi: 0xA83, Stride: 1}, + {Lo: 0xABE, Hi: 0xAC0, Stride: 1}, + {Lo: 0xAC9, Hi: 0xAC9, Stride: 1}, + {Lo: 0xACB, Hi: 0xACC, Stride: 1}, + {Lo: 0xB02, Hi: 0xB03, Stride: 1}, + {Lo: 0xB40, Hi: 0xB40, Stride: 1}, + {Lo: 0xB47, Hi: 0xB48, Stride: 1}, + {Lo: 0xB4B, Hi: 0xB4C, Stride: 1}, + {Lo: 0xBBF, Hi: 0xBBF, Stride: 1}, + {Lo: 0xBC1, Hi: 0xBC2, Stride: 1}, + {Lo: 0xBC6, Hi: 0xBC8, Stride: 1}, + {Lo: 0xBCA, Hi: 0xBCC, Stride: 1}, + {Lo: 0xC01, Hi: 0xC03, Stride: 1}, + {Lo: 0xC41, Hi: 0xC44, Stride: 1}, + {Lo: 0xC82, Hi: 0xC83, Stride: 1}, + {Lo: 0xCBE, Hi: 0xCBE, Stride: 1}, + {Lo: 0xCC1, Hi: 0xCC1, Stride: 1}, + {Lo: 0xCC3, Hi: 0xCC4, Stride: 1}, + {Lo: 0xCF3, Hi: 0xCF3, Stride: 1}, + {Lo: 0xD02, Hi: 0xD03, Stride: 1}, + {Lo: 0xD3F, Hi: 0xD40, Stride: 1}, + {Lo: 0xD46, Hi: 0xD48, Stride: 1}, + {Lo: 0xD4A, Hi: 0xD4C, Stride: 1}, + {Lo: 0xD82, Hi: 0xD83, Stride: 1}, + {Lo: 0xDD0, Hi: 0xDD1, Stride: 1}, + {Lo: 0xDD8, Hi: 0xDDE, Stride: 1}, + {Lo: 0xDF2, Hi: 0xDF3, Stride: 1}, + {Lo: 0xE33, Hi: 0xE33, Stride: 1}, + {Lo: 0xEB3, Hi: 0xEB3, Stride: 1}, + {Lo: 0xF3E, Hi: 0xF3F, Stride: 1}, + {Lo: 0xF7F, Hi: 0xF7F, Stride: 1}, + {Lo: 0x1031, Hi: 0x1031, Stride: 1}, + {Lo: 0x103B, Hi: 0x103C, Stride: 1}, + {Lo: 0x1056, Hi: 0x1057, Stride: 1}, + {Lo: 0x1084, Hi: 0x1084, Stride: 1}, + {Lo: 0x17B6, Hi: 0x17B6, Stride: 1}, + {Lo: 0x17BE, Hi: 0x17C5, Stride: 1}, + {Lo: 0x17C7, Hi: 0x17C8, Stride: 1}, + {Lo: 0x1923, Hi: 0x1926, Stride: 1}, + {Lo: 0x1929, Hi: 0x192B, Stride: 1}, + {Lo: 0x1930, Hi: 0x1931, Stride: 1}, + {Lo: 0x1933, Hi: 0x1938, Stride: 1}, + {Lo: 0x1A19, Hi: 0x1A1A, Stride: 1}, + {Lo: 0x1A55, Hi: 0x1A55, Stride: 1}, + {Lo: 0x1A57, Hi: 0x1A57, Stride: 1}, + {Lo: 0x1A6D, Hi: 0x1A72, Stride: 1}, + {Lo: 0x1B04, Hi: 0x1B04, Stride: 1}, + {Lo: 0x1B3E, Hi: 0x1B41, Stride: 1}, + {Lo: 0x1B82, Hi: 0x1B82, Stride: 1}, + {Lo: 0x1BA1, Hi: 0x1BA1, Stride: 1}, + {Lo: 0x1BA6, Hi: 0x1BA7, Stride: 1}, + {Lo: 0x1BE7, Hi: 0x1BE7, Stride: 1}, + {Lo: 0x1BEA, Hi: 0x1BEC, Stride: 1}, + {Lo: 0x1BEE, Hi: 0x1BEE, Stride: 1}, + {Lo: 0x1C24, Hi: 0x1C2B, Stride: 1}, + {Lo: 0x1C34, Hi: 0x1C35, Stride: 1}, + {Lo: 0x1CE1, Hi: 0x1CE1, Stride: 1}, + {Lo: 0x1CF7, Hi: 0x1CF7, Stride: 1}, + {Lo: 0xA823, Hi: 0xA824, Stride: 1}, + {Lo: 0xA827, Hi: 0xA827, Stride: 1}, + {Lo: 0xA880, Hi: 0xA881, Stride: 1}, + {Lo: 0xA8B4, Hi: 0xA8C3, Stride: 1}, + {Lo: 0xA952, Hi: 0xA952, Stride: 1}, + {Lo: 0xA983, Hi: 0xA983, Stride: 1}, + {Lo: 0xA9B4, Hi: 0xA9B5, Stride: 1}, + {Lo: 0xA9BA, Hi: 0xA9BB, Stride: 1}, + {Lo: 0xA9BE, Hi: 0xA9BF, Stride: 1}, + {Lo: 0xAA2F, Hi: 0xAA30, Stride: 1}, + {Lo: 0xAA33, Hi: 0xAA34, Stride: 1}, + {Lo: 0xAA4D, Hi: 0xAA4D, Stride: 1}, + {Lo: 0xAAEB, Hi: 0xAAEB, Stride: 1}, + {Lo: 0xAAEE, Hi: 0xAAEF, Stride: 1}, + {Lo: 0xAAF5, Hi: 0xAAF5, Stride: 1}, + {Lo: 0xABE3, Hi: 0xABE4, Stride: 1}, + {Lo: 0xABE6, Hi: 0xABE7, Stride: 1}, + {Lo: 0xABE9, Hi: 0xABEA, Stride: 1}, + {Lo: 0xABEC, Hi: 0xABEC, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x11000, Hi: 0x11000, Stride: 1}, + {Lo: 0x11002, Hi: 0x11002, Stride: 1}, + {Lo: 0x11082, Hi: 0x11082, Stride: 1}, + {Lo: 0x110B0, Hi: 0x110B2, Stride: 1}, + {Lo: 0x110B7, Hi: 0x110B8, Stride: 1}, + {Lo: 0x1112C, Hi: 0x1112C, Stride: 1}, + {Lo: 0x11145, Hi: 0x11146, Stride: 1}, + {Lo: 0x11182, Hi: 0x11182, Stride: 1}, + {Lo: 0x111B3, Hi: 0x111B5, Stride: 1}, + {Lo: 0x111BF, Hi: 0x111BF, Stride: 1}, + {Lo: 0x111CE, Hi: 0x111CE, Stride: 1}, + {Lo: 0x1122C, Hi: 0x1122E, Stride: 1}, + {Lo: 0x11232, Hi: 0x11233, Stride: 1}, + {Lo: 0x112E0, Hi: 0x112E2, Stride: 1}, + {Lo: 0x11302, Hi: 0x11303, Stride: 1}, + {Lo: 0x1133F, Hi: 0x1133F, Stride: 1}, + {Lo: 0x11341, Hi: 0x11344, Stride: 1}, + {Lo: 0x11347, Hi: 0x11348, Stride: 1}, + {Lo: 0x1134B, Hi: 0x1134C, Stride: 1}, + {Lo: 0x11362, Hi: 0x11363, Stride: 1}, + {Lo: 0x113B9, Hi: 0x113BA, Stride: 1}, + {Lo: 0x113CA, Hi: 0x113CA, Stride: 1}, + {Lo: 0x113CC, Hi: 0x113CD, Stride: 1}, + {Lo: 0x11435, Hi: 0x11437, Stride: 1}, + {Lo: 0x11440, Hi: 0x11441, Stride: 1}, + {Lo: 0x11445, Hi: 0x11445, Stride: 1}, + {Lo: 0x114B1, Hi: 0x114B2, Stride: 1}, + {Lo: 0x114B9, Hi: 0x114B9, Stride: 1}, + {Lo: 0x114BB, Hi: 0x114BC, Stride: 1}, + {Lo: 0x114BE, Hi: 0x114BE, Stride: 1}, + {Lo: 0x114C1, Hi: 0x114C1, Stride: 1}, + {Lo: 0x115B0, Hi: 0x115B1, Stride: 1}, + {Lo: 0x115B8, Hi: 0x115BB, Stride: 1}, + {Lo: 0x115BE, Hi: 0x115BE, Stride: 1}, + {Lo: 0x11630, Hi: 0x11632, Stride: 1}, + {Lo: 0x1163B, Hi: 0x1163C, Stride: 1}, + {Lo: 0x1163E, Hi: 0x1163E, Stride: 1}, + {Lo: 0x116AC, Hi: 0x116AC, Stride: 1}, + {Lo: 0x116AE, Hi: 0x116AF, Stride: 1}, + {Lo: 0x1171E, Hi: 0x1171E, Stride: 1}, + {Lo: 0x11726, Hi: 0x11726, Stride: 1}, + {Lo: 0x1182C, Hi: 0x1182E, Stride: 1}, + {Lo: 0x11838, Hi: 0x11838, Stride: 1}, + {Lo: 0x11931, Hi: 0x11935, Stride: 1}, + {Lo: 0x11937, Hi: 0x11938, Stride: 1}, + {Lo: 0x11940, Hi: 0x11940, Stride: 1}, + {Lo: 0x11942, Hi: 0x11942, Stride: 1}, + {Lo: 0x119D1, Hi: 0x119D3, Stride: 1}, + {Lo: 0x119DC, Hi: 0x119DF, Stride: 1}, + {Lo: 0x119E4, Hi: 0x119E4, Stride: 1}, + {Lo: 0x11A39, Hi: 0x11A39, Stride: 1}, + {Lo: 0x11A57, Hi: 0x11A58, Stride: 1}, + {Lo: 0x11A97, Hi: 0x11A97, Stride: 1}, + {Lo: 0x11B61, Hi: 0x11B61, Stride: 1}, + {Lo: 0x11B65, Hi: 0x11B65, Stride: 1}, + {Lo: 0x11B67, Hi: 0x11B67, Stride: 1}, + {Lo: 0x11C2F, Hi: 0x11C2F, Stride: 1}, + {Lo: 0x11C3E, Hi: 0x11C3E, Stride: 1}, + {Lo: 0x11CA9, Hi: 0x11CA9, Stride: 1}, + {Lo: 0x11CB1, Hi: 0x11CB1, Stride: 1}, + {Lo: 0x11CB4, Hi: 0x11CB4, Stride: 1}, + {Lo: 0x11D8A, Hi: 0x11D8E, Stride: 1}, + {Lo: 0x11D93, Hi: 0x11D94, Stride: 1}, + {Lo: 0x11D96, Hi: 0x11D96, Stride: 1}, + {Lo: 0x11EF5, Hi: 0x11EF6, Stride: 1}, + {Lo: 0x11F03, Hi: 0x11F03, Stride: 1}, + {Lo: 0x11F34, Hi: 0x11F35, Stride: 1}, + {Lo: 0x11F3E, Hi: 0x11F3F, Stride: 1}, + {Lo: 0x1612A, Hi: 0x1612C, Stride: 1}, + {Lo: 0x16F51, Hi: 0x16F87, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_T = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x11A8, Hi: 0x11FF, Stride: 1}, + {Lo: 0xD7CB, Hi: 0xD7FB, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_V = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x1160, Hi: 0x11A7, Stride: 1}, + {Lo: 0xD7B0, Hi: 0xD7C6, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x16D63, Hi: 0x16D63, Stride: 1}, + {Lo: 0x16D67, Hi: 0x16D6A, Stride: 1}, + }, +} + +var unicodeAliasGrapheme_Cluster_Break_ZWJ = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x200D, Hi: 0x200D, Stride: 1}, + }, +} + +var unicodeAliasMath = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x2B, Hi: 0x2B, Stride: 1}, + {Lo: 0x3C, Hi: 0x3E, Stride: 1}, + {Lo: 0x5E, Hi: 0x5E, Stride: 1}, + {Lo: 0x7C, Hi: 0x7C, Stride: 1}, + {Lo: 0x7E, Hi: 0x7E, Stride: 1}, + {Lo: 0xAC, Hi: 0xAC, Stride: 1}, + {Lo: 0xB1, Hi: 0xB1, Stride: 1}, + {Lo: 0xD7, Hi: 0xD7, Stride: 1}, + {Lo: 0xF7, Hi: 0xF7, Stride: 1}, + {Lo: 0x3D0, Hi: 0x3D2, Stride: 1}, + {Lo: 0x3D5, Hi: 0x3D5, Stride: 1}, + {Lo: 0x3F0, Hi: 0x3F1, Stride: 1}, + {Lo: 0x3F4, Hi: 0x3F6, Stride: 1}, + {Lo: 0x606, Hi: 0x608, Stride: 1}, + {Lo: 0x2016, Hi: 0x2016, Stride: 1}, + {Lo: 0x2032, Hi: 0x2034, Stride: 1}, + {Lo: 0x2040, Hi: 0x2040, Stride: 1}, + {Lo: 0x2044, Hi: 0x2044, Stride: 1}, + {Lo: 0x2052, Hi: 0x2052, Stride: 1}, + {Lo: 0x2061, Hi: 0x2064, Stride: 1}, + {Lo: 0x207A, Hi: 0x207E, Stride: 1}, + {Lo: 0x208A, Hi: 0x208E, Stride: 1}, + {Lo: 0x20D0, Hi: 0x20DC, Stride: 1}, + {Lo: 0x20E1, Hi: 0x20E1, Stride: 1}, + {Lo: 0x20E5, Hi: 0x20E6, Stride: 1}, + {Lo: 0x20EB, Hi: 0x20EF, Stride: 1}, + {Lo: 0x2102, Hi: 0x2102, Stride: 1}, + {Lo: 0x2107, Hi: 0x2107, Stride: 1}, + {Lo: 0x210A, Hi: 0x2113, Stride: 1}, + {Lo: 0x2115, Hi: 0x2115, Stride: 1}, + {Lo: 0x2118, Hi: 0x211D, Stride: 1}, + {Lo: 0x2124, Hi: 0x2124, Stride: 1}, + {Lo: 0x2128, Hi: 0x2129, Stride: 1}, + {Lo: 0x212C, Hi: 0x212D, Stride: 1}, + {Lo: 0x212F, Hi: 0x2131, Stride: 1}, + {Lo: 0x2133, Hi: 0x2138, Stride: 1}, + {Lo: 0x213C, Hi: 0x2149, Stride: 1}, + {Lo: 0x214B, Hi: 0x214B, Stride: 1}, + {Lo: 0x2190, Hi: 0x21A7, Stride: 1}, + {Lo: 0x21A9, Hi: 0x21AE, Stride: 1}, + {Lo: 0x21B0, Hi: 0x21B1, Stride: 1}, + {Lo: 0x21B6, Hi: 0x21B7, Stride: 1}, + {Lo: 0x21BC, Hi: 0x21DB, Stride: 1}, + {Lo: 0x21DD, Hi: 0x21DD, Stride: 1}, + {Lo: 0x21E4, Hi: 0x21E5, Stride: 1}, + {Lo: 0x21F4, Hi: 0x22FF, Stride: 1}, + {Lo: 0x2308, Hi: 0x230B, Stride: 1}, + {Lo: 0x2320, Hi: 0x2321, Stride: 1}, + {Lo: 0x237C, Hi: 0x237C, Stride: 1}, + {Lo: 0x239B, Hi: 0x23B5, Stride: 1}, + {Lo: 0x23B7, Hi: 0x23B7, Stride: 1}, + {Lo: 0x23D0, Hi: 0x23D0, Stride: 1}, + {Lo: 0x23DC, Hi: 0x23E2, Stride: 1}, + {Lo: 0x25A0, Hi: 0x25A1, Stride: 1}, + {Lo: 0x25AE, Hi: 0x25B7, Stride: 1}, + {Lo: 0x25BC, Hi: 0x25C1, Stride: 1}, + {Lo: 0x25C6, Hi: 0x25C7, Stride: 1}, + {Lo: 0x25CA, Hi: 0x25CB, Stride: 1}, + {Lo: 0x25CF, Hi: 0x25D3, Stride: 1}, + {Lo: 0x25E2, Hi: 0x25E2, Stride: 1}, + {Lo: 0x25E4, Hi: 0x25E4, Stride: 1}, + {Lo: 0x25E7, Hi: 0x25EC, Stride: 1}, + {Lo: 0x25F8, Hi: 0x25FF, Stride: 1}, + {Lo: 0x2605, Hi: 0x2606, Stride: 1}, + {Lo: 0x2640, Hi: 0x2640, Stride: 1}, + {Lo: 0x2642, Hi: 0x2642, Stride: 1}, + {Lo: 0x2660, Hi: 0x2663, Stride: 1}, + {Lo: 0x266D, Hi: 0x266F, Stride: 1}, + {Lo: 0x27C0, Hi: 0x27FF, Stride: 1}, + {Lo: 0x2900, Hi: 0x2AFF, Stride: 1}, + {Lo: 0x2B30, Hi: 0x2B44, Stride: 1}, + {Lo: 0x2B47, Hi: 0x2B4C, Stride: 1}, + {Lo: 0xFB29, Hi: 0xFB29, Stride: 1}, + {Lo: 0xFE61, Hi: 0xFE66, Stride: 1}, + {Lo: 0xFE68, Hi: 0xFE68, Stride: 1}, + {Lo: 0xFF0B, Hi: 0xFF0B, Stride: 1}, + {Lo: 0xFF1C, Hi: 0xFF1E, Stride: 1}, + {Lo: 0xFF3C, Hi: 0xFF3C, Stride: 1}, + {Lo: 0xFF3E, Hi: 0xFF3E, Stride: 1}, + {Lo: 0xFF5C, Hi: 0xFF5C, Stride: 1}, + {Lo: 0xFF5E, Hi: 0xFF5E, Stride: 1}, + {Lo: 0xFFE2, Hi: 0xFFE2, Stride: 1}, + {Lo: 0xFFE9, Hi: 0xFFEC, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x10D8E, Hi: 0x10D8F, Stride: 1}, + {Lo: 0x1CEF0, Hi: 0x1CEF0, Stride: 1}, + {Lo: 0x1D400, Hi: 0x1D454, Stride: 1}, + {Lo: 0x1D456, Hi: 0x1D49C, Stride: 1}, + {Lo: 0x1D49E, Hi: 0x1D49F, Stride: 1}, + {Lo: 0x1D4A2, Hi: 0x1D4A2, Stride: 1}, + {Lo: 0x1D4A5, Hi: 0x1D4A6, Stride: 1}, + {Lo: 0x1D4A9, Hi: 0x1D4AC, Stride: 1}, + {Lo: 0x1D4AE, Hi: 0x1D4B9, Stride: 1}, + {Lo: 0x1D4BB, Hi: 0x1D4BB, Stride: 1}, + {Lo: 0x1D4BD, Hi: 0x1D4C3, Stride: 1}, + {Lo: 0x1D4C5, Hi: 0x1D505, Stride: 1}, + {Lo: 0x1D507, Hi: 0x1D50A, Stride: 1}, + {Lo: 0x1D50D, Hi: 0x1D514, Stride: 1}, + {Lo: 0x1D516, Hi: 0x1D51C, Stride: 1}, + {Lo: 0x1D51E, Hi: 0x1D539, Stride: 1}, + {Lo: 0x1D53B, Hi: 0x1D53E, Stride: 1}, + {Lo: 0x1D540, Hi: 0x1D544, Stride: 1}, + {Lo: 0x1D546, Hi: 0x1D546, Stride: 1}, + {Lo: 0x1D54A, Hi: 0x1D550, Stride: 1}, + {Lo: 0x1D552, Hi: 0x1D6A5, Stride: 1}, + {Lo: 0x1D6A8, Hi: 0x1D7CB, Stride: 1}, + {Lo: 0x1D7CE, Hi: 0x1D7FF, Stride: 1}, + {Lo: 0x1EE00, Hi: 0x1EE03, Stride: 1}, + {Lo: 0x1EE05, Hi: 0x1EE1F, Stride: 1}, + {Lo: 0x1EE21, Hi: 0x1EE22, Stride: 1}, + {Lo: 0x1EE24, Hi: 0x1EE24, Stride: 1}, + {Lo: 0x1EE27, Hi: 0x1EE27, Stride: 1}, + {Lo: 0x1EE29, Hi: 0x1EE32, Stride: 1}, + {Lo: 0x1EE34, Hi: 0x1EE37, Stride: 1}, + {Lo: 0x1EE39, Hi: 0x1EE39, Stride: 1}, + {Lo: 0x1EE3B, Hi: 0x1EE3B, Stride: 1}, + {Lo: 0x1EE42, Hi: 0x1EE42, Stride: 1}, + {Lo: 0x1EE47, Hi: 0x1EE47, Stride: 1}, + {Lo: 0x1EE49, Hi: 0x1EE49, Stride: 1}, + {Lo: 0x1EE4B, Hi: 0x1EE4B, Stride: 1}, + {Lo: 0x1EE4D, Hi: 0x1EE4F, Stride: 1}, + {Lo: 0x1EE51, Hi: 0x1EE52, Stride: 1}, + {Lo: 0x1EE54, Hi: 0x1EE54, Stride: 1}, + {Lo: 0x1EE57, Hi: 0x1EE57, Stride: 1}, + {Lo: 0x1EE59, Hi: 0x1EE59, Stride: 1}, + {Lo: 0x1EE5B, Hi: 0x1EE5B, Stride: 1}, + {Lo: 0x1EE5D, Hi: 0x1EE5D, Stride: 1}, + {Lo: 0x1EE5F, Hi: 0x1EE5F, Stride: 1}, + {Lo: 0x1EE61, Hi: 0x1EE62, Stride: 1}, + {Lo: 0x1EE64, Hi: 0x1EE64, Stride: 1}, + {Lo: 0x1EE67, Hi: 0x1EE6A, Stride: 1}, + {Lo: 0x1EE6C, Hi: 0x1EE72, Stride: 1}, + {Lo: 0x1EE74, Hi: 0x1EE77, Stride: 1}, + {Lo: 0x1EE79, Hi: 0x1EE7C, Stride: 1}, + {Lo: 0x1EE7E, Hi: 0x1EE7E, Stride: 1}, + {Lo: 0x1EE80, Hi: 0x1EE89, Stride: 1}, + {Lo: 0x1EE8B, Hi: 0x1EE9B, Stride: 1}, + {Lo: 0x1EEA1, Hi: 0x1EEA3, Stride: 1}, + {Lo: 0x1EEA5, Hi: 0x1EEA9, Stride: 1}, + {Lo: 0x1EEAB, Hi: 0x1EEBB, Stride: 1}, + {Lo: 0x1EEF0, Hi: 0x1EEF1, Stride: 1}, + {Lo: 0x1F8D0, Hi: 0x1F8D8, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_ATerm = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x2E, Hi: 0x2E, Stride: 1}, + {Lo: 0x2024, Hi: 0x2024, Stride: 1}, + {Lo: 0xFE52, Hi: 0xFE52, Stride: 1}, + {Lo: 0xFF0E, Hi: 0xFF0E, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_CR = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xD, Hi: 0xD, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Close = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x22, Hi: 0x22, Stride: 1}, + {Lo: 0x27, Hi: 0x29, Stride: 1}, + {Lo: 0x5B, Hi: 0x5B, Stride: 1}, + {Lo: 0x5D, Hi: 0x5D, Stride: 1}, + {Lo: 0x7B, Hi: 0x7B, Stride: 1}, + {Lo: 0x7D, Hi: 0x7D, Stride: 1}, + {Lo: 0xAB, Hi: 0xAB, Stride: 1}, + {Lo: 0xBB, Hi: 0xBB, Stride: 1}, + {Lo: 0xF3A, Hi: 0xF3D, Stride: 1}, + {Lo: 0x169B, Hi: 0x169C, Stride: 1}, + {Lo: 0x2018, Hi: 0x201F, Stride: 1}, + {Lo: 0x2039, Hi: 0x203A, Stride: 1}, + {Lo: 0x2045, Hi: 0x2046, Stride: 1}, + {Lo: 0x207D, Hi: 0x207E, Stride: 1}, + {Lo: 0x208D, Hi: 0x208E, Stride: 1}, + {Lo: 0x2308, Hi: 0x230B, Stride: 1}, + {Lo: 0x2329, Hi: 0x232A, Stride: 1}, + {Lo: 0x275B, Hi: 0x2760, Stride: 1}, + {Lo: 0x2768, Hi: 0x2775, Stride: 1}, + {Lo: 0x27C5, Hi: 0x27C6, Stride: 1}, + {Lo: 0x27E6, Hi: 0x27EF, Stride: 1}, + {Lo: 0x2983, Hi: 0x2998, Stride: 1}, + {Lo: 0x29D8, Hi: 0x29DB, Stride: 1}, + {Lo: 0x29FC, Hi: 0x29FD, Stride: 1}, + {Lo: 0x2E00, Hi: 0x2E0D, Stride: 1}, + {Lo: 0x2E1C, Hi: 0x2E1D, Stride: 1}, + {Lo: 0x2E20, Hi: 0x2E29, Stride: 1}, + {Lo: 0x2E42, Hi: 0x2E42, Stride: 1}, + {Lo: 0x2E55, Hi: 0x2E5C, Stride: 1}, + {Lo: 0x3008, Hi: 0x3011, Stride: 1}, + {Lo: 0x3014, Hi: 0x301B, Stride: 1}, + {Lo: 0x301D, Hi: 0x301F, Stride: 1}, + {Lo: 0xFD3E, Hi: 0xFD3F, Stride: 1}, + {Lo: 0xFE17, Hi: 0xFE18, Stride: 1}, + {Lo: 0xFE35, Hi: 0xFE44, Stride: 1}, + {Lo: 0xFE47, Hi: 0xFE48, Stride: 1}, + {Lo: 0xFE59, Hi: 0xFE5E, Stride: 1}, + {Lo: 0xFF08, Hi: 0xFF09, Stride: 1}, + {Lo: 0xFF3B, Hi: 0xFF3B, Stride: 1}, + {Lo: 0xFF3D, Hi: 0xFF3D, Stride: 1}, + {Lo: 0xFF5B, Hi: 0xFF5B, Stride: 1}, + {Lo: 0xFF5D, Hi: 0xFF5D, Stride: 1}, + {Lo: 0xFF5F, Hi: 0xFF60, Stride: 1}, + {Lo: 0xFF62, Hi: 0xFF63, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1F676, Hi: 0x1F678, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Extend = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x300, Hi: 0x36F, Stride: 1}, + {Lo: 0x483, Hi: 0x489, Stride: 1}, + {Lo: 0x591, Hi: 0x5BD, Stride: 1}, + {Lo: 0x5BF, Hi: 0x5BF, Stride: 1}, + {Lo: 0x5C1, Hi: 0x5C2, Stride: 1}, + {Lo: 0x5C4, Hi: 0x5C5, Stride: 1}, + {Lo: 0x5C7, Hi: 0x5C7, Stride: 1}, + {Lo: 0x610, Hi: 0x61A, Stride: 1}, + {Lo: 0x64B, Hi: 0x65F, Stride: 1}, + {Lo: 0x670, Hi: 0x670, Stride: 1}, + {Lo: 0x6D6, Hi: 0x6DC, Stride: 1}, + {Lo: 0x6DF, Hi: 0x6E4, Stride: 1}, + {Lo: 0x6E7, Hi: 0x6E8, Stride: 1}, + {Lo: 0x6EA, Hi: 0x6ED, Stride: 1}, + {Lo: 0x711, Hi: 0x711, Stride: 1}, + {Lo: 0x730, Hi: 0x74A, Stride: 1}, + {Lo: 0x7A6, Hi: 0x7B0, Stride: 1}, + {Lo: 0x7EB, Hi: 0x7F3, Stride: 1}, + {Lo: 0x7FD, Hi: 0x7FD, Stride: 1}, + {Lo: 0x816, Hi: 0x819, Stride: 1}, + {Lo: 0x81B, Hi: 0x823, Stride: 1}, + {Lo: 0x825, Hi: 0x827, Stride: 1}, + {Lo: 0x829, Hi: 0x82D, Stride: 1}, + {Lo: 0x859, Hi: 0x85B, Stride: 1}, + {Lo: 0x897, Hi: 0x89F, Stride: 1}, + {Lo: 0x8CA, Hi: 0x8E1, Stride: 1}, + {Lo: 0x8E3, Hi: 0x903, Stride: 1}, + {Lo: 0x93A, Hi: 0x93C, Stride: 1}, + {Lo: 0x93E, Hi: 0x94F, Stride: 1}, + {Lo: 0x951, Hi: 0x957, Stride: 1}, + {Lo: 0x962, Hi: 0x963, Stride: 1}, + {Lo: 0x981, Hi: 0x983, Stride: 1}, + {Lo: 0x9BC, Hi: 0x9BC, Stride: 1}, + {Lo: 0x9BE, Hi: 0x9C4, Stride: 1}, + {Lo: 0x9C7, Hi: 0x9C8, Stride: 1}, + {Lo: 0x9CB, Hi: 0x9CD, Stride: 1}, + {Lo: 0x9D7, Hi: 0x9D7, Stride: 1}, + {Lo: 0x9E2, Hi: 0x9E3, Stride: 1}, + {Lo: 0x9FE, Hi: 0x9FE, Stride: 1}, + {Lo: 0xA01, Hi: 0xA03, Stride: 1}, + {Lo: 0xA3C, Hi: 0xA3C, Stride: 1}, + {Lo: 0xA3E, Hi: 0xA42, Stride: 1}, + {Lo: 0xA47, Hi: 0xA48, Stride: 1}, + {Lo: 0xA4B, Hi: 0xA4D, Stride: 1}, + {Lo: 0xA51, Hi: 0xA51, Stride: 1}, + {Lo: 0xA70, Hi: 0xA71, Stride: 1}, + {Lo: 0xA75, Hi: 0xA75, Stride: 1}, + {Lo: 0xA81, Hi: 0xA83, Stride: 1}, + {Lo: 0xABC, Hi: 0xABC, Stride: 1}, + {Lo: 0xABE, Hi: 0xAC5, Stride: 1}, + {Lo: 0xAC7, Hi: 0xAC9, Stride: 1}, + {Lo: 0xACB, Hi: 0xACD, Stride: 1}, + {Lo: 0xAE2, Hi: 0xAE3, Stride: 1}, + {Lo: 0xAFA, Hi: 0xAFF, Stride: 1}, + {Lo: 0xB01, Hi: 0xB03, Stride: 1}, + {Lo: 0xB3C, Hi: 0xB3C, Stride: 1}, + {Lo: 0xB3E, Hi: 0xB44, Stride: 1}, + {Lo: 0xB47, Hi: 0xB48, Stride: 1}, + {Lo: 0xB4B, Hi: 0xB4D, Stride: 1}, + {Lo: 0xB55, Hi: 0xB57, Stride: 1}, + {Lo: 0xB62, Hi: 0xB63, Stride: 1}, + {Lo: 0xB82, Hi: 0xB82, Stride: 1}, + {Lo: 0xBBE, Hi: 0xBC2, Stride: 1}, + {Lo: 0xBC6, Hi: 0xBC8, Stride: 1}, + {Lo: 0xBCA, Hi: 0xBCD, Stride: 1}, + {Lo: 0xBD7, Hi: 0xBD7, Stride: 1}, + {Lo: 0xC00, Hi: 0xC04, Stride: 1}, + {Lo: 0xC3C, Hi: 0xC3C, Stride: 1}, + {Lo: 0xC3E, Hi: 0xC44, Stride: 1}, + {Lo: 0xC46, Hi: 0xC48, Stride: 1}, + {Lo: 0xC4A, Hi: 0xC4D, Stride: 1}, + {Lo: 0xC55, Hi: 0xC56, Stride: 1}, + {Lo: 0xC62, Hi: 0xC63, Stride: 1}, + {Lo: 0xC81, Hi: 0xC83, Stride: 1}, + {Lo: 0xCBC, Hi: 0xCBC, Stride: 1}, + {Lo: 0xCBE, Hi: 0xCC4, Stride: 1}, + {Lo: 0xCC6, Hi: 0xCC8, Stride: 1}, + {Lo: 0xCCA, Hi: 0xCCD, Stride: 1}, + {Lo: 0xCD5, Hi: 0xCD6, Stride: 1}, + {Lo: 0xCE2, Hi: 0xCE3, Stride: 1}, + {Lo: 0xCF3, Hi: 0xCF3, Stride: 1}, + {Lo: 0xD00, Hi: 0xD03, Stride: 1}, + {Lo: 0xD3B, Hi: 0xD3C, Stride: 1}, + {Lo: 0xD3E, Hi: 0xD44, Stride: 1}, + {Lo: 0xD46, Hi: 0xD48, Stride: 1}, + {Lo: 0xD4A, Hi: 0xD4D, Stride: 1}, + {Lo: 0xD57, Hi: 0xD57, Stride: 1}, + {Lo: 0xD62, Hi: 0xD63, Stride: 1}, + {Lo: 0xD81, Hi: 0xD83, Stride: 1}, + {Lo: 0xDCA, Hi: 0xDCA, Stride: 1}, + {Lo: 0xDCF, Hi: 0xDD4, Stride: 1}, + {Lo: 0xDD6, Hi: 0xDD6, Stride: 1}, + {Lo: 0xDD8, Hi: 0xDDF, Stride: 1}, + {Lo: 0xDF2, Hi: 0xDF3, Stride: 1}, + {Lo: 0xE31, Hi: 0xE31, Stride: 1}, + {Lo: 0xE34, Hi: 0xE3A, Stride: 1}, + {Lo: 0xE47, Hi: 0xE4E, Stride: 1}, + {Lo: 0xEB1, Hi: 0xEB1, Stride: 1}, + {Lo: 0xEB4, Hi: 0xEBC, Stride: 1}, + {Lo: 0xEC8, Hi: 0xECE, Stride: 1}, + {Lo: 0xF18, Hi: 0xF19, Stride: 1}, + {Lo: 0xF35, Hi: 0xF35, Stride: 1}, + {Lo: 0xF37, Hi: 0xF37, Stride: 1}, + {Lo: 0xF39, Hi: 0xF39, Stride: 1}, + {Lo: 0xF3E, Hi: 0xF3F, Stride: 1}, + {Lo: 0xF71, Hi: 0xF84, Stride: 1}, + {Lo: 0xF86, Hi: 0xF87, Stride: 1}, + {Lo: 0xF8D, Hi: 0xF97, Stride: 1}, + {Lo: 0xF99, Hi: 0xFBC, Stride: 1}, + {Lo: 0xFC6, Hi: 0xFC6, Stride: 1}, + {Lo: 0x102B, Hi: 0x103E, Stride: 1}, + {Lo: 0x1056, Hi: 0x1059, Stride: 1}, + {Lo: 0x105E, Hi: 0x1060, Stride: 1}, + {Lo: 0x1062, Hi: 0x1064, Stride: 1}, + {Lo: 0x1067, Hi: 0x106D, Stride: 1}, + {Lo: 0x1071, Hi: 0x1074, Stride: 1}, + {Lo: 0x1082, Hi: 0x108D, Stride: 1}, + {Lo: 0x108F, Hi: 0x108F, Stride: 1}, + {Lo: 0x109A, Hi: 0x109D, Stride: 1}, + {Lo: 0x135D, Hi: 0x135F, Stride: 1}, + {Lo: 0x1712, Hi: 0x1715, Stride: 1}, + {Lo: 0x1732, Hi: 0x1734, Stride: 1}, + {Lo: 0x1752, Hi: 0x1753, Stride: 1}, + {Lo: 0x1772, Hi: 0x1773, Stride: 1}, + {Lo: 0x17B4, Hi: 0x17D3, Stride: 1}, + {Lo: 0x17DD, Hi: 0x17DD, Stride: 1}, + {Lo: 0x180B, Hi: 0x180D, Stride: 1}, + {Lo: 0x180F, Hi: 0x180F, Stride: 1}, + {Lo: 0x1885, Hi: 0x1886, Stride: 1}, + {Lo: 0x18A9, Hi: 0x18A9, Stride: 1}, + {Lo: 0x1920, Hi: 0x192B, Stride: 1}, + {Lo: 0x1930, Hi: 0x193B, Stride: 1}, + {Lo: 0x1A17, Hi: 0x1A1B, Stride: 1}, + {Lo: 0x1A55, Hi: 0x1A5E, Stride: 1}, + {Lo: 0x1A60, Hi: 0x1A7C, Stride: 1}, + {Lo: 0x1A7F, Hi: 0x1A7F, Stride: 1}, + {Lo: 0x1AB0, Hi: 0x1ADD, Stride: 1}, + {Lo: 0x1AE0, Hi: 0x1AEB, Stride: 1}, + {Lo: 0x1B00, Hi: 0x1B04, Stride: 1}, + {Lo: 0x1B34, Hi: 0x1B44, Stride: 1}, + {Lo: 0x1B6B, Hi: 0x1B73, Stride: 1}, + {Lo: 0x1B80, Hi: 0x1B82, Stride: 1}, + {Lo: 0x1BA1, Hi: 0x1BAD, Stride: 1}, + {Lo: 0x1BE6, Hi: 0x1BF3, Stride: 1}, + {Lo: 0x1C24, Hi: 0x1C37, Stride: 1}, + {Lo: 0x1CD0, Hi: 0x1CD2, Stride: 1}, + {Lo: 0x1CD4, Hi: 0x1CE8, Stride: 1}, + {Lo: 0x1CED, Hi: 0x1CED, Stride: 1}, + {Lo: 0x1CF4, Hi: 0x1CF4, Stride: 1}, + {Lo: 0x1CF7, Hi: 0x1CF9, Stride: 1}, + {Lo: 0x1DC0, Hi: 0x1DFF, Stride: 1}, + {Lo: 0x200C, Hi: 0x200D, Stride: 1}, + {Lo: 0x20D0, Hi: 0x20F0, Stride: 1}, + {Lo: 0x2CEF, Hi: 0x2CF1, Stride: 1}, + {Lo: 0x2D7F, Hi: 0x2D7F, Stride: 1}, + {Lo: 0x2DE0, Hi: 0x2DFF, Stride: 1}, + {Lo: 0x302A, Hi: 0x302F, Stride: 1}, + {Lo: 0x3099, Hi: 0x309A, Stride: 1}, + {Lo: 0xA66F, Hi: 0xA672, Stride: 1}, + {Lo: 0xA674, Hi: 0xA67D, Stride: 1}, + {Lo: 0xA69E, Hi: 0xA69F, Stride: 1}, + {Lo: 0xA6F0, Hi: 0xA6F1, Stride: 1}, + {Lo: 0xA802, Hi: 0xA802, Stride: 1}, + {Lo: 0xA806, Hi: 0xA806, Stride: 1}, + {Lo: 0xA80B, Hi: 0xA80B, Stride: 1}, + {Lo: 0xA823, Hi: 0xA827, Stride: 1}, + {Lo: 0xA82C, Hi: 0xA82C, Stride: 1}, + {Lo: 0xA880, Hi: 0xA881, Stride: 1}, + {Lo: 0xA8B4, Hi: 0xA8C5, Stride: 1}, + {Lo: 0xA8E0, Hi: 0xA8F1, Stride: 1}, + {Lo: 0xA8FF, Hi: 0xA8FF, Stride: 1}, + {Lo: 0xA926, Hi: 0xA92D, Stride: 1}, + {Lo: 0xA947, Hi: 0xA953, Stride: 1}, + {Lo: 0xA980, Hi: 0xA983, Stride: 1}, + {Lo: 0xA9B3, Hi: 0xA9C0, Stride: 1}, + {Lo: 0xA9E5, Hi: 0xA9E5, Stride: 1}, + {Lo: 0xAA29, Hi: 0xAA36, Stride: 1}, + {Lo: 0xAA43, Hi: 0xAA43, Stride: 1}, + {Lo: 0xAA4C, Hi: 0xAA4D, Stride: 1}, + {Lo: 0xAA7B, Hi: 0xAA7D, Stride: 1}, + {Lo: 0xAAB0, Hi: 0xAAB0, Stride: 1}, + {Lo: 0xAAB2, Hi: 0xAAB4, Stride: 1}, + {Lo: 0xAAB7, Hi: 0xAAB8, Stride: 1}, + {Lo: 0xAABE, Hi: 0xAABF, Stride: 1}, + {Lo: 0xAAC1, Hi: 0xAAC1, Stride: 1}, + {Lo: 0xAAEB, Hi: 0xAAEF, Stride: 1}, + {Lo: 0xAAF5, Hi: 0xAAF6, Stride: 1}, + {Lo: 0xABE3, Hi: 0xABEA, Stride: 1}, + {Lo: 0xABEC, Hi: 0xABED, Stride: 1}, + {Lo: 0xFB1E, Hi: 0xFB1E, Stride: 1}, + {Lo: 0xFE00, Hi: 0xFE0F, Stride: 1}, + {Lo: 0xFE20, Hi: 0xFE2F, Stride: 1}, + {Lo: 0xFF9E, Hi: 0xFF9F, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x101FD, Hi: 0x101FD, Stride: 1}, + {Lo: 0x102E0, Hi: 0x102E0, Stride: 1}, + {Lo: 0x10376, Hi: 0x1037A, Stride: 1}, + {Lo: 0x10A01, Hi: 0x10A03, Stride: 1}, + {Lo: 0x10A05, Hi: 0x10A06, Stride: 1}, + {Lo: 0x10A0C, Hi: 0x10A0F, Stride: 1}, + {Lo: 0x10A38, Hi: 0x10A3A, Stride: 1}, + {Lo: 0x10A3F, Hi: 0x10A3F, Stride: 1}, + {Lo: 0x10AE5, Hi: 0x10AE6, Stride: 1}, + {Lo: 0x10D24, Hi: 0x10D27, Stride: 1}, + {Lo: 0x10D69, Hi: 0x10D6D, Stride: 1}, + {Lo: 0x10EAB, Hi: 0x10EAC, Stride: 1}, + {Lo: 0x10EFA, Hi: 0x10EFF, Stride: 1}, + {Lo: 0x10F46, Hi: 0x10F50, Stride: 1}, + {Lo: 0x10F82, Hi: 0x10F85, Stride: 1}, + {Lo: 0x11000, Hi: 0x11002, Stride: 1}, + {Lo: 0x11038, Hi: 0x11046, Stride: 1}, + {Lo: 0x11070, Hi: 0x11070, Stride: 1}, + {Lo: 0x11073, Hi: 0x11074, Stride: 1}, + {Lo: 0x1107F, Hi: 0x11082, Stride: 1}, + {Lo: 0x110B0, Hi: 0x110BA, Stride: 1}, + {Lo: 0x110C2, Hi: 0x110C2, Stride: 1}, + {Lo: 0x11100, Hi: 0x11102, Stride: 1}, + {Lo: 0x11127, Hi: 0x11134, Stride: 1}, + {Lo: 0x11145, Hi: 0x11146, Stride: 1}, + {Lo: 0x11173, Hi: 0x11173, Stride: 1}, + {Lo: 0x11180, Hi: 0x11182, Stride: 1}, + {Lo: 0x111B3, Hi: 0x111C0, Stride: 1}, + {Lo: 0x111C9, Hi: 0x111CC, Stride: 1}, + {Lo: 0x111CE, Hi: 0x111CF, Stride: 1}, + {Lo: 0x1122C, Hi: 0x11237, Stride: 1}, + {Lo: 0x1123E, Hi: 0x1123E, Stride: 1}, + {Lo: 0x11241, Hi: 0x11241, Stride: 1}, + {Lo: 0x112DF, Hi: 0x112EA, Stride: 1}, + {Lo: 0x11300, Hi: 0x11303, Stride: 1}, + {Lo: 0x1133B, Hi: 0x1133C, Stride: 1}, + {Lo: 0x1133E, Hi: 0x11344, Stride: 1}, + {Lo: 0x11347, Hi: 0x11348, Stride: 1}, + {Lo: 0x1134B, Hi: 0x1134D, Stride: 1}, + {Lo: 0x11357, Hi: 0x11357, Stride: 1}, + {Lo: 0x11362, Hi: 0x11363, Stride: 1}, + {Lo: 0x11366, Hi: 0x1136C, Stride: 1}, + {Lo: 0x11370, Hi: 0x11374, Stride: 1}, + {Lo: 0x113B8, Hi: 0x113C0, Stride: 1}, + {Lo: 0x113C2, Hi: 0x113C2, Stride: 1}, + {Lo: 0x113C5, Hi: 0x113C5, Stride: 1}, + {Lo: 0x113C7, Hi: 0x113CA, Stride: 1}, + {Lo: 0x113CC, Hi: 0x113D0, Stride: 1}, + {Lo: 0x113D2, Hi: 0x113D2, Stride: 1}, + {Lo: 0x113E1, Hi: 0x113E2, Stride: 1}, + {Lo: 0x11435, Hi: 0x11446, Stride: 1}, + {Lo: 0x1145E, Hi: 0x1145E, Stride: 1}, + {Lo: 0x114B0, Hi: 0x114C3, Stride: 1}, + {Lo: 0x115AF, Hi: 0x115B5, Stride: 1}, + {Lo: 0x115B8, Hi: 0x115C0, Stride: 1}, + {Lo: 0x115DC, Hi: 0x115DD, Stride: 1}, + {Lo: 0x11630, Hi: 0x11640, Stride: 1}, + {Lo: 0x116AB, Hi: 0x116B7, Stride: 1}, + {Lo: 0x1171D, Hi: 0x1172B, Stride: 1}, + {Lo: 0x1182C, Hi: 0x1183A, Stride: 1}, + {Lo: 0x11930, Hi: 0x11935, Stride: 1}, + {Lo: 0x11937, Hi: 0x11938, Stride: 1}, + {Lo: 0x1193B, Hi: 0x1193E, Stride: 1}, + {Lo: 0x11940, Hi: 0x11940, Stride: 1}, + {Lo: 0x11942, Hi: 0x11943, Stride: 1}, + {Lo: 0x119D1, Hi: 0x119D7, Stride: 1}, + {Lo: 0x119DA, Hi: 0x119E0, Stride: 1}, + {Lo: 0x119E4, Hi: 0x119E4, Stride: 1}, + {Lo: 0x11A01, Hi: 0x11A0A, Stride: 1}, + {Lo: 0x11A33, Hi: 0x11A39, Stride: 1}, + {Lo: 0x11A3B, Hi: 0x11A3E, Stride: 1}, + {Lo: 0x11A47, Hi: 0x11A47, Stride: 1}, + {Lo: 0x11A51, Hi: 0x11A5B, Stride: 1}, + {Lo: 0x11A8A, Hi: 0x11A99, Stride: 1}, + {Lo: 0x11B60, Hi: 0x11B67, Stride: 1}, + {Lo: 0x11C2F, Hi: 0x11C36, Stride: 1}, + {Lo: 0x11C38, Hi: 0x11C3F, Stride: 1}, + {Lo: 0x11C92, Hi: 0x11CA7, Stride: 1}, + {Lo: 0x11CA9, Hi: 0x11CB6, Stride: 1}, + {Lo: 0x11D31, Hi: 0x11D36, Stride: 1}, + {Lo: 0x11D3A, Hi: 0x11D3A, Stride: 1}, + {Lo: 0x11D3C, Hi: 0x11D3D, Stride: 1}, + {Lo: 0x11D3F, Hi: 0x11D45, Stride: 1}, + {Lo: 0x11D47, Hi: 0x11D47, Stride: 1}, + {Lo: 0x11D8A, Hi: 0x11D8E, Stride: 1}, + {Lo: 0x11D90, Hi: 0x11D91, Stride: 1}, + {Lo: 0x11D93, Hi: 0x11D97, Stride: 1}, + {Lo: 0x11EF3, Hi: 0x11EF6, Stride: 1}, + {Lo: 0x11F00, Hi: 0x11F01, Stride: 1}, + {Lo: 0x11F03, Hi: 0x11F03, Stride: 1}, + {Lo: 0x11F34, Hi: 0x11F3A, Stride: 1}, + {Lo: 0x11F3E, Hi: 0x11F42, Stride: 1}, + {Lo: 0x11F5A, Hi: 0x11F5A, Stride: 1}, + {Lo: 0x13440, Hi: 0x13440, Stride: 1}, + {Lo: 0x13447, Hi: 0x13455, Stride: 1}, + {Lo: 0x1611E, Hi: 0x1612F, Stride: 1}, + {Lo: 0x16AF0, Hi: 0x16AF4, Stride: 1}, + {Lo: 0x16B30, Hi: 0x16B36, Stride: 1}, + {Lo: 0x16F4F, Hi: 0x16F4F, Stride: 1}, + {Lo: 0x16F51, Hi: 0x16F87, Stride: 1}, + {Lo: 0x16F8F, Hi: 0x16F92, Stride: 1}, + {Lo: 0x16FE4, Hi: 0x16FE4, Stride: 1}, + {Lo: 0x16FF0, Hi: 0x16FF1, Stride: 1}, + {Lo: 0x1BC9D, Hi: 0x1BC9E, Stride: 1}, + {Lo: 0x1CF00, Hi: 0x1CF2D, Stride: 1}, + {Lo: 0x1CF30, Hi: 0x1CF46, Stride: 1}, + {Lo: 0x1D165, Hi: 0x1D169, Stride: 1}, + {Lo: 0x1D16D, Hi: 0x1D172, Stride: 1}, + {Lo: 0x1D17B, Hi: 0x1D182, Stride: 1}, + {Lo: 0x1D185, Hi: 0x1D18B, Stride: 1}, + {Lo: 0x1D1AA, Hi: 0x1D1AD, Stride: 1}, + {Lo: 0x1D242, Hi: 0x1D244, Stride: 1}, + {Lo: 0x1DA00, Hi: 0x1DA36, Stride: 1}, + {Lo: 0x1DA3B, Hi: 0x1DA6C, Stride: 1}, + {Lo: 0x1DA75, Hi: 0x1DA75, Stride: 1}, + {Lo: 0x1DA84, Hi: 0x1DA84, Stride: 1}, + {Lo: 0x1DA9B, Hi: 0x1DA9F, Stride: 1}, + {Lo: 0x1DAA1, Hi: 0x1DAAF, Stride: 1}, + {Lo: 0x1E000, Hi: 0x1E006, Stride: 1}, + {Lo: 0x1E008, Hi: 0x1E018, Stride: 1}, + {Lo: 0x1E01B, Hi: 0x1E021, Stride: 1}, + {Lo: 0x1E023, Hi: 0x1E024, Stride: 1}, + {Lo: 0x1E026, Hi: 0x1E02A, Stride: 1}, + {Lo: 0x1E08F, Hi: 0x1E08F, Stride: 1}, + {Lo: 0x1E130, Hi: 0x1E136, Stride: 1}, + {Lo: 0x1E2AE, Hi: 0x1E2AE, Stride: 1}, + {Lo: 0x1E2EC, Hi: 0x1E2EF, Stride: 1}, + {Lo: 0x1E4EC, Hi: 0x1E4EF, Stride: 1}, + {Lo: 0x1E5EE, Hi: 0x1E5EF, Stride: 1}, + {Lo: 0x1E6E3, Hi: 0x1E6E3, Stride: 1}, + {Lo: 0x1E6E6, Hi: 0x1E6E6, Stride: 1}, + {Lo: 0x1E6EE, Hi: 0x1E6EF, Stride: 1}, + {Lo: 0x1E6F5, Hi: 0x1E6F5, Stride: 1}, + {Lo: 0x1E8D0, Hi: 0x1E8D6, Stride: 1}, + {Lo: 0x1E944, Hi: 0x1E94A, Stride: 1}, + {Lo: 0xE0020, Hi: 0xE007F, Stride: 1}, + {Lo: 0xE0100, Hi: 0xE01EF, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Format = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xAD, Hi: 0xAD, Stride: 1}, + {Lo: 0x61C, Hi: 0x61C, Stride: 1}, + {Lo: 0x70F, Hi: 0x70F, Stride: 1}, + {Lo: 0x180E, Hi: 0x180E, Stride: 1}, + {Lo: 0x200B, Hi: 0x200B, Stride: 1}, + {Lo: 0x200E, Hi: 0x200F, Stride: 1}, + {Lo: 0x202A, Hi: 0x202E, Stride: 1}, + {Lo: 0x2060, Hi: 0x2064, Stride: 1}, + {Lo: 0x2066, Hi: 0x206F, Stride: 1}, + {Lo: 0xFEFF, Hi: 0xFEFF, Stride: 1}, + {Lo: 0xFFF9, Hi: 0xFFFB, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x13430, Hi: 0x1343F, Stride: 1}, + {Lo: 0x1BCA0, Hi: 0x1BCA3, Stride: 1}, + {Lo: 0x1D173, Hi: 0x1D17A, Stride: 1}, + {Lo: 0xE0001, Hi: 0xE0001, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_LF = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xA, Hi: 0xA, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Lower = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x61, Hi: 0x7A, Stride: 1}, + {Lo: 0xAA, Hi: 0xAA, Stride: 1}, + {Lo: 0xB5, Hi: 0xB5, Stride: 1}, + {Lo: 0xBA, Hi: 0xBA, Stride: 1}, + {Lo: 0xDF, Hi: 0xF6, Stride: 1}, + {Lo: 0xF8, Hi: 0xFF, Stride: 1}, + {Lo: 0x101, Hi: 0x101, Stride: 1}, + {Lo: 0x103, Hi: 0x103, Stride: 1}, + {Lo: 0x105, Hi: 0x105, Stride: 1}, + {Lo: 0x107, Hi: 0x107, Stride: 1}, + {Lo: 0x109, Hi: 0x109, Stride: 1}, + {Lo: 0x10B, Hi: 0x10B, Stride: 1}, + {Lo: 0x10D, Hi: 0x10D, Stride: 1}, + {Lo: 0x10F, Hi: 0x10F, Stride: 1}, + {Lo: 0x111, Hi: 0x111, Stride: 1}, + {Lo: 0x113, Hi: 0x113, Stride: 1}, + {Lo: 0x115, Hi: 0x115, Stride: 1}, + {Lo: 0x117, Hi: 0x117, Stride: 1}, + {Lo: 0x119, Hi: 0x119, Stride: 1}, + {Lo: 0x11B, Hi: 0x11B, Stride: 1}, + {Lo: 0x11D, Hi: 0x11D, Stride: 1}, + {Lo: 0x11F, Hi: 0x11F, Stride: 1}, + {Lo: 0x121, Hi: 0x121, Stride: 1}, + {Lo: 0x123, Hi: 0x123, Stride: 1}, + {Lo: 0x125, Hi: 0x125, Stride: 1}, + {Lo: 0x127, Hi: 0x127, Stride: 1}, + {Lo: 0x129, Hi: 0x129, Stride: 1}, + {Lo: 0x12B, Hi: 0x12B, Stride: 1}, + {Lo: 0x12D, Hi: 0x12D, Stride: 1}, + {Lo: 0x12F, Hi: 0x12F, Stride: 1}, + {Lo: 0x131, Hi: 0x131, Stride: 1}, + {Lo: 0x133, Hi: 0x133, Stride: 1}, + {Lo: 0x135, Hi: 0x135, Stride: 1}, + {Lo: 0x137, Hi: 0x138, Stride: 1}, + {Lo: 0x13A, Hi: 0x13A, Stride: 1}, + {Lo: 0x13C, Hi: 0x13C, Stride: 1}, + {Lo: 0x13E, Hi: 0x13E, Stride: 1}, + {Lo: 0x140, Hi: 0x140, Stride: 1}, + {Lo: 0x142, Hi: 0x142, Stride: 1}, + {Lo: 0x144, Hi: 0x144, Stride: 1}, + {Lo: 0x146, Hi: 0x146, Stride: 1}, + {Lo: 0x148, Hi: 0x149, Stride: 1}, + {Lo: 0x14B, Hi: 0x14B, Stride: 1}, + {Lo: 0x14D, Hi: 0x14D, Stride: 1}, + {Lo: 0x14F, Hi: 0x14F, Stride: 1}, + {Lo: 0x151, Hi: 0x151, Stride: 1}, + {Lo: 0x153, Hi: 0x153, Stride: 1}, + {Lo: 0x155, Hi: 0x155, Stride: 1}, + {Lo: 0x157, Hi: 0x157, Stride: 1}, + {Lo: 0x159, Hi: 0x159, Stride: 1}, + {Lo: 0x15B, Hi: 0x15B, Stride: 1}, + {Lo: 0x15D, Hi: 0x15D, Stride: 1}, + {Lo: 0x15F, Hi: 0x15F, Stride: 1}, + {Lo: 0x161, Hi: 0x161, Stride: 1}, + {Lo: 0x163, Hi: 0x163, Stride: 1}, + {Lo: 0x165, Hi: 0x165, Stride: 1}, + {Lo: 0x167, Hi: 0x167, Stride: 1}, + {Lo: 0x169, Hi: 0x169, Stride: 1}, + {Lo: 0x16B, Hi: 0x16B, Stride: 1}, + {Lo: 0x16D, Hi: 0x16D, Stride: 1}, + {Lo: 0x16F, Hi: 0x16F, Stride: 1}, + {Lo: 0x171, Hi: 0x171, Stride: 1}, + {Lo: 0x173, Hi: 0x173, Stride: 1}, + {Lo: 0x175, Hi: 0x175, Stride: 1}, + {Lo: 0x177, Hi: 0x177, Stride: 1}, + {Lo: 0x17A, Hi: 0x17A, Stride: 1}, + {Lo: 0x17C, Hi: 0x17C, Stride: 1}, + {Lo: 0x17E, Hi: 0x180, Stride: 1}, + {Lo: 0x183, Hi: 0x183, Stride: 1}, + {Lo: 0x185, Hi: 0x185, Stride: 1}, + {Lo: 0x188, Hi: 0x188, Stride: 1}, + {Lo: 0x18C, Hi: 0x18D, Stride: 1}, + {Lo: 0x192, Hi: 0x192, Stride: 1}, + {Lo: 0x195, Hi: 0x195, Stride: 1}, + {Lo: 0x199, Hi: 0x19B, Stride: 1}, + {Lo: 0x19E, Hi: 0x19E, Stride: 1}, + {Lo: 0x1A1, Hi: 0x1A1, Stride: 1}, + {Lo: 0x1A3, Hi: 0x1A3, Stride: 1}, + {Lo: 0x1A5, Hi: 0x1A5, Stride: 1}, + {Lo: 0x1A8, Hi: 0x1A8, Stride: 1}, + {Lo: 0x1AA, Hi: 0x1AB, Stride: 1}, + {Lo: 0x1AD, Hi: 0x1AD, Stride: 1}, + {Lo: 0x1B0, Hi: 0x1B0, Stride: 1}, + {Lo: 0x1B4, Hi: 0x1B4, Stride: 1}, + {Lo: 0x1B6, Hi: 0x1B6, Stride: 1}, + {Lo: 0x1B9, Hi: 0x1BA, Stride: 1}, + {Lo: 0x1BD, Hi: 0x1BF, Stride: 1}, + {Lo: 0x1C6, Hi: 0x1C6, Stride: 1}, + {Lo: 0x1C9, Hi: 0x1C9, Stride: 1}, + {Lo: 0x1CC, Hi: 0x1CC, Stride: 1}, + {Lo: 0x1CE, Hi: 0x1CE, Stride: 1}, + {Lo: 0x1D0, Hi: 0x1D0, Stride: 1}, + {Lo: 0x1D2, Hi: 0x1D2, Stride: 1}, + {Lo: 0x1D4, Hi: 0x1D4, Stride: 1}, + {Lo: 0x1D6, Hi: 0x1D6, Stride: 1}, + {Lo: 0x1D8, Hi: 0x1D8, Stride: 1}, + {Lo: 0x1DA, Hi: 0x1DA, Stride: 1}, + {Lo: 0x1DC, Hi: 0x1DD, Stride: 1}, + {Lo: 0x1DF, Hi: 0x1DF, Stride: 1}, + {Lo: 0x1E1, Hi: 0x1E1, Stride: 1}, + {Lo: 0x1E3, Hi: 0x1E3, Stride: 1}, + {Lo: 0x1E5, Hi: 0x1E5, Stride: 1}, + {Lo: 0x1E7, Hi: 0x1E7, Stride: 1}, + {Lo: 0x1E9, Hi: 0x1E9, Stride: 1}, + {Lo: 0x1EB, Hi: 0x1EB, Stride: 1}, + {Lo: 0x1ED, Hi: 0x1ED, Stride: 1}, + {Lo: 0x1EF, Hi: 0x1F0, Stride: 1}, + {Lo: 0x1F3, Hi: 0x1F3, Stride: 1}, + {Lo: 0x1F5, Hi: 0x1F5, Stride: 1}, + {Lo: 0x1F9, Hi: 0x1F9, Stride: 1}, + {Lo: 0x1FB, Hi: 0x1FB, Stride: 1}, + {Lo: 0x1FD, Hi: 0x1FD, Stride: 1}, + {Lo: 0x1FF, Hi: 0x1FF, Stride: 1}, + {Lo: 0x201, Hi: 0x201, Stride: 1}, + {Lo: 0x203, Hi: 0x203, Stride: 1}, + {Lo: 0x205, Hi: 0x205, Stride: 1}, + {Lo: 0x207, Hi: 0x207, Stride: 1}, + {Lo: 0x209, Hi: 0x209, Stride: 1}, + {Lo: 0x20B, Hi: 0x20B, Stride: 1}, + {Lo: 0x20D, Hi: 0x20D, Stride: 1}, + {Lo: 0x20F, Hi: 0x20F, Stride: 1}, + {Lo: 0x211, Hi: 0x211, Stride: 1}, + {Lo: 0x213, Hi: 0x213, Stride: 1}, + {Lo: 0x215, Hi: 0x215, Stride: 1}, + {Lo: 0x217, Hi: 0x217, Stride: 1}, + {Lo: 0x219, Hi: 0x219, Stride: 1}, + {Lo: 0x21B, Hi: 0x21B, Stride: 1}, + {Lo: 0x21D, Hi: 0x21D, Stride: 1}, + {Lo: 0x21F, Hi: 0x21F, Stride: 1}, + {Lo: 0x221, Hi: 0x221, Stride: 1}, + {Lo: 0x223, Hi: 0x223, Stride: 1}, + {Lo: 0x225, Hi: 0x225, Stride: 1}, + {Lo: 0x227, Hi: 0x227, Stride: 1}, + {Lo: 0x229, Hi: 0x229, Stride: 1}, + {Lo: 0x22B, Hi: 0x22B, Stride: 1}, + {Lo: 0x22D, Hi: 0x22D, Stride: 1}, + {Lo: 0x22F, Hi: 0x22F, Stride: 1}, + {Lo: 0x231, Hi: 0x231, Stride: 1}, + {Lo: 0x233, Hi: 0x239, Stride: 1}, + {Lo: 0x23C, Hi: 0x23C, Stride: 1}, + {Lo: 0x23F, Hi: 0x240, Stride: 1}, + {Lo: 0x242, Hi: 0x242, Stride: 1}, + {Lo: 0x247, Hi: 0x247, Stride: 1}, + {Lo: 0x249, Hi: 0x249, Stride: 1}, + {Lo: 0x24B, Hi: 0x24B, Stride: 1}, + {Lo: 0x24D, Hi: 0x24D, Stride: 1}, + {Lo: 0x24F, Hi: 0x293, Stride: 1}, + {Lo: 0x296, Hi: 0x2B8, Stride: 1}, + {Lo: 0x2C0, Hi: 0x2C1, Stride: 1}, + {Lo: 0x2E0, Hi: 0x2E4, Stride: 1}, + {Lo: 0x371, Hi: 0x371, Stride: 1}, + {Lo: 0x373, Hi: 0x373, Stride: 1}, + {Lo: 0x377, Hi: 0x377, Stride: 1}, + {Lo: 0x37A, Hi: 0x37D, Stride: 1}, + {Lo: 0x390, Hi: 0x390, Stride: 1}, + {Lo: 0x3AC, Hi: 0x3CE, Stride: 1}, + {Lo: 0x3D0, Hi: 0x3D1, Stride: 1}, + {Lo: 0x3D5, Hi: 0x3D7, Stride: 1}, + {Lo: 0x3D9, Hi: 0x3D9, Stride: 1}, + {Lo: 0x3DB, Hi: 0x3DB, Stride: 1}, + {Lo: 0x3DD, Hi: 0x3DD, Stride: 1}, + {Lo: 0x3DF, Hi: 0x3DF, Stride: 1}, + {Lo: 0x3E1, Hi: 0x3E1, Stride: 1}, + {Lo: 0x3E3, Hi: 0x3E3, Stride: 1}, + {Lo: 0x3E5, Hi: 0x3E5, Stride: 1}, + {Lo: 0x3E7, Hi: 0x3E7, Stride: 1}, + {Lo: 0x3E9, Hi: 0x3E9, Stride: 1}, + {Lo: 0x3EB, Hi: 0x3EB, Stride: 1}, + {Lo: 0x3ED, Hi: 0x3ED, Stride: 1}, + {Lo: 0x3EF, Hi: 0x3F3, Stride: 1}, + {Lo: 0x3F5, Hi: 0x3F5, Stride: 1}, + {Lo: 0x3F8, Hi: 0x3F8, Stride: 1}, + {Lo: 0x3FB, Hi: 0x3FC, Stride: 1}, + {Lo: 0x430, Hi: 0x45F, Stride: 1}, + {Lo: 0x461, Hi: 0x461, Stride: 1}, + {Lo: 0x463, Hi: 0x463, Stride: 1}, + {Lo: 0x465, Hi: 0x465, Stride: 1}, + {Lo: 0x467, Hi: 0x467, Stride: 1}, + {Lo: 0x469, Hi: 0x469, Stride: 1}, + {Lo: 0x46B, Hi: 0x46B, Stride: 1}, + {Lo: 0x46D, Hi: 0x46D, Stride: 1}, + {Lo: 0x46F, Hi: 0x46F, Stride: 1}, + {Lo: 0x471, Hi: 0x471, Stride: 1}, + {Lo: 0x473, Hi: 0x473, Stride: 1}, + {Lo: 0x475, Hi: 0x475, Stride: 1}, + {Lo: 0x477, Hi: 0x477, Stride: 1}, + {Lo: 0x479, Hi: 0x479, Stride: 1}, + {Lo: 0x47B, Hi: 0x47B, Stride: 1}, + {Lo: 0x47D, Hi: 0x47D, Stride: 1}, + {Lo: 0x47F, Hi: 0x47F, Stride: 1}, + {Lo: 0x481, Hi: 0x481, Stride: 1}, + {Lo: 0x48B, Hi: 0x48B, Stride: 1}, + {Lo: 0x48D, Hi: 0x48D, Stride: 1}, + {Lo: 0x48F, Hi: 0x48F, Stride: 1}, + {Lo: 0x491, Hi: 0x491, Stride: 1}, + {Lo: 0x493, Hi: 0x493, Stride: 1}, + {Lo: 0x495, Hi: 0x495, Stride: 1}, + {Lo: 0x497, Hi: 0x497, Stride: 1}, + {Lo: 0x499, Hi: 0x499, Stride: 1}, + {Lo: 0x49B, Hi: 0x49B, Stride: 1}, + {Lo: 0x49D, Hi: 0x49D, Stride: 1}, + {Lo: 0x49F, Hi: 0x49F, Stride: 1}, + {Lo: 0x4A1, Hi: 0x4A1, Stride: 1}, + {Lo: 0x4A3, Hi: 0x4A3, Stride: 1}, + {Lo: 0x4A5, Hi: 0x4A5, Stride: 1}, + {Lo: 0x4A7, Hi: 0x4A7, Stride: 1}, + {Lo: 0x4A9, Hi: 0x4A9, Stride: 1}, + {Lo: 0x4AB, Hi: 0x4AB, Stride: 1}, + {Lo: 0x4AD, Hi: 0x4AD, Stride: 1}, + {Lo: 0x4AF, Hi: 0x4AF, Stride: 1}, + {Lo: 0x4B1, Hi: 0x4B1, Stride: 1}, + {Lo: 0x4B3, Hi: 0x4B3, Stride: 1}, + {Lo: 0x4B5, Hi: 0x4B5, Stride: 1}, + {Lo: 0x4B7, Hi: 0x4B7, Stride: 1}, + {Lo: 0x4B9, Hi: 0x4B9, Stride: 1}, + {Lo: 0x4BB, Hi: 0x4BB, Stride: 1}, + {Lo: 0x4BD, Hi: 0x4BD, Stride: 1}, + {Lo: 0x4BF, Hi: 0x4BF, Stride: 1}, + {Lo: 0x4C2, Hi: 0x4C2, Stride: 1}, + {Lo: 0x4C4, Hi: 0x4C4, Stride: 1}, + {Lo: 0x4C6, Hi: 0x4C6, Stride: 1}, + {Lo: 0x4C8, Hi: 0x4C8, Stride: 1}, + {Lo: 0x4CA, Hi: 0x4CA, Stride: 1}, + {Lo: 0x4CC, Hi: 0x4CC, Stride: 1}, + {Lo: 0x4CE, Hi: 0x4CF, Stride: 1}, + {Lo: 0x4D1, Hi: 0x4D1, Stride: 1}, + {Lo: 0x4D3, Hi: 0x4D3, Stride: 1}, + {Lo: 0x4D5, Hi: 0x4D5, Stride: 1}, + {Lo: 0x4D7, Hi: 0x4D7, Stride: 1}, + {Lo: 0x4D9, Hi: 0x4D9, Stride: 1}, + {Lo: 0x4DB, Hi: 0x4DB, Stride: 1}, + {Lo: 0x4DD, Hi: 0x4DD, Stride: 1}, + {Lo: 0x4DF, Hi: 0x4DF, Stride: 1}, + {Lo: 0x4E1, Hi: 0x4E1, Stride: 1}, + {Lo: 0x4E3, Hi: 0x4E3, Stride: 1}, + {Lo: 0x4E5, Hi: 0x4E5, Stride: 1}, + {Lo: 0x4E7, Hi: 0x4E7, Stride: 1}, + {Lo: 0x4E9, Hi: 0x4E9, Stride: 1}, + {Lo: 0x4EB, Hi: 0x4EB, Stride: 1}, + {Lo: 0x4ED, Hi: 0x4ED, Stride: 1}, + {Lo: 0x4EF, Hi: 0x4EF, Stride: 1}, + {Lo: 0x4F1, Hi: 0x4F1, Stride: 1}, + {Lo: 0x4F3, Hi: 0x4F3, Stride: 1}, + {Lo: 0x4F5, Hi: 0x4F5, Stride: 1}, + {Lo: 0x4F7, Hi: 0x4F7, Stride: 1}, + {Lo: 0x4F9, Hi: 0x4F9, Stride: 1}, + {Lo: 0x4FB, Hi: 0x4FB, Stride: 1}, + {Lo: 0x4FD, Hi: 0x4FD, Stride: 1}, + {Lo: 0x4FF, Hi: 0x4FF, Stride: 1}, + {Lo: 0x501, Hi: 0x501, Stride: 1}, + {Lo: 0x503, Hi: 0x503, Stride: 1}, + {Lo: 0x505, Hi: 0x505, Stride: 1}, + {Lo: 0x507, Hi: 0x507, Stride: 1}, + {Lo: 0x509, Hi: 0x509, Stride: 1}, + {Lo: 0x50B, Hi: 0x50B, Stride: 1}, + {Lo: 0x50D, Hi: 0x50D, Stride: 1}, + {Lo: 0x50F, Hi: 0x50F, Stride: 1}, + {Lo: 0x511, Hi: 0x511, Stride: 1}, + {Lo: 0x513, Hi: 0x513, Stride: 1}, + {Lo: 0x515, Hi: 0x515, Stride: 1}, + {Lo: 0x517, Hi: 0x517, Stride: 1}, + {Lo: 0x519, Hi: 0x519, Stride: 1}, + {Lo: 0x51B, Hi: 0x51B, Stride: 1}, + {Lo: 0x51D, Hi: 0x51D, Stride: 1}, + {Lo: 0x51F, Hi: 0x51F, Stride: 1}, + {Lo: 0x521, Hi: 0x521, Stride: 1}, + {Lo: 0x523, Hi: 0x523, Stride: 1}, + {Lo: 0x525, Hi: 0x525, Stride: 1}, + {Lo: 0x527, Hi: 0x527, Stride: 1}, + {Lo: 0x529, Hi: 0x529, Stride: 1}, + {Lo: 0x52B, Hi: 0x52B, Stride: 1}, + {Lo: 0x52D, Hi: 0x52D, Stride: 1}, + {Lo: 0x52F, Hi: 0x52F, Stride: 1}, + {Lo: 0x560, Hi: 0x588, Stride: 1}, + {Lo: 0x10FC, Hi: 0x10FC, Stride: 1}, + {Lo: 0x13F8, Hi: 0x13FD, Stride: 1}, + {Lo: 0x1C80, Hi: 0x1C88, Stride: 1}, + {Lo: 0x1C8A, Hi: 0x1C8A, Stride: 1}, + {Lo: 0x1D00, Hi: 0x1DBF, Stride: 1}, + {Lo: 0x1E01, Hi: 0x1E01, Stride: 1}, + {Lo: 0x1E03, Hi: 0x1E03, Stride: 1}, + {Lo: 0x1E05, Hi: 0x1E05, Stride: 1}, + {Lo: 0x1E07, Hi: 0x1E07, Stride: 1}, + {Lo: 0x1E09, Hi: 0x1E09, Stride: 1}, + {Lo: 0x1E0B, Hi: 0x1E0B, Stride: 1}, + {Lo: 0x1E0D, Hi: 0x1E0D, Stride: 1}, + {Lo: 0x1E0F, Hi: 0x1E0F, Stride: 1}, + {Lo: 0x1E11, Hi: 0x1E11, Stride: 1}, + {Lo: 0x1E13, Hi: 0x1E13, Stride: 1}, + {Lo: 0x1E15, Hi: 0x1E15, Stride: 1}, + {Lo: 0x1E17, Hi: 0x1E17, Stride: 1}, + {Lo: 0x1E19, Hi: 0x1E19, Stride: 1}, + {Lo: 0x1E1B, Hi: 0x1E1B, Stride: 1}, + {Lo: 0x1E1D, Hi: 0x1E1D, Stride: 1}, + {Lo: 0x1E1F, Hi: 0x1E1F, Stride: 1}, + {Lo: 0x1E21, Hi: 0x1E21, Stride: 1}, + {Lo: 0x1E23, Hi: 0x1E23, Stride: 1}, + {Lo: 0x1E25, Hi: 0x1E25, Stride: 1}, + {Lo: 0x1E27, Hi: 0x1E27, Stride: 1}, + {Lo: 0x1E29, Hi: 0x1E29, Stride: 1}, + {Lo: 0x1E2B, Hi: 0x1E2B, Stride: 1}, + {Lo: 0x1E2D, Hi: 0x1E2D, Stride: 1}, + {Lo: 0x1E2F, Hi: 0x1E2F, Stride: 1}, + {Lo: 0x1E31, Hi: 0x1E31, Stride: 1}, + {Lo: 0x1E33, Hi: 0x1E33, Stride: 1}, + {Lo: 0x1E35, Hi: 0x1E35, Stride: 1}, + {Lo: 0x1E37, Hi: 0x1E37, Stride: 1}, + {Lo: 0x1E39, Hi: 0x1E39, Stride: 1}, + {Lo: 0x1E3B, Hi: 0x1E3B, Stride: 1}, + {Lo: 0x1E3D, Hi: 0x1E3D, Stride: 1}, + {Lo: 0x1E3F, Hi: 0x1E3F, Stride: 1}, + {Lo: 0x1E41, Hi: 0x1E41, Stride: 1}, + {Lo: 0x1E43, Hi: 0x1E43, Stride: 1}, + {Lo: 0x1E45, Hi: 0x1E45, Stride: 1}, + {Lo: 0x1E47, Hi: 0x1E47, Stride: 1}, + {Lo: 0x1E49, Hi: 0x1E49, Stride: 1}, + {Lo: 0x1E4B, Hi: 0x1E4B, Stride: 1}, + {Lo: 0x1E4D, Hi: 0x1E4D, Stride: 1}, + {Lo: 0x1E4F, Hi: 0x1E4F, Stride: 1}, + {Lo: 0x1E51, Hi: 0x1E51, Stride: 1}, + {Lo: 0x1E53, Hi: 0x1E53, Stride: 1}, + {Lo: 0x1E55, Hi: 0x1E55, Stride: 1}, + {Lo: 0x1E57, Hi: 0x1E57, Stride: 1}, + {Lo: 0x1E59, Hi: 0x1E59, Stride: 1}, + {Lo: 0x1E5B, Hi: 0x1E5B, Stride: 1}, + {Lo: 0x1E5D, Hi: 0x1E5D, Stride: 1}, + {Lo: 0x1E5F, Hi: 0x1E5F, Stride: 1}, + {Lo: 0x1E61, Hi: 0x1E61, Stride: 1}, + {Lo: 0x1E63, Hi: 0x1E63, Stride: 1}, + {Lo: 0x1E65, Hi: 0x1E65, Stride: 1}, + {Lo: 0x1E67, Hi: 0x1E67, Stride: 1}, + {Lo: 0x1E69, Hi: 0x1E69, Stride: 1}, + {Lo: 0x1E6B, Hi: 0x1E6B, Stride: 1}, + {Lo: 0x1E6D, Hi: 0x1E6D, Stride: 1}, + {Lo: 0x1E6F, Hi: 0x1E6F, Stride: 1}, + {Lo: 0x1E71, Hi: 0x1E71, Stride: 1}, + {Lo: 0x1E73, Hi: 0x1E73, Stride: 1}, + {Lo: 0x1E75, Hi: 0x1E75, Stride: 1}, + {Lo: 0x1E77, Hi: 0x1E77, Stride: 1}, + {Lo: 0x1E79, Hi: 0x1E79, Stride: 1}, + {Lo: 0x1E7B, Hi: 0x1E7B, Stride: 1}, + {Lo: 0x1E7D, Hi: 0x1E7D, Stride: 1}, + {Lo: 0x1E7F, Hi: 0x1E7F, Stride: 1}, + {Lo: 0x1E81, Hi: 0x1E81, Stride: 1}, + {Lo: 0x1E83, Hi: 0x1E83, Stride: 1}, + {Lo: 0x1E85, Hi: 0x1E85, Stride: 1}, + {Lo: 0x1E87, Hi: 0x1E87, Stride: 1}, + {Lo: 0x1E89, Hi: 0x1E89, Stride: 1}, + {Lo: 0x1E8B, Hi: 0x1E8B, Stride: 1}, + {Lo: 0x1E8D, Hi: 0x1E8D, Stride: 1}, + {Lo: 0x1E8F, Hi: 0x1E8F, Stride: 1}, + {Lo: 0x1E91, Hi: 0x1E91, Stride: 1}, + {Lo: 0x1E93, Hi: 0x1E93, Stride: 1}, + {Lo: 0x1E95, Hi: 0x1E9D, Stride: 1}, + {Lo: 0x1E9F, Hi: 0x1E9F, Stride: 1}, + {Lo: 0x1EA1, Hi: 0x1EA1, Stride: 1}, + {Lo: 0x1EA3, Hi: 0x1EA3, Stride: 1}, + {Lo: 0x1EA5, Hi: 0x1EA5, Stride: 1}, + {Lo: 0x1EA7, Hi: 0x1EA7, Stride: 1}, + {Lo: 0x1EA9, Hi: 0x1EA9, Stride: 1}, + {Lo: 0x1EAB, Hi: 0x1EAB, Stride: 1}, + {Lo: 0x1EAD, Hi: 0x1EAD, Stride: 1}, + {Lo: 0x1EAF, Hi: 0x1EAF, Stride: 1}, + {Lo: 0x1EB1, Hi: 0x1EB1, Stride: 1}, + {Lo: 0x1EB3, Hi: 0x1EB3, Stride: 1}, + {Lo: 0x1EB5, Hi: 0x1EB5, Stride: 1}, + {Lo: 0x1EB7, Hi: 0x1EB7, Stride: 1}, + {Lo: 0x1EB9, Hi: 0x1EB9, Stride: 1}, + {Lo: 0x1EBB, Hi: 0x1EBB, Stride: 1}, + {Lo: 0x1EBD, Hi: 0x1EBD, Stride: 1}, + {Lo: 0x1EBF, Hi: 0x1EBF, Stride: 1}, + {Lo: 0x1EC1, Hi: 0x1EC1, Stride: 1}, + {Lo: 0x1EC3, Hi: 0x1EC3, Stride: 1}, + {Lo: 0x1EC5, Hi: 0x1EC5, Stride: 1}, + {Lo: 0x1EC7, Hi: 0x1EC7, Stride: 1}, + {Lo: 0x1EC9, Hi: 0x1EC9, Stride: 1}, + {Lo: 0x1ECB, Hi: 0x1ECB, Stride: 1}, + {Lo: 0x1ECD, Hi: 0x1ECD, Stride: 1}, + {Lo: 0x1ECF, Hi: 0x1ECF, Stride: 1}, + {Lo: 0x1ED1, Hi: 0x1ED1, Stride: 1}, + {Lo: 0x1ED3, Hi: 0x1ED3, Stride: 1}, + {Lo: 0x1ED5, Hi: 0x1ED5, Stride: 1}, + {Lo: 0x1ED7, Hi: 0x1ED7, Stride: 1}, + {Lo: 0x1ED9, Hi: 0x1ED9, Stride: 1}, + {Lo: 0x1EDB, Hi: 0x1EDB, Stride: 1}, + {Lo: 0x1EDD, Hi: 0x1EDD, Stride: 1}, + {Lo: 0x1EDF, Hi: 0x1EDF, Stride: 1}, + {Lo: 0x1EE1, Hi: 0x1EE1, Stride: 1}, + {Lo: 0x1EE3, Hi: 0x1EE3, Stride: 1}, + {Lo: 0x1EE5, Hi: 0x1EE5, Stride: 1}, + {Lo: 0x1EE7, Hi: 0x1EE7, Stride: 1}, + {Lo: 0x1EE9, Hi: 0x1EE9, Stride: 1}, + {Lo: 0x1EEB, Hi: 0x1EEB, Stride: 1}, + {Lo: 0x1EED, Hi: 0x1EED, Stride: 1}, + {Lo: 0x1EEF, Hi: 0x1EEF, Stride: 1}, + {Lo: 0x1EF1, Hi: 0x1EF1, Stride: 1}, + {Lo: 0x1EF3, Hi: 0x1EF3, Stride: 1}, + {Lo: 0x1EF5, Hi: 0x1EF5, Stride: 1}, + {Lo: 0x1EF7, Hi: 0x1EF7, Stride: 1}, + {Lo: 0x1EF9, Hi: 0x1EF9, Stride: 1}, + {Lo: 0x1EFB, Hi: 0x1EFB, Stride: 1}, + {Lo: 0x1EFD, Hi: 0x1EFD, Stride: 1}, + {Lo: 0x1EFF, Hi: 0x1F07, Stride: 1}, + {Lo: 0x1F10, Hi: 0x1F15, Stride: 1}, + {Lo: 0x1F20, Hi: 0x1F27, Stride: 1}, + {Lo: 0x1F30, Hi: 0x1F37, Stride: 1}, + {Lo: 0x1F40, Hi: 0x1F45, Stride: 1}, + {Lo: 0x1F50, Hi: 0x1F57, Stride: 1}, + {Lo: 0x1F60, Hi: 0x1F67, Stride: 1}, + {Lo: 0x1F70, Hi: 0x1F7D, Stride: 1}, + {Lo: 0x1F80, Hi: 0x1F87, Stride: 1}, + {Lo: 0x1F90, Hi: 0x1F97, Stride: 1}, + {Lo: 0x1FA0, Hi: 0x1FA7, Stride: 1}, + {Lo: 0x1FB0, Hi: 0x1FB4, Stride: 1}, + {Lo: 0x1FB6, Hi: 0x1FB7, Stride: 1}, + {Lo: 0x1FBE, Hi: 0x1FBE, Stride: 1}, + {Lo: 0x1FC2, Hi: 0x1FC4, Stride: 1}, + {Lo: 0x1FC6, Hi: 0x1FC7, Stride: 1}, + {Lo: 0x1FD0, Hi: 0x1FD3, Stride: 1}, + {Lo: 0x1FD6, Hi: 0x1FD7, Stride: 1}, + {Lo: 0x1FE0, Hi: 0x1FE7, Stride: 1}, + {Lo: 0x1FF2, Hi: 0x1FF4, Stride: 1}, + {Lo: 0x1FF6, Hi: 0x1FF7, Stride: 1}, + {Lo: 0x2071, Hi: 0x2071, Stride: 1}, + {Lo: 0x207F, Hi: 0x207F, Stride: 1}, + {Lo: 0x2090, Hi: 0x209C, Stride: 1}, + {Lo: 0x210A, Hi: 0x210A, Stride: 1}, + {Lo: 0x210E, Hi: 0x210F, Stride: 1}, + {Lo: 0x2113, Hi: 0x2113, Stride: 1}, + {Lo: 0x212F, Hi: 0x212F, Stride: 1}, + {Lo: 0x2134, Hi: 0x2134, Stride: 1}, + {Lo: 0x2139, Hi: 0x2139, Stride: 1}, + {Lo: 0x213C, Hi: 0x213D, Stride: 1}, + {Lo: 0x2146, Hi: 0x2149, Stride: 1}, + {Lo: 0x214E, Hi: 0x214E, Stride: 1}, + {Lo: 0x2170, Hi: 0x217F, Stride: 1}, + {Lo: 0x2184, Hi: 0x2184, Stride: 1}, + {Lo: 0x24D0, Hi: 0x24E9, Stride: 1}, + {Lo: 0x2C30, Hi: 0x2C5F, Stride: 1}, + {Lo: 0x2C61, Hi: 0x2C61, Stride: 1}, + {Lo: 0x2C65, Hi: 0x2C66, Stride: 1}, + {Lo: 0x2C68, Hi: 0x2C68, Stride: 1}, + {Lo: 0x2C6A, Hi: 0x2C6A, Stride: 1}, + {Lo: 0x2C6C, Hi: 0x2C6C, Stride: 1}, + {Lo: 0x2C71, Hi: 0x2C71, Stride: 1}, + {Lo: 0x2C73, Hi: 0x2C74, Stride: 1}, + {Lo: 0x2C76, Hi: 0x2C7D, Stride: 1}, + {Lo: 0x2C81, Hi: 0x2C81, Stride: 1}, + {Lo: 0x2C83, Hi: 0x2C83, Stride: 1}, + {Lo: 0x2C85, Hi: 0x2C85, Stride: 1}, + {Lo: 0x2C87, Hi: 0x2C87, Stride: 1}, + {Lo: 0x2C89, Hi: 0x2C89, Stride: 1}, + {Lo: 0x2C8B, Hi: 0x2C8B, Stride: 1}, + {Lo: 0x2C8D, Hi: 0x2C8D, Stride: 1}, + {Lo: 0x2C8F, Hi: 0x2C8F, Stride: 1}, + {Lo: 0x2C91, Hi: 0x2C91, Stride: 1}, + {Lo: 0x2C93, Hi: 0x2C93, Stride: 1}, + {Lo: 0x2C95, Hi: 0x2C95, Stride: 1}, + {Lo: 0x2C97, Hi: 0x2C97, Stride: 1}, + {Lo: 0x2C99, Hi: 0x2C99, Stride: 1}, + {Lo: 0x2C9B, Hi: 0x2C9B, Stride: 1}, + {Lo: 0x2C9D, Hi: 0x2C9D, Stride: 1}, + {Lo: 0x2C9F, Hi: 0x2C9F, Stride: 1}, + {Lo: 0x2CA1, Hi: 0x2CA1, Stride: 1}, + {Lo: 0x2CA3, Hi: 0x2CA3, Stride: 1}, + {Lo: 0x2CA5, Hi: 0x2CA5, Stride: 1}, + {Lo: 0x2CA7, Hi: 0x2CA7, Stride: 1}, + {Lo: 0x2CA9, Hi: 0x2CA9, Stride: 1}, + {Lo: 0x2CAB, Hi: 0x2CAB, Stride: 1}, + {Lo: 0x2CAD, Hi: 0x2CAD, Stride: 1}, + {Lo: 0x2CAF, Hi: 0x2CAF, Stride: 1}, + {Lo: 0x2CB1, Hi: 0x2CB1, Stride: 1}, + {Lo: 0x2CB3, Hi: 0x2CB3, Stride: 1}, + {Lo: 0x2CB5, Hi: 0x2CB5, Stride: 1}, + {Lo: 0x2CB7, Hi: 0x2CB7, Stride: 1}, + {Lo: 0x2CB9, Hi: 0x2CB9, Stride: 1}, + {Lo: 0x2CBB, Hi: 0x2CBB, Stride: 1}, + {Lo: 0x2CBD, Hi: 0x2CBD, Stride: 1}, + {Lo: 0x2CBF, Hi: 0x2CBF, Stride: 1}, + {Lo: 0x2CC1, Hi: 0x2CC1, Stride: 1}, + {Lo: 0x2CC3, Hi: 0x2CC3, Stride: 1}, + {Lo: 0x2CC5, Hi: 0x2CC5, Stride: 1}, + {Lo: 0x2CC7, Hi: 0x2CC7, Stride: 1}, + {Lo: 0x2CC9, Hi: 0x2CC9, Stride: 1}, + {Lo: 0x2CCB, Hi: 0x2CCB, Stride: 1}, + {Lo: 0x2CCD, Hi: 0x2CCD, Stride: 1}, + {Lo: 0x2CCF, Hi: 0x2CCF, Stride: 1}, + {Lo: 0x2CD1, Hi: 0x2CD1, Stride: 1}, + {Lo: 0x2CD3, Hi: 0x2CD3, Stride: 1}, + {Lo: 0x2CD5, Hi: 0x2CD5, Stride: 1}, + {Lo: 0x2CD7, Hi: 0x2CD7, Stride: 1}, + {Lo: 0x2CD9, Hi: 0x2CD9, Stride: 1}, + {Lo: 0x2CDB, Hi: 0x2CDB, Stride: 1}, + {Lo: 0x2CDD, Hi: 0x2CDD, Stride: 1}, + {Lo: 0x2CDF, Hi: 0x2CDF, Stride: 1}, + {Lo: 0x2CE1, Hi: 0x2CE1, Stride: 1}, + {Lo: 0x2CE3, Hi: 0x2CE4, Stride: 1}, + {Lo: 0x2CEC, Hi: 0x2CEC, Stride: 1}, + {Lo: 0x2CEE, Hi: 0x2CEE, Stride: 1}, + {Lo: 0x2CF3, Hi: 0x2CF3, Stride: 1}, + {Lo: 0x2D00, Hi: 0x2D25, Stride: 1}, + {Lo: 0x2D27, Hi: 0x2D27, Stride: 1}, + {Lo: 0x2D2D, Hi: 0x2D2D, Stride: 1}, + {Lo: 0xA641, Hi: 0xA641, Stride: 1}, + {Lo: 0xA643, Hi: 0xA643, Stride: 1}, + {Lo: 0xA645, Hi: 0xA645, Stride: 1}, + {Lo: 0xA647, Hi: 0xA647, Stride: 1}, + {Lo: 0xA649, Hi: 0xA649, Stride: 1}, + {Lo: 0xA64B, Hi: 0xA64B, Stride: 1}, + {Lo: 0xA64D, Hi: 0xA64D, Stride: 1}, + {Lo: 0xA64F, Hi: 0xA64F, Stride: 1}, + {Lo: 0xA651, Hi: 0xA651, Stride: 1}, + {Lo: 0xA653, Hi: 0xA653, Stride: 1}, + {Lo: 0xA655, Hi: 0xA655, Stride: 1}, + {Lo: 0xA657, Hi: 0xA657, Stride: 1}, + {Lo: 0xA659, Hi: 0xA659, Stride: 1}, + {Lo: 0xA65B, Hi: 0xA65B, Stride: 1}, + {Lo: 0xA65D, Hi: 0xA65D, Stride: 1}, + {Lo: 0xA65F, Hi: 0xA65F, Stride: 1}, + {Lo: 0xA661, Hi: 0xA661, Stride: 1}, + {Lo: 0xA663, Hi: 0xA663, Stride: 1}, + {Lo: 0xA665, Hi: 0xA665, Stride: 1}, + {Lo: 0xA667, Hi: 0xA667, Stride: 1}, + {Lo: 0xA669, Hi: 0xA669, Stride: 1}, + {Lo: 0xA66B, Hi: 0xA66B, Stride: 1}, + {Lo: 0xA66D, Hi: 0xA66D, Stride: 1}, + {Lo: 0xA681, Hi: 0xA681, Stride: 1}, + {Lo: 0xA683, Hi: 0xA683, Stride: 1}, + {Lo: 0xA685, Hi: 0xA685, Stride: 1}, + {Lo: 0xA687, Hi: 0xA687, Stride: 1}, + {Lo: 0xA689, Hi: 0xA689, Stride: 1}, + {Lo: 0xA68B, Hi: 0xA68B, Stride: 1}, + {Lo: 0xA68D, Hi: 0xA68D, Stride: 1}, + {Lo: 0xA68F, Hi: 0xA68F, Stride: 1}, + {Lo: 0xA691, Hi: 0xA691, Stride: 1}, + {Lo: 0xA693, Hi: 0xA693, Stride: 1}, + {Lo: 0xA695, Hi: 0xA695, Stride: 1}, + {Lo: 0xA697, Hi: 0xA697, Stride: 1}, + {Lo: 0xA699, Hi: 0xA699, Stride: 1}, + {Lo: 0xA69B, Hi: 0xA69D, Stride: 1}, + {Lo: 0xA723, Hi: 0xA723, Stride: 1}, + {Lo: 0xA725, Hi: 0xA725, Stride: 1}, + {Lo: 0xA727, Hi: 0xA727, Stride: 1}, + {Lo: 0xA729, Hi: 0xA729, Stride: 1}, + {Lo: 0xA72B, Hi: 0xA72B, Stride: 1}, + {Lo: 0xA72D, Hi: 0xA72D, Stride: 1}, + {Lo: 0xA72F, Hi: 0xA731, Stride: 1}, + {Lo: 0xA733, Hi: 0xA733, Stride: 1}, + {Lo: 0xA735, Hi: 0xA735, Stride: 1}, + {Lo: 0xA737, Hi: 0xA737, Stride: 1}, + {Lo: 0xA739, Hi: 0xA739, Stride: 1}, + {Lo: 0xA73B, Hi: 0xA73B, Stride: 1}, + {Lo: 0xA73D, Hi: 0xA73D, Stride: 1}, + {Lo: 0xA73F, Hi: 0xA73F, Stride: 1}, + {Lo: 0xA741, Hi: 0xA741, Stride: 1}, + {Lo: 0xA743, Hi: 0xA743, Stride: 1}, + {Lo: 0xA745, Hi: 0xA745, Stride: 1}, + {Lo: 0xA747, Hi: 0xA747, Stride: 1}, + {Lo: 0xA749, Hi: 0xA749, Stride: 1}, + {Lo: 0xA74B, Hi: 0xA74B, Stride: 1}, + {Lo: 0xA74D, Hi: 0xA74D, Stride: 1}, + {Lo: 0xA74F, Hi: 0xA74F, Stride: 1}, + {Lo: 0xA751, Hi: 0xA751, Stride: 1}, + {Lo: 0xA753, Hi: 0xA753, Stride: 1}, + {Lo: 0xA755, Hi: 0xA755, Stride: 1}, + {Lo: 0xA757, Hi: 0xA757, Stride: 1}, + {Lo: 0xA759, Hi: 0xA759, Stride: 1}, + {Lo: 0xA75B, Hi: 0xA75B, Stride: 1}, + {Lo: 0xA75D, Hi: 0xA75D, Stride: 1}, + {Lo: 0xA75F, Hi: 0xA75F, Stride: 1}, + {Lo: 0xA761, Hi: 0xA761, Stride: 1}, + {Lo: 0xA763, Hi: 0xA763, Stride: 1}, + {Lo: 0xA765, Hi: 0xA765, Stride: 1}, + {Lo: 0xA767, Hi: 0xA767, Stride: 1}, + {Lo: 0xA769, Hi: 0xA769, Stride: 1}, + {Lo: 0xA76B, Hi: 0xA76B, Stride: 1}, + {Lo: 0xA76D, Hi: 0xA76D, Stride: 1}, + {Lo: 0xA76F, Hi: 0xA778, Stride: 1}, + {Lo: 0xA77A, Hi: 0xA77A, Stride: 1}, + {Lo: 0xA77C, Hi: 0xA77C, Stride: 1}, + {Lo: 0xA77F, Hi: 0xA77F, Stride: 1}, + {Lo: 0xA781, Hi: 0xA781, Stride: 1}, + {Lo: 0xA783, Hi: 0xA783, Stride: 1}, + {Lo: 0xA785, Hi: 0xA785, Stride: 1}, + {Lo: 0xA787, Hi: 0xA787, Stride: 1}, + {Lo: 0xA78C, Hi: 0xA78C, Stride: 1}, + {Lo: 0xA78E, Hi: 0xA78E, Stride: 1}, + {Lo: 0xA791, Hi: 0xA791, Stride: 1}, + {Lo: 0xA793, Hi: 0xA795, Stride: 1}, + {Lo: 0xA797, Hi: 0xA797, Stride: 1}, + {Lo: 0xA799, Hi: 0xA799, Stride: 1}, + {Lo: 0xA79B, Hi: 0xA79B, Stride: 1}, + {Lo: 0xA79D, Hi: 0xA79D, Stride: 1}, + {Lo: 0xA79F, Hi: 0xA79F, Stride: 1}, + {Lo: 0xA7A1, Hi: 0xA7A1, Stride: 1}, + {Lo: 0xA7A3, Hi: 0xA7A3, Stride: 1}, + {Lo: 0xA7A5, Hi: 0xA7A5, Stride: 1}, + {Lo: 0xA7A7, Hi: 0xA7A7, Stride: 1}, + {Lo: 0xA7A9, Hi: 0xA7A9, Stride: 1}, + {Lo: 0xA7AF, Hi: 0xA7AF, Stride: 1}, + {Lo: 0xA7B5, Hi: 0xA7B5, Stride: 1}, + {Lo: 0xA7B7, Hi: 0xA7B7, Stride: 1}, + {Lo: 0xA7B9, Hi: 0xA7B9, Stride: 1}, + {Lo: 0xA7BB, Hi: 0xA7BB, Stride: 1}, + {Lo: 0xA7BD, Hi: 0xA7BD, Stride: 1}, + {Lo: 0xA7BF, Hi: 0xA7BF, Stride: 1}, + {Lo: 0xA7C1, Hi: 0xA7C1, Stride: 1}, + {Lo: 0xA7C3, Hi: 0xA7C3, Stride: 1}, + {Lo: 0xA7C8, Hi: 0xA7C8, Stride: 1}, + {Lo: 0xA7CA, Hi: 0xA7CA, Stride: 1}, + {Lo: 0xA7CD, Hi: 0xA7CD, Stride: 1}, + {Lo: 0xA7CF, Hi: 0xA7CF, Stride: 1}, + {Lo: 0xA7D1, Hi: 0xA7D1, Stride: 1}, + {Lo: 0xA7D3, Hi: 0xA7D3, Stride: 1}, + {Lo: 0xA7D5, Hi: 0xA7D5, Stride: 1}, + {Lo: 0xA7D7, Hi: 0xA7D7, Stride: 1}, + {Lo: 0xA7D9, Hi: 0xA7D9, Stride: 1}, + {Lo: 0xA7DB, Hi: 0xA7DB, Stride: 1}, + {Lo: 0xA7F1, Hi: 0xA7F4, Stride: 1}, + {Lo: 0xA7F6, Hi: 0xA7F6, Stride: 1}, + {Lo: 0xA7F8, Hi: 0xA7FA, Stride: 1}, + {Lo: 0xAB30, Hi: 0xAB5A, Stride: 1}, + {Lo: 0xAB5C, Hi: 0xAB69, Stride: 1}, + {Lo: 0xAB70, Hi: 0xABBF, Stride: 1}, + {Lo: 0xFB00, Hi: 0xFB06, Stride: 1}, + {Lo: 0xFB13, Hi: 0xFB17, Stride: 1}, + {Lo: 0xFF41, Hi: 0xFF5A, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x10428, Hi: 0x1044F, Stride: 1}, + {Lo: 0x104D8, Hi: 0x104FB, Stride: 1}, + {Lo: 0x10597, Hi: 0x105A1, Stride: 1}, + {Lo: 0x105A3, Hi: 0x105B1, Stride: 1}, + {Lo: 0x105B3, Hi: 0x105B9, Stride: 1}, + {Lo: 0x105BB, Hi: 0x105BC, Stride: 1}, + {Lo: 0x10780, Hi: 0x10780, Stride: 1}, + {Lo: 0x10783, Hi: 0x10785, Stride: 1}, + {Lo: 0x10787, Hi: 0x107B0, Stride: 1}, + {Lo: 0x107B2, Hi: 0x107BA, Stride: 1}, + {Lo: 0x10CC0, Hi: 0x10CF2, Stride: 1}, + {Lo: 0x10D70, Hi: 0x10D85, Stride: 1}, + {Lo: 0x118C0, Hi: 0x118DF, Stride: 1}, + {Lo: 0x16E60, Hi: 0x16E7F, Stride: 1}, + {Lo: 0x16EBB, Hi: 0x16ED3, Stride: 1}, + {Lo: 0x1D41A, Hi: 0x1D433, Stride: 1}, + {Lo: 0x1D44E, Hi: 0x1D454, Stride: 1}, + {Lo: 0x1D456, Hi: 0x1D467, Stride: 1}, + {Lo: 0x1D482, Hi: 0x1D49B, Stride: 1}, + {Lo: 0x1D4B6, Hi: 0x1D4B9, Stride: 1}, + {Lo: 0x1D4BB, Hi: 0x1D4BB, Stride: 1}, + {Lo: 0x1D4BD, Hi: 0x1D4C3, Stride: 1}, + {Lo: 0x1D4C5, Hi: 0x1D4CF, Stride: 1}, + {Lo: 0x1D4EA, Hi: 0x1D503, Stride: 1}, + {Lo: 0x1D51E, Hi: 0x1D537, Stride: 1}, + {Lo: 0x1D552, Hi: 0x1D56B, Stride: 1}, + {Lo: 0x1D586, Hi: 0x1D59F, Stride: 1}, + {Lo: 0x1D5BA, Hi: 0x1D5D3, Stride: 1}, + {Lo: 0x1D5EE, Hi: 0x1D607, Stride: 1}, + {Lo: 0x1D622, Hi: 0x1D63B, Stride: 1}, + {Lo: 0x1D656, Hi: 0x1D66F, Stride: 1}, + {Lo: 0x1D68A, Hi: 0x1D6A5, Stride: 1}, + {Lo: 0x1D6C2, Hi: 0x1D6DA, Stride: 1}, + {Lo: 0x1D6DC, Hi: 0x1D6E1, Stride: 1}, + {Lo: 0x1D6FC, Hi: 0x1D714, Stride: 1}, + {Lo: 0x1D716, Hi: 0x1D71B, Stride: 1}, + {Lo: 0x1D736, Hi: 0x1D74E, Stride: 1}, + {Lo: 0x1D750, Hi: 0x1D755, Stride: 1}, + {Lo: 0x1D770, Hi: 0x1D788, Stride: 1}, + {Lo: 0x1D78A, Hi: 0x1D78F, Stride: 1}, + {Lo: 0x1D7AA, Hi: 0x1D7C2, Stride: 1}, + {Lo: 0x1D7C4, Hi: 0x1D7C9, Stride: 1}, + {Lo: 0x1D7CB, Hi: 0x1D7CB, Stride: 1}, + {Lo: 0x1DF00, Hi: 0x1DF09, Stride: 1}, + {Lo: 0x1DF0B, Hi: 0x1DF1E, Stride: 1}, + {Lo: 0x1DF25, Hi: 0x1DF2A, Stride: 1}, + {Lo: 0x1E030, Hi: 0x1E06D, Stride: 1}, + {Lo: 0x1E922, Hi: 0x1E943, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Numeric = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x30, Hi: 0x39, Stride: 1}, + {Lo: 0x600, Hi: 0x605, Stride: 1}, + {Lo: 0x660, Hi: 0x669, Stride: 1}, + {Lo: 0x66B, Hi: 0x66C, Stride: 1}, + {Lo: 0x6DD, Hi: 0x6DD, Stride: 1}, + {Lo: 0x6F0, Hi: 0x6F9, Stride: 1}, + {Lo: 0x7C0, Hi: 0x7C9, Stride: 1}, + {Lo: 0x890, Hi: 0x891, Stride: 1}, + {Lo: 0x8E2, Hi: 0x8E2, Stride: 1}, + {Lo: 0x966, Hi: 0x96F, Stride: 1}, + {Lo: 0x9E6, Hi: 0x9EF, Stride: 1}, + {Lo: 0xA66, Hi: 0xA6F, Stride: 1}, + {Lo: 0xAE6, Hi: 0xAEF, Stride: 1}, + {Lo: 0xB66, Hi: 0xB6F, Stride: 1}, + {Lo: 0xBE6, Hi: 0xBEF, Stride: 1}, + {Lo: 0xC66, Hi: 0xC6F, Stride: 1}, + {Lo: 0xCE6, Hi: 0xCEF, Stride: 1}, + {Lo: 0xD66, Hi: 0xD6F, Stride: 1}, + {Lo: 0xDE6, Hi: 0xDEF, Stride: 1}, + {Lo: 0xE50, Hi: 0xE59, Stride: 1}, + {Lo: 0xED0, Hi: 0xED9, Stride: 1}, + {Lo: 0xF20, Hi: 0xF29, Stride: 1}, + {Lo: 0x1040, Hi: 0x1049, Stride: 1}, + {Lo: 0x1090, Hi: 0x1099, Stride: 1}, + {Lo: 0x17E0, Hi: 0x17E9, Stride: 1}, + {Lo: 0x1810, Hi: 0x1819, Stride: 1}, + {Lo: 0x1946, Hi: 0x194F, Stride: 1}, + {Lo: 0x19D0, Hi: 0x19DA, Stride: 1}, + {Lo: 0x1A80, Hi: 0x1A89, Stride: 1}, + {Lo: 0x1A90, Hi: 0x1A99, Stride: 1}, + {Lo: 0x1B50, Hi: 0x1B59, Stride: 1}, + {Lo: 0x1BB0, Hi: 0x1BB9, Stride: 1}, + {Lo: 0x1C40, Hi: 0x1C49, Stride: 1}, + {Lo: 0x1C50, Hi: 0x1C59, Stride: 1}, + {Lo: 0xA620, Hi: 0xA629, Stride: 1}, + {Lo: 0xA8D0, Hi: 0xA8D9, Stride: 1}, + {Lo: 0xA900, Hi: 0xA909, Stride: 1}, + {Lo: 0xA9D0, Hi: 0xA9D9, Stride: 1}, + {Lo: 0xA9F0, Hi: 0xA9F9, Stride: 1}, + {Lo: 0xAA50, Hi: 0xAA59, Stride: 1}, + {Lo: 0xABF0, Hi: 0xABF9, Stride: 1}, + {Lo: 0xFF10, Hi: 0xFF19, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x104A0, Hi: 0x104A9, Stride: 1}, + {Lo: 0x10D30, Hi: 0x10D39, Stride: 1}, + {Lo: 0x10D40, Hi: 0x10D49, Stride: 1}, + {Lo: 0x11066, Hi: 0x1106F, Stride: 1}, + {Lo: 0x110BD, Hi: 0x110BD, Stride: 1}, + {Lo: 0x110CD, Hi: 0x110CD, Stride: 1}, + {Lo: 0x110F0, Hi: 0x110F9, Stride: 1}, + {Lo: 0x11136, Hi: 0x1113F, Stride: 1}, + {Lo: 0x111D0, Hi: 0x111D9, Stride: 1}, + {Lo: 0x112F0, Hi: 0x112F9, Stride: 1}, + {Lo: 0x11450, Hi: 0x11459, Stride: 1}, + {Lo: 0x114D0, Hi: 0x114D9, Stride: 1}, + {Lo: 0x11650, Hi: 0x11659, Stride: 1}, + {Lo: 0x116C0, Hi: 0x116C9, Stride: 1}, + {Lo: 0x116D0, Hi: 0x116E3, Stride: 1}, + {Lo: 0x11730, Hi: 0x11739, Stride: 1}, + {Lo: 0x118E0, Hi: 0x118E9, Stride: 1}, + {Lo: 0x11950, Hi: 0x11959, Stride: 1}, + {Lo: 0x11BF0, Hi: 0x11BF9, Stride: 1}, + {Lo: 0x11C50, Hi: 0x11C59, Stride: 1}, + {Lo: 0x11D50, Hi: 0x11D59, Stride: 1}, + {Lo: 0x11DA0, Hi: 0x11DA9, Stride: 1}, + {Lo: 0x11DE0, Hi: 0x11DE9, Stride: 1}, + {Lo: 0x11F50, Hi: 0x11F59, Stride: 1}, + {Lo: 0x16130, Hi: 0x16139, Stride: 1}, + {Lo: 0x16A60, Hi: 0x16A69, Stride: 1}, + {Lo: 0x16AC0, Hi: 0x16AC9, Stride: 1}, + {Lo: 0x16B50, Hi: 0x16B59, Stride: 1}, + {Lo: 0x16D70, Hi: 0x16D79, Stride: 1}, + {Lo: 0x1CCF0, Hi: 0x1CCF9, Stride: 1}, + {Lo: 0x1D7CE, Hi: 0x1D7FF, Stride: 1}, + {Lo: 0x1E140, Hi: 0x1E149, Stride: 1}, + {Lo: 0x1E2F0, Hi: 0x1E2F9, Stride: 1}, + {Lo: 0x1E4F0, Hi: 0x1E4F9, Stride: 1}, + {Lo: 0x1E5F1, Hi: 0x1E5FA, Stride: 1}, + {Lo: 0x1E950, Hi: 0x1E959, Stride: 1}, + {Lo: 0x1FBF0, Hi: 0x1FBF9, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_OLetter = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x1BB, Hi: 0x1BB, Stride: 1}, + {Lo: 0x1C0, Hi: 0x1C3, Stride: 1}, + {Lo: 0x294, Hi: 0x295, Stride: 1}, + {Lo: 0x2B9, Hi: 0x2BF, Stride: 1}, + {Lo: 0x2C6, Hi: 0x2D1, Stride: 1}, + {Lo: 0x2EC, Hi: 0x2EC, Stride: 1}, + {Lo: 0x2EE, Hi: 0x2EE, Stride: 1}, + {Lo: 0x374, Hi: 0x374, Stride: 1}, + {Lo: 0x559, Hi: 0x559, Stride: 1}, + {Lo: 0x5D0, Hi: 0x5EA, Stride: 1}, + {Lo: 0x5EF, Hi: 0x5F3, Stride: 1}, + {Lo: 0x620, Hi: 0x64A, Stride: 1}, + {Lo: 0x66E, Hi: 0x66F, Stride: 1}, + {Lo: 0x671, Hi: 0x6D3, Stride: 1}, + {Lo: 0x6D5, Hi: 0x6D5, Stride: 1}, + {Lo: 0x6E5, Hi: 0x6E6, Stride: 1}, + {Lo: 0x6EE, Hi: 0x6EF, Stride: 1}, + {Lo: 0x6FA, Hi: 0x6FC, Stride: 1}, + {Lo: 0x6FF, Hi: 0x6FF, Stride: 1}, + {Lo: 0x710, Hi: 0x710, Stride: 1}, + {Lo: 0x712, Hi: 0x72F, Stride: 1}, + {Lo: 0x74D, Hi: 0x7A5, Stride: 1}, + {Lo: 0x7B1, Hi: 0x7B1, Stride: 1}, + {Lo: 0x7CA, Hi: 0x7EA, Stride: 1}, + {Lo: 0x7F4, Hi: 0x7F5, Stride: 1}, + {Lo: 0x7FA, Hi: 0x7FA, Stride: 1}, + {Lo: 0x800, Hi: 0x815, Stride: 1}, + {Lo: 0x81A, Hi: 0x81A, Stride: 1}, + {Lo: 0x824, Hi: 0x824, Stride: 1}, + {Lo: 0x828, Hi: 0x828, Stride: 1}, + {Lo: 0x840, Hi: 0x858, Stride: 1}, + {Lo: 0x860, Hi: 0x86A, Stride: 1}, + {Lo: 0x870, Hi: 0x887, Stride: 1}, + {Lo: 0x889, Hi: 0x88F, Stride: 1}, + {Lo: 0x8A0, Hi: 0x8C9, Stride: 1}, + {Lo: 0x904, Hi: 0x939, Stride: 1}, + {Lo: 0x93D, Hi: 0x93D, Stride: 1}, + {Lo: 0x950, Hi: 0x950, Stride: 1}, + {Lo: 0x958, Hi: 0x961, Stride: 1}, + {Lo: 0x971, Hi: 0x980, Stride: 1}, + {Lo: 0x985, Hi: 0x98C, Stride: 1}, + {Lo: 0x98F, Hi: 0x990, Stride: 1}, + {Lo: 0x993, Hi: 0x9A8, Stride: 1}, + {Lo: 0x9AA, Hi: 0x9B0, Stride: 1}, + {Lo: 0x9B2, Hi: 0x9B2, Stride: 1}, + {Lo: 0x9B6, Hi: 0x9B9, Stride: 1}, + {Lo: 0x9BD, Hi: 0x9BD, Stride: 1}, + {Lo: 0x9CE, Hi: 0x9CE, Stride: 1}, + {Lo: 0x9DC, Hi: 0x9DD, Stride: 1}, + {Lo: 0x9DF, Hi: 0x9E1, Stride: 1}, + {Lo: 0x9F0, Hi: 0x9F1, Stride: 1}, + {Lo: 0x9FC, Hi: 0x9FC, Stride: 1}, + {Lo: 0xA05, Hi: 0xA0A, Stride: 1}, + {Lo: 0xA0F, Hi: 0xA10, Stride: 1}, + {Lo: 0xA13, Hi: 0xA28, Stride: 1}, + {Lo: 0xA2A, Hi: 0xA30, Stride: 1}, + {Lo: 0xA32, Hi: 0xA33, Stride: 1}, + {Lo: 0xA35, Hi: 0xA36, Stride: 1}, + {Lo: 0xA38, Hi: 0xA39, Stride: 1}, + {Lo: 0xA59, Hi: 0xA5C, Stride: 1}, + {Lo: 0xA5E, Hi: 0xA5E, Stride: 1}, + {Lo: 0xA72, Hi: 0xA74, Stride: 1}, + {Lo: 0xA85, Hi: 0xA8D, Stride: 1}, + {Lo: 0xA8F, Hi: 0xA91, Stride: 1}, + {Lo: 0xA93, Hi: 0xAA8, Stride: 1}, + {Lo: 0xAAA, Hi: 0xAB0, Stride: 1}, + {Lo: 0xAB2, Hi: 0xAB3, Stride: 1}, + {Lo: 0xAB5, Hi: 0xAB9, Stride: 1}, + {Lo: 0xABD, Hi: 0xABD, Stride: 1}, + {Lo: 0xAD0, Hi: 0xAD0, Stride: 1}, + {Lo: 0xAE0, Hi: 0xAE1, Stride: 1}, + {Lo: 0xAF9, Hi: 0xAF9, Stride: 1}, + {Lo: 0xB05, Hi: 0xB0C, Stride: 1}, + {Lo: 0xB0F, Hi: 0xB10, Stride: 1}, + {Lo: 0xB13, Hi: 0xB28, Stride: 1}, + {Lo: 0xB2A, Hi: 0xB30, Stride: 1}, + {Lo: 0xB32, Hi: 0xB33, Stride: 1}, + {Lo: 0xB35, Hi: 0xB39, Stride: 1}, + {Lo: 0xB3D, Hi: 0xB3D, Stride: 1}, + {Lo: 0xB5C, Hi: 0xB5D, Stride: 1}, + {Lo: 0xB5F, Hi: 0xB61, Stride: 1}, + {Lo: 0xB71, Hi: 0xB71, Stride: 1}, + {Lo: 0xB83, Hi: 0xB83, Stride: 1}, + {Lo: 0xB85, Hi: 0xB8A, Stride: 1}, + {Lo: 0xB8E, Hi: 0xB90, Stride: 1}, + {Lo: 0xB92, Hi: 0xB95, Stride: 1}, + {Lo: 0xB99, Hi: 0xB9A, Stride: 1}, + {Lo: 0xB9C, Hi: 0xB9C, Stride: 1}, + {Lo: 0xB9E, Hi: 0xB9F, Stride: 1}, + {Lo: 0xBA3, Hi: 0xBA4, Stride: 1}, + {Lo: 0xBA8, Hi: 0xBAA, Stride: 1}, + {Lo: 0xBAE, Hi: 0xBB9, Stride: 1}, + {Lo: 0xBD0, Hi: 0xBD0, Stride: 1}, + {Lo: 0xC05, Hi: 0xC0C, Stride: 1}, + {Lo: 0xC0E, Hi: 0xC10, Stride: 1}, + {Lo: 0xC12, Hi: 0xC28, Stride: 1}, + {Lo: 0xC2A, Hi: 0xC39, Stride: 1}, + {Lo: 0xC3D, Hi: 0xC3D, Stride: 1}, + {Lo: 0xC58, Hi: 0xC5A, Stride: 1}, + {Lo: 0xC5C, Hi: 0xC5D, Stride: 1}, + {Lo: 0xC60, Hi: 0xC61, Stride: 1}, + {Lo: 0xC80, Hi: 0xC80, Stride: 1}, + {Lo: 0xC85, Hi: 0xC8C, Stride: 1}, + {Lo: 0xC8E, Hi: 0xC90, Stride: 1}, + {Lo: 0xC92, Hi: 0xCA8, Stride: 1}, + {Lo: 0xCAA, Hi: 0xCB3, Stride: 1}, + {Lo: 0xCB5, Hi: 0xCB9, Stride: 1}, + {Lo: 0xCBD, Hi: 0xCBD, Stride: 1}, + {Lo: 0xCDC, Hi: 0xCDE, Stride: 1}, + {Lo: 0xCE0, Hi: 0xCE1, Stride: 1}, + {Lo: 0xCF1, Hi: 0xCF2, Stride: 1}, + {Lo: 0xD04, Hi: 0xD0C, Stride: 1}, + {Lo: 0xD0E, Hi: 0xD10, Stride: 1}, + {Lo: 0xD12, Hi: 0xD3A, Stride: 1}, + {Lo: 0xD3D, Hi: 0xD3D, Stride: 1}, + {Lo: 0xD4E, Hi: 0xD4E, Stride: 1}, + {Lo: 0xD54, Hi: 0xD56, Stride: 1}, + {Lo: 0xD5F, Hi: 0xD61, Stride: 1}, + {Lo: 0xD7A, Hi: 0xD7F, Stride: 1}, + {Lo: 0xD85, Hi: 0xD96, Stride: 1}, + {Lo: 0xD9A, Hi: 0xDB1, Stride: 1}, + {Lo: 0xDB3, Hi: 0xDBB, Stride: 1}, + {Lo: 0xDBD, Hi: 0xDBD, Stride: 1}, + {Lo: 0xDC0, Hi: 0xDC6, Stride: 1}, + {Lo: 0xE01, Hi: 0xE30, Stride: 1}, + {Lo: 0xE32, Hi: 0xE33, Stride: 1}, + {Lo: 0xE40, Hi: 0xE46, Stride: 1}, + {Lo: 0xE81, Hi: 0xE82, Stride: 1}, + {Lo: 0xE84, Hi: 0xE84, Stride: 1}, + {Lo: 0xE86, Hi: 0xE8A, Stride: 1}, + {Lo: 0xE8C, Hi: 0xEA3, Stride: 1}, + {Lo: 0xEA5, Hi: 0xEA5, Stride: 1}, + {Lo: 0xEA7, Hi: 0xEB0, Stride: 1}, + {Lo: 0xEB2, Hi: 0xEB3, Stride: 1}, + {Lo: 0xEBD, Hi: 0xEBD, Stride: 1}, + {Lo: 0xEC0, Hi: 0xEC4, Stride: 1}, + {Lo: 0xEC6, Hi: 0xEC6, Stride: 1}, + {Lo: 0xEDC, Hi: 0xEDF, Stride: 1}, + {Lo: 0xF00, Hi: 0xF00, Stride: 1}, + {Lo: 0xF40, Hi: 0xF47, Stride: 1}, + {Lo: 0xF49, Hi: 0xF6C, Stride: 1}, + {Lo: 0xF88, Hi: 0xF8C, Stride: 1}, + {Lo: 0x1000, Hi: 0x102A, Stride: 1}, + {Lo: 0x103F, Hi: 0x103F, Stride: 1}, + {Lo: 0x1050, Hi: 0x1055, Stride: 1}, + {Lo: 0x105A, Hi: 0x105D, Stride: 1}, + {Lo: 0x1061, Hi: 0x1061, Stride: 1}, + {Lo: 0x1065, Hi: 0x1066, Stride: 1}, + {Lo: 0x106E, Hi: 0x1070, Stride: 1}, + {Lo: 0x1075, Hi: 0x1081, Stride: 1}, + {Lo: 0x108E, Hi: 0x108E, Stride: 1}, + {Lo: 0x10D0, Hi: 0x10FA, Stride: 1}, + {Lo: 0x10FD, Hi: 0x1248, Stride: 1}, + {Lo: 0x124A, Hi: 0x124D, Stride: 1}, + {Lo: 0x1250, Hi: 0x1256, Stride: 1}, + {Lo: 0x1258, Hi: 0x1258, Stride: 1}, + {Lo: 0x125A, Hi: 0x125D, Stride: 1}, + {Lo: 0x1260, Hi: 0x1288, Stride: 1}, + {Lo: 0x128A, Hi: 0x128D, Stride: 1}, + {Lo: 0x1290, Hi: 0x12B0, Stride: 1}, + {Lo: 0x12B2, Hi: 0x12B5, Stride: 1}, + {Lo: 0x12B8, Hi: 0x12BE, Stride: 1}, + {Lo: 0x12C0, Hi: 0x12C0, Stride: 1}, + {Lo: 0x12C2, Hi: 0x12C5, Stride: 1}, + {Lo: 0x12C8, Hi: 0x12D6, Stride: 1}, + {Lo: 0x12D8, Hi: 0x1310, Stride: 1}, + {Lo: 0x1312, Hi: 0x1315, Stride: 1}, + {Lo: 0x1318, Hi: 0x135A, Stride: 1}, + {Lo: 0x1380, Hi: 0x138F, Stride: 1}, + {Lo: 0x1401, Hi: 0x166C, Stride: 1}, + {Lo: 0x166F, Hi: 0x167F, Stride: 1}, + {Lo: 0x1681, Hi: 0x169A, Stride: 1}, + {Lo: 0x16A0, Hi: 0x16EA, Stride: 1}, + {Lo: 0x16EE, Hi: 0x16F8, Stride: 1}, + {Lo: 0x1700, Hi: 0x1711, Stride: 1}, + {Lo: 0x171F, Hi: 0x1731, Stride: 1}, + {Lo: 0x1740, Hi: 0x1751, Stride: 1}, + {Lo: 0x1760, Hi: 0x176C, Stride: 1}, + {Lo: 0x176E, Hi: 0x1770, Stride: 1}, + {Lo: 0x1780, Hi: 0x17B3, Stride: 1}, + {Lo: 0x17D7, Hi: 0x17D7, Stride: 1}, + {Lo: 0x17DC, Hi: 0x17DC, Stride: 1}, + {Lo: 0x1820, Hi: 0x1878, Stride: 1}, + {Lo: 0x1880, Hi: 0x1884, Stride: 1}, + {Lo: 0x1887, Hi: 0x18A8, Stride: 1}, + {Lo: 0x18AA, Hi: 0x18AA, Stride: 1}, + {Lo: 0x18B0, Hi: 0x18F5, Stride: 1}, + {Lo: 0x1900, Hi: 0x191E, Stride: 1}, + {Lo: 0x1950, Hi: 0x196D, Stride: 1}, + {Lo: 0x1970, Hi: 0x1974, Stride: 1}, + {Lo: 0x1980, Hi: 0x19AB, Stride: 1}, + {Lo: 0x19B0, Hi: 0x19C9, Stride: 1}, + {Lo: 0x1A00, Hi: 0x1A16, Stride: 1}, + {Lo: 0x1A20, Hi: 0x1A54, Stride: 1}, + {Lo: 0x1AA7, Hi: 0x1AA7, Stride: 1}, + {Lo: 0x1B05, Hi: 0x1B33, Stride: 1}, + {Lo: 0x1B45, Hi: 0x1B4C, Stride: 1}, + {Lo: 0x1B83, Hi: 0x1BA0, Stride: 1}, + {Lo: 0x1BAE, Hi: 0x1BAF, Stride: 1}, + {Lo: 0x1BBA, Hi: 0x1BE5, Stride: 1}, + {Lo: 0x1C00, Hi: 0x1C23, Stride: 1}, + {Lo: 0x1C4D, Hi: 0x1C4F, Stride: 1}, + {Lo: 0x1C5A, Hi: 0x1C7D, Stride: 1}, + {Lo: 0x1C90, Hi: 0x1CBA, Stride: 1}, + {Lo: 0x1CBD, Hi: 0x1CBF, Stride: 1}, + {Lo: 0x1CE9, Hi: 0x1CEC, Stride: 1}, + {Lo: 0x1CEE, Hi: 0x1CF3, Stride: 1}, + {Lo: 0x1CF5, Hi: 0x1CF6, Stride: 1}, + {Lo: 0x1CFA, Hi: 0x1CFA, Stride: 1}, + {Lo: 0x2135, Hi: 0x2138, Stride: 1}, + {Lo: 0x2180, Hi: 0x2182, Stride: 1}, + {Lo: 0x2185, Hi: 0x2188, Stride: 1}, + {Lo: 0x2D30, Hi: 0x2D67, Stride: 1}, + {Lo: 0x2D6F, Hi: 0x2D6F, Stride: 1}, + {Lo: 0x2D80, Hi: 0x2D96, Stride: 1}, + {Lo: 0x2DA0, Hi: 0x2DA6, Stride: 1}, + {Lo: 0x2DA8, Hi: 0x2DAE, Stride: 1}, + {Lo: 0x2DB0, Hi: 0x2DB6, Stride: 1}, + {Lo: 0x2DB8, Hi: 0x2DBE, Stride: 1}, + {Lo: 0x2DC0, Hi: 0x2DC6, Stride: 1}, + {Lo: 0x2DC8, Hi: 0x2DCE, Stride: 1}, + {Lo: 0x2DD0, Hi: 0x2DD6, Stride: 1}, + {Lo: 0x2DD8, Hi: 0x2DDE, Stride: 1}, + {Lo: 0x2E2F, Hi: 0x2E2F, Stride: 1}, + {Lo: 0x3005, Hi: 0x3007, Stride: 1}, + {Lo: 0x3021, Hi: 0x3029, Stride: 1}, + {Lo: 0x3031, Hi: 0x3035, Stride: 1}, + {Lo: 0x3038, Hi: 0x303C, Stride: 1}, + {Lo: 0x3041, Hi: 0x3096, Stride: 1}, + {Lo: 0x309D, Hi: 0x309F, Stride: 1}, + {Lo: 0x30A1, Hi: 0x30FA, Stride: 1}, + {Lo: 0x30FC, Hi: 0x30FF, Stride: 1}, + {Lo: 0x3105, Hi: 0x312F, Stride: 1}, + {Lo: 0x3131, Hi: 0x318E, Stride: 1}, + {Lo: 0x31A0, Hi: 0x31BF, Stride: 1}, + {Lo: 0x31F0, Hi: 0x31FF, Stride: 1}, + {Lo: 0x3400, Hi: 0x4DBF, Stride: 1}, + {Lo: 0x4E00, Hi: 0xA48C, Stride: 1}, + {Lo: 0xA4D0, Hi: 0xA4FD, Stride: 1}, + {Lo: 0xA500, Hi: 0xA60C, Stride: 1}, + {Lo: 0xA610, Hi: 0xA61F, Stride: 1}, + {Lo: 0xA62A, Hi: 0xA62B, Stride: 1}, + {Lo: 0xA66E, Hi: 0xA66E, Stride: 1}, + {Lo: 0xA67F, Hi: 0xA67F, Stride: 1}, + {Lo: 0xA6A0, Hi: 0xA6EF, Stride: 1}, + {Lo: 0xA717, Hi: 0xA71F, Stride: 1}, + {Lo: 0xA788, Hi: 0xA788, Stride: 1}, + {Lo: 0xA78F, Hi: 0xA78F, Stride: 1}, + {Lo: 0xA7F7, Hi: 0xA7F7, Stride: 1}, + {Lo: 0xA7FB, Hi: 0xA801, Stride: 1}, + {Lo: 0xA803, Hi: 0xA805, Stride: 1}, + {Lo: 0xA807, Hi: 0xA80A, Stride: 1}, + {Lo: 0xA80C, Hi: 0xA822, Stride: 1}, + {Lo: 0xA840, Hi: 0xA873, Stride: 1}, + {Lo: 0xA882, Hi: 0xA8B3, Stride: 1}, + {Lo: 0xA8F2, Hi: 0xA8F7, Stride: 1}, + {Lo: 0xA8FB, Hi: 0xA8FB, Stride: 1}, + {Lo: 0xA8FD, Hi: 0xA8FE, Stride: 1}, + {Lo: 0xA90A, Hi: 0xA925, Stride: 1}, + {Lo: 0xA930, Hi: 0xA946, Stride: 1}, + {Lo: 0xA960, Hi: 0xA97C, Stride: 1}, + {Lo: 0xA984, Hi: 0xA9B2, Stride: 1}, + {Lo: 0xA9CF, Hi: 0xA9CF, Stride: 1}, + {Lo: 0xA9E0, Hi: 0xA9E4, Stride: 1}, + {Lo: 0xA9E6, Hi: 0xA9EF, Stride: 1}, + {Lo: 0xA9FA, Hi: 0xA9FE, Stride: 1}, + {Lo: 0xAA00, Hi: 0xAA28, Stride: 1}, + {Lo: 0xAA40, Hi: 0xAA42, Stride: 1}, + {Lo: 0xAA44, Hi: 0xAA4B, Stride: 1}, + {Lo: 0xAA60, Hi: 0xAA76, Stride: 1}, + {Lo: 0xAA7A, Hi: 0xAA7A, Stride: 1}, + {Lo: 0xAA7E, Hi: 0xAAAF, Stride: 1}, + {Lo: 0xAAB1, Hi: 0xAAB1, Stride: 1}, + {Lo: 0xAAB5, Hi: 0xAAB6, Stride: 1}, + {Lo: 0xAAB9, Hi: 0xAABD, Stride: 1}, + {Lo: 0xAAC0, Hi: 0xAAC0, Stride: 1}, + {Lo: 0xAAC2, Hi: 0xAAC2, Stride: 1}, + {Lo: 0xAADB, Hi: 0xAADD, Stride: 1}, + {Lo: 0xAAE0, Hi: 0xAAEA, Stride: 1}, + {Lo: 0xAAF2, Hi: 0xAAF4, Stride: 1}, + {Lo: 0xAB01, Hi: 0xAB06, Stride: 1}, + {Lo: 0xAB09, Hi: 0xAB0E, Stride: 1}, + {Lo: 0xAB11, Hi: 0xAB16, Stride: 1}, + {Lo: 0xAB20, Hi: 0xAB26, Stride: 1}, + {Lo: 0xAB28, Hi: 0xAB2E, Stride: 1}, + {Lo: 0xABC0, Hi: 0xABE2, Stride: 1}, + {Lo: 0xAC00, Hi: 0xD7A3, Stride: 1}, + {Lo: 0xD7B0, Hi: 0xD7C6, Stride: 1}, + {Lo: 0xD7CB, Hi: 0xD7FB, Stride: 1}, + {Lo: 0xF900, Hi: 0xFA6D, Stride: 1}, + {Lo: 0xFA70, Hi: 0xFAD9, Stride: 1}, + {Lo: 0xFB1D, Hi: 0xFB1D, Stride: 1}, + {Lo: 0xFB1F, Hi: 0xFB28, Stride: 1}, + {Lo: 0xFB2A, Hi: 0xFB36, Stride: 1}, + {Lo: 0xFB38, Hi: 0xFB3C, Stride: 1}, + {Lo: 0xFB3E, Hi: 0xFB3E, Stride: 1}, + {Lo: 0xFB40, Hi: 0xFB41, Stride: 1}, + {Lo: 0xFB43, Hi: 0xFB44, Stride: 1}, + {Lo: 0xFB46, Hi: 0xFBB1, Stride: 1}, + {Lo: 0xFBD3, Hi: 0xFD3D, Stride: 1}, + {Lo: 0xFD50, Hi: 0xFD8F, Stride: 1}, + {Lo: 0xFD92, Hi: 0xFDC7, Stride: 1}, + {Lo: 0xFDF0, Hi: 0xFDFB, Stride: 1}, + {Lo: 0xFE70, Hi: 0xFE74, Stride: 1}, + {Lo: 0xFE76, Hi: 0xFEFC, Stride: 1}, + {Lo: 0xFF66, Hi: 0xFF9D, Stride: 1}, + {Lo: 0xFFA0, Hi: 0xFFBE, Stride: 1}, + {Lo: 0xFFC2, Hi: 0xFFC7, Stride: 1}, + {Lo: 0xFFCA, Hi: 0xFFCF, Stride: 1}, + {Lo: 0xFFD2, Hi: 0xFFD7, Stride: 1}, + {Lo: 0xFFDA, Hi: 0xFFDC, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x10000, Hi: 0x1000B, Stride: 1}, + {Lo: 0x1000D, Hi: 0x10026, Stride: 1}, + {Lo: 0x10028, Hi: 0x1003A, Stride: 1}, + {Lo: 0x1003C, Hi: 0x1003D, Stride: 1}, + {Lo: 0x1003F, Hi: 0x1004D, Stride: 1}, + {Lo: 0x10050, Hi: 0x1005D, Stride: 1}, + {Lo: 0x10080, Hi: 0x100FA, Stride: 1}, + {Lo: 0x10140, Hi: 0x10174, Stride: 1}, + {Lo: 0x10280, Hi: 0x1029C, Stride: 1}, + {Lo: 0x102A0, Hi: 0x102D0, Stride: 1}, + {Lo: 0x10300, Hi: 0x1031F, Stride: 1}, + {Lo: 0x1032D, Hi: 0x1034A, Stride: 1}, + {Lo: 0x10350, Hi: 0x10375, Stride: 1}, + {Lo: 0x10380, Hi: 0x1039D, Stride: 1}, + {Lo: 0x103A0, Hi: 0x103C3, Stride: 1}, + {Lo: 0x103C8, Hi: 0x103CF, Stride: 1}, + {Lo: 0x103D1, Hi: 0x103D5, Stride: 1}, + {Lo: 0x10450, Hi: 0x1049D, Stride: 1}, + {Lo: 0x10500, Hi: 0x10527, Stride: 1}, + {Lo: 0x10530, Hi: 0x10563, Stride: 1}, + {Lo: 0x105C0, Hi: 0x105F3, Stride: 1}, + {Lo: 0x10600, Hi: 0x10736, Stride: 1}, + {Lo: 0x10740, Hi: 0x10755, Stride: 1}, + {Lo: 0x10760, Hi: 0x10767, Stride: 1}, + {Lo: 0x10781, Hi: 0x10782, Stride: 1}, + {Lo: 0x10800, Hi: 0x10805, Stride: 1}, + {Lo: 0x10808, Hi: 0x10808, Stride: 1}, + {Lo: 0x1080A, Hi: 0x10835, Stride: 1}, + {Lo: 0x10837, Hi: 0x10838, Stride: 1}, + {Lo: 0x1083C, Hi: 0x1083C, Stride: 1}, + {Lo: 0x1083F, Hi: 0x10855, Stride: 1}, + {Lo: 0x10860, Hi: 0x10876, Stride: 1}, + {Lo: 0x10880, Hi: 0x1089E, Stride: 1}, + {Lo: 0x108E0, Hi: 0x108F2, Stride: 1}, + {Lo: 0x108F4, Hi: 0x108F5, Stride: 1}, + {Lo: 0x10900, Hi: 0x10915, Stride: 1}, + {Lo: 0x10920, Hi: 0x10939, Stride: 1}, + {Lo: 0x10940, Hi: 0x10959, Stride: 1}, + {Lo: 0x10980, Hi: 0x109B7, Stride: 1}, + {Lo: 0x109BE, Hi: 0x109BF, Stride: 1}, + {Lo: 0x10A00, Hi: 0x10A00, Stride: 1}, + {Lo: 0x10A10, Hi: 0x10A13, Stride: 1}, + {Lo: 0x10A15, Hi: 0x10A17, Stride: 1}, + {Lo: 0x10A19, Hi: 0x10A35, Stride: 1}, + {Lo: 0x10A60, Hi: 0x10A7C, Stride: 1}, + {Lo: 0x10A80, Hi: 0x10A9C, Stride: 1}, + {Lo: 0x10AC0, Hi: 0x10AC7, Stride: 1}, + {Lo: 0x10AC9, Hi: 0x10AE4, Stride: 1}, + {Lo: 0x10B00, Hi: 0x10B35, Stride: 1}, + {Lo: 0x10B40, Hi: 0x10B55, Stride: 1}, + {Lo: 0x10B60, Hi: 0x10B72, Stride: 1}, + {Lo: 0x10B80, Hi: 0x10B91, Stride: 1}, + {Lo: 0x10C00, Hi: 0x10C48, Stride: 1}, + {Lo: 0x10D00, Hi: 0x10D23, Stride: 1}, + {Lo: 0x10D4A, Hi: 0x10D4F, Stride: 1}, + {Lo: 0x10D6F, Hi: 0x10D6F, Stride: 1}, + {Lo: 0x10E80, Hi: 0x10EA9, Stride: 1}, + {Lo: 0x10EB0, Hi: 0x10EB1, Stride: 1}, + {Lo: 0x10EC2, Hi: 0x10EC7, Stride: 1}, + {Lo: 0x10F00, Hi: 0x10F1C, Stride: 1}, + {Lo: 0x10F27, Hi: 0x10F27, Stride: 1}, + {Lo: 0x10F30, Hi: 0x10F45, Stride: 1}, + {Lo: 0x10F70, Hi: 0x10F81, Stride: 1}, + {Lo: 0x10FB0, Hi: 0x10FC4, Stride: 1}, + {Lo: 0x10FE0, Hi: 0x10FF6, Stride: 1}, + {Lo: 0x11003, Hi: 0x11037, Stride: 1}, + {Lo: 0x11071, Hi: 0x11072, Stride: 1}, + {Lo: 0x11075, Hi: 0x11075, Stride: 1}, + {Lo: 0x11083, Hi: 0x110AF, Stride: 1}, + {Lo: 0x110D0, Hi: 0x110E8, Stride: 1}, + {Lo: 0x11103, Hi: 0x11126, Stride: 1}, + {Lo: 0x11144, Hi: 0x11144, Stride: 1}, + {Lo: 0x11147, Hi: 0x11147, Stride: 1}, + {Lo: 0x11150, Hi: 0x11172, Stride: 1}, + {Lo: 0x11176, Hi: 0x11176, Stride: 1}, + {Lo: 0x11183, Hi: 0x111B2, Stride: 1}, + {Lo: 0x111C1, Hi: 0x111C4, Stride: 1}, + {Lo: 0x111DA, Hi: 0x111DA, Stride: 1}, + {Lo: 0x111DC, Hi: 0x111DC, Stride: 1}, + {Lo: 0x11200, Hi: 0x11211, Stride: 1}, + {Lo: 0x11213, Hi: 0x1122B, Stride: 1}, + {Lo: 0x1123F, Hi: 0x11240, Stride: 1}, + {Lo: 0x11280, Hi: 0x11286, Stride: 1}, + {Lo: 0x11288, Hi: 0x11288, Stride: 1}, + {Lo: 0x1128A, Hi: 0x1128D, Stride: 1}, + {Lo: 0x1128F, Hi: 0x1129D, Stride: 1}, + {Lo: 0x1129F, Hi: 0x112A8, Stride: 1}, + {Lo: 0x112B0, Hi: 0x112DE, Stride: 1}, + {Lo: 0x11305, Hi: 0x1130C, Stride: 1}, + {Lo: 0x1130F, Hi: 0x11310, Stride: 1}, + {Lo: 0x11313, Hi: 0x11328, Stride: 1}, + {Lo: 0x1132A, Hi: 0x11330, Stride: 1}, + {Lo: 0x11332, Hi: 0x11333, Stride: 1}, + {Lo: 0x11335, Hi: 0x11339, Stride: 1}, + {Lo: 0x1133D, Hi: 0x1133D, Stride: 1}, + {Lo: 0x11350, Hi: 0x11350, Stride: 1}, + {Lo: 0x1135D, Hi: 0x11361, Stride: 1}, + {Lo: 0x11380, Hi: 0x11389, Stride: 1}, + {Lo: 0x1138B, Hi: 0x1138B, Stride: 1}, + {Lo: 0x1138E, Hi: 0x1138E, Stride: 1}, + {Lo: 0x11390, Hi: 0x113B5, Stride: 1}, + {Lo: 0x113B7, Hi: 0x113B7, Stride: 1}, + {Lo: 0x113D1, Hi: 0x113D1, Stride: 1}, + {Lo: 0x113D3, Hi: 0x113D3, Stride: 1}, + {Lo: 0x11400, Hi: 0x11434, Stride: 1}, + {Lo: 0x11447, Hi: 0x1144A, Stride: 1}, + {Lo: 0x1145F, Hi: 0x11461, Stride: 1}, + {Lo: 0x11480, Hi: 0x114AF, Stride: 1}, + {Lo: 0x114C4, Hi: 0x114C5, Stride: 1}, + {Lo: 0x114C7, Hi: 0x114C7, Stride: 1}, + {Lo: 0x11580, Hi: 0x115AE, Stride: 1}, + {Lo: 0x115D8, Hi: 0x115DB, Stride: 1}, + {Lo: 0x11600, Hi: 0x1162F, Stride: 1}, + {Lo: 0x11644, Hi: 0x11644, Stride: 1}, + {Lo: 0x11680, Hi: 0x116AA, Stride: 1}, + {Lo: 0x116B8, Hi: 0x116B8, Stride: 1}, + {Lo: 0x11700, Hi: 0x1171A, Stride: 1}, + {Lo: 0x11740, Hi: 0x11746, Stride: 1}, + {Lo: 0x11800, Hi: 0x1182B, Stride: 1}, + {Lo: 0x118FF, Hi: 0x11906, Stride: 1}, + {Lo: 0x11909, Hi: 0x11909, Stride: 1}, + {Lo: 0x1190C, Hi: 0x11913, Stride: 1}, + {Lo: 0x11915, Hi: 0x11916, Stride: 1}, + {Lo: 0x11918, Hi: 0x1192F, Stride: 1}, + {Lo: 0x1193F, Hi: 0x1193F, Stride: 1}, + {Lo: 0x11941, Hi: 0x11941, Stride: 1}, + {Lo: 0x119A0, Hi: 0x119A7, Stride: 1}, + {Lo: 0x119AA, Hi: 0x119D0, Stride: 1}, + {Lo: 0x119E1, Hi: 0x119E1, Stride: 1}, + {Lo: 0x119E3, Hi: 0x119E3, Stride: 1}, + {Lo: 0x11A00, Hi: 0x11A00, Stride: 1}, + {Lo: 0x11A0B, Hi: 0x11A32, Stride: 1}, + {Lo: 0x11A3A, Hi: 0x11A3A, Stride: 1}, + {Lo: 0x11A50, Hi: 0x11A50, Stride: 1}, + {Lo: 0x11A5C, Hi: 0x11A89, Stride: 1}, + {Lo: 0x11A9D, Hi: 0x11A9D, Stride: 1}, + {Lo: 0x11AB0, Hi: 0x11AF8, Stride: 1}, + {Lo: 0x11BC0, Hi: 0x11BE0, Stride: 1}, + {Lo: 0x11C00, Hi: 0x11C08, Stride: 1}, + {Lo: 0x11C0A, Hi: 0x11C2E, Stride: 1}, + {Lo: 0x11C40, Hi: 0x11C40, Stride: 1}, + {Lo: 0x11C72, Hi: 0x11C8F, Stride: 1}, + {Lo: 0x11D00, Hi: 0x11D06, Stride: 1}, + {Lo: 0x11D08, Hi: 0x11D09, Stride: 1}, + {Lo: 0x11D0B, Hi: 0x11D30, Stride: 1}, + {Lo: 0x11D46, Hi: 0x11D46, Stride: 1}, + {Lo: 0x11D60, Hi: 0x11D65, Stride: 1}, + {Lo: 0x11D67, Hi: 0x11D68, Stride: 1}, + {Lo: 0x11D6A, Hi: 0x11D89, Stride: 1}, + {Lo: 0x11D98, Hi: 0x11D98, Stride: 1}, + {Lo: 0x11DB0, Hi: 0x11DDB, Stride: 1}, + {Lo: 0x11EE0, Hi: 0x11EF2, Stride: 1}, + {Lo: 0x11F02, Hi: 0x11F02, Stride: 1}, + {Lo: 0x11F04, Hi: 0x11F10, Stride: 1}, + {Lo: 0x11F12, Hi: 0x11F33, Stride: 1}, + {Lo: 0x11FB0, Hi: 0x11FB0, Stride: 1}, + {Lo: 0x12000, Hi: 0x12399, Stride: 1}, + {Lo: 0x12400, Hi: 0x1246E, Stride: 1}, + {Lo: 0x12480, Hi: 0x12543, Stride: 1}, + {Lo: 0x12F90, Hi: 0x12FF0, Stride: 1}, + {Lo: 0x13000, Hi: 0x1342F, Stride: 1}, + {Lo: 0x13441, Hi: 0x13446, Stride: 1}, + {Lo: 0x13460, Hi: 0x143FA, Stride: 1}, + {Lo: 0x14400, Hi: 0x14646, Stride: 1}, + {Lo: 0x16100, Hi: 0x1611D, Stride: 1}, + {Lo: 0x16800, Hi: 0x16A38, Stride: 1}, + {Lo: 0x16A40, Hi: 0x16A5E, Stride: 1}, + {Lo: 0x16A70, Hi: 0x16ABE, Stride: 1}, + {Lo: 0x16AD0, Hi: 0x16AED, Stride: 1}, + {Lo: 0x16B00, Hi: 0x16B2F, Stride: 1}, + {Lo: 0x16B40, Hi: 0x16B43, Stride: 1}, + {Lo: 0x16B63, Hi: 0x16B77, Stride: 1}, + {Lo: 0x16B7D, Hi: 0x16B8F, Stride: 1}, + {Lo: 0x16D40, Hi: 0x16D6C, Stride: 1}, + {Lo: 0x16F00, Hi: 0x16F4A, Stride: 1}, + {Lo: 0x16F50, Hi: 0x16F50, Stride: 1}, + {Lo: 0x16F93, Hi: 0x16F9F, Stride: 1}, + {Lo: 0x16FE0, Hi: 0x16FE1, Stride: 1}, + {Lo: 0x16FE3, Hi: 0x16FE3, Stride: 1}, + {Lo: 0x16FF2, Hi: 0x16FF6, Stride: 1}, + {Lo: 0x17000, Hi: 0x18CD5, Stride: 1}, + {Lo: 0x18CFF, Hi: 0x18D1E, Stride: 1}, + {Lo: 0x18D80, Hi: 0x18DF2, Stride: 1}, + {Lo: 0x1AFF0, Hi: 0x1AFF3, Stride: 1}, + {Lo: 0x1AFF5, Hi: 0x1AFFB, Stride: 1}, + {Lo: 0x1AFFD, Hi: 0x1AFFE, Stride: 1}, + {Lo: 0x1B000, Hi: 0x1B122, Stride: 1}, + {Lo: 0x1B132, Hi: 0x1B132, Stride: 1}, + {Lo: 0x1B150, Hi: 0x1B152, Stride: 1}, + {Lo: 0x1B155, Hi: 0x1B155, Stride: 1}, + {Lo: 0x1B164, Hi: 0x1B167, Stride: 1}, + {Lo: 0x1B170, Hi: 0x1B2FB, Stride: 1}, + {Lo: 0x1BC00, Hi: 0x1BC6A, Stride: 1}, + {Lo: 0x1BC70, Hi: 0x1BC7C, Stride: 1}, + {Lo: 0x1BC80, Hi: 0x1BC88, Stride: 1}, + {Lo: 0x1BC90, Hi: 0x1BC99, Stride: 1}, + {Lo: 0x1DF0A, Hi: 0x1DF0A, Stride: 1}, + {Lo: 0x1E100, Hi: 0x1E12C, Stride: 1}, + {Lo: 0x1E137, Hi: 0x1E13D, Stride: 1}, + {Lo: 0x1E14E, Hi: 0x1E14E, Stride: 1}, + {Lo: 0x1E290, Hi: 0x1E2AD, Stride: 1}, + {Lo: 0x1E2C0, Hi: 0x1E2EB, Stride: 1}, + {Lo: 0x1E4D0, Hi: 0x1E4EB, Stride: 1}, + {Lo: 0x1E5D0, Hi: 0x1E5ED, Stride: 1}, + {Lo: 0x1E5F0, Hi: 0x1E5F0, Stride: 1}, + {Lo: 0x1E6C0, Hi: 0x1E6DE, Stride: 1}, + {Lo: 0x1E6E0, Hi: 0x1E6E2, Stride: 1}, + {Lo: 0x1E6E4, Hi: 0x1E6E5, Stride: 1}, + {Lo: 0x1E6E7, Hi: 0x1E6ED, Stride: 1}, + {Lo: 0x1E6F0, Hi: 0x1E6F4, Stride: 1}, + {Lo: 0x1E6FE, Hi: 0x1E6FF, Stride: 1}, + {Lo: 0x1E7E0, Hi: 0x1E7E6, Stride: 1}, + {Lo: 0x1E7E8, Hi: 0x1E7EB, Stride: 1}, + {Lo: 0x1E7ED, Hi: 0x1E7EE, Stride: 1}, + {Lo: 0x1E7F0, Hi: 0x1E7FE, Stride: 1}, + {Lo: 0x1E800, Hi: 0x1E8C4, Stride: 1}, + {Lo: 0x1E94B, Hi: 0x1E94B, Stride: 1}, + {Lo: 0x1EE00, Hi: 0x1EE03, Stride: 1}, + {Lo: 0x1EE05, Hi: 0x1EE1F, Stride: 1}, + {Lo: 0x1EE21, Hi: 0x1EE22, Stride: 1}, + {Lo: 0x1EE24, Hi: 0x1EE24, Stride: 1}, + {Lo: 0x1EE27, Hi: 0x1EE27, Stride: 1}, + {Lo: 0x1EE29, Hi: 0x1EE32, Stride: 1}, + {Lo: 0x1EE34, Hi: 0x1EE37, Stride: 1}, + {Lo: 0x1EE39, Hi: 0x1EE39, Stride: 1}, + {Lo: 0x1EE3B, Hi: 0x1EE3B, Stride: 1}, + {Lo: 0x1EE42, Hi: 0x1EE42, Stride: 1}, + {Lo: 0x1EE47, Hi: 0x1EE47, Stride: 1}, + {Lo: 0x1EE49, Hi: 0x1EE49, Stride: 1}, + {Lo: 0x1EE4B, Hi: 0x1EE4B, Stride: 1}, + {Lo: 0x1EE4D, Hi: 0x1EE4F, Stride: 1}, + {Lo: 0x1EE51, Hi: 0x1EE52, Stride: 1}, + {Lo: 0x1EE54, Hi: 0x1EE54, Stride: 1}, + {Lo: 0x1EE57, Hi: 0x1EE57, Stride: 1}, + {Lo: 0x1EE59, Hi: 0x1EE59, Stride: 1}, + {Lo: 0x1EE5B, Hi: 0x1EE5B, Stride: 1}, + {Lo: 0x1EE5D, Hi: 0x1EE5D, Stride: 1}, + {Lo: 0x1EE5F, Hi: 0x1EE5F, Stride: 1}, + {Lo: 0x1EE61, Hi: 0x1EE62, Stride: 1}, + {Lo: 0x1EE64, Hi: 0x1EE64, Stride: 1}, + {Lo: 0x1EE67, Hi: 0x1EE6A, Stride: 1}, + {Lo: 0x1EE6C, Hi: 0x1EE72, Stride: 1}, + {Lo: 0x1EE74, Hi: 0x1EE77, Stride: 1}, + {Lo: 0x1EE79, Hi: 0x1EE7C, Stride: 1}, + {Lo: 0x1EE7E, Hi: 0x1EE7E, Stride: 1}, + {Lo: 0x1EE80, Hi: 0x1EE89, Stride: 1}, + {Lo: 0x1EE8B, Hi: 0x1EE9B, Stride: 1}, + {Lo: 0x1EEA1, Hi: 0x1EEA3, Stride: 1}, + {Lo: 0x1EEA5, Hi: 0x1EEA9, Stride: 1}, + {Lo: 0x1EEAB, Hi: 0x1EEBB, Stride: 1}, + {Lo: 0x20000, Hi: 0x2A6DF, Stride: 1}, + {Lo: 0x2A700, Hi: 0x2B81D, Stride: 1}, + {Lo: 0x2B820, Hi: 0x2CEAD, Stride: 1}, + {Lo: 0x2CEB0, Hi: 0x2EBE0, Stride: 1}, + {Lo: 0x2EBF0, Hi: 0x2EE5D, Stride: 1}, + {Lo: 0x2F800, Hi: 0x2FA1D, Stride: 1}, + {Lo: 0x30000, Hi: 0x3134A, Stride: 1}, + {Lo: 0x31350, Hi: 0x33479, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_SContinue = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x2C, Hi: 0x2D, Stride: 1}, + {Lo: 0x3A, Hi: 0x3B, Stride: 1}, + {Lo: 0x37E, Hi: 0x37E, Stride: 1}, + {Lo: 0x55D, Hi: 0x55D, Stride: 1}, + {Lo: 0x60C, Hi: 0x60D, Stride: 1}, + {Lo: 0x7F8, Hi: 0x7F8, Stride: 1}, + {Lo: 0x1802, Hi: 0x1802, Stride: 1}, + {Lo: 0x1808, Hi: 0x1808, Stride: 1}, + {Lo: 0x2013, Hi: 0x2014, Stride: 1}, + {Lo: 0x3001, Hi: 0x3001, Stride: 1}, + {Lo: 0xFE10, Hi: 0xFE11, Stride: 1}, + {Lo: 0xFE13, Hi: 0xFE14, Stride: 1}, + {Lo: 0xFE31, Hi: 0xFE32, Stride: 1}, + {Lo: 0xFE50, Hi: 0xFE51, Stride: 1}, + {Lo: 0xFE54, Hi: 0xFE55, Stride: 1}, + {Lo: 0xFE58, Hi: 0xFE58, Stride: 1}, + {Lo: 0xFE63, Hi: 0xFE63, Stride: 1}, + {Lo: 0xFF0C, Hi: 0xFF0D, Stride: 1}, + {Lo: 0xFF1A, Hi: 0xFF1B, Stride: 1}, + {Lo: 0xFF64, Hi: 0xFF64, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_STerm = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x21, Hi: 0x21, Stride: 1}, + {Lo: 0x3F, Hi: 0x3F, Stride: 1}, + {Lo: 0x589, Hi: 0x589, Stride: 1}, + {Lo: 0x61D, Hi: 0x61F, Stride: 1}, + {Lo: 0x6D4, Hi: 0x6D4, Stride: 1}, + {Lo: 0x700, Hi: 0x702, Stride: 1}, + {Lo: 0x7F9, Hi: 0x7F9, Stride: 1}, + {Lo: 0x837, Hi: 0x837, Stride: 1}, + {Lo: 0x839, Hi: 0x839, Stride: 1}, + {Lo: 0x83D, Hi: 0x83E, Stride: 1}, + {Lo: 0x964, Hi: 0x965, Stride: 1}, + {Lo: 0x104A, Hi: 0x104B, Stride: 1}, + {Lo: 0x1362, Hi: 0x1362, Stride: 1}, + {Lo: 0x1367, Hi: 0x1368, Stride: 1}, + {Lo: 0x166E, Hi: 0x166E, Stride: 1}, + {Lo: 0x1735, Hi: 0x1736, Stride: 1}, + {Lo: 0x17D4, Hi: 0x17D5, Stride: 1}, + {Lo: 0x1803, Hi: 0x1803, Stride: 1}, + {Lo: 0x1809, Hi: 0x1809, Stride: 1}, + {Lo: 0x1944, Hi: 0x1945, Stride: 1}, + {Lo: 0x1AA8, Hi: 0x1AAB, Stride: 1}, + {Lo: 0x1B4E, Hi: 0x1B4F, Stride: 1}, + {Lo: 0x1B5A, Hi: 0x1B5B, Stride: 1}, + {Lo: 0x1B5E, Hi: 0x1B5F, Stride: 1}, + {Lo: 0x1B7D, Hi: 0x1B7F, Stride: 1}, + {Lo: 0x1C3B, Hi: 0x1C3C, Stride: 1}, + {Lo: 0x1C7E, Hi: 0x1C7F, Stride: 1}, + {Lo: 0x203C, Hi: 0x203D, Stride: 1}, + {Lo: 0x2047, Hi: 0x2049, Stride: 1}, + {Lo: 0x2CF9, Hi: 0x2CFB, Stride: 1}, + {Lo: 0x2E2E, Hi: 0x2E2E, Stride: 1}, + {Lo: 0x2E3C, Hi: 0x2E3C, Stride: 1}, + {Lo: 0x2E53, Hi: 0x2E54, Stride: 1}, + {Lo: 0x3002, Hi: 0x3002, Stride: 1}, + {Lo: 0xA4FF, Hi: 0xA4FF, Stride: 1}, + {Lo: 0xA60E, Hi: 0xA60F, Stride: 1}, + {Lo: 0xA6F3, Hi: 0xA6F3, Stride: 1}, + {Lo: 0xA6F7, Hi: 0xA6F7, Stride: 1}, + {Lo: 0xA876, Hi: 0xA877, Stride: 1}, + {Lo: 0xA8CE, Hi: 0xA8CF, Stride: 1}, + {Lo: 0xA92F, Hi: 0xA92F, Stride: 1}, + {Lo: 0xA9C8, Hi: 0xA9C9, Stride: 1}, + {Lo: 0xAA5D, Hi: 0xAA5F, Stride: 1}, + {Lo: 0xAAF0, Hi: 0xAAF1, Stride: 1}, + {Lo: 0xABEB, Hi: 0xABEB, Stride: 1}, + {Lo: 0xFE12, Hi: 0xFE12, Stride: 1}, + {Lo: 0xFE15, Hi: 0xFE16, Stride: 1}, + {Lo: 0xFE56, Hi: 0xFE57, Stride: 1}, + {Lo: 0xFF01, Hi: 0xFF01, Stride: 1}, + {Lo: 0xFF1F, Hi: 0xFF1F, Stride: 1}, + {Lo: 0xFF61, Hi: 0xFF61, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x10A56, Hi: 0x10A57, Stride: 1}, + {Lo: 0x10F55, Hi: 0x10F59, Stride: 1}, + {Lo: 0x10F86, Hi: 0x10F89, Stride: 1}, + {Lo: 0x11047, Hi: 0x11048, Stride: 1}, + {Lo: 0x110BE, Hi: 0x110C1, Stride: 1}, + {Lo: 0x11141, Hi: 0x11143, Stride: 1}, + {Lo: 0x111C5, Hi: 0x111C6, Stride: 1}, + {Lo: 0x111CD, Hi: 0x111CD, Stride: 1}, + {Lo: 0x111DE, Hi: 0x111DF, Stride: 1}, + {Lo: 0x11238, Hi: 0x11239, Stride: 1}, + {Lo: 0x1123B, Hi: 0x1123C, Stride: 1}, + {Lo: 0x112A9, Hi: 0x112A9, Stride: 1}, + {Lo: 0x113D4, Hi: 0x113D5, Stride: 1}, + {Lo: 0x1144B, Hi: 0x1144C, Stride: 1}, + {Lo: 0x115C2, Hi: 0x115C3, Stride: 1}, + {Lo: 0x115C9, Hi: 0x115D7, Stride: 1}, + {Lo: 0x11641, Hi: 0x11642, Stride: 1}, + {Lo: 0x1173C, Hi: 0x1173E, Stride: 1}, + {Lo: 0x11944, Hi: 0x11944, Stride: 1}, + {Lo: 0x11946, Hi: 0x11946, Stride: 1}, + {Lo: 0x11A42, Hi: 0x11A43, Stride: 1}, + {Lo: 0x11A9B, Hi: 0x11A9C, Stride: 1}, + {Lo: 0x11C41, Hi: 0x11C42, Stride: 1}, + {Lo: 0x11EF7, Hi: 0x11EF8, Stride: 1}, + {Lo: 0x11F43, Hi: 0x11F44, Stride: 1}, + {Lo: 0x16A6E, Hi: 0x16A6F, Stride: 1}, + {Lo: 0x16AF5, Hi: 0x16AF5, Stride: 1}, + {Lo: 0x16B37, Hi: 0x16B38, Stride: 1}, + {Lo: 0x16B44, Hi: 0x16B44, Stride: 1}, + {Lo: 0x16D6E, Hi: 0x16D6F, Stride: 1}, + {Lo: 0x16E98, Hi: 0x16E98, Stride: 1}, + {Lo: 0x1BC9F, Hi: 0x1BC9F, Stride: 1}, + {Lo: 0x1DA88, Hi: 0x1DA88, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Sep = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x85, Hi: 0x85, Stride: 1}, + {Lo: 0x2028, Hi: 0x2029, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Sp = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x9, Hi: 0x9, Stride: 1}, + {Lo: 0xB, Hi: 0xC, Stride: 1}, + {Lo: 0x20, Hi: 0x20, Stride: 1}, + {Lo: 0xA0, Hi: 0xA0, Stride: 1}, + {Lo: 0x1680, Hi: 0x1680, Stride: 1}, + {Lo: 0x2000, Hi: 0x200A, Stride: 1}, + {Lo: 0x202F, Hi: 0x202F, Stride: 1}, + {Lo: 0x205F, Hi: 0x205F, Stride: 1}, + {Lo: 0x3000, Hi: 0x3000, Stride: 1}, + }, +} + +var unicodeAliasSentence_Break_Upper = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x41, Hi: 0x5A, Stride: 1}, + {Lo: 0xC0, Hi: 0xD6, Stride: 1}, + {Lo: 0xD8, Hi: 0xDE, Stride: 1}, + {Lo: 0x100, Hi: 0x100, Stride: 1}, + {Lo: 0x102, Hi: 0x102, Stride: 1}, + {Lo: 0x104, Hi: 0x104, Stride: 1}, + {Lo: 0x106, Hi: 0x106, Stride: 1}, + {Lo: 0x108, Hi: 0x108, Stride: 1}, + {Lo: 0x10A, Hi: 0x10A, Stride: 1}, + {Lo: 0x10C, Hi: 0x10C, Stride: 1}, + {Lo: 0x10E, Hi: 0x10E, Stride: 1}, + {Lo: 0x110, Hi: 0x110, Stride: 1}, + {Lo: 0x112, Hi: 0x112, Stride: 1}, + {Lo: 0x114, Hi: 0x114, Stride: 1}, + {Lo: 0x116, Hi: 0x116, Stride: 1}, + {Lo: 0x118, Hi: 0x118, Stride: 1}, + {Lo: 0x11A, Hi: 0x11A, Stride: 1}, + {Lo: 0x11C, Hi: 0x11C, Stride: 1}, + {Lo: 0x11E, Hi: 0x11E, Stride: 1}, + {Lo: 0x120, Hi: 0x120, Stride: 1}, + {Lo: 0x122, Hi: 0x122, Stride: 1}, + {Lo: 0x124, Hi: 0x124, Stride: 1}, + {Lo: 0x126, Hi: 0x126, Stride: 1}, + {Lo: 0x128, Hi: 0x128, Stride: 1}, + {Lo: 0x12A, Hi: 0x12A, Stride: 1}, + {Lo: 0x12C, Hi: 0x12C, Stride: 1}, + {Lo: 0x12E, Hi: 0x12E, Stride: 1}, + {Lo: 0x130, Hi: 0x130, Stride: 1}, + {Lo: 0x132, Hi: 0x132, Stride: 1}, + {Lo: 0x134, Hi: 0x134, Stride: 1}, + {Lo: 0x136, Hi: 0x136, Stride: 1}, + {Lo: 0x139, Hi: 0x139, Stride: 1}, + {Lo: 0x13B, Hi: 0x13B, Stride: 1}, + {Lo: 0x13D, Hi: 0x13D, Stride: 1}, + {Lo: 0x13F, Hi: 0x13F, Stride: 1}, + {Lo: 0x141, Hi: 0x141, Stride: 1}, + {Lo: 0x143, Hi: 0x143, Stride: 1}, + {Lo: 0x145, Hi: 0x145, Stride: 1}, + {Lo: 0x147, Hi: 0x147, Stride: 1}, + {Lo: 0x14A, Hi: 0x14A, Stride: 1}, + {Lo: 0x14C, Hi: 0x14C, Stride: 1}, + {Lo: 0x14E, Hi: 0x14E, Stride: 1}, + {Lo: 0x150, Hi: 0x150, Stride: 1}, + {Lo: 0x152, Hi: 0x152, Stride: 1}, + {Lo: 0x154, Hi: 0x154, Stride: 1}, + {Lo: 0x156, Hi: 0x156, Stride: 1}, + {Lo: 0x158, Hi: 0x158, Stride: 1}, + {Lo: 0x15A, Hi: 0x15A, Stride: 1}, + {Lo: 0x15C, Hi: 0x15C, Stride: 1}, + {Lo: 0x15E, Hi: 0x15E, Stride: 1}, + {Lo: 0x160, Hi: 0x160, Stride: 1}, + {Lo: 0x162, Hi: 0x162, Stride: 1}, + {Lo: 0x164, Hi: 0x164, Stride: 1}, + {Lo: 0x166, Hi: 0x166, Stride: 1}, + {Lo: 0x168, Hi: 0x168, Stride: 1}, + {Lo: 0x16A, Hi: 0x16A, Stride: 1}, + {Lo: 0x16C, Hi: 0x16C, Stride: 1}, + {Lo: 0x16E, Hi: 0x16E, Stride: 1}, + {Lo: 0x170, Hi: 0x170, Stride: 1}, + {Lo: 0x172, Hi: 0x172, Stride: 1}, + {Lo: 0x174, Hi: 0x174, Stride: 1}, + {Lo: 0x176, Hi: 0x176, Stride: 1}, + {Lo: 0x178, Hi: 0x179, Stride: 1}, + {Lo: 0x17B, Hi: 0x17B, Stride: 1}, + {Lo: 0x17D, Hi: 0x17D, Stride: 1}, + {Lo: 0x181, Hi: 0x182, Stride: 1}, + {Lo: 0x184, Hi: 0x184, Stride: 1}, + {Lo: 0x186, Hi: 0x187, Stride: 1}, + {Lo: 0x189, Hi: 0x18B, Stride: 1}, + {Lo: 0x18E, Hi: 0x191, Stride: 1}, + {Lo: 0x193, Hi: 0x194, Stride: 1}, + {Lo: 0x196, Hi: 0x198, Stride: 1}, + {Lo: 0x19C, Hi: 0x19D, Stride: 1}, + {Lo: 0x19F, Hi: 0x1A0, Stride: 1}, + {Lo: 0x1A2, Hi: 0x1A2, Stride: 1}, + {Lo: 0x1A4, Hi: 0x1A4, Stride: 1}, + {Lo: 0x1A6, Hi: 0x1A7, Stride: 1}, + {Lo: 0x1A9, Hi: 0x1A9, Stride: 1}, + {Lo: 0x1AC, Hi: 0x1AC, Stride: 1}, + {Lo: 0x1AE, Hi: 0x1AF, Stride: 1}, + {Lo: 0x1B1, Hi: 0x1B3, Stride: 1}, + {Lo: 0x1B5, Hi: 0x1B5, Stride: 1}, + {Lo: 0x1B7, Hi: 0x1B8, Stride: 1}, + {Lo: 0x1BC, Hi: 0x1BC, Stride: 1}, + {Lo: 0x1C4, Hi: 0x1C5, Stride: 1}, + {Lo: 0x1C7, Hi: 0x1C8, Stride: 1}, + {Lo: 0x1CA, Hi: 0x1CB, Stride: 1}, + {Lo: 0x1CD, Hi: 0x1CD, Stride: 1}, + {Lo: 0x1CF, Hi: 0x1CF, Stride: 1}, + {Lo: 0x1D1, Hi: 0x1D1, Stride: 1}, + {Lo: 0x1D3, Hi: 0x1D3, Stride: 1}, + {Lo: 0x1D5, Hi: 0x1D5, Stride: 1}, + {Lo: 0x1D7, Hi: 0x1D7, Stride: 1}, + {Lo: 0x1D9, Hi: 0x1D9, Stride: 1}, + {Lo: 0x1DB, Hi: 0x1DB, Stride: 1}, + {Lo: 0x1DE, Hi: 0x1DE, Stride: 1}, + {Lo: 0x1E0, Hi: 0x1E0, Stride: 1}, + {Lo: 0x1E2, Hi: 0x1E2, Stride: 1}, + {Lo: 0x1E4, Hi: 0x1E4, Stride: 1}, + {Lo: 0x1E6, Hi: 0x1E6, Stride: 1}, + {Lo: 0x1E8, Hi: 0x1E8, Stride: 1}, + {Lo: 0x1EA, Hi: 0x1EA, Stride: 1}, + {Lo: 0x1EC, Hi: 0x1EC, Stride: 1}, + {Lo: 0x1EE, Hi: 0x1EE, Stride: 1}, + {Lo: 0x1F1, Hi: 0x1F2, Stride: 1}, + {Lo: 0x1F4, Hi: 0x1F4, Stride: 1}, + {Lo: 0x1F6, Hi: 0x1F8, Stride: 1}, + {Lo: 0x1FA, Hi: 0x1FA, Stride: 1}, + {Lo: 0x1FC, Hi: 0x1FC, Stride: 1}, + {Lo: 0x1FE, Hi: 0x1FE, Stride: 1}, + {Lo: 0x200, Hi: 0x200, Stride: 1}, + {Lo: 0x202, Hi: 0x202, Stride: 1}, + {Lo: 0x204, Hi: 0x204, Stride: 1}, + {Lo: 0x206, Hi: 0x206, Stride: 1}, + {Lo: 0x208, Hi: 0x208, Stride: 1}, + {Lo: 0x20A, Hi: 0x20A, Stride: 1}, + {Lo: 0x20C, Hi: 0x20C, Stride: 1}, + {Lo: 0x20E, Hi: 0x20E, Stride: 1}, + {Lo: 0x210, Hi: 0x210, Stride: 1}, + {Lo: 0x212, Hi: 0x212, Stride: 1}, + {Lo: 0x214, Hi: 0x214, Stride: 1}, + {Lo: 0x216, Hi: 0x216, Stride: 1}, + {Lo: 0x218, Hi: 0x218, Stride: 1}, + {Lo: 0x21A, Hi: 0x21A, Stride: 1}, + {Lo: 0x21C, Hi: 0x21C, Stride: 1}, + {Lo: 0x21E, Hi: 0x21E, Stride: 1}, + {Lo: 0x220, Hi: 0x220, Stride: 1}, + {Lo: 0x222, Hi: 0x222, Stride: 1}, + {Lo: 0x224, Hi: 0x224, Stride: 1}, + {Lo: 0x226, Hi: 0x226, Stride: 1}, + {Lo: 0x228, Hi: 0x228, Stride: 1}, + {Lo: 0x22A, Hi: 0x22A, Stride: 1}, + {Lo: 0x22C, Hi: 0x22C, Stride: 1}, + {Lo: 0x22E, Hi: 0x22E, Stride: 1}, + {Lo: 0x230, Hi: 0x230, Stride: 1}, + {Lo: 0x232, Hi: 0x232, Stride: 1}, + {Lo: 0x23A, Hi: 0x23B, Stride: 1}, + {Lo: 0x23D, Hi: 0x23E, Stride: 1}, + {Lo: 0x241, Hi: 0x241, Stride: 1}, + {Lo: 0x243, Hi: 0x246, Stride: 1}, + {Lo: 0x248, Hi: 0x248, Stride: 1}, + {Lo: 0x24A, Hi: 0x24A, Stride: 1}, + {Lo: 0x24C, Hi: 0x24C, Stride: 1}, + {Lo: 0x24E, Hi: 0x24E, Stride: 1}, + {Lo: 0x370, Hi: 0x370, Stride: 1}, + {Lo: 0x372, Hi: 0x372, Stride: 1}, + {Lo: 0x376, Hi: 0x376, Stride: 1}, + {Lo: 0x37F, Hi: 0x37F, Stride: 1}, + {Lo: 0x386, Hi: 0x386, Stride: 1}, + {Lo: 0x388, Hi: 0x38A, Stride: 1}, + {Lo: 0x38C, Hi: 0x38C, Stride: 1}, + {Lo: 0x38E, Hi: 0x38F, Stride: 1}, + {Lo: 0x391, Hi: 0x3A1, Stride: 1}, + {Lo: 0x3A3, Hi: 0x3AB, Stride: 1}, + {Lo: 0x3CF, Hi: 0x3CF, Stride: 1}, + {Lo: 0x3D2, Hi: 0x3D4, Stride: 1}, + {Lo: 0x3D8, Hi: 0x3D8, Stride: 1}, + {Lo: 0x3DA, Hi: 0x3DA, Stride: 1}, + {Lo: 0x3DC, Hi: 0x3DC, Stride: 1}, + {Lo: 0x3DE, Hi: 0x3DE, Stride: 1}, + {Lo: 0x3E0, Hi: 0x3E0, Stride: 1}, + {Lo: 0x3E2, Hi: 0x3E2, Stride: 1}, + {Lo: 0x3E4, Hi: 0x3E4, Stride: 1}, + {Lo: 0x3E6, Hi: 0x3E6, Stride: 1}, + {Lo: 0x3E8, Hi: 0x3E8, Stride: 1}, + {Lo: 0x3EA, Hi: 0x3EA, Stride: 1}, + {Lo: 0x3EC, Hi: 0x3EC, Stride: 1}, + {Lo: 0x3EE, Hi: 0x3EE, Stride: 1}, + {Lo: 0x3F4, Hi: 0x3F4, Stride: 1}, + {Lo: 0x3F7, Hi: 0x3F7, Stride: 1}, + {Lo: 0x3F9, Hi: 0x3FA, Stride: 1}, + {Lo: 0x3FD, Hi: 0x42F, Stride: 1}, + {Lo: 0x460, Hi: 0x460, Stride: 1}, + {Lo: 0x462, Hi: 0x462, Stride: 1}, + {Lo: 0x464, Hi: 0x464, Stride: 1}, + {Lo: 0x466, Hi: 0x466, Stride: 1}, + {Lo: 0x468, Hi: 0x468, Stride: 1}, + {Lo: 0x46A, Hi: 0x46A, Stride: 1}, + {Lo: 0x46C, Hi: 0x46C, Stride: 1}, + {Lo: 0x46E, Hi: 0x46E, Stride: 1}, + {Lo: 0x470, Hi: 0x470, Stride: 1}, + {Lo: 0x472, Hi: 0x472, Stride: 1}, + {Lo: 0x474, Hi: 0x474, Stride: 1}, + {Lo: 0x476, Hi: 0x476, Stride: 1}, + {Lo: 0x478, Hi: 0x478, Stride: 1}, + {Lo: 0x47A, Hi: 0x47A, Stride: 1}, + {Lo: 0x47C, Hi: 0x47C, Stride: 1}, + {Lo: 0x47E, Hi: 0x47E, Stride: 1}, + {Lo: 0x480, Hi: 0x480, Stride: 1}, + {Lo: 0x48A, Hi: 0x48A, Stride: 1}, + {Lo: 0x48C, Hi: 0x48C, Stride: 1}, + {Lo: 0x48E, Hi: 0x48E, Stride: 1}, + {Lo: 0x490, Hi: 0x490, Stride: 1}, + {Lo: 0x492, Hi: 0x492, Stride: 1}, + {Lo: 0x494, Hi: 0x494, Stride: 1}, + {Lo: 0x496, Hi: 0x496, Stride: 1}, + {Lo: 0x498, Hi: 0x498, Stride: 1}, + {Lo: 0x49A, Hi: 0x49A, Stride: 1}, + {Lo: 0x49C, Hi: 0x49C, Stride: 1}, + {Lo: 0x49E, Hi: 0x49E, Stride: 1}, + {Lo: 0x4A0, Hi: 0x4A0, Stride: 1}, + {Lo: 0x4A2, Hi: 0x4A2, Stride: 1}, + {Lo: 0x4A4, Hi: 0x4A4, Stride: 1}, + {Lo: 0x4A6, Hi: 0x4A6, Stride: 1}, + {Lo: 0x4A8, Hi: 0x4A8, Stride: 1}, + {Lo: 0x4AA, Hi: 0x4AA, Stride: 1}, + {Lo: 0x4AC, Hi: 0x4AC, Stride: 1}, + {Lo: 0x4AE, Hi: 0x4AE, Stride: 1}, + {Lo: 0x4B0, Hi: 0x4B0, Stride: 1}, + {Lo: 0x4B2, Hi: 0x4B2, Stride: 1}, + {Lo: 0x4B4, Hi: 0x4B4, Stride: 1}, + {Lo: 0x4B6, Hi: 0x4B6, Stride: 1}, + {Lo: 0x4B8, Hi: 0x4B8, Stride: 1}, + {Lo: 0x4BA, Hi: 0x4BA, Stride: 1}, + {Lo: 0x4BC, Hi: 0x4BC, Stride: 1}, + {Lo: 0x4BE, Hi: 0x4BE, Stride: 1}, + {Lo: 0x4C0, Hi: 0x4C1, Stride: 1}, + {Lo: 0x4C3, Hi: 0x4C3, Stride: 1}, + {Lo: 0x4C5, Hi: 0x4C5, Stride: 1}, + {Lo: 0x4C7, Hi: 0x4C7, Stride: 1}, + {Lo: 0x4C9, Hi: 0x4C9, Stride: 1}, + {Lo: 0x4CB, Hi: 0x4CB, Stride: 1}, + {Lo: 0x4CD, Hi: 0x4CD, Stride: 1}, + {Lo: 0x4D0, Hi: 0x4D0, Stride: 1}, + {Lo: 0x4D2, Hi: 0x4D2, Stride: 1}, + {Lo: 0x4D4, Hi: 0x4D4, Stride: 1}, + {Lo: 0x4D6, Hi: 0x4D6, Stride: 1}, + {Lo: 0x4D8, Hi: 0x4D8, Stride: 1}, + {Lo: 0x4DA, Hi: 0x4DA, Stride: 1}, + {Lo: 0x4DC, Hi: 0x4DC, Stride: 1}, + {Lo: 0x4DE, Hi: 0x4DE, Stride: 1}, + {Lo: 0x4E0, Hi: 0x4E0, Stride: 1}, + {Lo: 0x4E2, Hi: 0x4E2, Stride: 1}, + {Lo: 0x4E4, Hi: 0x4E4, Stride: 1}, + {Lo: 0x4E6, Hi: 0x4E6, Stride: 1}, + {Lo: 0x4E8, Hi: 0x4E8, Stride: 1}, + {Lo: 0x4EA, Hi: 0x4EA, Stride: 1}, + {Lo: 0x4EC, Hi: 0x4EC, Stride: 1}, + {Lo: 0x4EE, Hi: 0x4EE, Stride: 1}, + {Lo: 0x4F0, Hi: 0x4F0, Stride: 1}, + {Lo: 0x4F2, Hi: 0x4F2, Stride: 1}, + {Lo: 0x4F4, Hi: 0x4F4, Stride: 1}, + {Lo: 0x4F6, Hi: 0x4F6, Stride: 1}, + {Lo: 0x4F8, Hi: 0x4F8, Stride: 1}, + {Lo: 0x4FA, Hi: 0x4FA, Stride: 1}, + {Lo: 0x4FC, Hi: 0x4FC, Stride: 1}, + {Lo: 0x4FE, Hi: 0x4FE, Stride: 1}, + {Lo: 0x500, Hi: 0x500, Stride: 1}, + {Lo: 0x502, Hi: 0x502, Stride: 1}, + {Lo: 0x504, Hi: 0x504, Stride: 1}, + {Lo: 0x506, Hi: 0x506, Stride: 1}, + {Lo: 0x508, Hi: 0x508, Stride: 1}, + {Lo: 0x50A, Hi: 0x50A, Stride: 1}, + {Lo: 0x50C, Hi: 0x50C, Stride: 1}, + {Lo: 0x50E, Hi: 0x50E, Stride: 1}, + {Lo: 0x510, Hi: 0x510, Stride: 1}, + {Lo: 0x512, Hi: 0x512, Stride: 1}, + {Lo: 0x514, Hi: 0x514, Stride: 1}, + {Lo: 0x516, Hi: 0x516, Stride: 1}, + {Lo: 0x518, Hi: 0x518, Stride: 1}, + {Lo: 0x51A, Hi: 0x51A, Stride: 1}, + {Lo: 0x51C, Hi: 0x51C, Stride: 1}, + {Lo: 0x51E, Hi: 0x51E, Stride: 1}, + {Lo: 0x520, Hi: 0x520, Stride: 1}, + {Lo: 0x522, Hi: 0x522, Stride: 1}, + {Lo: 0x524, Hi: 0x524, Stride: 1}, + {Lo: 0x526, Hi: 0x526, Stride: 1}, + {Lo: 0x528, Hi: 0x528, Stride: 1}, + {Lo: 0x52A, Hi: 0x52A, Stride: 1}, + {Lo: 0x52C, Hi: 0x52C, Stride: 1}, + {Lo: 0x52E, Hi: 0x52E, Stride: 1}, + {Lo: 0x531, Hi: 0x556, Stride: 1}, + {Lo: 0x10A0, Hi: 0x10C5, Stride: 1}, + {Lo: 0x10C7, Hi: 0x10C7, Stride: 1}, + {Lo: 0x10CD, Hi: 0x10CD, Stride: 1}, + {Lo: 0x13A0, Hi: 0x13F5, Stride: 1}, + {Lo: 0x1C89, Hi: 0x1C89, Stride: 1}, + {Lo: 0x1E00, Hi: 0x1E00, Stride: 1}, + {Lo: 0x1E02, Hi: 0x1E02, Stride: 1}, + {Lo: 0x1E04, Hi: 0x1E04, Stride: 1}, + {Lo: 0x1E06, Hi: 0x1E06, Stride: 1}, + {Lo: 0x1E08, Hi: 0x1E08, Stride: 1}, + {Lo: 0x1E0A, Hi: 0x1E0A, Stride: 1}, + {Lo: 0x1E0C, Hi: 0x1E0C, Stride: 1}, + {Lo: 0x1E0E, Hi: 0x1E0E, Stride: 1}, + {Lo: 0x1E10, Hi: 0x1E10, Stride: 1}, + {Lo: 0x1E12, Hi: 0x1E12, Stride: 1}, + {Lo: 0x1E14, Hi: 0x1E14, Stride: 1}, + {Lo: 0x1E16, Hi: 0x1E16, Stride: 1}, + {Lo: 0x1E18, Hi: 0x1E18, Stride: 1}, + {Lo: 0x1E1A, Hi: 0x1E1A, Stride: 1}, + {Lo: 0x1E1C, Hi: 0x1E1C, Stride: 1}, + {Lo: 0x1E1E, Hi: 0x1E1E, Stride: 1}, + {Lo: 0x1E20, Hi: 0x1E20, Stride: 1}, + {Lo: 0x1E22, Hi: 0x1E22, Stride: 1}, + {Lo: 0x1E24, Hi: 0x1E24, Stride: 1}, + {Lo: 0x1E26, Hi: 0x1E26, Stride: 1}, + {Lo: 0x1E28, Hi: 0x1E28, Stride: 1}, + {Lo: 0x1E2A, Hi: 0x1E2A, Stride: 1}, + {Lo: 0x1E2C, Hi: 0x1E2C, Stride: 1}, + {Lo: 0x1E2E, Hi: 0x1E2E, Stride: 1}, + {Lo: 0x1E30, Hi: 0x1E30, Stride: 1}, + {Lo: 0x1E32, Hi: 0x1E32, Stride: 1}, + {Lo: 0x1E34, Hi: 0x1E34, Stride: 1}, + {Lo: 0x1E36, Hi: 0x1E36, Stride: 1}, + {Lo: 0x1E38, Hi: 0x1E38, Stride: 1}, + {Lo: 0x1E3A, Hi: 0x1E3A, Stride: 1}, + {Lo: 0x1E3C, Hi: 0x1E3C, Stride: 1}, + {Lo: 0x1E3E, Hi: 0x1E3E, Stride: 1}, + {Lo: 0x1E40, Hi: 0x1E40, Stride: 1}, + {Lo: 0x1E42, Hi: 0x1E42, Stride: 1}, + {Lo: 0x1E44, Hi: 0x1E44, Stride: 1}, + {Lo: 0x1E46, Hi: 0x1E46, Stride: 1}, + {Lo: 0x1E48, Hi: 0x1E48, Stride: 1}, + {Lo: 0x1E4A, Hi: 0x1E4A, Stride: 1}, + {Lo: 0x1E4C, Hi: 0x1E4C, Stride: 1}, + {Lo: 0x1E4E, Hi: 0x1E4E, Stride: 1}, + {Lo: 0x1E50, Hi: 0x1E50, Stride: 1}, + {Lo: 0x1E52, Hi: 0x1E52, Stride: 1}, + {Lo: 0x1E54, Hi: 0x1E54, Stride: 1}, + {Lo: 0x1E56, Hi: 0x1E56, Stride: 1}, + {Lo: 0x1E58, Hi: 0x1E58, Stride: 1}, + {Lo: 0x1E5A, Hi: 0x1E5A, Stride: 1}, + {Lo: 0x1E5C, Hi: 0x1E5C, Stride: 1}, + {Lo: 0x1E5E, Hi: 0x1E5E, Stride: 1}, + {Lo: 0x1E60, Hi: 0x1E60, Stride: 1}, + {Lo: 0x1E62, Hi: 0x1E62, Stride: 1}, + {Lo: 0x1E64, Hi: 0x1E64, Stride: 1}, + {Lo: 0x1E66, Hi: 0x1E66, Stride: 1}, + {Lo: 0x1E68, Hi: 0x1E68, Stride: 1}, + {Lo: 0x1E6A, Hi: 0x1E6A, Stride: 1}, + {Lo: 0x1E6C, Hi: 0x1E6C, Stride: 1}, + {Lo: 0x1E6E, Hi: 0x1E6E, Stride: 1}, + {Lo: 0x1E70, Hi: 0x1E70, Stride: 1}, + {Lo: 0x1E72, Hi: 0x1E72, Stride: 1}, + {Lo: 0x1E74, Hi: 0x1E74, Stride: 1}, + {Lo: 0x1E76, Hi: 0x1E76, Stride: 1}, + {Lo: 0x1E78, Hi: 0x1E78, Stride: 1}, + {Lo: 0x1E7A, Hi: 0x1E7A, Stride: 1}, + {Lo: 0x1E7C, Hi: 0x1E7C, Stride: 1}, + {Lo: 0x1E7E, Hi: 0x1E7E, Stride: 1}, + {Lo: 0x1E80, Hi: 0x1E80, Stride: 1}, + {Lo: 0x1E82, Hi: 0x1E82, Stride: 1}, + {Lo: 0x1E84, Hi: 0x1E84, Stride: 1}, + {Lo: 0x1E86, Hi: 0x1E86, Stride: 1}, + {Lo: 0x1E88, Hi: 0x1E88, Stride: 1}, + {Lo: 0x1E8A, Hi: 0x1E8A, Stride: 1}, + {Lo: 0x1E8C, Hi: 0x1E8C, Stride: 1}, + {Lo: 0x1E8E, Hi: 0x1E8E, Stride: 1}, + {Lo: 0x1E90, Hi: 0x1E90, Stride: 1}, + {Lo: 0x1E92, Hi: 0x1E92, Stride: 1}, + {Lo: 0x1E94, Hi: 0x1E94, Stride: 1}, + {Lo: 0x1E9E, Hi: 0x1E9E, Stride: 1}, + {Lo: 0x1EA0, Hi: 0x1EA0, Stride: 1}, + {Lo: 0x1EA2, Hi: 0x1EA2, Stride: 1}, + {Lo: 0x1EA4, Hi: 0x1EA4, Stride: 1}, + {Lo: 0x1EA6, Hi: 0x1EA6, Stride: 1}, + {Lo: 0x1EA8, Hi: 0x1EA8, Stride: 1}, + {Lo: 0x1EAA, Hi: 0x1EAA, Stride: 1}, + {Lo: 0x1EAC, Hi: 0x1EAC, Stride: 1}, + {Lo: 0x1EAE, Hi: 0x1EAE, Stride: 1}, + {Lo: 0x1EB0, Hi: 0x1EB0, Stride: 1}, + {Lo: 0x1EB2, Hi: 0x1EB2, Stride: 1}, + {Lo: 0x1EB4, Hi: 0x1EB4, Stride: 1}, + {Lo: 0x1EB6, Hi: 0x1EB6, Stride: 1}, + {Lo: 0x1EB8, Hi: 0x1EB8, Stride: 1}, + {Lo: 0x1EBA, Hi: 0x1EBA, Stride: 1}, + {Lo: 0x1EBC, Hi: 0x1EBC, Stride: 1}, + {Lo: 0x1EBE, Hi: 0x1EBE, Stride: 1}, + {Lo: 0x1EC0, Hi: 0x1EC0, Stride: 1}, + {Lo: 0x1EC2, Hi: 0x1EC2, Stride: 1}, + {Lo: 0x1EC4, Hi: 0x1EC4, Stride: 1}, + {Lo: 0x1EC6, Hi: 0x1EC6, Stride: 1}, + {Lo: 0x1EC8, Hi: 0x1EC8, Stride: 1}, + {Lo: 0x1ECA, Hi: 0x1ECA, Stride: 1}, + {Lo: 0x1ECC, Hi: 0x1ECC, Stride: 1}, + {Lo: 0x1ECE, Hi: 0x1ECE, Stride: 1}, + {Lo: 0x1ED0, Hi: 0x1ED0, Stride: 1}, + {Lo: 0x1ED2, Hi: 0x1ED2, Stride: 1}, + {Lo: 0x1ED4, Hi: 0x1ED4, Stride: 1}, + {Lo: 0x1ED6, Hi: 0x1ED6, Stride: 1}, + {Lo: 0x1ED8, Hi: 0x1ED8, Stride: 1}, + {Lo: 0x1EDA, Hi: 0x1EDA, Stride: 1}, + {Lo: 0x1EDC, Hi: 0x1EDC, Stride: 1}, + {Lo: 0x1EDE, Hi: 0x1EDE, Stride: 1}, + {Lo: 0x1EE0, Hi: 0x1EE0, Stride: 1}, + {Lo: 0x1EE2, Hi: 0x1EE2, Stride: 1}, + {Lo: 0x1EE4, Hi: 0x1EE4, Stride: 1}, + {Lo: 0x1EE6, Hi: 0x1EE6, Stride: 1}, + {Lo: 0x1EE8, Hi: 0x1EE8, Stride: 1}, + {Lo: 0x1EEA, Hi: 0x1EEA, Stride: 1}, + {Lo: 0x1EEC, Hi: 0x1EEC, Stride: 1}, + {Lo: 0x1EEE, Hi: 0x1EEE, Stride: 1}, + {Lo: 0x1EF0, Hi: 0x1EF0, Stride: 1}, + {Lo: 0x1EF2, Hi: 0x1EF2, Stride: 1}, + {Lo: 0x1EF4, Hi: 0x1EF4, Stride: 1}, + {Lo: 0x1EF6, Hi: 0x1EF6, Stride: 1}, + {Lo: 0x1EF8, Hi: 0x1EF8, Stride: 1}, + {Lo: 0x1EFA, Hi: 0x1EFA, Stride: 1}, + {Lo: 0x1EFC, Hi: 0x1EFC, Stride: 1}, + {Lo: 0x1EFE, Hi: 0x1EFE, Stride: 1}, + {Lo: 0x1F08, Hi: 0x1F0F, Stride: 1}, + {Lo: 0x1F18, Hi: 0x1F1D, Stride: 1}, + {Lo: 0x1F28, Hi: 0x1F2F, Stride: 1}, + {Lo: 0x1F38, Hi: 0x1F3F, Stride: 1}, + {Lo: 0x1F48, Hi: 0x1F4D, Stride: 1}, + {Lo: 0x1F59, Hi: 0x1F59, Stride: 1}, + {Lo: 0x1F5B, Hi: 0x1F5B, Stride: 1}, + {Lo: 0x1F5D, Hi: 0x1F5D, Stride: 1}, + {Lo: 0x1F5F, Hi: 0x1F5F, Stride: 1}, + {Lo: 0x1F68, Hi: 0x1F6F, Stride: 1}, + {Lo: 0x1F88, Hi: 0x1F8F, Stride: 1}, + {Lo: 0x1F98, Hi: 0x1F9F, Stride: 1}, + {Lo: 0x1FA8, Hi: 0x1FAF, Stride: 1}, + {Lo: 0x1FB8, Hi: 0x1FBC, Stride: 1}, + {Lo: 0x1FC8, Hi: 0x1FCC, Stride: 1}, + {Lo: 0x1FD8, Hi: 0x1FDB, Stride: 1}, + {Lo: 0x1FE8, Hi: 0x1FEC, Stride: 1}, + {Lo: 0x1FF8, Hi: 0x1FFC, Stride: 1}, + {Lo: 0x2102, Hi: 0x2102, Stride: 1}, + {Lo: 0x2107, Hi: 0x2107, Stride: 1}, + {Lo: 0x210B, Hi: 0x210D, Stride: 1}, + {Lo: 0x2110, Hi: 0x2112, Stride: 1}, + {Lo: 0x2115, Hi: 0x2115, Stride: 1}, + {Lo: 0x2119, Hi: 0x211D, Stride: 1}, + {Lo: 0x2124, Hi: 0x2124, Stride: 1}, + {Lo: 0x2126, Hi: 0x2126, Stride: 1}, + {Lo: 0x2128, Hi: 0x2128, Stride: 1}, + {Lo: 0x212A, Hi: 0x212D, Stride: 1}, + {Lo: 0x2130, Hi: 0x2133, Stride: 1}, + {Lo: 0x213E, Hi: 0x213F, Stride: 1}, + {Lo: 0x2145, Hi: 0x2145, Stride: 1}, + {Lo: 0x2160, Hi: 0x216F, Stride: 1}, + {Lo: 0x2183, Hi: 0x2183, Stride: 1}, + {Lo: 0x24B6, Hi: 0x24CF, Stride: 1}, + {Lo: 0x2C00, Hi: 0x2C2F, Stride: 1}, + {Lo: 0x2C60, Hi: 0x2C60, Stride: 1}, + {Lo: 0x2C62, Hi: 0x2C64, Stride: 1}, + {Lo: 0x2C67, Hi: 0x2C67, Stride: 1}, + {Lo: 0x2C69, Hi: 0x2C69, Stride: 1}, + {Lo: 0x2C6B, Hi: 0x2C6B, Stride: 1}, + {Lo: 0x2C6D, Hi: 0x2C70, Stride: 1}, + {Lo: 0x2C72, Hi: 0x2C72, Stride: 1}, + {Lo: 0x2C75, Hi: 0x2C75, Stride: 1}, + {Lo: 0x2C7E, Hi: 0x2C80, Stride: 1}, + {Lo: 0x2C82, Hi: 0x2C82, Stride: 1}, + {Lo: 0x2C84, Hi: 0x2C84, Stride: 1}, + {Lo: 0x2C86, Hi: 0x2C86, Stride: 1}, + {Lo: 0x2C88, Hi: 0x2C88, Stride: 1}, + {Lo: 0x2C8A, Hi: 0x2C8A, Stride: 1}, + {Lo: 0x2C8C, Hi: 0x2C8C, Stride: 1}, + {Lo: 0x2C8E, Hi: 0x2C8E, Stride: 1}, + {Lo: 0x2C90, Hi: 0x2C90, Stride: 1}, + {Lo: 0x2C92, Hi: 0x2C92, Stride: 1}, + {Lo: 0x2C94, Hi: 0x2C94, Stride: 1}, + {Lo: 0x2C96, Hi: 0x2C96, Stride: 1}, + {Lo: 0x2C98, Hi: 0x2C98, Stride: 1}, + {Lo: 0x2C9A, Hi: 0x2C9A, Stride: 1}, + {Lo: 0x2C9C, Hi: 0x2C9C, Stride: 1}, + {Lo: 0x2C9E, Hi: 0x2C9E, Stride: 1}, + {Lo: 0x2CA0, Hi: 0x2CA0, Stride: 1}, + {Lo: 0x2CA2, Hi: 0x2CA2, Stride: 1}, + {Lo: 0x2CA4, Hi: 0x2CA4, Stride: 1}, + {Lo: 0x2CA6, Hi: 0x2CA6, Stride: 1}, + {Lo: 0x2CA8, Hi: 0x2CA8, Stride: 1}, + {Lo: 0x2CAA, Hi: 0x2CAA, Stride: 1}, + {Lo: 0x2CAC, Hi: 0x2CAC, Stride: 1}, + {Lo: 0x2CAE, Hi: 0x2CAE, Stride: 1}, + {Lo: 0x2CB0, Hi: 0x2CB0, Stride: 1}, + {Lo: 0x2CB2, Hi: 0x2CB2, Stride: 1}, + {Lo: 0x2CB4, Hi: 0x2CB4, Stride: 1}, + {Lo: 0x2CB6, Hi: 0x2CB6, Stride: 1}, + {Lo: 0x2CB8, Hi: 0x2CB8, Stride: 1}, + {Lo: 0x2CBA, Hi: 0x2CBA, Stride: 1}, + {Lo: 0x2CBC, Hi: 0x2CBC, Stride: 1}, + {Lo: 0x2CBE, Hi: 0x2CBE, Stride: 1}, + {Lo: 0x2CC0, Hi: 0x2CC0, Stride: 1}, + {Lo: 0x2CC2, Hi: 0x2CC2, Stride: 1}, + {Lo: 0x2CC4, Hi: 0x2CC4, Stride: 1}, + {Lo: 0x2CC6, Hi: 0x2CC6, Stride: 1}, + {Lo: 0x2CC8, Hi: 0x2CC8, Stride: 1}, + {Lo: 0x2CCA, Hi: 0x2CCA, Stride: 1}, + {Lo: 0x2CCC, Hi: 0x2CCC, Stride: 1}, + {Lo: 0x2CCE, Hi: 0x2CCE, Stride: 1}, + {Lo: 0x2CD0, Hi: 0x2CD0, Stride: 1}, + {Lo: 0x2CD2, Hi: 0x2CD2, Stride: 1}, + {Lo: 0x2CD4, Hi: 0x2CD4, Stride: 1}, + {Lo: 0x2CD6, Hi: 0x2CD6, Stride: 1}, + {Lo: 0x2CD8, Hi: 0x2CD8, Stride: 1}, + {Lo: 0x2CDA, Hi: 0x2CDA, Stride: 1}, + {Lo: 0x2CDC, Hi: 0x2CDC, Stride: 1}, + {Lo: 0x2CDE, Hi: 0x2CDE, Stride: 1}, + {Lo: 0x2CE0, Hi: 0x2CE0, Stride: 1}, + {Lo: 0x2CE2, Hi: 0x2CE2, Stride: 1}, + {Lo: 0x2CEB, Hi: 0x2CEB, Stride: 1}, + {Lo: 0x2CED, Hi: 0x2CED, Stride: 1}, + {Lo: 0x2CF2, Hi: 0x2CF2, Stride: 1}, + {Lo: 0xA640, Hi: 0xA640, Stride: 1}, + {Lo: 0xA642, Hi: 0xA642, Stride: 1}, + {Lo: 0xA644, Hi: 0xA644, Stride: 1}, + {Lo: 0xA646, Hi: 0xA646, Stride: 1}, + {Lo: 0xA648, Hi: 0xA648, Stride: 1}, + {Lo: 0xA64A, Hi: 0xA64A, Stride: 1}, + {Lo: 0xA64C, Hi: 0xA64C, Stride: 1}, + {Lo: 0xA64E, Hi: 0xA64E, Stride: 1}, + {Lo: 0xA650, Hi: 0xA650, Stride: 1}, + {Lo: 0xA652, Hi: 0xA652, Stride: 1}, + {Lo: 0xA654, Hi: 0xA654, Stride: 1}, + {Lo: 0xA656, Hi: 0xA656, Stride: 1}, + {Lo: 0xA658, Hi: 0xA658, Stride: 1}, + {Lo: 0xA65A, Hi: 0xA65A, Stride: 1}, + {Lo: 0xA65C, Hi: 0xA65C, Stride: 1}, + {Lo: 0xA65E, Hi: 0xA65E, Stride: 1}, + {Lo: 0xA660, Hi: 0xA660, Stride: 1}, + {Lo: 0xA662, Hi: 0xA662, Stride: 1}, + {Lo: 0xA664, Hi: 0xA664, Stride: 1}, + {Lo: 0xA666, Hi: 0xA666, Stride: 1}, + {Lo: 0xA668, Hi: 0xA668, Stride: 1}, + {Lo: 0xA66A, Hi: 0xA66A, Stride: 1}, + {Lo: 0xA66C, Hi: 0xA66C, Stride: 1}, + {Lo: 0xA680, Hi: 0xA680, Stride: 1}, + {Lo: 0xA682, Hi: 0xA682, Stride: 1}, + {Lo: 0xA684, Hi: 0xA684, Stride: 1}, + {Lo: 0xA686, Hi: 0xA686, Stride: 1}, + {Lo: 0xA688, Hi: 0xA688, Stride: 1}, + {Lo: 0xA68A, Hi: 0xA68A, Stride: 1}, + {Lo: 0xA68C, Hi: 0xA68C, Stride: 1}, + {Lo: 0xA68E, Hi: 0xA68E, Stride: 1}, + {Lo: 0xA690, Hi: 0xA690, Stride: 1}, + {Lo: 0xA692, Hi: 0xA692, Stride: 1}, + {Lo: 0xA694, Hi: 0xA694, Stride: 1}, + {Lo: 0xA696, Hi: 0xA696, Stride: 1}, + {Lo: 0xA698, Hi: 0xA698, Stride: 1}, + {Lo: 0xA69A, Hi: 0xA69A, Stride: 1}, + {Lo: 0xA722, Hi: 0xA722, Stride: 1}, + {Lo: 0xA724, Hi: 0xA724, Stride: 1}, + {Lo: 0xA726, Hi: 0xA726, Stride: 1}, + {Lo: 0xA728, Hi: 0xA728, Stride: 1}, + {Lo: 0xA72A, Hi: 0xA72A, Stride: 1}, + {Lo: 0xA72C, Hi: 0xA72C, Stride: 1}, + {Lo: 0xA72E, Hi: 0xA72E, Stride: 1}, + {Lo: 0xA732, Hi: 0xA732, Stride: 1}, + {Lo: 0xA734, Hi: 0xA734, Stride: 1}, + {Lo: 0xA736, Hi: 0xA736, Stride: 1}, + {Lo: 0xA738, Hi: 0xA738, Stride: 1}, + {Lo: 0xA73A, Hi: 0xA73A, Stride: 1}, + {Lo: 0xA73C, Hi: 0xA73C, Stride: 1}, + {Lo: 0xA73E, Hi: 0xA73E, Stride: 1}, + {Lo: 0xA740, Hi: 0xA740, Stride: 1}, + {Lo: 0xA742, Hi: 0xA742, Stride: 1}, + {Lo: 0xA744, Hi: 0xA744, Stride: 1}, + {Lo: 0xA746, Hi: 0xA746, Stride: 1}, + {Lo: 0xA748, Hi: 0xA748, Stride: 1}, + {Lo: 0xA74A, Hi: 0xA74A, Stride: 1}, + {Lo: 0xA74C, Hi: 0xA74C, Stride: 1}, + {Lo: 0xA74E, Hi: 0xA74E, Stride: 1}, + {Lo: 0xA750, Hi: 0xA750, Stride: 1}, + {Lo: 0xA752, Hi: 0xA752, Stride: 1}, + {Lo: 0xA754, Hi: 0xA754, Stride: 1}, + {Lo: 0xA756, Hi: 0xA756, Stride: 1}, + {Lo: 0xA758, Hi: 0xA758, Stride: 1}, + {Lo: 0xA75A, Hi: 0xA75A, Stride: 1}, + {Lo: 0xA75C, Hi: 0xA75C, Stride: 1}, + {Lo: 0xA75E, Hi: 0xA75E, Stride: 1}, + {Lo: 0xA760, Hi: 0xA760, Stride: 1}, + {Lo: 0xA762, Hi: 0xA762, Stride: 1}, + {Lo: 0xA764, Hi: 0xA764, Stride: 1}, + {Lo: 0xA766, Hi: 0xA766, Stride: 1}, + {Lo: 0xA768, Hi: 0xA768, Stride: 1}, + {Lo: 0xA76A, Hi: 0xA76A, Stride: 1}, + {Lo: 0xA76C, Hi: 0xA76C, Stride: 1}, + {Lo: 0xA76E, Hi: 0xA76E, Stride: 1}, + {Lo: 0xA779, Hi: 0xA779, Stride: 1}, + {Lo: 0xA77B, Hi: 0xA77B, Stride: 1}, + {Lo: 0xA77D, Hi: 0xA77E, Stride: 1}, + {Lo: 0xA780, Hi: 0xA780, Stride: 1}, + {Lo: 0xA782, Hi: 0xA782, Stride: 1}, + {Lo: 0xA784, Hi: 0xA784, Stride: 1}, + {Lo: 0xA786, Hi: 0xA786, Stride: 1}, + {Lo: 0xA78B, Hi: 0xA78B, Stride: 1}, + {Lo: 0xA78D, Hi: 0xA78D, Stride: 1}, + {Lo: 0xA790, Hi: 0xA790, Stride: 1}, + {Lo: 0xA792, Hi: 0xA792, Stride: 1}, + {Lo: 0xA796, Hi: 0xA796, Stride: 1}, + {Lo: 0xA798, Hi: 0xA798, Stride: 1}, + {Lo: 0xA79A, Hi: 0xA79A, Stride: 1}, + {Lo: 0xA79C, Hi: 0xA79C, Stride: 1}, + {Lo: 0xA79E, Hi: 0xA79E, Stride: 1}, + {Lo: 0xA7A0, Hi: 0xA7A0, Stride: 1}, + {Lo: 0xA7A2, Hi: 0xA7A2, Stride: 1}, + {Lo: 0xA7A4, Hi: 0xA7A4, Stride: 1}, + {Lo: 0xA7A6, Hi: 0xA7A6, Stride: 1}, + {Lo: 0xA7A8, Hi: 0xA7A8, Stride: 1}, + {Lo: 0xA7AA, Hi: 0xA7AE, Stride: 1}, + {Lo: 0xA7B0, Hi: 0xA7B4, Stride: 1}, + {Lo: 0xA7B6, Hi: 0xA7B6, Stride: 1}, + {Lo: 0xA7B8, Hi: 0xA7B8, Stride: 1}, + {Lo: 0xA7BA, Hi: 0xA7BA, Stride: 1}, + {Lo: 0xA7BC, Hi: 0xA7BC, Stride: 1}, + {Lo: 0xA7BE, Hi: 0xA7BE, Stride: 1}, + {Lo: 0xA7C0, Hi: 0xA7C0, Stride: 1}, + {Lo: 0xA7C2, Hi: 0xA7C2, Stride: 1}, + {Lo: 0xA7C4, Hi: 0xA7C7, Stride: 1}, + {Lo: 0xA7C9, Hi: 0xA7C9, Stride: 1}, + {Lo: 0xA7CB, Hi: 0xA7CC, Stride: 1}, + {Lo: 0xA7CE, Hi: 0xA7CE, Stride: 1}, + {Lo: 0xA7D0, Hi: 0xA7D0, Stride: 1}, + {Lo: 0xA7D2, Hi: 0xA7D2, Stride: 1}, + {Lo: 0xA7D4, Hi: 0xA7D4, Stride: 1}, + {Lo: 0xA7D6, Hi: 0xA7D6, Stride: 1}, + {Lo: 0xA7D8, Hi: 0xA7D8, Stride: 1}, + {Lo: 0xA7DA, Hi: 0xA7DA, Stride: 1}, + {Lo: 0xA7DC, Hi: 0xA7DC, Stride: 1}, + {Lo: 0xA7F5, Hi: 0xA7F5, Stride: 1}, + {Lo: 0xFF21, Hi: 0xFF3A, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x10400, Hi: 0x10427, Stride: 1}, + {Lo: 0x104B0, Hi: 0x104D3, Stride: 1}, + {Lo: 0x10570, Hi: 0x1057A, Stride: 1}, + {Lo: 0x1057C, Hi: 0x1058A, Stride: 1}, + {Lo: 0x1058C, Hi: 0x10592, Stride: 1}, + {Lo: 0x10594, Hi: 0x10595, Stride: 1}, + {Lo: 0x10C80, Hi: 0x10CB2, Stride: 1}, + {Lo: 0x10D50, Hi: 0x10D65, Stride: 1}, + {Lo: 0x118A0, Hi: 0x118BF, Stride: 1}, + {Lo: 0x16E40, Hi: 0x16E5F, Stride: 1}, + {Lo: 0x16EA0, Hi: 0x16EB8, Stride: 1}, + {Lo: 0x1D400, Hi: 0x1D419, Stride: 1}, + {Lo: 0x1D434, Hi: 0x1D44D, Stride: 1}, + {Lo: 0x1D468, Hi: 0x1D481, Stride: 1}, + {Lo: 0x1D49C, Hi: 0x1D49C, Stride: 1}, + {Lo: 0x1D49E, Hi: 0x1D49F, Stride: 1}, + {Lo: 0x1D4A2, Hi: 0x1D4A2, Stride: 1}, + {Lo: 0x1D4A5, Hi: 0x1D4A6, Stride: 1}, + {Lo: 0x1D4A9, Hi: 0x1D4AC, Stride: 1}, + {Lo: 0x1D4AE, Hi: 0x1D4B5, Stride: 1}, + {Lo: 0x1D4D0, Hi: 0x1D4E9, Stride: 1}, + {Lo: 0x1D504, Hi: 0x1D505, Stride: 1}, + {Lo: 0x1D507, Hi: 0x1D50A, Stride: 1}, + {Lo: 0x1D50D, Hi: 0x1D514, Stride: 1}, + {Lo: 0x1D516, Hi: 0x1D51C, Stride: 1}, + {Lo: 0x1D538, Hi: 0x1D539, Stride: 1}, + {Lo: 0x1D53B, Hi: 0x1D53E, Stride: 1}, + {Lo: 0x1D540, Hi: 0x1D544, Stride: 1}, + {Lo: 0x1D546, Hi: 0x1D546, Stride: 1}, + {Lo: 0x1D54A, Hi: 0x1D550, Stride: 1}, + {Lo: 0x1D56C, Hi: 0x1D585, Stride: 1}, + {Lo: 0x1D5A0, Hi: 0x1D5B9, Stride: 1}, + {Lo: 0x1D5D4, Hi: 0x1D5ED, Stride: 1}, + {Lo: 0x1D608, Hi: 0x1D621, Stride: 1}, + {Lo: 0x1D63C, Hi: 0x1D655, Stride: 1}, + {Lo: 0x1D670, Hi: 0x1D689, Stride: 1}, + {Lo: 0x1D6A8, Hi: 0x1D6C0, Stride: 1}, + {Lo: 0x1D6E2, Hi: 0x1D6FA, Stride: 1}, + {Lo: 0x1D71C, Hi: 0x1D734, Stride: 1}, + {Lo: 0x1D756, Hi: 0x1D76E, Stride: 1}, + {Lo: 0x1D790, Hi: 0x1D7A8, Stride: 1}, + {Lo: 0x1D7CA, Hi: 0x1D7CA, Stride: 1}, + {Lo: 0x1E900, Hi: 0x1E921, Stride: 1}, + {Lo: 0x1F130, Hi: 0x1F149, Stride: 1}, + {Lo: 0x1F150, Hi: 0x1F169, Stride: 1}, + {Lo: 0x1F170, Hi: 0x1F189, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_ALetter = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x41, Hi: 0x5A, Stride: 1}, + {Lo: 0x61, Hi: 0x7A, Stride: 1}, + {Lo: 0xAA, Hi: 0xAA, Stride: 1}, + {Lo: 0xB5, Hi: 0xB5, Stride: 1}, + {Lo: 0xB8, Hi: 0xB8, Stride: 1}, + {Lo: 0xBA, Hi: 0xBA, Stride: 1}, + {Lo: 0xC0, Hi: 0xD6, Stride: 1}, + {Lo: 0xD8, Hi: 0xF6, Stride: 1}, + {Lo: 0xF8, Hi: 0x2D7, Stride: 1}, + {Lo: 0x2DE, Hi: 0x2FF, Stride: 1}, + {Lo: 0x370, Hi: 0x374, Stride: 1}, + {Lo: 0x376, Hi: 0x377, Stride: 1}, + {Lo: 0x37A, Hi: 0x37D, Stride: 1}, + {Lo: 0x37F, Hi: 0x37F, Stride: 1}, + {Lo: 0x386, Hi: 0x386, Stride: 1}, + {Lo: 0x388, Hi: 0x38A, Stride: 1}, + {Lo: 0x38C, Hi: 0x38C, Stride: 1}, + {Lo: 0x38E, Hi: 0x3A1, Stride: 1}, + {Lo: 0x3A3, Hi: 0x3F5, Stride: 1}, + {Lo: 0x3F7, Hi: 0x481, Stride: 1}, + {Lo: 0x48A, Hi: 0x52F, Stride: 1}, + {Lo: 0x531, Hi: 0x556, Stride: 1}, + {Lo: 0x559, Hi: 0x55C, Stride: 1}, + {Lo: 0x55E, Hi: 0x55E, Stride: 1}, + {Lo: 0x560, Hi: 0x588, Stride: 1}, + {Lo: 0x58A, Hi: 0x58A, Stride: 1}, + {Lo: 0x5F3, Hi: 0x5F3, Stride: 1}, + {Lo: 0x620, Hi: 0x64A, Stride: 1}, + {Lo: 0x66E, Hi: 0x66F, Stride: 1}, + {Lo: 0x671, Hi: 0x6D3, Stride: 1}, + {Lo: 0x6D5, Hi: 0x6D5, Stride: 1}, + {Lo: 0x6E5, Hi: 0x6E6, Stride: 1}, + {Lo: 0x6EE, Hi: 0x6EF, Stride: 1}, + {Lo: 0x6FA, Hi: 0x6FC, Stride: 1}, + {Lo: 0x6FF, Hi: 0x6FF, Stride: 1}, + {Lo: 0x70F, Hi: 0x710, Stride: 1}, + {Lo: 0x712, Hi: 0x72F, Stride: 1}, + {Lo: 0x74D, Hi: 0x7A5, Stride: 1}, + {Lo: 0x7B1, Hi: 0x7B1, Stride: 1}, + {Lo: 0x7CA, Hi: 0x7EA, Stride: 1}, + {Lo: 0x7F4, Hi: 0x7F5, Stride: 1}, + {Lo: 0x7FA, Hi: 0x7FA, Stride: 1}, + {Lo: 0x800, Hi: 0x815, Stride: 1}, + {Lo: 0x81A, Hi: 0x81A, Stride: 1}, + {Lo: 0x824, Hi: 0x824, Stride: 1}, + {Lo: 0x828, Hi: 0x828, Stride: 1}, + {Lo: 0x840, Hi: 0x858, Stride: 1}, + {Lo: 0x860, Hi: 0x86A, Stride: 1}, + {Lo: 0x870, Hi: 0x887, Stride: 1}, + {Lo: 0x889, Hi: 0x88F, Stride: 1}, + {Lo: 0x8A0, Hi: 0x8C9, Stride: 1}, + {Lo: 0x904, Hi: 0x939, Stride: 1}, + {Lo: 0x93D, Hi: 0x93D, Stride: 1}, + {Lo: 0x950, Hi: 0x950, Stride: 1}, + {Lo: 0x958, Hi: 0x961, Stride: 1}, + {Lo: 0x971, Hi: 0x980, Stride: 1}, + {Lo: 0x985, Hi: 0x98C, Stride: 1}, + {Lo: 0x98F, Hi: 0x990, Stride: 1}, + {Lo: 0x993, Hi: 0x9A8, Stride: 1}, + {Lo: 0x9AA, Hi: 0x9B0, Stride: 1}, + {Lo: 0x9B2, Hi: 0x9B2, Stride: 1}, + {Lo: 0x9B6, Hi: 0x9B9, Stride: 1}, + {Lo: 0x9BD, Hi: 0x9BD, Stride: 1}, + {Lo: 0x9CE, Hi: 0x9CE, Stride: 1}, + {Lo: 0x9DC, Hi: 0x9DD, Stride: 1}, + {Lo: 0x9DF, Hi: 0x9E1, Stride: 1}, + {Lo: 0x9F0, Hi: 0x9F1, Stride: 1}, + {Lo: 0x9FC, Hi: 0x9FC, Stride: 1}, + {Lo: 0xA05, Hi: 0xA0A, Stride: 1}, + {Lo: 0xA0F, Hi: 0xA10, Stride: 1}, + {Lo: 0xA13, Hi: 0xA28, Stride: 1}, + {Lo: 0xA2A, Hi: 0xA30, Stride: 1}, + {Lo: 0xA32, Hi: 0xA33, Stride: 1}, + {Lo: 0xA35, Hi: 0xA36, Stride: 1}, + {Lo: 0xA38, Hi: 0xA39, Stride: 1}, + {Lo: 0xA59, Hi: 0xA5C, Stride: 1}, + {Lo: 0xA5E, Hi: 0xA5E, Stride: 1}, + {Lo: 0xA72, Hi: 0xA74, Stride: 1}, + {Lo: 0xA85, Hi: 0xA8D, Stride: 1}, + {Lo: 0xA8F, Hi: 0xA91, Stride: 1}, + {Lo: 0xA93, Hi: 0xAA8, Stride: 1}, + {Lo: 0xAAA, Hi: 0xAB0, Stride: 1}, + {Lo: 0xAB2, Hi: 0xAB3, Stride: 1}, + {Lo: 0xAB5, Hi: 0xAB9, Stride: 1}, + {Lo: 0xABD, Hi: 0xABD, Stride: 1}, + {Lo: 0xAD0, Hi: 0xAD0, Stride: 1}, + {Lo: 0xAE0, Hi: 0xAE1, Stride: 1}, + {Lo: 0xAF9, Hi: 0xAF9, Stride: 1}, + {Lo: 0xB05, Hi: 0xB0C, Stride: 1}, + {Lo: 0xB0F, Hi: 0xB10, Stride: 1}, + {Lo: 0xB13, Hi: 0xB28, Stride: 1}, + {Lo: 0xB2A, Hi: 0xB30, Stride: 1}, + {Lo: 0xB32, Hi: 0xB33, Stride: 1}, + {Lo: 0xB35, Hi: 0xB39, Stride: 1}, + {Lo: 0xB3D, Hi: 0xB3D, Stride: 1}, + {Lo: 0xB5C, Hi: 0xB5D, Stride: 1}, + {Lo: 0xB5F, Hi: 0xB61, Stride: 1}, + {Lo: 0xB71, Hi: 0xB71, Stride: 1}, + {Lo: 0xB83, Hi: 0xB83, Stride: 1}, + {Lo: 0xB85, Hi: 0xB8A, Stride: 1}, + {Lo: 0xB8E, Hi: 0xB90, Stride: 1}, + {Lo: 0xB92, Hi: 0xB95, Stride: 1}, + {Lo: 0xB99, Hi: 0xB9A, Stride: 1}, + {Lo: 0xB9C, Hi: 0xB9C, Stride: 1}, + {Lo: 0xB9E, Hi: 0xB9F, Stride: 1}, + {Lo: 0xBA3, Hi: 0xBA4, Stride: 1}, + {Lo: 0xBA8, Hi: 0xBAA, Stride: 1}, + {Lo: 0xBAE, Hi: 0xBB9, Stride: 1}, + {Lo: 0xBD0, Hi: 0xBD0, Stride: 1}, + {Lo: 0xC05, Hi: 0xC0C, Stride: 1}, + {Lo: 0xC0E, Hi: 0xC10, Stride: 1}, + {Lo: 0xC12, Hi: 0xC28, Stride: 1}, + {Lo: 0xC2A, Hi: 0xC39, Stride: 1}, + {Lo: 0xC3D, Hi: 0xC3D, Stride: 1}, + {Lo: 0xC58, Hi: 0xC5A, Stride: 1}, + {Lo: 0xC5C, Hi: 0xC5D, Stride: 1}, + {Lo: 0xC60, Hi: 0xC61, Stride: 1}, + {Lo: 0xC80, Hi: 0xC80, Stride: 1}, + {Lo: 0xC85, Hi: 0xC8C, Stride: 1}, + {Lo: 0xC8E, Hi: 0xC90, Stride: 1}, + {Lo: 0xC92, Hi: 0xCA8, Stride: 1}, + {Lo: 0xCAA, Hi: 0xCB3, Stride: 1}, + {Lo: 0xCB5, Hi: 0xCB9, Stride: 1}, + {Lo: 0xCBD, Hi: 0xCBD, Stride: 1}, + {Lo: 0xCDC, Hi: 0xCDE, Stride: 1}, + {Lo: 0xCE0, Hi: 0xCE1, Stride: 1}, + {Lo: 0xCF1, Hi: 0xCF2, Stride: 1}, + {Lo: 0xD04, Hi: 0xD0C, Stride: 1}, + {Lo: 0xD0E, Hi: 0xD10, Stride: 1}, + {Lo: 0xD12, Hi: 0xD3A, Stride: 1}, + {Lo: 0xD3D, Hi: 0xD3D, Stride: 1}, + {Lo: 0xD4E, Hi: 0xD4E, Stride: 1}, + {Lo: 0xD54, Hi: 0xD56, Stride: 1}, + {Lo: 0xD5F, Hi: 0xD61, Stride: 1}, + {Lo: 0xD7A, Hi: 0xD7F, Stride: 1}, + {Lo: 0xD85, Hi: 0xD96, Stride: 1}, + {Lo: 0xD9A, Hi: 0xDB1, Stride: 1}, + {Lo: 0xDB3, Hi: 0xDBB, Stride: 1}, + {Lo: 0xDBD, Hi: 0xDBD, Stride: 1}, + {Lo: 0xDC0, Hi: 0xDC6, Stride: 1}, + {Lo: 0xF00, Hi: 0xF00, Stride: 1}, + {Lo: 0xF40, Hi: 0xF47, Stride: 1}, + {Lo: 0xF49, Hi: 0xF6C, Stride: 1}, + {Lo: 0xF88, Hi: 0xF8C, Stride: 1}, + {Lo: 0x10A0, Hi: 0x10C5, Stride: 1}, + {Lo: 0x10C7, Hi: 0x10C7, Stride: 1}, + {Lo: 0x10CD, Hi: 0x10CD, Stride: 1}, + {Lo: 0x10D0, Hi: 0x10FA, Stride: 1}, + {Lo: 0x10FC, Hi: 0x1248, Stride: 1}, + {Lo: 0x124A, Hi: 0x124D, Stride: 1}, + {Lo: 0x1250, Hi: 0x1256, Stride: 1}, + {Lo: 0x1258, Hi: 0x1258, Stride: 1}, + {Lo: 0x125A, Hi: 0x125D, Stride: 1}, + {Lo: 0x1260, Hi: 0x1288, Stride: 1}, + {Lo: 0x128A, Hi: 0x128D, Stride: 1}, + {Lo: 0x1290, Hi: 0x12B0, Stride: 1}, + {Lo: 0x12B2, Hi: 0x12B5, Stride: 1}, + {Lo: 0x12B8, Hi: 0x12BE, Stride: 1}, + {Lo: 0x12C0, Hi: 0x12C0, Stride: 1}, + {Lo: 0x12C2, Hi: 0x12C5, Stride: 1}, + {Lo: 0x12C8, Hi: 0x12D6, Stride: 1}, + {Lo: 0x12D8, Hi: 0x1310, Stride: 1}, + {Lo: 0x1312, Hi: 0x1315, Stride: 1}, + {Lo: 0x1318, Hi: 0x135A, Stride: 1}, + {Lo: 0x1380, Hi: 0x138F, Stride: 1}, + {Lo: 0x13A0, Hi: 0x13F5, Stride: 1}, + {Lo: 0x13F8, Hi: 0x13FD, Stride: 1}, + {Lo: 0x1401, Hi: 0x166C, Stride: 1}, + {Lo: 0x166F, Hi: 0x167F, Stride: 1}, + {Lo: 0x1681, Hi: 0x169A, Stride: 1}, + {Lo: 0x16A0, Hi: 0x16EA, Stride: 1}, + {Lo: 0x16EE, Hi: 0x16F8, Stride: 1}, + {Lo: 0x1700, Hi: 0x1711, Stride: 1}, + {Lo: 0x171F, Hi: 0x1731, Stride: 1}, + {Lo: 0x1740, Hi: 0x1751, Stride: 1}, + {Lo: 0x1760, Hi: 0x176C, Stride: 1}, + {Lo: 0x176E, Hi: 0x1770, Stride: 1}, + {Lo: 0x1820, Hi: 0x1878, Stride: 1}, + {Lo: 0x1880, Hi: 0x1884, Stride: 1}, + {Lo: 0x1887, Hi: 0x18A8, Stride: 1}, + {Lo: 0x18AA, Hi: 0x18AA, Stride: 1}, + {Lo: 0x18B0, Hi: 0x18F5, Stride: 1}, + {Lo: 0x1900, Hi: 0x191E, Stride: 1}, + {Lo: 0x1A00, Hi: 0x1A16, Stride: 1}, + {Lo: 0x1B05, Hi: 0x1B33, Stride: 1}, + {Lo: 0x1B45, Hi: 0x1B4C, Stride: 1}, + {Lo: 0x1B83, Hi: 0x1BA0, Stride: 1}, + {Lo: 0x1BAE, Hi: 0x1BAF, Stride: 1}, + {Lo: 0x1BBA, Hi: 0x1BE5, Stride: 1}, + {Lo: 0x1C00, Hi: 0x1C23, Stride: 1}, + {Lo: 0x1C4D, Hi: 0x1C4F, Stride: 1}, + {Lo: 0x1C5A, Hi: 0x1C7D, Stride: 1}, + {Lo: 0x1C80, Hi: 0x1C8A, Stride: 1}, + {Lo: 0x1C90, Hi: 0x1CBA, Stride: 1}, + {Lo: 0x1CBD, Hi: 0x1CBF, Stride: 1}, + {Lo: 0x1CE9, Hi: 0x1CEC, Stride: 1}, + {Lo: 0x1CEE, Hi: 0x1CF3, Stride: 1}, + {Lo: 0x1CF5, Hi: 0x1CF6, Stride: 1}, + {Lo: 0x1CFA, Hi: 0x1CFA, Stride: 1}, + {Lo: 0x1D00, Hi: 0x1DBF, Stride: 1}, + {Lo: 0x1E00, Hi: 0x1F15, Stride: 1}, + {Lo: 0x1F18, Hi: 0x1F1D, Stride: 1}, + {Lo: 0x1F20, Hi: 0x1F45, Stride: 1}, + {Lo: 0x1F48, Hi: 0x1F4D, Stride: 1}, + {Lo: 0x1F50, Hi: 0x1F57, Stride: 1}, + {Lo: 0x1F59, Hi: 0x1F59, Stride: 1}, + {Lo: 0x1F5B, Hi: 0x1F5B, Stride: 1}, + {Lo: 0x1F5D, Hi: 0x1F5D, Stride: 1}, + {Lo: 0x1F5F, Hi: 0x1F7D, Stride: 1}, + {Lo: 0x1F80, Hi: 0x1FB4, Stride: 1}, + {Lo: 0x1FB6, Hi: 0x1FBC, Stride: 1}, + {Lo: 0x1FBE, Hi: 0x1FBE, Stride: 1}, + {Lo: 0x1FC2, Hi: 0x1FC4, Stride: 1}, + {Lo: 0x1FC6, Hi: 0x1FCC, Stride: 1}, + {Lo: 0x1FD0, Hi: 0x1FD3, Stride: 1}, + {Lo: 0x1FD6, Hi: 0x1FDB, Stride: 1}, + {Lo: 0x1FE0, Hi: 0x1FEC, Stride: 1}, + {Lo: 0x1FF2, Hi: 0x1FF4, Stride: 1}, + {Lo: 0x1FF6, Hi: 0x1FFC, Stride: 1}, + {Lo: 0x2071, Hi: 0x2071, Stride: 1}, + {Lo: 0x207F, Hi: 0x207F, Stride: 1}, + {Lo: 0x2090, Hi: 0x209C, Stride: 1}, + {Lo: 0x2102, Hi: 0x2102, Stride: 1}, + {Lo: 0x2107, Hi: 0x2107, Stride: 1}, + {Lo: 0x210A, Hi: 0x2113, Stride: 1}, + {Lo: 0x2115, Hi: 0x2115, Stride: 1}, + {Lo: 0x2119, Hi: 0x211D, Stride: 1}, + {Lo: 0x2124, Hi: 0x2124, Stride: 1}, + {Lo: 0x2126, Hi: 0x2126, Stride: 1}, + {Lo: 0x2128, Hi: 0x2128, Stride: 1}, + {Lo: 0x212A, Hi: 0x212D, Stride: 1}, + {Lo: 0x212F, Hi: 0x2139, Stride: 1}, + {Lo: 0x213C, Hi: 0x213F, Stride: 1}, + {Lo: 0x2145, Hi: 0x2149, Stride: 1}, + {Lo: 0x214E, Hi: 0x214E, Stride: 1}, + {Lo: 0x2160, Hi: 0x2188, Stride: 1}, + {Lo: 0x24B6, Hi: 0x24E9, Stride: 1}, + {Lo: 0x2C00, Hi: 0x2CE4, Stride: 1}, + {Lo: 0x2CEB, Hi: 0x2CEE, Stride: 1}, + {Lo: 0x2CF2, Hi: 0x2CF3, Stride: 1}, + {Lo: 0x2D00, Hi: 0x2D25, Stride: 1}, + {Lo: 0x2D27, Hi: 0x2D27, Stride: 1}, + {Lo: 0x2D2D, Hi: 0x2D2D, Stride: 1}, + {Lo: 0x2D30, Hi: 0x2D67, Stride: 1}, + {Lo: 0x2D6F, Hi: 0x2D6F, Stride: 1}, + {Lo: 0x2D80, Hi: 0x2D96, Stride: 1}, + {Lo: 0x2DA0, Hi: 0x2DA6, Stride: 1}, + {Lo: 0x2DA8, Hi: 0x2DAE, Stride: 1}, + {Lo: 0x2DB0, Hi: 0x2DB6, Stride: 1}, + {Lo: 0x2DB8, Hi: 0x2DBE, Stride: 1}, + {Lo: 0x2DC0, Hi: 0x2DC6, Stride: 1}, + {Lo: 0x2DC8, Hi: 0x2DCE, Stride: 1}, + {Lo: 0x2DD0, Hi: 0x2DD6, Stride: 1}, + {Lo: 0x2DD8, Hi: 0x2DDE, Stride: 1}, + {Lo: 0x2E2F, Hi: 0x2E2F, Stride: 1}, + {Lo: 0x3005, Hi: 0x3005, Stride: 1}, + {Lo: 0x303B, Hi: 0x303C, Stride: 1}, + {Lo: 0x3105, Hi: 0x312F, Stride: 1}, + {Lo: 0x3131, Hi: 0x318E, Stride: 1}, + {Lo: 0x31A0, Hi: 0x31BF, Stride: 1}, + {Lo: 0xA000, Hi: 0xA48C, Stride: 1}, + {Lo: 0xA4D0, Hi: 0xA4FD, Stride: 1}, + {Lo: 0xA500, Hi: 0xA60C, Stride: 1}, + {Lo: 0xA610, Hi: 0xA61F, Stride: 1}, + {Lo: 0xA62A, Hi: 0xA62B, Stride: 1}, + {Lo: 0xA640, Hi: 0xA66E, Stride: 1}, + {Lo: 0xA67F, Hi: 0xA69D, Stride: 1}, + {Lo: 0xA6A0, Hi: 0xA6EF, Stride: 1}, + {Lo: 0xA708, Hi: 0xA7DC, Stride: 1}, + {Lo: 0xA7F1, Hi: 0xA801, Stride: 1}, + {Lo: 0xA803, Hi: 0xA805, Stride: 1}, + {Lo: 0xA807, Hi: 0xA80A, Stride: 1}, + {Lo: 0xA80C, Hi: 0xA822, Stride: 1}, + {Lo: 0xA840, Hi: 0xA873, Stride: 1}, + {Lo: 0xA882, Hi: 0xA8B3, Stride: 1}, + {Lo: 0xA8F2, Hi: 0xA8F7, Stride: 1}, + {Lo: 0xA8FB, Hi: 0xA8FB, Stride: 1}, + {Lo: 0xA8FD, Hi: 0xA8FE, Stride: 1}, + {Lo: 0xA90A, Hi: 0xA925, Stride: 1}, + {Lo: 0xA930, Hi: 0xA946, Stride: 1}, + {Lo: 0xA960, Hi: 0xA97C, Stride: 1}, + {Lo: 0xA984, Hi: 0xA9B2, Stride: 1}, + {Lo: 0xA9CF, Hi: 0xA9CF, Stride: 1}, + {Lo: 0xAA00, Hi: 0xAA28, Stride: 1}, + {Lo: 0xAA40, Hi: 0xAA42, Stride: 1}, + {Lo: 0xAA44, Hi: 0xAA4B, Stride: 1}, + {Lo: 0xAAE0, Hi: 0xAAEA, Stride: 1}, + {Lo: 0xAAF2, Hi: 0xAAF4, Stride: 1}, + {Lo: 0xAB01, Hi: 0xAB06, Stride: 1}, + {Lo: 0xAB09, Hi: 0xAB0E, Stride: 1}, + {Lo: 0xAB11, Hi: 0xAB16, Stride: 1}, + {Lo: 0xAB20, Hi: 0xAB26, Stride: 1}, + {Lo: 0xAB28, Hi: 0xAB2E, Stride: 1}, + {Lo: 0xAB30, Hi: 0xAB69, Stride: 1}, + {Lo: 0xAB70, Hi: 0xABE2, Stride: 1}, + {Lo: 0xAC00, Hi: 0xD7A3, Stride: 1}, + {Lo: 0xD7B0, Hi: 0xD7C6, Stride: 1}, + {Lo: 0xD7CB, Hi: 0xD7FB, Stride: 1}, + {Lo: 0xFB00, Hi: 0xFB06, Stride: 1}, + {Lo: 0xFB13, Hi: 0xFB17, Stride: 1}, + {Lo: 0xFB50, Hi: 0xFBB1, Stride: 1}, + {Lo: 0xFBD3, Hi: 0xFD3D, Stride: 1}, + {Lo: 0xFD50, Hi: 0xFD8F, Stride: 1}, + {Lo: 0xFD92, Hi: 0xFDC7, Stride: 1}, + {Lo: 0xFDF0, Hi: 0xFDFB, Stride: 1}, + {Lo: 0xFE70, Hi: 0xFE74, Stride: 1}, + {Lo: 0xFE76, Hi: 0xFEFC, Stride: 1}, + {Lo: 0xFF21, Hi: 0xFF3A, Stride: 1}, + {Lo: 0xFF41, Hi: 0xFF5A, Stride: 1}, + {Lo: 0xFFA0, Hi: 0xFFBE, Stride: 1}, + {Lo: 0xFFC2, Hi: 0xFFC7, Stride: 1}, + {Lo: 0xFFCA, Hi: 0xFFCF, Stride: 1}, + {Lo: 0xFFD2, Hi: 0xFFD7, Stride: 1}, + {Lo: 0xFFDA, Hi: 0xFFDC, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x10000, Hi: 0x1000B, Stride: 1}, + {Lo: 0x1000D, Hi: 0x10026, Stride: 1}, + {Lo: 0x10028, Hi: 0x1003A, Stride: 1}, + {Lo: 0x1003C, Hi: 0x1003D, Stride: 1}, + {Lo: 0x1003F, Hi: 0x1004D, Stride: 1}, + {Lo: 0x10050, Hi: 0x1005D, Stride: 1}, + {Lo: 0x10080, Hi: 0x100FA, Stride: 1}, + {Lo: 0x10140, Hi: 0x10174, Stride: 1}, + {Lo: 0x10280, Hi: 0x1029C, Stride: 1}, + {Lo: 0x102A0, Hi: 0x102D0, Stride: 1}, + {Lo: 0x10300, Hi: 0x1031F, Stride: 1}, + {Lo: 0x1032D, Hi: 0x1034A, Stride: 1}, + {Lo: 0x10350, Hi: 0x10375, Stride: 1}, + {Lo: 0x10380, Hi: 0x1039D, Stride: 1}, + {Lo: 0x103A0, Hi: 0x103C3, Stride: 1}, + {Lo: 0x103C8, Hi: 0x103CF, Stride: 1}, + {Lo: 0x103D1, Hi: 0x103D5, Stride: 1}, + {Lo: 0x10400, Hi: 0x1049D, Stride: 1}, + {Lo: 0x104B0, Hi: 0x104D3, Stride: 1}, + {Lo: 0x104D8, Hi: 0x104FB, Stride: 1}, + {Lo: 0x10500, Hi: 0x10527, Stride: 1}, + {Lo: 0x10530, Hi: 0x10563, Stride: 1}, + {Lo: 0x10570, Hi: 0x1057A, Stride: 1}, + {Lo: 0x1057C, Hi: 0x1058A, Stride: 1}, + {Lo: 0x1058C, Hi: 0x10592, Stride: 1}, + {Lo: 0x10594, Hi: 0x10595, Stride: 1}, + {Lo: 0x10597, Hi: 0x105A1, Stride: 1}, + {Lo: 0x105A3, Hi: 0x105B1, Stride: 1}, + {Lo: 0x105B3, Hi: 0x105B9, Stride: 1}, + {Lo: 0x105BB, Hi: 0x105BC, Stride: 1}, + {Lo: 0x105C0, Hi: 0x105F3, Stride: 1}, + {Lo: 0x10600, Hi: 0x10736, Stride: 1}, + {Lo: 0x10740, Hi: 0x10755, Stride: 1}, + {Lo: 0x10760, Hi: 0x10767, Stride: 1}, + {Lo: 0x10780, Hi: 0x10785, Stride: 1}, + {Lo: 0x10787, Hi: 0x107B0, Stride: 1}, + {Lo: 0x107B2, Hi: 0x107BA, Stride: 1}, + {Lo: 0x10800, Hi: 0x10805, Stride: 1}, + {Lo: 0x10808, Hi: 0x10808, Stride: 1}, + {Lo: 0x1080A, Hi: 0x10835, Stride: 1}, + {Lo: 0x10837, Hi: 0x10838, Stride: 1}, + {Lo: 0x1083C, Hi: 0x1083C, Stride: 1}, + {Lo: 0x1083F, Hi: 0x10855, Stride: 1}, + {Lo: 0x10860, Hi: 0x10876, Stride: 1}, + {Lo: 0x10880, Hi: 0x1089E, Stride: 1}, + {Lo: 0x108E0, Hi: 0x108F2, Stride: 1}, + {Lo: 0x108F4, Hi: 0x108F5, Stride: 1}, + {Lo: 0x10900, Hi: 0x10915, Stride: 1}, + {Lo: 0x10920, Hi: 0x10939, Stride: 1}, + {Lo: 0x10940, Hi: 0x10959, Stride: 1}, + {Lo: 0x10980, Hi: 0x109B7, Stride: 1}, + {Lo: 0x109BE, Hi: 0x109BF, Stride: 1}, + {Lo: 0x10A00, Hi: 0x10A00, Stride: 1}, + {Lo: 0x10A10, Hi: 0x10A13, Stride: 1}, + {Lo: 0x10A15, Hi: 0x10A17, Stride: 1}, + {Lo: 0x10A19, Hi: 0x10A35, Stride: 1}, + {Lo: 0x10A60, Hi: 0x10A7C, Stride: 1}, + {Lo: 0x10A80, Hi: 0x10A9C, Stride: 1}, + {Lo: 0x10AC0, Hi: 0x10AC7, Stride: 1}, + {Lo: 0x10AC9, Hi: 0x10AE4, Stride: 1}, + {Lo: 0x10B00, Hi: 0x10B35, Stride: 1}, + {Lo: 0x10B40, Hi: 0x10B55, Stride: 1}, + {Lo: 0x10B60, Hi: 0x10B72, Stride: 1}, + {Lo: 0x10B80, Hi: 0x10B91, Stride: 1}, + {Lo: 0x10C00, Hi: 0x10C48, Stride: 1}, + {Lo: 0x10C80, Hi: 0x10CB2, Stride: 1}, + {Lo: 0x10CC0, Hi: 0x10CF2, Stride: 1}, + {Lo: 0x10D00, Hi: 0x10D23, Stride: 1}, + {Lo: 0x10D4A, Hi: 0x10D65, Stride: 1}, + {Lo: 0x10D6F, Hi: 0x10D85, Stride: 1}, + {Lo: 0x10E80, Hi: 0x10EA9, Stride: 1}, + {Lo: 0x10EB0, Hi: 0x10EB1, Stride: 1}, + {Lo: 0x10EC2, Hi: 0x10EC7, Stride: 1}, + {Lo: 0x10F00, Hi: 0x10F1C, Stride: 1}, + {Lo: 0x10F27, Hi: 0x10F27, Stride: 1}, + {Lo: 0x10F30, Hi: 0x10F45, Stride: 1}, + {Lo: 0x10F70, Hi: 0x10F81, Stride: 1}, + {Lo: 0x10FB0, Hi: 0x10FC4, Stride: 1}, + {Lo: 0x10FE0, Hi: 0x10FF6, Stride: 1}, + {Lo: 0x11003, Hi: 0x11037, Stride: 1}, + {Lo: 0x11071, Hi: 0x11072, Stride: 1}, + {Lo: 0x11075, Hi: 0x11075, Stride: 1}, + {Lo: 0x11083, Hi: 0x110AF, Stride: 1}, + {Lo: 0x110D0, Hi: 0x110E8, Stride: 1}, + {Lo: 0x11103, Hi: 0x11126, Stride: 1}, + {Lo: 0x11144, Hi: 0x11144, Stride: 1}, + {Lo: 0x11147, Hi: 0x11147, Stride: 1}, + {Lo: 0x11150, Hi: 0x11172, Stride: 1}, + {Lo: 0x11176, Hi: 0x11176, Stride: 1}, + {Lo: 0x11183, Hi: 0x111B2, Stride: 1}, + {Lo: 0x111C1, Hi: 0x111C4, Stride: 1}, + {Lo: 0x111DA, Hi: 0x111DA, Stride: 1}, + {Lo: 0x111DC, Hi: 0x111DC, Stride: 1}, + {Lo: 0x11200, Hi: 0x11211, Stride: 1}, + {Lo: 0x11213, Hi: 0x1122B, Stride: 1}, + {Lo: 0x1123F, Hi: 0x11240, Stride: 1}, + {Lo: 0x11280, Hi: 0x11286, Stride: 1}, + {Lo: 0x11288, Hi: 0x11288, Stride: 1}, + {Lo: 0x1128A, Hi: 0x1128D, Stride: 1}, + {Lo: 0x1128F, Hi: 0x1129D, Stride: 1}, + {Lo: 0x1129F, Hi: 0x112A8, Stride: 1}, + {Lo: 0x112B0, Hi: 0x112DE, Stride: 1}, + {Lo: 0x11305, Hi: 0x1130C, Stride: 1}, + {Lo: 0x1130F, Hi: 0x11310, Stride: 1}, + {Lo: 0x11313, Hi: 0x11328, Stride: 1}, + {Lo: 0x1132A, Hi: 0x11330, Stride: 1}, + {Lo: 0x11332, Hi: 0x11333, Stride: 1}, + {Lo: 0x11335, Hi: 0x11339, Stride: 1}, + {Lo: 0x1133D, Hi: 0x1133D, Stride: 1}, + {Lo: 0x11350, Hi: 0x11350, Stride: 1}, + {Lo: 0x1135D, Hi: 0x11361, Stride: 1}, + {Lo: 0x11380, Hi: 0x11389, Stride: 1}, + {Lo: 0x1138B, Hi: 0x1138B, Stride: 1}, + {Lo: 0x1138E, Hi: 0x1138E, Stride: 1}, + {Lo: 0x11390, Hi: 0x113B5, Stride: 1}, + {Lo: 0x113B7, Hi: 0x113B7, Stride: 1}, + {Lo: 0x113D1, Hi: 0x113D1, Stride: 1}, + {Lo: 0x113D3, Hi: 0x113D3, Stride: 1}, + {Lo: 0x11400, Hi: 0x11434, Stride: 1}, + {Lo: 0x11447, Hi: 0x1144A, Stride: 1}, + {Lo: 0x1145F, Hi: 0x11461, Stride: 1}, + {Lo: 0x11480, Hi: 0x114AF, Stride: 1}, + {Lo: 0x114C4, Hi: 0x114C5, Stride: 1}, + {Lo: 0x114C7, Hi: 0x114C7, Stride: 1}, + {Lo: 0x11580, Hi: 0x115AE, Stride: 1}, + {Lo: 0x115D8, Hi: 0x115DB, Stride: 1}, + {Lo: 0x11600, Hi: 0x1162F, Stride: 1}, + {Lo: 0x11644, Hi: 0x11644, Stride: 1}, + {Lo: 0x11680, Hi: 0x116AA, Stride: 1}, + {Lo: 0x116B8, Hi: 0x116B8, Stride: 1}, + {Lo: 0x11800, Hi: 0x1182B, Stride: 1}, + {Lo: 0x118A0, Hi: 0x118DF, Stride: 1}, + {Lo: 0x118FF, Hi: 0x11906, Stride: 1}, + {Lo: 0x11909, Hi: 0x11909, Stride: 1}, + {Lo: 0x1190C, Hi: 0x11913, Stride: 1}, + {Lo: 0x11915, Hi: 0x11916, Stride: 1}, + {Lo: 0x11918, Hi: 0x1192F, Stride: 1}, + {Lo: 0x1193F, Hi: 0x1193F, Stride: 1}, + {Lo: 0x11941, Hi: 0x11941, Stride: 1}, + {Lo: 0x119A0, Hi: 0x119A7, Stride: 1}, + {Lo: 0x119AA, Hi: 0x119D0, Stride: 1}, + {Lo: 0x119E1, Hi: 0x119E1, Stride: 1}, + {Lo: 0x119E3, Hi: 0x119E3, Stride: 1}, + {Lo: 0x11A00, Hi: 0x11A00, Stride: 1}, + {Lo: 0x11A0B, Hi: 0x11A32, Stride: 1}, + {Lo: 0x11A3A, Hi: 0x11A3A, Stride: 1}, + {Lo: 0x11A50, Hi: 0x11A50, Stride: 1}, + {Lo: 0x11A5C, Hi: 0x11A89, Stride: 1}, + {Lo: 0x11A9D, Hi: 0x11A9D, Stride: 1}, + {Lo: 0x11AB0, Hi: 0x11AF8, Stride: 1}, + {Lo: 0x11BC0, Hi: 0x11BE0, Stride: 1}, + {Lo: 0x11C00, Hi: 0x11C08, Stride: 1}, + {Lo: 0x11C0A, Hi: 0x11C2E, Stride: 1}, + {Lo: 0x11C40, Hi: 0x11C40, Stride: 1}, + {Lo: 0x11C72, Hi: 0x11C8F, Stride: 1}, + {Lo: 0x11D00, Hi: 0x11D06, Stride: 1}, + {Lo: 0x11D08, Hi: 0x11D09, Stride: 1}, + {Lo: 0x11D0B, Hi: 0x11D30, Stride: 1}, + {Lo: 0x11D46, Hi: 0x11D46, Stride: 1}, + {Lo: 0x11D60, Hi: 0x11D65, Stride: 1}, + {Lo: 0x11D67, Hi: 0x11D68, Stride: 1}, + {Lo: 0x11D6A, Hi: 0x11D89, Stride: 1}, + {Lo: 0x11D98, Hi: 0x11D98, Stride: 1}, + {Lo: 0x11DB0, Hi: 0x11DDB, Stride: 1}, + {Lo: 0x11EE0, Hi: 0x11EF2, Stride: 1}, + {Lo: 0x11F02, Hi: 0x11F02, Stride: 1}, + {Lo: 0x11F04, Hi: 0x11F10, Stride: 1}, + {Lo: 0x11F12, Hi: 0x11F33, Stride: 1}, + {Lo: 0x11FB0, Hi: 0x11FB0, Stride: 1}, + {Lo: 0x12000, Hi: 0x12399, Stride: 1}, + {Lo: 0x12400, Hi: 0x1246E, Stride: 1}, + {Lo: 0x12480, Hi: 0x12543, Stride: 1}, + {Lo: 0x12F90, Hi: 0x12FF0, Stride: 1}, + {Lo: 0x13000, Hi: 0x1342F, Stride: 1}, + {Lo: 0x13441, Hi: 0x13446, Stride: 1}, + {Lo: 0x13460, Hi: 0x143FA, Stride: 1}, + {Lo: 0x14400, Hi: 0x14646, Stride: 1}, + {Lo: 0x16100, Hi: 0x1611D, Stride: 1}, + {Lo: 0x16800, Hi: 0x16A38, Stride: 1}, + {Lo: 0x16A40, Hi: 0x16A5E, Stride: 1}, + {Lo: 0x16A70, Hi: 0x16ABE, Stride: 1}, + {Lo: 0x16AD0, Hi: 0x16AED, Stride: 1}, + {Lo: 0x16B00, Hi: 0x16B2F, Stride: 1}, + {Lo: 0x16B40, Hi: 0x16B43, Stride: 1}, + {Lo: 0x16B63, Hi: 0x16B77, Stride: 1}, + {Lo: 0x16B7D, Hi: 0x16B8F, Stride: 1}, + {Lo: 0x16D40, Hi: 0x16D6C, Stride: 1}, + {Lo: 0x16E40, Hi: 0x16E7F, Stride: 1}, + {Lo: 0x16EA0, Hi: 0x16EB8, Stride: 1}, + {Lo: 0x16EBB, Hi: 0x16ED3, Stride: 1}, + {Lo: 0x16F00, Hi: 0x16F4A, Stride: 1}, + {Lo: 0x16F50, Hi: 0x16F50, Stride: 1}, + {Lo: 0x16F93, Hi: 0x16F9F, Stride: 1}, + {Lo: 0x16FE0, Hi: 0x16FE1, Stride: 1}, + {Lo: 0x16FE3, Hi: 0x16FE3, Stride: 1}, + {Lo: 0x1BC00, Hi: 0x1BC6A, Stride: 1}, + {Lo: 0x1BC70, Hi: 0x1BC7C, Stride: 1}, + {Lo: 0x1BC80, Hi: 0x1BC88, Stride: 1}, + {Lo: 0x1BC90, Hi: 0x1BC99, Stride: 1}, + {Lo: 0x1D400, Hi: 0x1D454, Stride: 1}, + {Lo: 0x1D456, Hi: 0x1D49C, Stride: 1}, + {Lo: 0x1D49E, Hi: 0x1D49F, Stride: 1}, + {Lo: 0x1D4A2, Hi: 0x1D4A2, Stride: 1}, + {Lo: 0x1D4A5, Hi: 0x1D4A6, Stride: 1}, + {Lo: 0x1D4A9, Hi: 0x1D4AC, Stride: 1}, + {Lo: 0x1D4AE, Hi: 0x1D4B9, Stride: 1}, + {Lo: 0x1D4BB, Hi: 0x1D4BB, Stride: 1}, + {Lo: 0x1D4BD, Hi: 0x1D4C3, Stride: 1}, + {Lo: 0x1D4C5, Hi: 0x1D505, Stride: 1}, + {Lo: 0x1D507, Hi: 0x1D50A, Stride: 1}, + {Lo: 0x1D50D, Hi: 0x1D514, Stride: 1}, + {Lo: 0x1D516, Hi: 0x1D51C, Stride: 1}, + {Lo: 0x1D51E, Hi: 0x1D539, Stride: 1}, + {Lo: 0x1D53B, Hi: 0x1D53E, Stride: 1}, + {Lo: 0x1D540, Hi: 0x1D544, Stride: 1}, + {Lo: 0x1D546, Hi: 0x1D546, Stride: 1}, + {Lo: 0x1D54A, Hi: 0x1D550, Stride: 1}, + {Lo: 0x1D552, Hi: 0x1D6A5, Stride: 1}, + {Lo: 0x1D6A8, Hi: 0x1D6C0, Stride: 1}, + {Lo: 0x1D6C2, Hi: 0x1D6DA, Stride: 1}, + {Lo: 0x1D6DC, Hi: 0x1D6FA, Stride: 1}, + {Lo: 0x1D6FC, Hi: 0x1D714, Stride: 1}, + {Lo: 0x1D716, Hi: 0x1D734, Stride: 1}, + {Lo: 0x1D736, Hi: 0x1D74E, Stride: 1}, + {Lo: 0x1D750, Hi: 0x1D76E, Stride: 1}, + {Lo: 0x1D770, Hi: 0x1D788, Stride: 1}, + {Lo: 0x1D78A, Hi: 0x1D7A8, Stride: 1}, + {Lo: 0x1D7AA, Hi: 0x1D7C2, Stride: 1}, + {Lo: 0x1D7C4, Hi: 0x1D7CB, Stride: 1}, + {Lo: 0x1DF00, Hi: 0x1DF1E, Stride: 1}, + {Lo: 0x1DF25, Hi: 0x1DF2A, Stride: 1}, + {Lo: 0x1E030, Hi: 0x1E06D, Stride: 1}, + {Lo: 0x1E100, Hi: 0x1E12C, Stride: 1}, + {Lo: 0x1E137, Hi: 0x1E13D, Stride: 1}, + {Lo: 0x1E14E, Hi: 0x1E14E, Stride: 1}, + {Lo: 0x1E290, Hi: 0x1E2AD, Stride: 1}, + {Lo: 0x1E2C0, Hi: 0x1E2EB, Stride: 1}, + {Lo: 0x1E4D0, Hi: 0x1E4EB, Stride: 1}, + {Lo: 0x1E5D0, Hi: 0x1E5ED, Stride: 1}, + {Lo: 0x1E5F0, Hi: 0x1E5F0, Stride: 1}, + {Lo: 0x1E6C0, Hi: 0x1E6DE, Stride: 1}, + {Lo: 0x1E6E0, Hi: 0x1E6E2, Stride: 1}, + {Lo: 0x1E6E4, Hi: 0x1E6E5, Stride: 1}, + {Lo: 0x1E6E7, Hi: 0x1E6ED, Stride: 1}, + {Lo: 0x1E6F0, Hi: 0x1E6F4, Stride: 1}, + {Lo: 0x1E6FE, Hi: 0x1E6FF, Stride: 1}, + {Lo: 0x1E7E0, Hi: 0x1E7E6, Stride: 1}, + {Lo: 0x1E7E8, Hi: 0x1E7EB, Stride: 1}, + {Lo: 0x1E7ED, Hi: 0x1E7EE, Stride: 1}, + {Lo: 0x1E7F0, Hi: 0x1E7FE, Stride: 1}, + {Lo: 0x1E800, Hi: 0x1E8C4, Stride: 1}, + {Lo: 0x1E900, Hi: 0x1E943, Stride: 1}, + {Lo: 0x1E94B, Hi: 0x1E94B, Stride: 1}, + {Lo: 0x1EE00, Hi: 0x1EE03, Stride: 1}, + {Lo: 0x1EE05, Hi: 0x1EE1F, Stride: 1}, + {Lo: 0x1EE21, Hi: 0x1EE22, Stride: 1}, + {Lo: 0x1EE24, Hi: 0x1EE24, Stride: 1}, + {Lo: 0x1EE27, Hi: 0x1EE27, Stride: 1}, + {Lo: 0x1EE29, Hi: 0x1EE32, Stride: 1}, + {Lo: 0x1EE34, Hi: 0x1EE37, Stride: 1}, + {Lo: 0x1EE39, Hi: 0x1EE39, Stride: 1}, + {Lo: 0x1EE3B, Hi: 0x1EE3B, Stride: 1}, + {Lo: 0x1EE42, Hi: 0x1EE42, Stride: 1}, + {Lo: 0x1EE47, Hi: 0x1EE47, Stride: 1}, + {Lo: 0x1EE49, Hi: 0x1EE49, Stride: 1}, + {Lo: 0x1EE4B, Hi: 0x1EE4B, Stride: 1}, + {Lo: 0x1EE4D, Hi: 0x1EE4F, Stride: 1}, + {Lo: 0x1EE51, Hi: 0x1EE52, Stride: 1}, + {Lo: 0x1EE54, Hi: 0x1EE54, Stride: 1}, + {Lo: 0x1EE57, Hi: 0x1EE57, Stride: 1}, + {Lo: 0x1EE59, Hi: 0x1EE59, Stride: 1}, + {Lo: 0x1EE5B, Hi: 0x1EE5B, Stride: 1}, + {Lo: 0x1EE5D, Hi: 0x1EE5D, Stride: 1}, + {Lo: 0x1EE5F, Hi: 0x1EE5F, Stride: 1}, + {Lo: 0x1EE61, Hi: 0x1EE62, Stride: 1}, + {Lo: 0x1EE64, Hi: 0x1EE64, Stride: 1}, + {Lo: 0x1EE67, Hi: 0x1EE6A, Stride: 1}, + {Lo: 0x1EE6C, Hi: 0x1EE72, Stride: 1}, + {Lo: 0x1EE74, Hi: 0x1EE77, Stride: 1}, + {Lo: 0x1EE79, Hi: 0x1EE7C, Stride: 1}, + {Lo: 0x1EE7E, Hi: 0x1EE7E, Stride: 1}, + {Lo: 0x1EE80, Hi: 0x1EE89, Stride: 1}, + {Lo: 0x1EE8B, Hi: 0x1EE9B, Stride: 1}, + {Lo: 0x1EEA1, Hi: 0x1EEA3, Stride: 1}, + {Lo: 0x1EEA5, Hi: 0x1EEA9, Stride: 1}, + {Lo: 0x1EEAB, Hi: 0x1EEBB, Stride: 1}, + {Lo: 0x1F130, Hi: 0x1F149, Stride: 1}, + {Lo: 0x1F150, Hi: 0x1F169, Stride: 1}, + {Lo: 0x1F170, Hi: 0x1F189, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_CR = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xD, Hi: 0xD, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Double_Quote = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x22, Hi: 0x22, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Extend = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x300, Hi: 0x36F, Stride: 1}, + {Lo: 0x483, Hi: 0x489, Stride: 1}, + {Lo: 0x591, Hi: 0x5BD, Stride: 1}, + {Lo: 0x5BF, Hi: 0x5BF, Stride: 1}, + {Lo: 0x5C1, Hi: 0x5C2, Stride: 1}, + {Lo: 0x5C4, Hi: 0x5C5, Stride: 1}, + {Lo: 0x5C7, Hi: 0x5C7, Stride: 1}, + {Lo: 0x610, Hi: 0x61A, Stride: 1}, + {Lo: 0x64B, Hi: 0x65F, Stride: 1}, + {Lo: 0x670, Hi: 0x670, Stride: 1}, + {Lo: 0x6D6, Hi: 0x6DC, Stride: 1}, + {Lo: 0x6DF, Hi: 0x6E4, Stride: 1}, + {Lo: 0x6E7, Hi: 0x6E8, Stride: 1}, + {Lo: 0x6EA, Hi: 0x6ED, Stride: 1}, + {Lo: 0x711, Hi: 0x711, Stride: 1}, + {Lo: 0x730, Hi: 0x74A, Stride: 1}, + {Lo: 0x7A6, Hi: 0x7B0, Stride: 1}, + {Lo: 0x7EB, Hi: 0x7F3, Stride: 1}, + {Lo: 0x7FD, Hi: 0x7FD, Stride: 1}, + {Lo: 0x816, Hi: 0x819, Stride: 1}, + {Lo: 0x81B, Hi: 0x823, Stride: 1}, + {Lo: 0x825, Hi: 0x827, Stride: 1}, + {Lo: 0x829, Hi: 0x82D, Stride: 1}, + {Lo: 0x859, Hi: 0x85B, Stride: 1}, + {Lo: 0x897, Hi: 0x89F, Stride: 1}, + {Lo: 0x8CA, Hi: 0x8E1, Stride: 1}, + {Lo: 0x8E3, Hi: 0x903, Stride: 1}, + {Lo: 0x93A, Hi: 0x93C, Stride: 1}, + {Lo: 0x93E, Hi: 0x94F, Stride: 1}, + {Lo: 0x951, Hi: 0x957, Stride: 1}, + {Lo: 0x962, Hi: 0x963, Stride: 1}, + {Lo: 0x981, Hi: 0x983, Stride: 1}, + {Lo: 0x9BC, Hi: 0x9BC, Stride: 1}, + {Lo: 0x9BE, Hi: 0x9C4, Stride: 1}, + {Lo: 0x9C7, Hi: 0x9C8, Stride: 1}, + {Lo: 0x9CB, Hi: 0x9CD, Stride: 1}, + {Lo: 0x9D7, Hi: 0x9D7, Stride: 1}, + {Lo: 0x9E2, Hi: 0x9E3, Stride: 1}, + {Lo: 0x9FE, Hi: 0x9FE, Stride: 1}, + {Lo: 0xA01, Hi: 0xA03, Stride: 1}, + {Lo: 0xA3C, Hi: 0xA3C, Stride: 1}, + {Lo: 0xA3E, Hi: 0xA42, Stride: 1}, + {Lo: 0xA47, Hi: 0xA48, Stride: 1}, + {Lo: 0xA4B, Hi: 0xA4D, Stride: 1}, + {Lo: 0xA51, Hi: 0xA51, Stride: 1}, + {Lo: 0xA70, Hi: 0xA71, Stride: 1}, + {Lo: 0xA75, Hi: 0xA75, Stride: 1}, + {Lo: 0xA81, Hi: 0xA83, Stride: 1}, + {Lo: 0xABC, Hi: 0xABC, Stride: 1}, + {Lo: 0xABE, Hi: 0xAC5, Stride: 1}, + {Lo: 0xAC7, Hi: 0xAC9, Stride: 1}, + {Lo: 0xACB, Hi: 0xACD, Stride: 1}, + {Lo: 0xAE2, Hi: 0xAE3, Stride: 1}, + {Lo: 0xAFA, Hi: 0xAFF, Stride: 1}, + {Lo: 0xB01, Hi: 0xB03, Stride: 1}, + {Lo: 0xB3C, Hi: 0xB3C, Stride: 1}, + {Lo: 0xB3E, Hi: 0xB44, Stride: 1}, + {Lo: 0xB47, Hi: 0xB48, Stride: 1}, + {Lo: 0xB4B, Hi: 0xB4D, Stride: 1}, + {Lo: 0xB55, Hi: 0xB57, Stride: 1}, + {Lo: 0xB62, Hi: 0xB63, Stride: 1}, + {Lo: 0xB82, Hi: 0xB82, Stride: 1}, + {Lo: 0xBBE, Hi: 0xBC2, Stride: 1}, + {Lo: 0xBC6, Hi: 0xBC8, Stride: 1}, + {Lo: 0xBCA, Hi: 0xBCD, Stride: 1}, + {Lo: 0xBD7, Hi: 0xBD7, Stride: 1}, + {Lo: 0xC00, Hi: 0xC04, Stride: 1}, + {Lo: 0xC3C, Hi: 0xC3C, Stride: 1}, + {Lo: 0xC3E, Hi: 0xC44, Stride: 1}, + {Lo: 0xC46, Hi: 0xC48, Stride: 1}, + {Lo: 0xC4A, Hi: 0xC4D, Stride: 1}, + {Lo: 0xC55, Hi: 0xC56, Stride: 1}, + {Lo: 0xC62, Hi: 0xC63, Stride: 1}, + {Lo: 0xC81, Hi: 0xC83, Stride: 1}, + {Lo: 0xCBC, Hi: 0xCBC, Stride: 1}, + {Lo: 0xCBE, Hi: 0xCC4, Stride: 1}, + {Lo: 0xCC6, Hi: 0xCC8, Stride: 1}, + {Lo: 0xCCA, Hi: 0xCCD, Stride: 1}, + {Lo: 0xCD5, Hi: 0xCD6, Stride: 1}, + {Lo: 0xCE2, Hi: 0xCE3, Stride: 1}, + {Lo: 0xCF3, Hi: 0xCF3, Stride: 1}, + {Lo: 0xD00, Hi: 0xD03, Stride: 1}, + {Lo: 0xD3B, Hi: 0xD3C, Stride: 1}, + {Lo: 0xD3E, Hi: 0xD44, Stride: 1}, + {Lo: 0xD46, Hi: 0xD48, Stride: 1}, + {Lo: 0xD4A, Hi: 0xD4D, Stride: 1}, + {Lo: 0xD57, Hi: 0xD57, Stride: 1}, + {Lo: 0xD62, Hi: 0xD63, Stride: 1}, + {Lo: 0xD81, Hi: 0xD83, Stride: 1}, + {Lo: 0xDCA, Hi: 0xDCA, Stride: 1}, + {Lo: 0xDCF, Hi: 0xDD4, Stride: 1}, + {Lo: 0xDD6, Hi: 0xDD6, Stride: 1}, + {Lo: 0xDD8, Hi: 0xDDF, Stride: 1}, + {Lo: 0xDF2, Hi: 0xDF3, Stride: 1}, + {Lo: 0xE31, Hi: 0xE31, Stride: 1}, + {Lo: 0xE34, Hi: 0xE3A, Stride: 1}, + {Lo: 0xE47, Hi: 0xE4E, Stride: 1}, + {Lo: 0xEB1, Hi: 0xEB1, Stride: 1}, + {Lo: 0xEB4, Hi: 0xEBC, Stride: 1}, + {Lo: 0xEC8, Hi: 0xECE, Stride: 1}, + {Lo: 0xF18, Hi: 0xF19, Stride: 1}, + {Lo: 0xF35, Hi: 0xF35, Stride: 1}, + {Lo: 0xF37, Hi: 0xF37, Stride: 1}, + {Lo: 0xF39, Hi: 0xF39, Stride: 1}, + {Lo: 0xF3E, Hi: 0xF3F, Stride: 1}, + {Lo: 0xF71, Hi: 0xF84, Stride: 1}, + {Lo: 0xF86, Hi: 0xF87, Stride: 1}, + {Lo: 0xF8D, Hi: 0xF97, Stride: 1}, + {Lo: 0xF99, Hi: 0xFBC, Stride: 1}, + {Lo: 0xFC6, Hi: 0xFC6, Stride: 1}, + {Lo: 0x102B, Hi: 0x103E, Stride: 1}, + {Lo: 0x1056, Hi: 0x1059, Stride: 1}, + {Lo: 0x105E, Hi: 0x1060, Stride: 1}, + {Lo: 0x1062, Hi: 0x1064, Stride: 1}, + {Lo: 0x1067, Hi: 0x106D, Stride: 1}, + {Lo: 0x1071, Hi: 0x1074, Stride: 1}, + {Lo: 0x1082, Hi: 0x108D, Stride: 1}, + {Lo: 0x108F, Hi: 0x108F, Stride: 1}, + {Lo: 0x109A, Hi: 0x109D, Stride: 1}, + {Lo: 0x135D, Hi: 0x135F, Stride: 1}, + {Lo: 0x1712, Hi: 0x1715, Stride: 1}, + {Lo: 0x1732, Hi: 0x1734, Stride: 1}, + {Lo: 0x1752, Hi: 0x1753, Stride: 1}, + {Lo: 0x1772, Hi: 0x1773, Stride: 1}, + {Lo: 0x17B4, Hi: 0x17D3, Stride: 1}, + {Lo: 0x17DD, Hi: 0x17DD, Stride: 1}, + {Lo: 0x180B, Hi: 0x180D, Stride: 1}, + {Lo: 0x180F, Hi: 0x180F, Stride: 1}, + {Lo: 0x1885, Hi: 0x1886, Stride: 1}, + {Lo: 0x18A9, Hi: 0x18A9, Stride: 1}, + {Lo: 0x1920, Hi: 0x192B, Stride: 1}, + {Lo: 0x1930, Hi: 0x193B, Stride: 1}, + {Lo: 0x1A17, Hi: 0x1A1B, Stride: 1}, + {Lo: 0x1A55, Hi: 0x1A5E, Stride: 1}, + {Lo: 0x1A60, Hi: 0x1A7C, Stride: 1}, + {Lo: 0x1A7F, Hi: 0x1A7F, Stride: 1}, + {Lo: 0x1AB0, Hi: 0x1ADD, Stride: 1}, + {Lo: 0x1AE0, Hi: 0x1AEB, Stride: 1}, + {Lo: 0x1B00, Hi: 0x1B04, Stride: 1}, + {Lo: 0x1B34, Hi: 0x1B44, Stride: 1}, + {Lo: 0x1B6B, Hi: 0x1B73, Stride: 1}, + {Lo: 0x1B80, Hi: 0x1B82, Stride: 1}, + {Lo: 0x1BA1, Hi: 0x1BAD, Stride: 1}, + {Lo: 0x1BE6, Hi: 0x1BF3, Stride: 1}, + {Lo: 0x1C24, Hi: 0x1C37, Stride: 1}, + {Lo: 0x1CD0, Hi: 0x1CD2, Stride: 1}, + {Lo: 0x1CD4, Hi: 0x1CE8, Stride: 1}, + {Lo: 0x1CED, Hi: 0x1CED, Stride: 1}, + {Lo: 0x1CF4, Hi: 0x1CF4, Stride: 1}, + {Lo: 0x1CF7, Hi: 0x1CF9, Stride: 1}, + {Lo: 0x1DC0, Hi: 0x1DFF, Stride: 1}, + {Lo: 0x200C, Hi: 0x200C, Stride: 1}, + {Lo: 0x20D0, Hi: 0x20F0, Stride: 1}, + {Lo: 0x2CEF, Hi: 0x2CF1, Stride: 1}, + {Lo: 0x2D7F, Hi: 0x2D7F, Stride: 1}, + {Lo: 0x2DE0, Hi: 0x2DFF, Stride: 1}, + {Lo: 0x302A, Hi: 0x302F, Stride: 1}, + {Lo: 0x3099, Hi: 0x309A, Stride: 1}, + {Lo: 0xA66F, Hi: 0xA672, Stride: 1}, + {Lo: 0xA674, Hi: 0xA67D, Stride: 1}, + {Lo: 0xA69E, Hi: 0xA69F, Stride: 1}, + {Lo: 0xA6F0, Hi: 0xA6F1, Stride: 1}, + {Lo: 0xA802, Hi: 0xA802, Stride: 1}, + {Lo: 0xA806, Hi: 0xA806, Stride: 1}, + {Lo: 0xA80B, Hi: 0xA80B, Stride: 1}, + {Lo: 0xA823, Hi: 0xA827, Stride: 1}, + {Lo: 0xA82C, Hi: 0xA82C, Stride: 1}, + {Lo: 0xA880, Hi: 0xA881, Stride: 1}, + {Lo: 0xA8B4, Hi: 0xA8C5, Stride: 1}, + {Lo: 0xA8E0, Hi: 0xA8F1, Stride: 1}, + {Lo: 0xA8FF, Hi: 0xA8FF, Stride: 1}, + {Lo: 0xA926, Hi: 0xA92D, Stride: 1}, + {Lo: 0xA947, Hi: 0xA953, Stride: 1}, + {Lo: 0xA980, Hi: 0xA983, Stride: 1}, + {Lo: 0xA9B3, Hi: 0xA9C0, Stride: 1}, + {Lo: 0xA9E5, Hi: 0xA9E5, Stride: 1}, + {Lo: 0xAA29, Hi: 0xAA36, Stride: 1}, + {Lo: 0xAA43, Hi: 0xAA43, Stride: 1}, + {Lo: 0xAA4C, Hi: 0xAA4D, Stride: 1}, + {Lo: 0xAA7B, Hi: 0xAA7D, Stride: 1}, + {Lo: 0xAAB0, Hi: 0xAAB0, Stride: 1}, + {Lo: 0xAAB2, Hi: 0xAAB4, Stride: 1}, + {Lo: 0xAAB7, Hi: 0xAAB8, Stride: 1}, + {Lo: 0xAABE, Hi: 0xAABF, Stride: 1}, + {Lo: 0xAAC1, Hi: 0xAAC1, Stride: 1}, + {Lo: 0xAAEB, Hi: 0xAAEF, Stride: 1}, + {Lo: 0xAAF5, Hi: 0xAAF6, Stride: 1}, + {Lo: 0xABE3, Hi: 0xABEA, Stride: 1}, + {Lo: 0xABEC, Hi: 0xABED, Stride: 1}, + {Lo: 0xFB1E, Hi: 0xFB1E, Stride: 1}, + {Lo: 0xFE00, Hi: 0xFE0F, Stride: 1}, + {Lo: 0xFE20, Hi: 0xFE2F, Stride: 1}, + {Lo: 0xFF9E, Hi: 0xFF9F, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x101FD, Hi: 0x101FD, Stride: 1}, + {Lo: 0x102E0, Hi: 0x102E0, Stride: 1}, + {Lo: 0x10376, Hi: 0x1037A, Stride: 1}, + {Lo: 0x10A01, Hi: 0x10A03, Stride: 1}, + {Lo: 0x10A05, Hi: 0x10A06, Stride: 1}, + {Lo: 0x10A0C, Hi: 0x10A0F, Stride: 1}, + {Lo: 0x10A38, Hi: 0x10A3A, Stride: 1}, + {Lo: 0x10A3F, Hi: 0x10A3F, Stride: 1}, + {Lo: 0x10AE5, Hi: 0x10AE6, Stride: 1}, + {Lo: 0x10D24, Hi: 0x10D27, Stride: 1}, + {Lo: 0x10D69, Hi: 0x10D6D, Stride: 1}, + {Lo: 0x10EAB, Hi: 0x10EAC, Stride: 1}, + {Lo: 0x10EFA, Hi: 0x10EFF, Stride: 1}, + {Lo: 0x10F46, Hi: 0x10F50, Stride: 1}, + {Lo: 0x10F82, Hi: 0x10F85, Stride: 1}, + {Lo: 0x11000, Hi: 0x11002, Stride: 1}, + {Lo: 0x11038, Hi: 0x11046, Stride: 1}, + {Lo: 0x11070, Hi: 0x11070, Stride: 1}, + {Lo: 0x11073, Hi: 0x11074, Stride: 1}, + {Lo: 0x1107F, Hi: 0x11082, Stride: 1}, + {Lo: 0x110B0, Hi: 0x110BA, Stride: 1}, + {Lo: 0x110C2, Hi: 0x110C2, Stride: 1}, + {Lo: 0x11100, Hi: 0x11102, Stride: 1}, + {Lo: 0x11127, Hi: 0x11134, Stride: 1}, + {Lo: 0x11145, Hi: 0x11146, Stride: 1}, + {Lo: 0x11173, Hi: 0x11173, Stride: 1}, + {Lo: 0x11180, Hi: 0x11182, Stride: 1}, + {Lo: 0x111B3, Hi: 0x111C0, Stride: 1}, + {Lo: 0x111C9, Hi: 0x111CC, Stride: 1}, + {Lo: 0x111CE, Hi: 0x111CF, Stride: 1}, + {Lo: 0x1122C, Hi: 0x11237, Stride: 1}, + {Lo: 0x1123E, Hi: 0x1123E, Stride: 1}, + {Lo: 0x11241, Hi: 0x11241, Stride: 1}, + {Lo: 0x112DF, Hi: 0x112EA, Stride: 1}, + {Lo: 0x11300, Hi: 0x11303, Stride: 1}, + {Lo: 0x1133B, Hi: 0x1133C, Stride: 1}, + {Lo: 0x1133E, Hi: 0x11344, Stride: 1}, + {Lo: 0x11347, Hi: 0x11348, Stride: 1}, + {Lo: 0x1134B, Hi: 0x1134D, Stride: 1}, + {Lo: 0x11357, Hi: 0x11357, Stride: 1}, + {Lo: 0x11362, Hi: 0x11363, Stride: 1}, + {Lo: 0x11366, Hi: 0x1136C, Stride: 1}, + {Lo: 0x11370, Hi: 0x11374, Stride: 1}, + {Lo: 0x113B8, Hi: 0x113C0, Stride: 1}, + {Lo: 0x113C2, Hi: 0x113C2, Stride: 1}, + {Lo: 0x113C5, Hi: 0x113C5, Stride: 1}, + {Lo: 0x113C7, Hi: 0x113CA, Stride: 1}, + {Lo: 0x113CC, Hi: 0x113D0, Stride: 1}, + {Lo: 0x113D2, Hi: 0x113D2, Stride: 1}, + {Lo: 0x113E1, Hi: 0x113E2, Stride: 1}, + {Lo: 0x11435, Hi: 0x11446, Stride: 1}, + {Lo: 0x1145E, Hi: 0x1145E, Stride: 1}, + {Lo: 0x114B0, Hi: 0x114C3, Stride: 1}, + {Lo: 0x115AF, Hi: 0x115B5, Stride: 1}, + {Lo: 0x115B8, Hi: 0x115C0, Stride: 1}, + {Lo: 0x115DC, Hi: 0x115DD, Stride: 1}, + {Lo: 0x11630, Hi: 0x11640, Stride: 1}, + {Lo: 0x116AB, Hi: 0x116B7, Stride: 1}, + {Lo: 0x1171D, Hi: 0x1172B, Stride: 1}, + {Lo: 0x1182C, Hi: 0x1183A, Stride: 1}, + {Lo: 0x11930, Hi: 0x11935, Stride: 1}, + {Lo: 0x11937, Hi: 0x11938, Stride: 1}, + {Lo: 0x1193B, Hi: 0x1193E, Stride: 1}, + {Lo: 0x11940, Hi: 0x11940, Stride: 1}, + {Lo: 0x11942, Hi: 0x11943, Stride: 1}, + {Lo: 0x119D1, Hi: 0x119D7, Stride: 1}, + {Lo: 0x119DA, Hi: 0x119E0, Stride: 1}, + {Lo: 0x119E4, Hi: 0x119E4, Stride: 1}, + {Lo: 0x11A01, Hi: 0x11A0A, Stride: 1}, + {Lo: 0x11A33, Hi: 0x11A39, Stride: 1}, + {Lo: 0x11A3B, Hi: 0x11A3E, Stride: 1}, + {Lo: 0x11A47, Hi: 0x11A47, Stride: 1}, + {Lo: 0x11A51, Hi: 0x11A5B, Stride: 1}, + {Lo: 0x11A8A, Hi: 0x11A99, Stride: 1}, + {Lo: 0x11B60, Hi: 0x11B67, Stride: 1}, + {Lo: 0x11C2F, Hi: 0x11C36, Stride: 1}, + {Lo: 0x11C38, Hi: 0x11C3F, Stride: 1}, + {Lo: 0x11C92, Hi: 0x11CA7, Stride: 1}, + {Lo: 0x11CA9, Hi: 0x11CB6, Stride: 1}, + {Lo: 0x11D31, Hi: 0x11D36, Stride: 1}, + {Lo: 0x11D3A, Hi: 0x11D3A, Stride: 1}, + {Lo: 0x11D3C, Hi: 0x11D3D, Stride: 1}, + {Lo: 0x11D3F, Hi: 0x11D45, Stride: 1}, + {Lo: 0x11D47, Hi: 0x11D47, Stride: 1}, + {Lo: 0x11D8A, Hi: 0x11D8E, Stride: 1}, + {Lo: 0x11D90, Hi: 0x11D91, Stride: 1}, + {Lo: 0x11D93, Hi: 0x11D97, Stride: 1}, + {Lo: 0x11EF3, Hi: 0x11EF6, Stride: 1}, + {Lo: 0x11F00, Hi: 0x11F01, Stride: 1}, + {Lo: 0x11F03, Hi: 0x11F03, Stride: 1}, + {Lo: 0x11F34, Hi: 0x11F3A, Stride: 1}, + {Lo: 0x11F3E, Hi: 0x11F42, Stride: 1}, + {Lo: 0x11F5A, Hi: 0x11F5A, Stride: 1}, + {Lo: 0x13440, Hi: 0x13440, Stride: 1}, + {Lo: 0x13447, Hi: 0x13455, Stride: 1}, + {Lo: 0x1611E, Hi: 0x1612F, Stride: 1}, + {Lo: 0x16AF0, Hi: 0x16AF4, Stride: 1}, + {Lo: 0x16B30, Hi: 0x16B36, Stride: 1}, + {Lo: 0x16F4F, Hi: 0x16F4F, Stride: 1}, + {Lo: 0x16F51, Hi: 0x16F87, Stride: 1}, + {Lo: 0x16F8F, Hi: 0x16F92, Stride: 1}, + {Lo: 0x16FE4, Hi: 0x16FE4, Stride: 1}, + {Lo: 0x16FF0, Hi: 0x16FF1, Stride: 1}, + {Lo: 0x1BC9D, Hi: 0x1BC9E, Stride: 1}, + {Lo: 0x1CF00, Hi: 0x1CF2D, Stride: 1}, + {Lo: 0x1CF30, Hi: 0x1CF46, Stride: 1}, + {Lo: 0x1D165, Hi: 0x1D169, Stride: 1}, + {Lo: 0x1D16D, Hi: 0x1D172, Stride: 1}, + {Lo: 0x1D17B, Hi: 0x1D182, Stride: 1}, + {Lo: 0x1D185, Hi: 0x1D18B, Stride: 1}, + {Lo: 0x1D1AA, Hi: 0x1D1AD, Stride: 1}, + {Lo: 0x1D242, Hi: 0x1D244, Stride: 1}, + {Lo: 0x1DA00, Hi: 0x1DA36, Stride: 1}, + {Lo: 0x1DA3B, Hi: 0x1DA6C, Stride: 1}, + {Lo: 0x1DA75, Hi: 0x1DA75, Stride: 1}, + {Lo: 0x1DA84, Hi: 0x1DA84, Stride: 1}, + {Lo: 0x1DA9B, Hi: 0x1DA9F, Stride: 1}, + {Lo: 0x1DAA1, Hi: 0x1DAAF, Stride: 1}, + {Lo: 0x1E000, Hi: 0x1E006, Stride: 1}, + {Lo: 0x1E008, Hi: 0x1E018, Stride: 1}, + {Lo: 0x1E01B, Hi: 0x1E021, Stride: 1}, + {Lo: 0x1E023, Hi: 0x1E024, Stride: 1}, + {Lo: 0x1E026, Hi: 0x1E02A, Stride: 1}, + {Lo: 0x1E08F, Hi: 0x1E08F, Stride: 1}, + {Lo: 0x1E130, Hi: 0x1E136, Stride: 1}, + {Lo: 0x1E2AE, Hi: 0x1E2AE, Stride: 1}, + {Lo: 0x1E2EC, Hi: 0x1E2EF, Stride: 1}, + {Lo: 0x1E4EC, Hi: 0x1E4EF, Stride: 1}, + {Lo: 0x1E5EE, Hi: 0x1E5EF, Stride: 1}, + {Lo: 0x1E6E3, Hi: 0x1E6E3, Stride: 1}, + {Lo: 0x1E6E6, Hi: 0x1E6E6, Stride: 1}, + {Lo: 0x1E6EE, Hi: 0x1E6EF, Stride: 1}, + {Lo: 0x1E6F5, Hi: 0x1E6F5, Stride: 1}, + {Lo: 0x1E8D0, Hi: 0x1E8D6, Stride: 1}, + {Lo: 0x1E944, Hi: 0x1E94A, Stride: 1}, + {Lo: 0x1F3FB, Hi: 0x1F3FF, Stride: 1}, + {Lo: 0xE0020, Hi: 0xE007F, Stride: 1}, + {Lo: 0xE0100, Hi: 0xE01EF, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_ExtendNumLet = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x5F, Hi: 0x5F, Stride: 1}, + {Lo: 0x202F, Hi: 0x202F, Stride: 1}, + {Lo: 0x203F, Hi: 0x2040, Stride: 1}, + {Lo: 0x2054, Hi: 0x2054, Stride: 1}, + {Lo: 0xFE33, Hi: 0xFE34, Stride: 1}, + {Lo: 0xFE4D, Hi: 0xFE4F, Stride: 1}, + {Lo: 0xFF3F, Hi: 0xFF3F, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Format = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xAD, Hi: 0xAD, Stride: 1}, + {Lo: 0x61C, Hi: 0x61C, Stride: 1}, + {Lo: 0x180E, Hi: 0x180E, Stride: 1}, + {Lo: 0x200E, Hi: 0x200F, Stride: 1}, + {Lo: 0x202A, Hi: 0x202E, Stride: 1}, + {Lo: 0x2060, Hi: 0x2064, Stride: 1}, + {Lo: 0x2066, Hi: 0x206F, Stride: 1}, + {Lo: 0xFEFF, Hi: 0xFEFF, Stride: 1}, + {Lo: 0xFFF9, Hi: 0xFFFB, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x13430, Hi: 0x1343F, Stride: 1}, + {Lo: 0x1BCA0, Hi: 0x1BCA3, Stride: 1}, + {Lo: 0x1D173, Hi: 0x1D17A, Stride: 1}, + {Lo: 0xE0001, Hi: 0xE0001, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Hebrew_Letter = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x5D0, Hi: 0x5EA, Stride: 1}, + {Lo: 0x5EF, Hi: 0x5F2, Stride: 1}, + {Lo: 0xFB1D, Hi: 0xFB1D, Stride: 1}, + {Lo: 0xFB1F, Hi: 0xFB28, Stride: 1}, + {Lo: 0xFB2A, Hi: 0xFB36, Stride: 1}, + {Lo: 0xFB38, Hi: 0xFB3C, Stride: 1}, + {Lo: 0xFB3E, Hi: 0xFB3E, Stride: 1}, + {Lo: 0xFB40, Hi: 0xFB41, Stride: 1}, + {Lo: 0xFB43, Hi: 0xFB44, Stride: 1}, + {Lo: 0xFB46, Hi: 0xFB4F, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Katakana = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x3031, Hi: 0x3035, Stride: 1}, + {Lo: 0x309B, Hi: 0x309C, Stride: 1}, + {Lo: 0x30A0, Hi: 0x30FA, Stride: 1}, + {Lo: 0x30FC, Hi: 0x30FF, Stride: 1}, + {Lo: 0x31F0, Hi: 0x31FF, Stride: 1}, + {Lo: 0x32D0, Hi: 0x32FE, Stride: 1}, + {Lo: 0x3300, Hi: 0x3357, Stride: 1}, + {Lo: 0xFF66, Hi: 0xFF9D, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x1AFF0, Hi: 0x1AFF3, Stride: 1}, + {Lo: 0x1AFF5, Hi: 0x1AFFB, Stride: 1}, + {Lo: 0x1AFFD, Hi: 0x1AFFE, Stride: 1}, + {Lo: 0x1B000, Hi: 0x1B000, Stride: 1}, + {Lo: 0x1B120, Hi: 0x1B122, Stride: 1}, + {Lo: 0x1B155, Hi: 0x1B155, Stride: 1}, + {Lo: 0x1B164, Hi: 0x1B167, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_LF = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xA, Hi: 0xA, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_MidLetter = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x3A, Hi: 0x3A, Stride: 1}, + {Lo: 0xB7, Hi: 0xB7, Stride: 1}, + {Lo: 0x387, Hi: 0x387, Stride: 1}, + {Lo: 0x55F, Hi: 0x55F, Stride: 1}, + {Lo: 0x5F4, Hi: 0x5F4, Stride: 1}, + {Lo: 0x2027, Hi: 0x2027, Stride: 1}, + {Lo: 0xFE13, Hi: 0xFE13, Stride: 1}, + {Lo: 0xFE55, Hi: 0xFE55, Stride: 1}, + {Lo: 0xFF1A, Hi: 0xFF1A, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_MidNum = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x2C, Hi: 0x2C, Stride: 1}, + {Lo: 0x3B, Hi: 0x3B, Stride: 1}, + {Lo: 0x37E, Hi: 0x37E, Stride: 1}, + {Lo: 0x589, Hi: 0x589, Stride: 1}, + {Lo: 0x60C, Hi: 0x60D, Stride: 1}, + {Lo: 0x66C, Hi: 0x66C, Stride: 1}, + {Lo: 0x7F8, Hi: 0x7F8, Stride: 1}, + {Lo: 0x2044, Hi: 0x2044, Stride: 1}, + {Lo: 0xFE50, Hi: 0xFE50, Stride: 1}, + {Lo: 0xFE54, Hi: 0xFE54, Stride: 1}, + {Lo: 0xFF0C, Hi: 0xFF0C, Stride: 1}, + {Lo: 0xFF1B, Hi: 0xFF1B, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_MidNumLet = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x2E, Hi: 0x2E, Stride: 1}, + {Lo: 0x2018, Hi: 0x2019, Stride: 1}, + {Lo: 0x2024, Hi: 0x2024, Stride: 1}, + {Lo: 0xFE52, Hi: 0xFE52, Stride: 1}, + {Lo: 0xFF07, Hi: 0xFF07, Stride: 1}, + {Lo: 0xFF0E, Hi: 0xFF0E, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Newline = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0xB, Hi: 0xC, Stride: 1}, + {Lo: 0x85, Hi: 0x85, Stride: 1}, + {Lo: 0x2028, Hi: 0x2029, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Numeric = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x30, Hi: 0x39, Stride: 1}, + {Lo: 0x600, Hi: 0x605, Stride: 1}, + {Lo: 0x660, Hi: 0x669, Stride: 1}, + {Lo: 0x66B, Hi: 0x66B, Stride: 1}, + {Lo: 0x6DD, Hi: 0x6DD, Stride: 1}, + {Lo: 0x6F0, Hi: 0x6F9, Stride: 1}, + {Lo: 0x7C0, Hi: 0x7C9, Stride: 1}, + {Lo: 0x890, Hi: 0x891, Stride: 1}, + {Lo: 0x8E2, Hi: 0x8E2, Stride: 1}, + {Lo: 0x966, Hi: 0x96F, Stride: 1}, + {Lo: 0x9E6, Hi: 0x9EF, Stride: 1}, + {Lo: 0xA66, Hi: 0xA6F, Stride: 1}, + {Lo: 0xAE6, Hi: 0xAEF, Stride: 1}, + {Lo: 0xB66, Hi: 0xB6F, Stride: 1}, + {Lo: 0xBE6, Hi: 0xBEF, Stride: 1}, + {Lo: 0xC66, Hi: 0xC6F, Stride: 1}, + {Lo: 0xCE6, Hi: 0xCEF, Stride: 1}, + {Lo: 0xD66, Hi: 0xD6F, Stride: 1}, + {Lo: 0xDE6, Hi: 0xDEF, Stride: 1}, + {Lo: 0xE50, Hi: 0xE59, Stride: 1}, + {Lo: 0xED0, Hi: 0xED9, Stride: 1}, + {Lo: 0xF20, Hi: 0xF29, Stride: 1}, + {Lo: 0x1040, Hi: 0x1049, Stride: 1}, + {Lo: 0x1090, Hi: 0x1099, Stride: 1}, + {Lo: 0x17E0, Hi: 0x17E9, Stride: 1}, + {Lo: 0x1810, Hi: 0x1819, Stride: 1}, + {Lo: 0x1946, Hi: 0x194F, Stride: 1}, + {Lo: 0x19D0, Hi: 0x19DA, Stride: 1}, + {Lo: 0x1A80, Hi: 0x1A89, Stride: 1}, + {Lo: 0x1A90, Hi: 0x1A99, Stride: 1}, + {Lo: 0x1B50, Hi: 0x1B59, Stride: 1}, + {Lo: 0x1BB0, Hi: 0x1BB9, Stride: 1}, + {Lo: 0x1C40, Hi: 0x1C49, Stride: 1}, + {Lo: 0x1C50, Hi: 0x1C59, Stride: 1}, + {Lo: 0xA620, Hi: 0xA629, Stride: 1}, + {Lo: 0xA8D0, Hi: 0xA8D9, Stride: 1}, + {Lo: 0xA900, Hi: 0xA909, Stride: 1}, + {Lo: 0xA9D0, Hi: 0xA9D9, Stride: 1}, + {Lo: 0xA9F0, Hi: 0xA9F9, Stride: 1}, + {Lo: 0xAA50, Hi: 0xAA59, Stride: 1}, + {Lo: 0xABF0, Hi: 0xABF9, Stride: 1}, + {Lo: 0xFF10, Hi: 0xFF19, Stride: 1}, + }, + R32: []unicode.Range32{ + {Lo: 0x104A0, Hi: 0x104A9, Stride: 1}, + {Lo: 0x10D30, Hi: 0x10D39, Stride: 1}, + {Lo: 0x10D40, Hi: 0x10D49, Stride: 1}, + {Lo: 0x11066, Hi: 0x1106F, Stride: 1}, + {Lo: 0x110BD, Hi: 0x110BD, Stride: 1}, + {Lo: 0x110CD, Hi: 0x110CD, Stride: 1}, + {Lo: 0x110F0, Hi: 0x110F9, Stride: 1}, + {Lo: 0x11136, Hi: 0x1113F, Stride: 1}, + {Lo: 0x111D0, Hi: 0x111D9, Stride: 1}, + {Lo: 0x112F0, Hi: 0x112F9, Stride: 1}, + {Lo: 0x11450, Hi: 0x11459, Stride: 1}, + {Lo: 0x114D0, Hi: 0x114D9, Stride: 1}, + {Lo: 0x11650, Hi: 0x11659, Stride: 1}, + {Lo: 0x116C0, Hi: 0x116C9, Stride: 1}, + {Lo: 0x116D0, Hi: 0x116E3, Stride: 1}, + {Lo: 0x11730, Hi: 0x11739, Stride: 1}, + {Lo: 0x118E0, Hi: 0x118E9, Stride: 1}, + {Lo: 0x11950, Hi: 0x11959, Stride: 1}, + {Lo: 0x11BF0, Hi: 0x11BF9, Stride: 1}, + {Lo: 0x11C50, Hi: 0x11C59, Stride: 1}, + {Lo: 0x11D50, Hi: 0x11D59, Stride: 1}, + {Lo: 0x11DA0, Hi: 0x11DA9, Stride: 1}, + {Lo: 0x11DE0, Hi: 0x11DE9, Stride: 1}, + {Lo: 0x11F50, Hi: 0x11F59, Stride: 1}, + {Lo: 0x16130, Hi: 0x16139, Stride: 1}, + {Lo: 0x16A60, Hi: 0x16A69, Stride: 1}, + {Lo: 0x16AC0, Hi: 0x16AC9, Stride: 1}, + {Lo: 0x16B50, Hi: 0x16B59, Stride: 1}, + {Lo: 0x16D70, Hi: 0x16D79, Stride: 1}, + {Lo: 0x1CCF0, Hi: 0x1CCF9, Stride: 1}, + {Lo: 0x1D7CE, Hi: 0x1D7FF, Stride: 1}, + {Lo: 0x1E140, Hi: 0x1E149, Stride: 1}, + {Lo: 0x1E2F0, Hi: 0x1E2F9, Stride: 1}, + {Lo: 0x1E4F0, Hi: 0x1E4F9, Stride: 1}, + {Lo: 0x1E5F1, Hi: 0x1E5FA, Stride: 1}, + {Lo: 0x1E950, Hi: 0x1E959, Stride: 1}, + {Lo: 0x1FBF0, Hi: 0x1FBF9, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Regional_Indicator = &unicode.RangeTable{ + R32: []unicode.Range32{ + {Lo: 0x1F1E6, Hi: 0x1F1FF, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_Single_Quote = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x27, Hi: 0x27, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_WSegSpace = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x20, Hi: 0x20, Stride: 1}, + {Lo: 0x1680, Hi: 0x1680, Stride: 1}, + {Lo: 0x2000, Hi: 0x2006, Stride: 1}, + {Lo: 0x2008, Hi: 0x200A, Stride: 1}, + {Lo: 0x205F, Hi: 0x205F, Stride: 1}, + {Lo: 0x3000, Hi: 0x3000, Stride: 1}, + }, +} + +var unicodeAliasWord_Break_ZWJ = &unicode.RangeTable{ + R16: []unicode.Range16{ + {Lo: 0x200D, Hi: 0x200D, Stride: 1}, + }, +} diff --git a/tools/vendor/github.com/dlclark/regexp2/v2/testoutput1 b/tools/vendor/github.com/dlclark/regexp2/v2/testoutput1 deleted file mode 100644 index fbf63fdf2..000000000 --- a/tools/vendor/github.com/dlclark/regexp2/v2/testoutput1 +++ /dev/null @@ -1,7061 +0,0 @@ -# This set of tests is for features that are compatible with all versions of -# Perl >= 5.10, in non-UTF mode. It should run clean for the 8-bit, 16-bit, and -# 32-bit PCRE libraries, and also using the perltest.pl script. - -#forbid_utf -#newline_default lf any anycrlf -#perltest - -/the quick brown fox/ - the quick brown fox - 0: the quick brown fox - What do you know about the quick brown fox? - 0: the quick brown fox -\= Expect no match - The quick brown FOX -No match - What do you know about THE QUICK BROWN FOX? -No match - -/The quick brown fox/i - the quick brown fox - 0: the quick brown fox - The quick brown FOX - 0: The quick brown FOX - What do you know about the quick brown fox? - 0: the quick brown fox - What do you know about THE QUICK BROWN FOX? - 0: THE QUICK BROWN FOX - -/abcd\t\n\r\f\a\e\071\x3b\$\\\?caxyz/ - abcd\t\n\r\f\a\e9;\$\\?caxyz - 0: abcd\x09\x0a\x0d\x0c\x07\x1b9;$\?caxyz - -/a*abc?xyz+pqr{3}ab{2,}xy{4,5}pq{0,6}AB{0,}zz/ - abxyzpqrrrabbxyyyypqAzz - 0: abxyzpqrrrabbxyyyypqAzz - abxyzpqrrrabbxyyyypqAzz - 0: abxyzpqrrrabbxyyyypqAzz - aabxyzpqrrrabbxyyyypqAzz - 0: aabxyzpqrrrabbxyyyypqAzz - aaabxyzpqrrrabbxyyyypqAzz - 0: aaabxyzpqrrrabbxyyyypqAzz - aaaabxyzpqrrrabbxyyyypqAzz - 0: aaaabxyzpqrrrabbxyyyypqAzz - abcxyzpqrrrabbxyyyypqAzz - 0: abcxyzpqrrrabbxyyyypqAzz - aabcxyzpqrrrabbxyyyypqAzz - 0: aabcxyzpqrrrabbxyyyypqAzz - aaabcxyzpqrrrabbxyyyypAzz - 0: aaabcxyzpqrrrabbxyyyypAzz - aaabcxyzpqrrrabbxyyyypqAzz - 0: aaabcxyzpqrrrabbxyyyypqAzz - aaabcxyzpqrrrabbxyyyypqqAzz - 0: aaabcxyzpqrrrabbxyyyypqqAzz - aaabcxyzpqrrrabbxyyyypqqqAzz - 0: aaabcxyzpqrrrabbxyyyypqqqAzz - aaabcxyzpqrrrabbxyyyypqqqqAzz - 0: aaabcxyzpqrrrabbxyyyypqqqqAzz - aaabcxyzpqrrrabbxyyyypqqqqqAzz - 0: aaabcxyzpqrrrabbxyyyypqqqqqAzz - aaabcxyzpqrrrabbxyyyypqqqqqqAzz - 0: aaabcxyzpqrrrabbxyyyypqqqqqqAzz - aaaabcxyzpqrrrabbxyyyypqAzz - 0: aaaabcxyzpqrrrabbxyyyypqAzz - abxyzzpqrrrabbxyyyypqAzz - 0: abxyzzpqrrrabbxyyyypqAzz - aabxyzzzpqrrrabbxyyyypqAzz - 0: aabxyzzzpqrrrabbxyyyypqAzz - aaabxyzzzzpqrrrabbxyyyypqAzz - 0: aaabxyzzzzpqrrrabbxyyyypqAzz - aaaabxyzzzzpqrrrabbxyyyypqAzz - 0: aaaabxyzzzzpqrrrabbxyyyypqAzz - abcxyzzpqrrrabbxyyyypqAzz - 0: abcxyzzpqrrrabbxyyyypqAzz - aabcxyzzzpqrrrabbxyyyypqAzz - 0: aabcxyzzzpqrrrabbxyyyypqAzz - aaabcxyzzzzpqrrrabbxyyyypqAzz - 0: aaabcxyzzzzpqrrrabbxyyyypqAzz - aaaabcxyzzzzpqrrrabbxyyyypqAzz - 0: aaaabcxyzzzzpqrrrabbxyyyypqAzz - aaaabcxyzzzzpqrrrabbbxyyyypqAzz - 0: aaaabcxyzzzzpqrrrabbbxyyyypqAzz - aaaabcxyzzzzpqrrrabbbxyyyyypqAzz - 0: aaaabcxyzzzzpqrrrabbbxyyyyypqAzz - aaabcxyzpqrrrabbxyyyypABzz - 0: aaabcxyzpqrrrabbxyyyypABzz - aaabcxyzpqrrrabbxyyyypABBzz - 0: aaabcxyzpqrrrabbxyyyypABBzz - >>>aaabxyzpqrrrabbxyyyypqAzz - 0: aaabxyzpqrrrabbxyyyypqAzz - >aaaabxyzpqrrrabbxyyyypqAzz - 0: aaaabxyzpqrrrabbxyyyypqAzz - >>>>abcxyzpqrrrabbxyyyypqAzz - 0: abcxyzpqrrrabbxyyyypqAzz -\= Expect no match - abxyzpqrrabbxyyyypqAzz -No match - abxyzpqrrrrabbxyyyypqAzz -No match - abxyzpqrrrabxyyyypqAzz -No match - aaaabcxyzzzzpqrrrabbbxyyyyyypqAzz -No match - aaaabcxyzzzzpqrrrabbbxyyypqAzz -No match - aaabcxyzpqrrrabbxyyyypqqqqqqqAzz -No match - -/^(abc){1,2}zz/ - abczz - 0: abczz - 1: abc - abcabczz - 0: abcabczz - 1: abc -\= Expect no match - zz -No match - abcabcabczz -No match - >>abczz -No match - -/^(b+?|a){1,2}?c/ - bc - 0: bc - 1: b - bbc - 0: bbc - 1: b - bbbc - 0: bbbc - 1: bb - bac - 0: bac - 1: a - bbac - 0: bbac - 1: a - aac - 0: aac - 1: a - abbbbbbbbbbbc - 0: abbbbbbbbbbbc - 1: bbbbbbbbbbb - bbbbbbbbbbbac - 0: bbbbbbbbbbbac - 1: a -\= Expect no match - aaac -No match - abbbbbbbbbbbac -No match - -/^(b+|a){1,2}c/ - bc - 0: bc - 1: b - bbc - 0: bbc - 1: bb - bbbc - 0: bbbc - 1: bbb - bac - 0: bac - 1: a - bbac - 0: bbac - 1: a - aac - 0: aac - 1: a - abbbbbbbbbbbc - 0: abbbbbbbbbbbc - 1: bbbbbbbbbbb - bbbbbbbbbbbac - 0: bbbbbbbbbbbac - 1: a -\= Expect no match - aaac -No match - abbbbbbbbbbbac -No match - -/^(b+|a){1,2}?bc/ - bbc - 0: bbc - 1: b - -/^(b*|ba){1,2}?bc/ - babc - 0: babc - 1: ba - bbabc - 0: bbabc - 1: ba - bababc - 0: bababc - 1: ba -\= Expect no match - bababbc -No match - babababc -No match - -/^(ba|b*){1,2}?bc/ - babc - 0: babc - 1: ba - bbabc - 0: bbabc - 1: ba - bababc - 0: bababc - 1: ba -\= Expect no match - bababbc -No match - babababc -No match - -#/^\ca\cA\c[;\c:/ -# \x01\x01\e;z -# 0: \x01\x01\x1b;z - -/^[ab\]cde]/ - athing - 0: a - bthing - 0: b - ]thing - 0: ] - cthing - 0: c - dthing - 0: d - ething - 0: e -\= Expect no match - fthing -No match - [thing -No match - \\thing -No match - -/^[]cde]/ - ]thing - 0: ] - cthing - 0: c - dthing - 0: d - ething - 0: e -\= Expect no match - athing -No match - fthing -No match - -/^[^ab\]cde]/ - fthing - 0: f - [thing - 0: [ - \\thing - 0: \ -\= Expect no match - athing -No match - bthing -No match - ]thing -No match - cthing -No match - dthing -No match - ething -No match - -/^[^]cde]/ - athing - 0: a - fthing - 0: f -\= Expect no match - ]thing -No match - cthing -No match - dthing -No match - ething -No match - -# DLC - I don't get this one -#/^\/ -#  -# 0: \x81 - -#updated to handle 16-bits utf8 -/^ÿ/ - ÿ - 0: \xc3\xbf - -/^[0-9]+$/ - 0 - 0: 0 - 1 - 0: 1 - 2 - 0: 2 - 3 - 0: 3 - 4 - 0: 4 - 5 - 0: 5 - 6 - 0: 6 - 7 - 0: 7 - 8 - 0: 8 - 9 - 0: 9 - 10 - 0: 10 - 100 - 0: 100 -\= Expect no match - abc -No match - -/^.*nter/ - enter - 0: enter - inter - 0: inter - uponter - 0: uponter - -/^xxx[0-9]+$/ - xxx0 - 0: xxx0 - xxx1234 - 0: xxx1234 -\= Expect no match - xxx -No match - -/^.+[0-9][0-9][0-9]$/ - x123 - 0: x123 - x1234 - 0: x1234 - xx123 - 0: xx123 - 123456 - 0: 123456 -\= Expect no match - 123 -No match - -/^.+?[0-9][0-9][0-9]$/ - x123 - 0: x123 - x1234 - 0: x1234 - xx123 - 0: xx123 - 123456 - 0: 123456 -\= Expect no match - 123 -No match - -/^([^!]+)!(.+)=apquxz\.ixr\.zzz\.ac\.uk$/ - abc!pqr=apquxz.ixr.zzz.ac.uk - 0: abc!pqr=apquxz.ixr.zzz.ac.uk - 1: abc - 2: pqr -\= Expect no match - !pqr=apquxz.ixr.zzz.ac.uk -No match - abc!=apquxz.ixr.zzz.ac.uk -No match - abc!pqr=apquxz:ixr.zzz.ac.uk -No match - abc!pqr=apquxz.ixr.zzz.ac.ukk -No match - -/:/ - Well, we need a colon: somewhere - 0: : -\= Expect no match - Fail without a colon -No match - -/([\da-f:]+)$/i - 0abc - 0: 0abc - 1: 0abc - abc - 0: abc - 1: abc - fed - 0: fed - 1: fed - E - 0: E - 1: E - :: - 0: :: - 1: :: - 5f03:12C0::932e - 0: 5f03:12C0::932e - 1: 5f03:12C0::932e - fed def - 0: def - 1: def - Any old stuff - 0: ff - 1: ff -\= Expect no match - 0zzz -No match - gzzz -No match - fed\x20 -No match - Any old rubbish -No match - -/^.*\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/ - .1.2.3 - 0: .1.2.3 - 1: 1 - 2: 2 - 3: 3 - A.12.123.0 - 0: A.12.123.0 - 1: 12 - 2: 123 - 3: 0 -\= Expect no match - .1.2.3333 -No match - 1.2.3 -No match - 1234.2.3 -No match - -/^(\d+)\s+IN\s+SOA\s+(\S+)\s+(\S+)\s*\(\s*$/ - 1 IN SOA non-sp1 non-sp2( - 0: 1 IN SOA non-sp1 non-sp2( - 1: 1 - 2: non-sp1 - 3: non-sp2 - 1 IN SOA non-sp1 non-sp2 ( - 0: 1 IN SOA non-sp1 non-sp2 ( - 1: 1 - 2: non-sp1 - 3: non-sp2 -\= Expect no match - 1IN SOA non-sp1 non-sp2( -No match - -/^[a-zA-Z\d][a-zA-Z\d\-]*(\.[a-zA-Z\d][a-zA-z\d\-]*)*\.$/ - a. - 0: a. - Z. - 0: Z. - 2. - 0: 2. - ab-c.pq-r. - 0: ab-c.pq-r. - 1: .pq-r - sxk.zzz.ac.uk. - 0: sxk.zzz.ac.uk. - 1: .uk - x-.y-. - 0: x-.y-. - 1: .y- -\= Expect no match - -abc.peq. -No match - -/^\*\.[a-z]([a-z\-\d]*[a-z\d]+)?(\.[a-z]([a-z\-\d]*[a-z\d]+)?)*$/ - *.a - 0: *.a - *.b0-a - 0: *.b0-a - 1: 0-a - *.c3-b.c - 0: *.c3-b.c - 1: 3-b - 2: .c - *.c-a.b-c - 0: *.c-a.b-c - 1: -a - 2: .b-c - 3: -c -\= Expect no match - *.0 -No match - *.a- -No match - *.a-b.c- -No match - *.c-a.0-c -No match - -/^(?=ab(de))(abd)(e)/ - abde - 0: abde - 1: de - 2: abd - 3: e - -/^(?!(ab)de|x)(abd)(f)/ - abdf - 0: abdf - 1: - 2: abd - 3: f - -/^(?=(ab(cd)))(ab)/ - abcd - 0: ab - 1: abcd - 2: cd - 3: ab - -/^[\da-f](\.[\da-f])*$/i - a.b.c.d - 0: a.b.c.d - 1: .d - A.B.C.D - 0: A.B.C.D - 1: .D - a.b.c.1.2.3.C - 0: a.b.c.1.2.3.C - 1: .C - -/^\".*\"\s*(;.*)?$/ - \"1234\" - 0: "1234" - \"abcd\" ; - 0: "abcd" ; - 1: ; - \"\" ; rhubarb - 0: "" ; rhubarb - 1: ; rhubarb -\= Expect no match - \"1234\" : things -No match - -/^$/ - \ - 0: -\= Expect no match - A non-empty line -No match - -/ ^ a (?# begins with a) b\sc (?# then b c) $ (?# then end)/x - ab c - 0: ab c -\= Expect no match - abc -No match - ab cde -No match - -/(?x) ^ a (?# begins with a) b\sc (?# then b c) $ (?# then end)/ - ab c - 0: ab c -\= Expect no match - abc -No match - ab cde -No match - -/^ a\ b[c ]d $/x - a bcd - 0: a bcd - a b d - 0: a b d -\= Expect no match - abcd -No match - ab d -No match - -/^(a(b(c)))(d(e(f)))(h(i(j)))(k(l(m)))$/ - abcdefhijklm - 0: abcdefhijklm - 1: abc - 2: bc - 3: c - 4: def - 5: ef - 6: f - 7: hij - 8: ij - 9: j -10: klm -11: lm -12: m - -/^(?:a(b(c)))(?:d(e(f)))(?:h(i(j)))(?:k(l(m)))$/ - abcdefhijklm - 0: abcdefhijklm - 1: bc - 2: c - 3: ef - 4: f - 5: ij - 6: j - 7: lm - 8: m - -#/^[\w][\W][\s][\S][\d][\D][\b][\n][\c]][\022]/ -# a+ Z0+\x08\n\x1d\x12 -# 0: a+ Z0+\x08\x0a\x1d\x12 - -/^[.^$|()*+?{,}]+/ - .^\$(*+)|{?,?} - 0: .^$(*+)|{?,?} - -/^a*\w/ - z - 0: z - az - 0: az - aaaz - 0: aaaz - a - 0: a - aa - 0: aa - aaaa - 0: aaaa - a+ - 0: a - aa+ - 0: aa - -/^a*?\w/ - z - 0: z - az - 0: a - aaaz - 0: a - a - 0: a - aa - 0: a - aaaa - 0: a - a+ - 0: a - aa+ - 0: a - -/^a+\w/ - az - 0: az - aaaz - 0: aaaz - aa - 0: aa - aaaa - 0: aaaa - aa+ - 0: aa - -/^a+?\w/ - az - 0: az - aaaz - 0: aa - aa - 0: aa - aaaa - 0: aa - aa+ - 0: aa - -/^\d{8}\w{2,}/ - 1234567890 - 0: 1234567890 - 12345678ab - 0: 12345678ab - 12345678__ - 0: 12345678__ -\= Expect no match - 1234567 -No match - -/^[aeiou\d]{4,5}$/ - uoie - 0: uoie - 1234 - 0: 1234 - 12345 - 0: 12345 - aaaaa - 0: aaaaa -\= Expect no match - 123456 -No match - -/^[aeiou\d]{4,5}?/ - uoie - 0: uoie - 1234 - 0: 1234 - 12345 - 0: 1234 - aaaaa - 0: aaaa - 123456 - 0: 1234 - -/\A(abc|def)=(\1){2,3}\Z/ - abc=abcabc - 0: abc=abcabc - 1: abc - 2: abc - def=defdefdef - 0: def=defdefdef - 1: def - 2: def -\= Expect no match - abc=defdef -No match - -/^(a)(b)(c)(d)(e)(f)(g)(h)(i)(j)(k)\11*(\3\4)\1(?#)2$/ - abcdefghijkcda2 - 0: abcdefghijkcda2 - 1: a - 2: b - 3: c - 4: d - 5: e - 6: f - 7: g - 8: h - 9: i -10: j -11: k -12: cd - abcdefghijkkkkcda2 - 0: abcdefghijkkkkcda2 - 1: a - 2: b - 3: c - 4: d - 5: e - 6: f - 7: g - 8: h - 9: i -10: j -11: k -12: cd - -/(cat(a(ract|tonic)|erpillar)) \1()2(3)/ - cataract cataract23 - 0: cataract cataract23 - 1: cataract - 2: aract - 3: ract - 4: - 5: 3 - catatonic catatonic23 - 0: catatonic catatonic23 - 1: catatonic - 2: atonic - 3: tonic - 4: - 5: 3 - caterpillar caterpillar23 - 0: caterpillar caterpillar23 - 1: caterpillar - 2: erpillar - 3: - 4: - 5: 3 - - -/^From +([^ ]+) +[a-zA-Z][a-zA-Z][a-zA-Z] +[a-zA-Z][a-zA-Z][a-zA-Z] +[0-9]?[0-9] +[0-9][0-9]:[0-9][0-9]/ - From abcd Mon Sep 01 12:33:02 1997 - 0: From abcd Mon Sep 01 12:33 - 1: abcd - -/^From\s+\S+\s+([a-zA-Z]{3}\s+){2}\d{1,2}\s+\d\d:\d\d/ - From abcd Mon Sep 01 12:33:02 1997 - 0: From abcd Mon Sep 01 12:33 - 1: Sep - From abcd Mon Sep 1 12:33:02 1997 - 0: From abcd Mon Sep 1 12:33 - 1: Sep -\= Expect no match - From abcd Sep 01 12:33:02 1997 -No match - -/^12.34/s - 12\n34 - 0: 12\x0a34 - 12\r34 - 0: 12\x0d34 - -/\w+(?=\t)/ - the quick brown\t fox - 0: brown - -/foo(?!bar)(.*)/ - foobar is foolish see? - 0: foolish see? - 1: lish see? - -/(?:(?!foo)...|^.{0,2})bar(.*)/ - foobar crowbar etc - 0: rowbar etc - 1: etc - barrel - 0: barrel - 1: rel - 2barrel - 0: 2barrel - 1: rel - A barrel - 0: A barrel - 1: rel - -/^(\D*)(?=\d)(?!123)/ - abc456 - 0: abc - 1: abc -\= Expect no match - abc123 -No match - -/^1234(?# test newlines - inside)/ - 1234 - 0: 1234 - -/^1234 #comment in extended re - /x - 1234 - 0: 1234 - -/#rhubarb - abcd/x - abcd - 0: abcd - -/^abcd#rhubarb/x - abcd - 0: abcd - -/^(a)\1{2,3}(.)/ - aaab - 0: aaab - 1: a - 2: b - aaaab - 0: aaaab - 1: a - 2: b - aaaaab - 0: aaaaa - 1: a - 2: a - aaaaaab - 0: aaaaa - 1: a - 2: a - -/(?!^)abc/ - the abc - 0: abc -\= Expect no match - abc -No match - -/(?=^)abc/ - abc - 0: abc -\= Expect no match - the abc -No match - -/^[ab]{1,3}(ab*|b)/ - aabbbbb - 0: aabb - 1: b - -/^[ab]{1,3}?(ab*|b)/ - aabbbbb - 0: aabbbbb - 1: abbbbb - -/^[ab]{1,3}?(ab*?|b)/ - aabbbbb - 0: aa - 1: a - -/^[ab]{1,3}(ab*?|b)/ - aabbbbb - 0: aabb - 1: b - -/ (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* # optional leading comment -(?: (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -" (?: # opening quote... -[^\\\x80-\xff\n\015"] # Anything except backslash and quote -| # or -\\ [^\x80-\xff] # Escaped something (something != CR) -)* " # closing quote -) # initial word -(?: (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* \. (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -" (?: # opening quote... -[^\\\x80-\xff\n\015"] # Anything except backslash and quote -| # or -\\ [^\x80-\xff] # Escaped something (something != CR) -)* " # closing quote -) )* # further okay, if led by a period -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* @ (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # initial subdomain -(?: # -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* \. # if led by a period... -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # ...further okay -)* -# address -| # or -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -" (?: # opening quote... -[^\\\x80-\xff\n\015"] # Anything except backslash and quote -| # or -\\ [^\x80-\xff] # Escaped something (something != CR) -)* " # closing quote -) # one word, optionally followed by.... -(?: -[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037] | # atom and space parts, or... -\( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) | # comments, or... - -" (?: # opening quote... -[^\\\x80-\xff\n\015"] # Anything except backslash and quote -| # or -\\ [^\x80-\xff] # Escaped something (something != CR) -)* " # closing quote -# quoted strings -)* -< (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* # leading < -(?: @ (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # initial subdomain -(?: # -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* \. # if led by a period... -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # ...further okay -)* - -(?: (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* , (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* @ (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # initial subdomain -(?: # -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* \. # if led by a period... -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # ...further okay -)* -)* # further okay, if led by comma -: # closing colon -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* )? # optional route -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -" (?: # opening quote... -[^\\\x80-\xff\n\015"] # Anything except backslash and quote -| # or -\\ [^\x80-\xff] # Escaped something (something != CR) -)* " # closing quote -) # initial word -(?: (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* \. (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -" (?: # opening quote... -[^\\\x80-\xff\n\015"] # Anything except backslash and quote -| # or -\\ [^\x80-\xff] # Escaped something (something != CR) -)* " # closing quote -) )* # further okay, if led by a period -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* @ (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # initial subdomain -(?: # -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* \. # if led by a period... -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* (?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| \[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) # ...further okay -)* -# address spec -(?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* > # trailing > -# name and address -) (?: [\040\t] | \( -(?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] | \( (?: [^\\\x80-\xff\n\015()] | \\ [^\x80-\xff] )* \) )* -\) )* # optional trailing comment -/x - Alan Other - 0: Alan Other - - 0: user@dom.ain - user\@dom.ain - 0: user@dom.ain - \"A. Other\" (a comment) - 0: "A. Other" (a comment) - A. Other (a comment) - 0: Other (a comment) - \"/s=user/ou=host/o=place/prmd=uu.yy/admd= /c=gb/\"\@x400-re.lay - 0: "/s=user/ou=host/o=place/prmd=uu.yy/admd= /c=gb/"@x400-re.lay - A missing angle @,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -# Atom -| # or -" # " -[^\\\x80-\xff\n\015"] * # normal -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )* -" # " -# Quoted string -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -\. -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -# Atom -| # or -" # " -[^\\\x80-\xff\n\015"] * # normal -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )* -" # " -# Quoted string -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# additional words -)* -@ -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -(?: -\. -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -)* -# address -| # or -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -# Atom -| # or -" # " -[^\\\x80-\xff\n\015"] * # normal -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )* -" # " -# Quoted string -) -# leading word -[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037] * # "normal" atoms and or spaces -(?: -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -| -" # " -[^\\\x80-\xff\n\015"] * # normal -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )* -" # " -) # "special" comment or quoted string -[^()<>@,;:".\\\[\]\x80-\xff\000-\010\012-\037] * # more "normal" -)* -< -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# < -(?: -@ -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -(?: -\. -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -)* -(?: , -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -@ -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -(?: -\. -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -)* -)* # additional domains -: -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -)? # optional route -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -# Atom -| # or -" # " -[^\\\x80-\xff\n\015"] * # normal -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )* -" # " -# Quoted string -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -\. -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -# Atom -| # or -" # " -[^\\\x80-\xff\n\015"] * # normal -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015"] * )* # ( special normal* )* -" # " -# Quoted string -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# additional words -)* -@ -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -(?: -\. -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -(?: -[^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]+ # some number of atom characters... -(?![^(\040)<>@,;:".\\\[\]\000-\037\x80-\xff]) # ..not followed by something that could be part of an atom -| -\[ # [ -(?: [^\\\x80-\xff\n\015\[\]] | \\ [^\x80-\xff] )* # stuff -\] # ] -) -[\040\t]* # Nab whitespace. -(?: -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: # ( -(?: \\ [^\x80-\xff] | -\( # ( -[^\\\x80-\xff\n\015()] * # normal* -(?: \\ [^\x80-\xff] [^\\\x80-\xff\n\015()] * )* # (special normal*)* -\) # ) -) # special -[^\\\x80-\xff\n\015()] * # normal* -)* # )* -\) # ) -[\040\t]* )* # If comment found, allow more spaces. -# optional trailing comments -)* -# address spec -> # > -# name and address -) -/x - Alan Other - 0: Alan Other - - 0: user@dom.ain - user\@dom.ain - 0: user@dom.ain - \"A. Other\" (a comment) - 0: "A. Other" - A. Other (a comment) - 0: Other - \"/s=user/ou=host/o=place/prmd=uu.yy/admd= /c=gb/\"\@x400-re.lay - 0: "/s=user/ou=host/o=place/prmd=uu.yy/admd= /c=gb/"@x400-re.lay - A missing angle ?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f - -/P[^*]TAIRE[^*]{1,6}?LL/ - xxxxxxxxxxxPSTAIREISLLxxxxxxxxx - 0: PSTAIREISLL - -/P[^*]TAIRE[^*]{1,}?LL/ - xxxxxxxxxxxPSTAIREISLLxxxxxxxxx - 0: PSTAIREISLL - -/(\.\d\d[1-9]?)\d+/ - 1.230003938 - 0: .230003938 - 1: .23 - 1.875000282 - 0: .875000282 - 1: .875 - 1.235 - 0: .235 - 1: .23 - -/(\.\d\d((?=0)|\d(?=\d)))/ - 1.230003938 - 0: .23 - 1: .23 - 2: - 1.875000282 - 0: .875 - 1: .875 - 2: 5 -\= Expect no match - 1.235 -No match - -/\b(foo)\s+(\w+)/i - Food is on the foo table - 0: foo table - 1: foo - 2: table - -/foo(.*)bar/ - The food is under the bar in the barn. - 0: food is under the bar in the bar - 1: d is under the bar in the - -/foo(.*?)bar/ - The food is under the bar in the barn. - 0: food is under the bar - 1: d is under the - -/(.*)(\d*)/ - I have 2 numbers: 53147 - 0: I have 2 numbers: 53147 - 1: I have 2 numbers: 53147 - 2: - -/(.*)(\d+)/ - I have 2 numbers: 53147 - 0: I have 2 numbers: 53147 - 1: I have 2 numbers: 5314 - 2: 7 - -/(.*?)(\d*)/ - I have 2 numbers: 53147 - 0: - 1: - 2: - -/(.*?)(\d+)/ - I have 2 numbers: 53147 - 0: I have 2 - 1: I have - 2: 2 - -/(.*)(\d+)$/ - I have 2 numbers: 53147 - 0: I have 2 numbers: 53147 - 1: I have 2 numbers: 5314 - 2: 7 - -/(.*?)(\d+)$/ - I have 2 numbers: 53147 - 0: I have 2 numbers: 53147 - 1: I have 2 numbers: - 2: 53147 - -/(.*)\b(\d+)$/ - I have 2 numbers: 53147 - 0: I have 2 numbers: 53147 - 1: I have 2 numbers: - 2: 53147 - -/(.*\D)(\d+)$/ - I have 2 numbers: 53147 - 0: I have 2 numbers: 53147 - 1: I have 2 numbers: - 2: 53147 - -/^\D*(?!123)/ - ABC123 - 0: AB - -/^(\D*)(?=\d)(?!123)/ - ABC445 - 0: ABC - 1: ABC -\= Expect no match - ABC123 -No match - -/^[W-]46]/ - W46]789 - 0: W46] - -46]789 - 0: -46] -\= Expect no match - Wall -No match - Zebra -No match - 42 -No match - [abcd] -No match - ]abcd[ -No match - -/^[W-\]46]/ - W46]789 - 0: W - Wall - 0: W - Zebra - 0: Z - Xylophone - 0: X - 42 - 0: 4 - [abcd] - 0: [ - ]abcd[ - 0: ] - \\backslash - 0: \ -\= Expect no match - -46]789 -No match - well -No match - -/\d\d\/\d\d\/\d\d\d\d/ - 01/01/2000 - 0: 01/01/2000 - -/word (?:[a-zA-Z0-9]+ ){0,10}otherword/ - word cat dog elephant mussel cow horse canary baboon snake shark otherword - 0: word cat dog elephant mussel cow horse canary baboon snake shark otherword -\= Expect no match - word cat dog elephant mussel cow horse canary baboon snake shark -No match - -/word (?:[a-zA-Z0-9]+ ){0,300}otherword/ -\= Expect no match - word cat dog elephant mussel cow horse canary baboon snake shark the quick brown fox and the lazy dog and several other words getting close to thirty by now I hope -No match - -/^(a){0,0}/ - bcd - 0: - abc - 0: - aab - 0: - -/^(a){0,1}/ - bcd - 0: - abc - 0: a - 1: a - aab - 0: a - 1: a - -/^(a){0,2}/ - bcd - 0: - abc - 0: a - 1: a - aab - 0: aa - 1: a - -/^(a){0,3}/ - bcd - 0: - abc - 0: a - 1: a - aab - 0: aa - 1: a - aaa - 0: aaa - 1: a - -/^(a){0,}/ - bcd - 0: - abc - 0: a - 1: a - aab - 0: aa - 1: a - aaa - 0: aaa - 1: a - aaaaaaaa - 0: aaaaaaaa - 1: a - -/^(a){1,1}/ - abc - 0: a - 1: a - aab - 0: a - 1: a -\= Expect no match - bcd -No match - -/^(a){1,2}/ - abc - 0: a - 1: a - aab - 0: aa - 1: a -\= Expect no match - bcd -No match - -/^(a){1,3}/ - abc - 0: a - 1: a - aab - 0: aa - 1: a - aaa - 0: aaa - 1: a -\= Expect no match - bcd -No match - -/^(a){1,}/ - abc - 0: a - 1: a - aab - 0: aa - 1: a - aaa - 0: aaa - 1: a - aaaaaaaa - 0: aaaaaaaa - 1: a -\= Expect no match - bcd -No match - -/.*\.gif/ - borfle\nbib.gif\nno - 0: bib.gif - -/.{0,}\.gif/ - borfle\nbib.gif\nno - 0: bib.gif - -/.*\.gif/m - borfle\nbib.gif\nno - 0: bib.gif - -/.*\.gif/s - borfle\nbib.gif\nno - 0: borfle\x0abib.gif - -/.*\.gif/ms - borfle\nbib.gif\nno - 0: borfle\x0abib.gif - -/.*$/ - borfle\nbib.gif\nno - 0: no - -/.*$/m - borfle\nbib.gif\nno - 0: borfle - -/.*$/s - borfle\nbib.gif\nno - 0: borfle\x0abib.gif\x0ano - -/.*$/ms - borfle\nbib.gif\nno - 0: borfle\x0abib.gif\x0ano - -/.*$/ - borfle\nbib.gif\nno\n - 0: no - -/.*$/m - borfle\nbib.gif\nno\n - 0: borfle - -/.*$/s - borfle\nbib.gif\nno\n - 0: borfle\x0abib.gif\x0ano\x0a - -/.*$/ms - borfle\nbib.gif\nno\n - 0: borfle\x0abib.gif\x0ano\x0a - -/(.*X|^B)/ - abcde\n1234Xyz - 0: 1234X - 1: 1234X - BarFoo - 0: B - 1: B -\= Expect no match - abcde\nBar -No match - -/(.*X|^B)/m - abcde\n1234Xyz - 0: 1234X - 1: 1234X - BarFoo - 0: B - 1: B - abcde\nBar - 0: B - 1: B - -/(.*X|^B)/s - abcde\n1234Xyz - 0: abcde\x0a1234X - 1: abcde\x0a1234X - BarFoo - 0: B - 1: B -\= Expect no match - abcde\nBar -No match - -/(.*X|^B)/ms - abcde\n1234Xyz - 0: abcde\x0a1234X - 1: abcde\x0a1234X - BarFoo - 0: B - 1: B - abcde\nBar - 0: B - 1: B - -/(?s)(.*X|^B)/ - abcde\n1234Xyz - 0: abcde\x0a1234X - 1: abcde\x0a1234X - BarFoo - 0: B - 1: B -\= Expect no match - abcde\nBar -No match - -/(?s:.*X|^B)/ - abcde\n1234Xyz - 0: abcde\x0a1234X - BarFoo - 0: B -\= Expect no match - abcde\nBar -No match - -/^.*B/ -\= Expect no match - abc\nB -No match - -/(?s)^.*B/ - abc\nB - 0: abc\x0aB - -/(?m)^.*B/ - abc\nB - 0: B - -/(?ms)^.*B/ - abc\nB - 0: abc\x0aB - -/(?ms)^B/ - abc\nB - 0: B - -/(?s)B$/ - B\n - 0: B - -/^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/ - 123456654321 - 0: 123456654321 - -/^\d\d\d\d\d\d\d\d\d\d\d\d/ - 123456654321 - 0: 123456654321 - -/^[\d][\d][\d][\d][\d][\d][\d][\d][\d][\d][\d][\d]/ - 123456654321 - 0: 123456654321 - -/^[abc]{12}/ - abcabcabcabc - 0: abcabcabcabc - -/^[a-c]{12}/ - abcabcabcabc - 0: abcabcabcabc - -/^(a|b|c){12}/ - abcabcabcabc - 0: abcabcabcabc - 1: c - -/^[abcdefghijklmnopqrstuvwxy0123456789]/ - n - 0: n -\= Expect no match - z -No match - -/abcde{0,0}/ - abcd - 0: abcd -\= Expect no match - abce -No match - -/ab[cd]{0,0}e/ - abe - 0: abe -\= Expect no match - abcde -No match - -/ab(c){0,0}d/ - abd - 0: abd -\= Expect no match - abcd -No match - -/a(b*)/ - a - 0: a - 1: - ab - 0: ab - 1: b - abbbb - 0: abbbb - 1: bbbb -\= Expect no match - bbbbb -No match - -/ab\d{0}e/ - abe - 0: abe -\= Expect no match - ab1e -No match - -/"([^\\"]+|\\.)*"/ - the \"quick\" brown fox - 0: "quick" - 1: quick - \"the \\\"quick\\\" brown fox\" - 0: "the \"quick\" brown fox" - 1: brown fox - -/]{0,})>]{0,})>([\d]{0,}\.)(.*)((
([\w\W\s\d][^<>]{0,})|[\s]{0,}))<\/a><\/TD>]{0,})>([\w\W\s\d][^<>]{0,})<\/TD>]{0,})>([\w\W\s\d][^<>]{0,})<\/TD><\/TR>/is - 43.Word Processor
(N-1286)
Lega lstaff.comCA - Statewide - 0: 43.Word Processor
(N-1286)
Lega lstaff.comCA - Statewide - 1: BGCOLOR='#DBE9E9' - 2: align=left valign=top - 3: 43. - 4: Word Processor
(N-1286) - 5: - 6: - 7: - 8: align=left valign=top - 9: Lega lstaff.com -10: align=left valign=top -11: CA - Statewide - -/a[^a]b/ - acb - 0: acb - a\nb - 0: a\x0ab - -/a.b/ - acb - 0: acb -\= Expect no match - a\nb -No match - -/a[^a]b/s - acb - 0: acb - a\nb - 0: a\x0ab - -/a.b/s - acb - 0: acb - a\nb - 0: a\x0ab - -/^(b+?|a){1,2}?c/ - bac - 0: bac - 1: a - bbac - 0: bbac - 1: a - bbbac - 0: bbbac - 1: a - bbbbac - 0: bbbbac - 1: a - bbbbbac - 0: bbbbbac - 1: a - -/^(b+|a){1,2}?c/ - bac - 0: bac - 1: a - bbac - 0: bbac - 1: a - bbbac - 0: bbbac - 1: a - bbbbac - 0: bbbbac - 1: a - bbbbbac - 0: bbbbbac - 1: a - -/(?!\A)x/m - a\bx\n - 0: x - a\nx\n - 0: x -\= Expect no match - x\nb\n -No match - -/(A|B)*?CD/ - CD - 0: CD - -/(A|B)*CD/ - CD - 0: CD - -/(AB)*?\1/ - ABABAB - 0: ABAB - 1: AB - -/(AB)*\1/ - ABABAB - 0: ABABAB - 1: AB - -/(?.*/)foo" - /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo - 0: /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/and/foo -\= Expect no match - /this/is/a/very/long/line/in/deed/with/very/many/slashes/in/it/you/see/ -No match - -/(?>(\.\d\d[1-9]?))\d+/ - 1.230003938 - 0: .230003938 - 1: .23 - 1.875000282 - 0: .875000282 - 1: .875 -\= Expect no match - 1.235 -No match - -/^((?>\w+)|(?>\s+))*$/ - now is the time for all good men to come to the aid of the party - 0: now is the time for all good men to come to the aid of the party - 1: party -\= Expect no match - this is not a line with only words and spaces! -No match - -/(\d+)(\w)/ - 12345a - 0: 12345a - 1: 12345 - 2: a - 12345+ - 0: 12345 - 1: 1234 - 2: 5 - -/((?>\d+))(\w)/ - 12345a - 0: 12345a - 1: 12345 - 2: a -\= Expect no match - 12345+ -No match - -/(?>a+)b/ - aaab - 0: aaab - -/((?>a+)b)/ - aaab - 0: aaab - 1: aaab - -/(?>(a+))b/ - aaab - 0: aaab - 1: aaa - -/(?>b)+/ - aaabbbccc - 0: bbb - -/(?>a+|b+|c+)*c/ - aaabbbbccccd - 0: aaabbbbc - -/((?>[^()]+)|\([^()]*\))+/ - ((abc(ade)ufh()()x - 0: abc(ade)ufh()()x - 1: x - -/\(((?>[^()]+)|\([^()]+\))+\)/ - (abc) - 0: (abc) - 1: abc - (abc(def)xyz) - 0: (abc(def)xyz) - 1: xyz -\= Expect no match - ((()aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -No match - -/a(?-i)b/i - ab - 0: ab - Ab - 0: Ab -\= Expect no match - aB -No match - AB -No match - -/(a (?x)b c)d e/ - a bcd e - 0: a bcd e - 1: a bc -\= Expect no match - a b cd e -No match - abcd e -No match - a bcde -No match - -/(a b(?x)c d (?-x)e f)/ - a bcde f - 0: a bcde f - 1: a bcde f -\= Expect no match - abcdef -No match - -/(a(?i)b)c/ - abc - 0: abc - 1: ab - aBc - 0: aBc - 1: aB -\= Expect no match - abC -No match - aBC -No match - Abc -No match - ABc -No match - ABC -No match - AbC -No match - -/a(?i:b)c/ - abc - 0: abc - aBc - 0: aBc -\= Expect no match - ABC -No match - abC -No match - aBC -No match - -/a(?i:b)*c/ - aBc - 0: aBc - aBBc - 0: aBBc -\= Expect no match - aBC -No match - aBBC -No match - -/a(?=b(?i)c)\w\wd/ - abcd - 0: abcd - abCd - 0: abCd -\= Expect no match - aBCd -No match - abcD -No match - -/(?s-i:more.*than).*million/i - more than million - 0: more than million - more than MILLION - 0: more than MILLION - more \n than Million - 0: more \x0a than Million -\= Expect no match - MORE THAN MILLION -No match - more \n than \n million -No match - -/(?:(?s-i)more.*than).*million/i - more than million - 0: more than million - more than MILLION - 0: more than MILLION - more \n than Million - 0: more \x0a than Million -\= Expect no match - MORE THAN MILLION -No match - more \n than \n million -No match - -/(?>a(?i)b+)+c/ - abc - 0: abc - aBbc - 0: aBbc - aBBc - 0: aBBc -\= Expect no match - Abc -No match - abAb -No match - abbC -No match - -/(?=a(?i)b)\w\wc/ - abc - 0: abc - aBc - 0: aBc -\= Expect no match - Ab -No match - abC -No match - aBC -No match - -/(?<=a(?i)b)(\w\w)c/ - abxxc - 0: xxc - 1: xx - aBxxc - 0: xxc - 1: xx -\= Expect no match - Abxxc -No match - ABxxc -No match - abxxC -No match - -/(?:(a)|b)(?(1)A|B)/ - aA - 0: aA - 1: a - bB - 0: bB -\= Expect no match - aB -No match - bA -No match - -/^(a)?(?(1)a|b)+$/ - aa - 0: aa - 1: a - b - 0: b - bb - 0: bb -\= Expect no match - ab -No match - -# Perl gets this next one wrong if the pattern ends with $; in that case it -# fails to match "12". - -/^(?(?=abc)\w{3}:|\d\d)/ - abc: - 0: abc: - 12 - 0: 12 - 123 - 0: 12 -\= Expect no match - xyz -No match - -/^(?(?!abc)\d\d|\w{3}:)$/ - abc: - 0: abc: - 12 - 0: 12 -\= Expect no match - 123 -No match - xyz -No match - -/(?(?<=foo)bar|cat)/ - foobar - 0: bar - cat - 0: cat - fcat - 0: cat - focat - 0: cat -\= Expect no match - foocat -No match - -/(?(?a*)*/ - a - 0: a - aa - 0: aa - aaaa - 0: aaaa - -/(abc|)+/ - abc - 0: abc - 1: - abcabc - 0: abcabc - 1: - abcabcabc - 0: abcabcabc - 1: - xyz - 0: - 1: - -/([a]*)*/ - a - 0: a - 1: - aaaaa - 0: aaaaa - 1: - -/([ab]*)*/ - a - 0: a - 1: - b - 0: b - 1: - ababab - 0: ababab - 1: - aaaabcde - 0: aaaab - 1: - bbbb - 0: bbbb - 1: - -/([^a]*)*/ - b - 0: b - 1: - bbbb - 0: bbbb - 1: - aaa - 0: - 1: - -/([^ab]*)*/ - cccc - 0: cccc - 1: - abab - 0: - 1: - -/([a]*?)*/ - a - 0: - 1: - aaaa - 0: - 1: - -/([ab]*?)*/ - a - 0: - 1: - b - 0: - 1: - abab - 0: - 1: - baba - 0: - 1: - -/([^a]*?)*/ - b - 0: - 1: - bbbb - 0: - 1: - aaa - 0: - 1: - -/([^ab]*?)*/ - c - 0: - 1: - cccc - 0: - 1: - baba - 0: - 1: - -/(?>a*)*/ - a - 0: a - aaabcde - 0: aaa - -/((?>a*))*/ - aaaaa - 0: aaaaa - 1: - aabbaa - 0: aa - 1: - -/((?>a*?))*/ - aaaaa - 0: - 1: - aabbaa - 0: - 1: - -/(?(?=[^a-z]+[a-z]) \d{2}-[a-z]{3}-\d{2} | \d{2}-\d{2}-\d{2} ) /x - 12-sep-98 - 0: 12-sep-98 - 12-09-98 - 0: 12-09-98 -\= Expect no match - sep-12-98 -No match - -/(?<=(foo))bar\1/ - foobarfoo - 0: barfoo - 1: foo - foobarfootling - 0: barfoo - 1: foo -\= Expect no match - foobar -No match - barfoo -No match - -/(?i:saturday|sunday)/ - saturday - 0: saturday - sunday - 0: sunday - Saturday - 0: Saturday - Sunday - 0: Sunday - SATURDAY - 0: SATURDAY - SUNDAY - 0: SUNDAY - SunDay - 0: SunDay - -/(a(?i)bc|BB)x/ - abcx - 0: abcx - 1: abc - aBCx - 0: aBCx - 1: aBC - bbx - 0: bbx - 1: bb - BBx - 0: BBx - 1: BB -\= Expect no match - abcX -No match - aBCX -No match - bbX -No match - BBX -No match - -/^([ab](?i)[cd]|[ef])/ - ac - 0: ac - 1: ac - aC - 0: aC - 1: aC - bD - 0: bD - 1: bD - elephant - 0: e - 1: e - Europe - 0: E - 1: E - frog - 0: f - 1: f - France - 0: F - 1: F -\= Expect no match - Africa -No match - -/^(ab|a(?i)[b-c](?m-i)d|x(?i)y|z)/ - ab - 0: ab - 1: ab - aBd - 0: aBd - 1: aBd - xy - 0: xy - 1: xy - xY - 0: xY - 1: xY - zebra - 0: z - 1: z - Zambesi - 0: Z - 1: Z -\= Expect no match - aCD -No match - XY -No match - -/(?<=foo\n)^bar/m - foo\nbar - 0: bar -\= Expect no match - bar -No match - baz\nbar -No match - -/(?<=(?]&/ - <&OUT - 0: <& - -/^(a\1?){4}$/ - aaaaaaaaaa - 0: aaaaaaaaaa - 1: aaaa -\= Expect no match - AB -No match - aaaaaaaaa -No match - aaaaaaaaaaa -No match - -/^(a(?(1)\1)){4}$/ - aaaaaaaaaa - 0: aaaaaaaaaa - 1: aaaa -\= Expect no match - aaaaaaaaa -No match - aaaaaaaaaaa -No match - -/(?:(f)(o)(o)|(b)(a)(r))*/ - foobar - 0: foobar - 1: f - 2: o - 3: o - 4: b - 5: a - 6: r - -/(?<=a)b/ - ab - 0: b -\= Expect no match - cb -No match - b -No match - -/(? - 2: abcd - xy:z:::abcd - 0: xy:z:::abcd - 1: xy:z::: - 2: abcd - -/^[^bcd]*(c+)/ - aexycd - 0: aexyc - 1: c - -/(a*)b+/ - caab - 0: aab - 1: aa - -/([\w:]+::)?(\w+)$/ - abcd - 0: abcd - 1: - 2: abcd - xy:z:::abcd - 0: xy:z:::abcd - 1: xy:z::: - 2: abcd -\= Expect no match - abcd: -No match - abcd: -No match - -/^[^bcd]*(c+)/ - aexycd - 0: aexyc - 1: c - -/(>a+)ab/ - -/(?>a+)b/ - aaab - 0: aaab - -/([[:]+)/ - a:[b]: - 0: :[ - 1: :[ - -/([[=]+)/ - a=[b]= - 0: =[ - 1: =[ - -/([[.]+)/ - a.[b]. - 0: .[ - 1: .[ - -/((?>a+)b)/ - aaab - 0: aaab - 1: aaab - -/(?>(a+))b/ - aaab - 0: aaab - 1: aaa - -/((?>[^()]+)|\([^()]*\))+/ - ((abc(ade)ufh()()x - 0: abc(ade)ufh()()x - 1: x - -/a\Z/ -\= Expect no match - aaab -No match - a\nb\n -No match - -/b\Z/ - a\nb\n - 0: b - -/b\z/ - -/b\Z/ - a\nb - 0: b - -/b\z/ - a\nb - 0: b - -/^(?>(?(1)\.|())[^\W_](?>[a-z0-9-]*[^\W_])?)+$/ - a - 0: a - 1: - abc - 0: abc - 1: - a-b - 0: a-b - 1: - 0-9 - 0: 0-9 - 1: - a.b - 0: a.b - 1: - 5.6.7 - 0: 5.6.7 - 1: - the.quick.brown.fox - 0: the.quick.brown.fox - 1: - a100.b200.300c - 0: a100.b200.300c - 1: - 12-ab.1245 - 0: 12-ab.1245 - 1: -\= Expect no match - \ -No match - .a -No match - -a -No match - a- -No match - a. -No match - a_b -No match - a.- -No match - a.. -No match - ab..bc -No match - the.quick.brown.fox- -No match - the.quick.brown.fox. -No match - the.quick.brown.fox_ -No match - the.quick.brown.fox+ -No match - -/(?>.*)(?<=(abcd|wxyz))/ - alphabetabcd - 0: alphabetabcd - 1: abcd - endingwxyz - 0: endingwxyz - 1: wxyz -\= Expect no match - a rather long string that doesn't end with one of them -No match - -/word (?>(?:(?!otherword)[a-zA-Z0-9]+ ){0,30})otherword/ - word cat dog elephant mussel cow horse canary baboon snake shark otherword - 0: word cat dog elephant mussel cow horse canary baboon snake shark otherword -\= Expect no match - word cat dog elephant mussel cow horse canary baboon snake shark -No match - -/word (?>[a-zA-Z0-9]+ ){0,30}otherword/ -\= Expect no match - word cat dog elephant mussel cow horse canary baboon snake shark the quick brown fox and the lazy dog and several other words getting close to thirty by now I hope -No match - -/(?<=\d{3}(?!999))foo/ - 999foo - 0: foo - 123999foo - 0: foo -\= Expect no match - 123abcfoo -No match - -/(?<=(?!...999)\d{3})foo/ - 999foo - 0: foo - 123999foo - 0: foo -\= Expect no match - 123abcfoo -No match - -/(?<=\d{3}(?!999)...)foo/ - 123abcfoo - 0: foo - 123456foo - 0: foo -\= Expect no match - 123999foo -No match - -/(?<=\d{3}...)(? - 2: - 3: abcd -
- 2: - 3: abcd - \s*)=(?>\s*) # find - 2: - 3: abcd - Z)+|A)*/ - ZABCDEFG - 0: ZA - 1: A - -/((?>)+|A)*/ - ZABCDEFG - 0: - 1: - -/^[\d-a]/ - abcde - 0: a - -things - 0: - - 0digit - 0: 0 -\= Expect no match - bcdef -No match - -/[\s]+/ - > \x09\x0a\x0c\x0d\x0b< - 0: \x09\x0a\x0c\x0d\x0b - -/\s+/ - > \x09\x0a\x0c\x0d\x0b< - 0: \x09\x0a\x0c\x0d\x0b - -/a b/x - ab - 0: ab - -/(?!\A)x/m - a\nxb\n - 0: x - -/(?!^)x/m -\= Expect no match - a\nxb\n -No match - -#/abc\Qabc\Eabc/ -# abcabcabc -# 0: abcabcabc - -#/abc\Q(*+|\Eabc/ -# abc(*+|abc -# 0: abc(*+|abc - -#/ abc\Q abc\Eabc/x -# abc abcabc -# 0: abc abcabc -#\= Expect no match -# abcabcabc -#No match - -#/abc#comment -# \Q#not comment -# literal\E/x -# abc#not comment\n literal -# 0: abc#not comment\x0a literal - -#/abc#comment -# \Q#not comment -# literal/x -# abc#not comment\n literal -# 0: abc#not comment\x0a literal - -#/abc#comment -# \Q#not comment -# literal\E #more comment -# /x -# abc#not comment\n literal -# 0: abc#not comment\x0a literal - -#/abc#comment -# \Q#not comment -# literal\E #more comment/x -# abc#not comment\n literal -# 0: abc#not comment\x0a literal - -#/\Qabc\$xyz\E/ -# abc\\\$xyz -# 0: abc\$xyz - -#/\Qabc\E\$\Qxyz\E/ -# abc\$xyz -# 0: abc$xyz - -/\Gabc/ - abc - 0: abc -\= Expect no match - xyzabc -No match - -/a(?x: b c )d/ - XabcdY - 0: abcd -\= Expect no match - Xa b c d Y -No match - -/((?x)x y z | a b c)/ - XabcY - 0: abc - 1: abc - AxyzB - 0: xyz - 1: xyz - -/(?i)AB(?-i)C/ - XabCY - 0: abC -\= Expect no match - XabcY -No match - -/((?i)AB(?-i)C|D)E/ - abCE - 0: abCE - 1: abC - DE - 0: DE - 1: D -\= Expect no match - abcE -No match - abCe -No match - dE -No match - De -No match - -/(.*)\d+\1/ - abc123abc - 0: abc123abc - 1: abc - abc123bc - 0: bc123bc - 1: bc - -/(.*)\d+\1/s - abc123abc - 0: abc123abc - 1: abc - abc123bc - 0: bc123bc - 1: bc - -/((.*))\d+\1/ - abc123abc - 0: abc123abc - 1: abc - 2: abc - abc123bc - 0: bc123bc - 1: bc - 2: bc - -# This tests for an IPv6 address in the form where it can have up to -# eight components, one and only one of which is empty. This must be -# an internal component. - -/^(?!:) # colon disallowed at start - (?: # start of item - (?: [0-9a-f]{1,4} | # 1-4 hex digits or - (?(1)0 | () ) ) # if null previously matched, fail; else null - : # followed by colon - ){1,7} # end item; 1-7 of them required - [0-9a-f]{1,4} $ # final hex number at end of string - (?(1)|.) # check that there was an empty component - /ix - a123::a123 - 0: a123::a123 - 1: - a123:b342::abcd - 0: a123:b342::abcd - 1: - a123:b342::324e:abcd - 0: a123:b342::324e:abcd - 1: - a123:ddde:b342::324e:abcd - 0: a123:ddde:b342::324e:abcd - 1: - a123:ddde:b342::324e:dcba:abcd - 0: a123:ddde:b342::324e:dcba:abcd - 1: - a123:ddde:9999:b342::324e:dcba:abcd - 0: a123:ddde:9999:b342::324e:dcba:abcd - 1: -\= Expect no match - 1:2:3:4:5:6:7:8 -No match - a123:bce:ddde:9999:b342::324e:dcba:abcd -No match - a123::9999:b342::324e:dcba:abcd -No match - abcde:2:3:4:5:6:7:8 -No match - ::1 -No match - abcd:fee0:123:: -No match - :1 -No match - 1: -No match - -#/[z\Qa-d]\E]/ -# z -# 0: z -# a -# 0: a -# - -# 0: - -# d -# 0: d -# ] -# 0: ] -#\= Expect no match -# b -#No match - -#TODO: PCRE has an optimization to make this workable, .NET does not -#/(a+)*b/ -#\= Expect no match -# aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -#No match - -# All these had to be updated because we understand unicode -# and this looks like it's expecting single byte matches - -# .NET generates \xe4...not sure what's up, might just be different code pages -/(?i)reg(?:ul(?:[aä]|ae)r|ex)/ - REGular - 0: REGular - regulaer - 0: regulaer - Regex - 0: Regex - regulär - 0: regul\xc3\xa4r - -#/Åæåä[à-ÿÀ-ß]+/ -# Åæåäà -# 0: \xc5\xe6\xe5\xe4\xe0 -# Åæåäÿ -# 0: \xc5\xe6\xe5\xe4\xff -# ÅæåäÀ -# 0: \xc5\xe6\xe5\xe4\xc0 -# Åæåäß -# 0: \xc5\xe6\xe5\xe4\xdf - -/(?<=Z)X./ - \x84XAZXB - 0: XB - -/ab cd (?x) de fg/ - ab cd defg - 0: ab cd defg - -/ab cd(?x) de fg/ - ab cddefg - 0: ab cddefg -\= Expect no match - abcddefg -No match - -/(? - 2: - D - 0: D - 1: - 2: - -# this is really long with debug -- removing for now -#/(a|)*\d/ -# aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 -# 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 -# 1: -#\= Expect no match -# aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -#No match - -/(?>a|)*\d/ - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 - 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 -\= Expect no match - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -No match - -/(?:a|)*\d/ - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 - 0: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa4 -\= Expect no match - aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -No match - -/^(?s)(?>.*)(? - 2: a - -/(?>(a))b|(a)c/ - ac - 0: ac - 1: - 2: a - -/(?=(a))ab|(a)c/ - ac - 0: ac - 1: - 2: a - -/((?>(a))b|(a)c)/ - ac - 0: ac - 1: ac - 2: - 3: a - -/(?=(?>(a))b|(a)c)(..)/ - ac - 0: ac - 1: - 2: a - 3: ac - -/(?>(?>(a))b|(a)c)/ - ac - 0: ac - 1: - 2: a - -/((?>(a+)b)+(aabab))/ - aaaabaaabaabab - 0: aaaabaaabaabab - 1: aaaabaaabaabab - 2: aaa - 3: aabab - -/(?>a+|ab)+?c/ -\= Expect no match - aabc -No match - -/(?>a+|ab)+c/ -\= Expect no match - aabc -No match - -/(?:a+|ab)+c/ - aabc - 0: aabc - -/^(?:a|ab)+c/ - aaaabc - 0: aaaabc - -/(?=abc){0}xyz/ - xyz - 0: xyz - -/(?=abc){1}xyz/ -\= Expect no match - xyz -No match - -/(?=(a))?./ - ab - 0: a - 1: a - bc - 0: b - -/(?=(a))??./ - ab - 0: a - bc - 0: b - -/^(?!a){0}\w+/ - aaaaa - 0: aaaaa - -/(?<=(abc))?xyz/ - abcxyz - 0: xyz - 1: abc - pqrxyz - 0: xyz - -/^[g]+/ - ggg<<>> - 0: ggg<<>> -\= Expect no match - \\ga -No match - -/^[ga]+/ - gggagagaxyz - 0: gggagaga - -/[:a]xxx[b:]/ - :xxx: - 0: :xxx: - -/(?<=a{2})b/i - xaabc - 0: b -\= Expect no match - xabc -No match - -/(? -# 4: -# 5: c -# 6: d -# 7: Y - -#/^X(?7)(a)(?|(b|(?|(r)|(t))(s))|(q))(c)(d)(Y)/ -# XYabcdY -# 0: XYabcdY -# 1: a -# 2: b -# 3: -# 4: -# 5: c -# 6: d -# 7: Y - -/(?'abc'\w+):\k{2}/ - a:aaxyz - 0: a:aa - 1: a - ab:ababxyz - 0: ab:abab - 1: ab -\= Expect no match - a:axyz -No match - ab:abxyz -No match - -/^(?a)? (?(ab)b|c) (?(ab)d|e)/x - abd - 0: abd - 1: a - ce - 0: ce - -# .NET has more consistent grouping numbers with these dupe groups for the two options -/(?:a(? (?')|(?")) |b(? (?')|(?")) ) (?(quote)[a-z]+|[0-9]+)/x,dupnames - a\"aaaaa - 0: a"aaaaa - 1: " - 2: - 3: " - b\"aaaaa - 0: b"aaaaa - 1: " - 2: - 3: " -\= Expect no match - b\"11111 -No match - -#/(?P(?P0)(?P>L1)|(?P>L2))/ -# 0 -# 0: 0 -# 1: 0 -# 00 -# 0: 00 -# 1: 00 -# 2: 0 -# 0000 -# 0: 0000 -# 1: 0000 -# 2: 0 - -#/(?P(?P0)|(?P>L2)(?P>L1))/ -# 0 -# 0: 0 -# 1: 0 -# 2: 0 -# 00 -# 0: 0 -# 1: 0 -# 2: 0 -# 0000 -# 0: 0 -# 1: 0 -# 2: 0 - -# Check the use of names for failure - -# Check opening parens in comment when seeking forward reference. - -#/(?P(?P=abn)xxx|)+/ -# xxx -# 0: -# 1: - -#Posses -/^(a)?(\w)/ - aaaaX - 0: aa - 1: a - 2: a - YZ - 0: Y - 1: - 2: Y - -#Posses -/^(?:a)?(\w)/ - aaaaX - 0: aa - 1: a - YZ - 0: Y - 1: Y - -/\A.*?(a|bc)/ - ba - 0: ba - 1: a - -/\A.*?(?:a|bc|d)/ - ba - 0: ba - -# -------------------------- - -/(another)?(\1?)test/ - hello world test - 0: test - 1: - 2: - -/(another)?(\1+)test/ -\= Expect no match - hello world test -No match - -/((?:a?)*)*c/ - aac - 0: aac - 1: - -/((?>a?)*)*c/ - aac - 0: aac - 1: - -/(?>.*?a)(?<=ba)/ - aba - 0: ba - -/(?:.*?a)(?<=ba)/ - aba - 0: aba - -/(?>.*?a)b/s - aab - 0: ab - -/(?>.*?a)b/ - aab - 0: ab - -/(?>^a)b/s -\= Expect no match - aab -No match - -/(?>.*?)(?<=(abcd)|(wxyz))/ - alphabetabcd - 0: - 1: abcd - endingwxyz - 0: - 1: - 2: wxyz - -/(?>.*)(?<=(abcd)|(wxyz))/ - alphabetabcd - 0: alphabetabcd - 1: abcd - endingwxyz - 0: endingwxyz - 1: - 2: wxyz - -"(?>.*)foo" -\= Expect no match - abcdfooxyz -No match - -"(?>.*?)foo" - abcdfooxyz - 0: foo - -# Tests that try to figure out how Perl works. My hypothesis is that the first -# verb that is backtracked onto is the one that acts. This seems to be the case -# almost all the time, but there is one exception that is perhaps a bug. - -/a(?=bc).|abd/ - abd - 0: abd - abc - 0: ab - -/a(?>bc)d|abd/ - abceabd - 0: abd - -# These tests were formerly in test 2, but changes in PCRE and Perl have -# made them compatible. - -/^(a)?(?(1)a|b)+$/ -\= Expect no match - a -No match - -# ---- - -/^\d*\w{4}/ - 1234 - 0: 1234 -\= Expect no match - 123 -No match - -/^[^b]*\w{4}/ - aaaa - 0: aaaa -\= Expect no match - aaa -No match - -/^[^b]*\w{4}/i - aaaa - 0: aaaa -\= Expect no match - aaa -No match - -/^a*\w{4}/ - aaaa - 0: aaaa -\= Expect no match - aaa -No match - -/^a*\w{4}/i - aaaa - 0: aaaa -\= Expect no match - aaa -No match - -/(?:(?foo)|(?bar))\k/dupnames - foofoo - 0: foofoo - 1: foo - barbar - 0: barbar - 1: bar - -# A notable difference between PCRE and .NET. According to -# the PCRE docs: -# If you make a subroutine call to a non-unique named -# subpattern, the one that corresponds to the first -# occurrence of the name is used. In the absence of -# duplicate numbers (see the previous section) this is -# the one with the lowest number. -# .NET takes the most recently captured number according to MSDN: -# A backreference refers to the most recent definition of -# a group (the definition most immediately to the left, -# when matching left to right). When a group makes multiple -# captures, a backreference refers to the most recent capture. - -#/(?A)(?:(?foo)|(?bar))\k/dupnames -# AfooA -# 0: AfooA -# 1: A -# 2: foo -# AbarA -# 0: AbarA -# 1: A -# 2: -# 3: bar -#\= Expect no match -# Afoofoo -#No match -# Abarbar -#No match - -/^(\d+)\s+IN\s+SOA\s+(\S+)\s+(\S+)\s*\(\s*$/ - 1 IN SOA non-sp1 non-sp2( - 0: 1 IN SOA non-sp1 non-sp2( - 1: 1 - 2: non-sp1 - 3: non-sp2 - -# TODO: .NET's group number ordering here in the second example is a bit odd -/^ (?:(?A)|(?'B'B)(?A)) (?(A)x) (?(B)y)$/x,dupnames - Ax - 0: Ax - 1: A - BAxy - 0: BAxy - 1: A - 2: B - -/ ^ a + b $ /x - aaaab - 0: aaaab - -/ ^ a + #comment - b $ /x - aaaab - 0: aaaab - -/ ^ a + #comment - #comment - b $ /x - aaaab - 0: aaaab - -/ ^ (?> a + ) b $ /x - aaaab - 0: aaaab - -/ ^ ( a + ) + \w $ /x - aaaab - 0: aaaab - 1: aaaa - -/(?:x|(?:(xx|yy)+|x|x|x|x|x)|a|a|a)bc/ -\= Expect no match - acb -No match - -#Posses -#/\A(?:[^\"]+|\"(?:[^\"]*|\"\")*\")+/ -# NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED -# 0: NON QUOTED "QUOT""ED" AFTER - -#Posses -#/\A(?:[^\"]+|\"(?:[^\"]+|\"\")*\")+/ -# NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED -# 0: NON QUOTED "QUOT""ED" AFTER - -#Posses -#/\A(?:[^\"]+|\"(?:[^\"]+|\"\")+\")+/ -# NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED -# 0: NON QUOTED "QUOT""ED" AFTER - -#Posses -#/\A([^\"1]+|[\"2]([^\"3]*|[\"4][\"5])*[\"6])+/ -# NON QUOTED \"QUOT\"\"ED\" AFTER \"NOT MATCHED -# 0: NON QUOTED "QUOT""ED" AFTER -# 1: AFTER -# 2: - -/^\w+(?>\s*)(?<=\w)/ - test test - 0: tes - -#/(?Pa)?(?Pb)?(?()c|d)*l/ -# acl -# 0: acl -# 1: a -# bdl -# 0: bdl -# 1: -# 2: b -# adl -# 0: dl -# bcl -# 0: l - -/\sabc/ - \x0babc - 0: \x0babc - -#/[\Qa]\E]+/ -# aa]] -# 0: aa]] - -#/[\Q]a\E]+/ -# aa]] -# 0: aa]] - -/A((((((((a))))))))\8B/ - AaaB - 0: AaaB - 1: a - 2: a - 3: a - 4: a - 5: a - 6: a - 7: a - 8: a - -/A(((((((((a)))))))))\9B/ - AaaB - 0: AaaB - 1: a - 2: a - 3: a - 4: a - 5: a - 6: a - 7: a - 8: a - 9: a - -/(|ab)*?d/ - abd - 0: abd - 1: ab - xyd - 0: d - -/(\2|a)(\1)/ - aaa - 0: aa - 1: a - 2: a - -/(\2)(\1)/ - -"Z*(|d*){216}" - -/((((((((((((x))))))))))))\12/ - xx - 0: xx - 1: x - 2: x - 3: x - 4: x - 5: x - 6: x - 7: x - 8: x - 9: x -10: x -11: x -12: x - -#"(?|(\k'Pm')|(?'Pm'))" -# abcd -# 0: -# 1: - -#/(?|(aaa)|(b))\g{1}/ -# aaaaaa -# 0: aaaaaa -# 1: aaa -# bb -# 0: bb -# 1: b - -#/(?|(aaa)|(b))(?1)/ -# aaaaaa -# 0: aaaaaa -# 1: aaa -# baaa -# 0: baaa -# 1: b -#\= Expect no match -# bb -#No match - -#/(?|(aaa)|(b))/ -# xaaa -# 0: aaa -# 1: aaa -# xbc -# 0: b -# 1: b - -#/(?|(?'a'aaa)|(?'a'b))\k'a'/ -# aaaaaa -# 0: aaaaaa -# 1: aaa -# bb -# 0: bb -# 1: b - -#/(?|(?'a'aaa)|(?'a'b))(?'a'cccc)\k'a'/dupnames -# aaaccccaaa -# 0: aaaccccaaa -# 1: aaa -# 2: cccc -# bccccb -# 0: bccccb -# 1: b -# 2: cccc - -# End of testinput1 diff --git a/tools/vendor/github.com/ldez/gomoddirectives/.golangci.yml b/tools/vendor/github.com/ldez/gomoddirectives/.golangci.yml index 8eb11ff01..90c529bf1 100644 --- a/tools/vendor/github.com/ldez/gomoddirectives/.golangci.yml +++ b/tools/vendor/github.com/ldez/gomoddirectives/.golangci.yml @@ -29,6 +29,7 @@ linters: - varnamelen - wrapcheck - wsl # deprecated + - gomodguard # deprecated settings: depguard: @@ -51,6 +52,7 @@ linters: goconst: min-len: 3 min-occurrences: 3 + ignore-tests: true gocritic: disabled-checks: - sloppyReassign diff --git a/tools/vendor/github.com/ldez/gomoddirectives/gomoddirectives.go b/tools/vendor/github.com/ldez/gomoddirectives/gomoddirectives.go index ae416c17f..32c7b8d90 100644 --- a/tools/vendor/github.com/ldez/gomoddirectives/gomoddirectives.go +++ b/tools/vendor/github.com/ldez/gomoddirectives/gomoddirectives.go @@ -52,6 +52,7 @@ func (r Result) String() string { // Options the analyzer options. type Options struct { + ReplaceAllowAll bool ReplaceAllowList []string ReplaceAllowLocal bool ExcludeForbidden bool @@ -252,6 +253,10 @@ func checkReplaceDirectives(file *modfile.File, opts Options) []Result { } func checkReplaceDirective(opts Options, r *modfile.Replace) string { + if opts.ReplaceAllowAll { + return "" + } + if isLocal(r) { if opts.ReplaceAllowLocal { return "" diff --git a/tools/vendor/github.com/ldez/gomoddirectives/readme.md b/tools/vendor/github.com/ldez/gomoddirectives/readme.md index 52c6a4cbd..ea37304cc 100644 --- a/tools/vendor/github.com/ldez/gomoddirectives/readme.md +++ b/tools/vendor/github.com/ldez/gomoddirectives/readme.md @@ -26,7 +26,11 @@ linters: # Default: [] replace-allow-list: - launchpad.net/gocheck - + + # Allow all `replace` directives. + # Default: false + replace-allow-all: true + # Allow to not explain why the version has been retracted in the `retract` directives. # Default: false retract-allow-no-explanation: true @@ -85,6 +89,8 @@ Flags: List of allowed replace directives -local Allow local replace directives + -all-replace + Allow all replace directives -retract-no-explanation Allow to use retract directives without explanation -tool @@ -120,6 +126,7 @@ retract ( - Ban all `replace` directives. - Allow only local `replace` directives. - Allow only some `replace` directives. +- Allow all `replace` directives. - Detect duplicated `replace` directives. - Detect identical `replace` directives. diff --git a/tools/vendor/modules.txt b/tools/vendor/modules.txt index f77df8f60..ced171562 100644 --- a/tools/vendor/modules.txt +++ b/tools/vendor/modules.txt @@ -217,7 +217,7 @@ github.com/davecgh/go-spew/spew # github.com/denis-tingaikin/go-header v0.5.0 ## explicit; go 1.21 github.com/denis-tingaikin/go-header -# github.com/dlclark/regexp2/v2 v2.1.1 +# github.com/dlclark/regexp2/v2 v2.2.1 ## explicit; go 1.25 github.com/dlclark/regexp2/v2 github.com/dlclark/regexp2/v2/helpers @@ -514,7 +514,7 @@ github.com/golangci/plugin-module-register/register # github.com/golangci/revgrep v0.8.0 ## explicit; go 1.21 github.com/golangci/revgrep -# github.com/golangci/rowserrcheck v0.0.0-20260430141503-8d53bbc4a7d3 +# github.com/golangci/rowserrcheck v0.0.0-20260602201336-0ec5bd2741d7 ## explicit; go 1.25.0 github.com/golangci/rowserrcheck/passes/rowserr # github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e @@ -594,8 +594,8 @@ github.com/lasiar/canonicalheader # github.com/ldez/exptostd v0.4.5 ## explicit; go 1.24.0 github.com/ldez/exptostd -# github.com/ldez/gomoddirectives v0.8.0 -## explicit; go 1.24.0 +# github.com/ldez/gomoddirectives v0.9.0 +## explicit; go 1.25.0 github.com/ldez/gomoddirectives # github.com/ldez/grignotin v0.10.1 ## explicit; go 1.24.0 @@ -953,7 +953,7 @@ go.uber.org/zap/zapcore # go.yaml.in/yaml/v3 v3.0.4 ## explicit; go 1.16 go.yaml.in/yaml/v3 -# golang.org/x/exp/typeparams v0.0.0-20260529124908-c761662dc8c9 +# golang.org/x/exp/typeparams v0.0.0-20260603202125-055de637280b ## explicit; go 1.25.0 golang.org/x/exp/typeparams # golang.org/x/mod v0.36.0 diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md index d730a3bc3..ed56ac241 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 1.22.0 (2026-06-04) + +### Features Added + +* Added type `datetime.RFC7231` for date/time values in RFC 1123 format with a fixed GMT timezone. + +### Other Changes + +* Upgraded dependencies. + ## 1.21.1 (2026-04-16) ### Bugs Fixed diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go index 8ad391dd2..4f7aa6434 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go @@ -37,5 +37,5 @@ const ( Module = "azcore" // Version is the semantic version (see http://semver.org) of this module. - Version = "v1.21.1" + Version = "v1.22.0" ) diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/datetime/RFC7231.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/datetime/RFC7231.go new file mode 100644 index 000000000..df0c5cd41 --- /dev/null +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/datetime/RFC7231.go @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package datetime + +import ( + "strings" + "time" +) + +// used to format timestamps with a fixed GMT zone name before sending across the wire +var gmt = time.FixedZone("GMT", 0) + +// RFC7231 represents a date and time value in RFC 1123 format as defined in +// https://tools.ietf.org/html/rfc1123. +// The timezone is set to GMT as required by RFC 7231 HTTP-date / IMF-fixdate: +// https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.1.1. +type RFC7231 time.Time + +// MarshalJSON marshals the RFC7231 timestamp to a JSON byte slice. +func (r RFC7231) MarshalJSON() ([]byte, error) { + return []byte(time.Time(r).In(gmt).Format(rfc1123JSON)), nil +} + +// MarshalText returns a textual representation of RFC7231. +func (r RFC7231) MarshalText() ([]byte, error) { + return []byte(time.Time(r).In(gmt).Format(time.RFC1123)), nil +} + +// UnmarshalJSON unmarshals a JSON byte slice into an RFC7231 timestamp. +func (r *RFC7231) UnmarshalJSON(data []byte) error { + t, err := time.Parse(rfc1123JSON, strings.ToUpper(string(data))) + *r = RFC7231(t.UTC()) + return err +} + +// UnmarshalText decodes the textual representation of RFC7231. +func (r *RFC7231) UnmarshalText(data []byte) error { + if len(data) == 0 { + // empty XML element means no value + return nil + } + t, err := time.Parse(time.RFC1123, string(data)) + *r = RFC7231(t.UTC()) + return err +} + +// String returns the string of RFC7231. +func (r RFC7231) String() string { + return time.Time(r).In(gmt).Format(time.RFC1123) +} diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_bearer_token.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_bearer_token.go index 547e5a327..f204a19c4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_bearer_token.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_bearer_token.go @@ -182,7 +182,7 @@ func (b *BearerTokenPolicy) handleChallenge(req *policy.Request, res *http.Respo func checkHTTPSForAuth(req *policy.Request, allowHTTP bool) error { if strings.ToLower(req.Raw().URL.Scheme) != "https" && !allowHTTP { - return errorinfo.NonRetriableError(errors.New("authenticated requests are not permitted for non TLS protected (https) endpoints")) + return errorinfo.NonRetriableError(errors.New("authorized requests are not permitted for non-TLS protected (https) endpoints")) } return nil } diff --git a/vendor/github.com/IBM/platform-services-go-sdk/common/version.go b/vendor/github.com/IBM/platform-services-go-sdk/common/version.go index 16dac50f2..9229faa90 100644 --- a/vendor/github.com/IBM/platform-services-go-sdk/common/version.go +++ b/vendor/github.com/IBM/platform-services-go-sdk/common/version.go @@ -17,4 +17,4 @@ package common // Version of the SDK -const Version = "0.98.0" +const Version = "0.99.0" diff --git a/vendor/github.com/IBM/vpc-go-sdk/common/version.go b/vendor/github.com/IBM/vpc-go-sdk/common/version.go index 1a35471be..36323822e 100644 --- a/vendor/github.com/IBM/vpc-go-sdk/common/version.go +++ b/vendor/github.com/IBM/vpc-go-sdk/common/version.go @@ -1,4 +1,4 @@ package common // Version of the SDK -const Version = "0.83.2" +const Version = "0.84.0" diff --git a/vendor/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go b/vendor/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go index 6b17c9955..bac628a94 100644 --- a/vendor/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go +++ b/vendor/github.com/IBM/vpc-go-sdk/vpcv1/vpc_v1.go @@ -15,7 +15,7 @@ */ /* - * IBM OpenAPI SDK Code Generator Version: 3.111.0-1bfb72c2-20260206-185521 + * IBM OpenAPI SDK Code Generator Version: 3.114.0-a902401e-20260427-192904 */ // Package vpcv1 : Operations and models for the VpcV1 service @@ -38,7 +38,7 @@ import ( // VpcV1 : The IBM Cloud Virtual Private Cloud (VPC) API can be used to programmatically provision and manage virtual // server instances, along with subnets, volumes, load balancers, and more. // -// API Version: 2026-04-07 +// API Version: 2026-06-02 type VpcV1 struct { Service *core.BaseService @@ -47,7 +47,7 @@ type VpcV1 struct { Generation *int64 // The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2026-04-07` - // and `2026-04-22`. + // and `2026-06-02`. Version *string } @@ -68,7 +68,7 @@ type VpcV1Options struct { Generation *int64 // The API version, in format `YYYY-MM-DD`. For the API behavior documented here, specify any date between `2026-04-07` - // and `2026-04-22`. + // and `2026-06-02`. Version *string } @@ -133,7 +133,7 @@ func NewVpcV1(options *VpcV1Options) (service *VpcV1, err error) { } if options.Version == nil { - options.Version = core.StringPtr("2026-04-14") + options.Version = core.StringPtr("2026-06-02") } service = &VpcV1{ @@ -32477,17 +32477,26 @@ func (vpc *VpcV1) CreateIkePolicyWithContext(ctx context.Context, createIkePolic builder.AddQuery("generation", fmt.Sprint(*vpc.Generation)) body := make(map[string]interface{}) + if createIkePolicyOptions.IkeVersion != nil { + body["ike_version"] = createIkePolicyOptions.IkeVersion + } if createIkePolicyOptions.AuthenticationAlgorithm != nil { body["authentication_algorithm"] = createIkePolicyOptions.AuthenticationAlgorithm } + if createIkePolicyOptions.AuthenticationAlgorithms != nil { + body["authentication_algorithms"] = createIkePolicyOptions.AuthenticationAlgorithms + } if createIkePolicyOptions.DhGroup != nil { body["dh_group"] = createIkePolicyOptions.DhGroup } + if createIkePolicyOptions.DhGroups != nil { + body["dh_groups"] = createIkePolicyOptions.DhGroups + } if createIkePolicyOptions.EncryptionAlgorithm != nil { body["encryption_algorithm"] = createIkePolicyOptions.EncryptionAlgorithm } - if createIkePolicyOptions.IkeVersion != nil { - body["ike_version"] = createIkePolicyOptions.IkeVersion + if createIkePolicyOptions.EncryptionAlgorithms != nil { + body["encryption_algorithms"] = createIkePolicyOptions.EncryptionAlgorithms } if createIkePolicyOptions.KeyLifetime != nil { body["key_lifetime"] = createIkePolicyOptions.KeyLifetime @@ -32938,11 +32947,14 @@ func (vpc *VpcV1) CreateIpsecPolicyWithContext(ctx context.Context, createIpsecP if createIpsecPolicyOptions.AuthenticationAlgorithm != nil { body["authentication_algorithm"] = createIpsecPolicyOptions.AuthenticationAlgorithm } + if createIpsecPolicyOptions.AuthenticationAlgorithms != nil { + body["authentication_algorithms"] = createIpsecPolicyOptions.AuthenticationAlgorithms + } if createIpsecPolicyOptions.EncryptionAlgorithm != nil { body["encryption_algorithm"] = createIpsecPolicyOptions.EncryptionAlgorithm } - if createIpsecPolicyOptions.Pfs != nil { - body["pfs"] = createIpsecPolicyOptions.Pfs + if createIpsecPolicyOptions.EncryptionAlgorithms != nil { + body["encryption_algorithms"] = createIpsecPolicyOptions.EncryptionAlgorithms } if createIpsecPolicyOptions.KeyLifetime != nil { body["key_lifetime"] = createIpsecPolicyOptions.KeyLifetime @@ -32950,6 +32962,12 @@ func (vpc *VpcV1) CreateIpsecPolicyWithContext(ctx context.Context, createIpsecP if createIpsecPolicyOptions.Name != nil { body["name"] = createIpsecPolicyOptions.Name } + if createIpsecPolicyOptions.Pfs != nil { + body["pfs"] = createIpsecPolicyOptions.Pfs + } + if createIpsecPolicyOptions.PfsGroups != nil { + body["pfs_groups"] = createIpsecPolicyOptions.PfsGroups + } if createIpsecPolicyOptions.ResourceGroup != nil { body["resource_group"] = createIpsecPolicyOptions.ResourceGroup } @@ -36149,7 +36167,7 @@ func (vpc *VpcV1) UpdateVPNServerRouteWithContext(ctx context.Context, updateVPN return } func getServiceComponentInfo() *core.ProblemComponent { - return core.NewProblemComponent(DefaultServiceName, "2026-04-14") + return core.NewProblemComponent(DefaultServiceName, "2026-06-02") } // AccountIdentity : Identifies an account by a unique property. @@ -46762,17 +46780,62 @@ func (options *CreateFlowLogCollectorOptions) SetHeaders(param map[string]string // CreateIkePolicyOptions : The CreateIkePolicy options. type CreateIkePolicyOptions struct { + // The IKE protocol version. + IkeVersion *int64 `json:"ike_version" validate:"required"` + // The authentication algorithm. - AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"` + // + // `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + // + // If specified, `authentication_algorithms` must not be specified. + // Deprecated: this field is deprecated and may be removed in a future release. + AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"` + + // The authentication algorithms to use for IKE Negotiation. + // + // If specified, `authentication_algorithm` must not be specified. + // + // If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + AuthenticationAlgorithms []string `json:"authentication_algorithms,omitempty"` // The Diffie-Hellman group. - DhGroup *int64 `json:"dh_group" validate:"required"` + // + // `dh_group` has been deprecated. Use `dh_groups` instead. + // + // If specified, `dh_groups` must not be specified. + // Deprecated: this field is deprecated and may be removed in a future release. + DhGroup *int64 `json:"dh_group,omitempty"` + + // The Diffie-Hellman groups to use for IKE negotiation. + // + // If specified, `dh_group` must not be specified. + // + // If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + // + // The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + // Diffie-Hellman group having priority over the one after it. + DhGroups []int64 `json:"dh_groups,omitempty"` // The encryption algorithm. - EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"` + // + // `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + // + // If specified, `encryption_algorithms` must not be specified. + // Deprecated: this field is deprecated and may be removed in a future release. + EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"` - // The IKE protocol version. - IkeVersion *int64 `json:"ike_version" validate:"required"` + // The encryption algorithms to use for IKE Negotiation. + // + // If specified, `encryption_algorithm` must not be specified. + // + // If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + EncryptionAlgorithms []string `json:"encryption_algorithms,omitempty"` // The key lifetime in seconds. KeyLifetime *int64 `json:"key_lifetime,omitempty"` @@ -46791,51 +46854,91 @@ type CreateIkePolicyOptions struct { // Constants associated with the CreateIkePolicyOptions.AuthenticationAlgorithm property. // The authentication algorithm. +// +// `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. +// +// If specified, `authentication_algorithms` must not be specified. const ( CreateIkePolicyOptionsAuthenticationAlgorithmSha256Const = "sha256" CreateIkePolicyOptionsAuthenticationAlgorithmSha384Const = "sha384" CreateIkePolicyOptionsAuthenticationAlgorithmSha512Const = "sha512" ) +// Constants associated with the CreateIkePolicyOptions.AuthenticationAlgorithms property. +const ( + CreateIkePolicyOptionsAuthenticationAlgorithmsSha256Const = "sha256" + CreateIkePolicyOptionsAuthenticationAlgorithmsSha384Const = "sha384" + CreateIkePolicyOptionsAuthenticationAlgorithmsSha512Const = "sha512" +) + // Constants associated with the CreateIkePolicyOptions.EncryptionAlgorithm property. // The encryption algorithm. +// +// `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. +// +// If specified, `encryption_algorithms` must not be specified. const ( CreateIkePolicyOptionsEncryptionAlgorithmAes128Const = "aes128" CreateIkePolicyOptionsEncryptionAlgorithmAes192Const = "aes192" CreateIkePolicyOptionsEncryptionAlgorithmAes256Const = "aes256" ) +// Constants associated with the CreateIkePolicyOptions.EncryptionAlgorithms property. +const ( + CreateIkePolicyOptionsEncryptionAlgorithmsAes128Const = "aes128" + CreateIkePolicyOptionsEncryptionAlgorithmsAes192Const = "aes192" + CreateIkePolicyOptionsEncryptionAlgorithmsAes256Const = "aes256" +) + // NewCreateIkePolicyOptions : Instantiate CreateIkePolicyOptions -func (*VpcV1) NewCreateIkePolicyOptions(authenticationAlgorithm string, dhGroup int64, encryptionAlgorithm string, ikeVersion int64) *CreateIkePolicyOptions { +func (*VpcV1) NewCreateIkePolicyOptions(ikeVersion int64) *CreateIkePolicyOptions { return &CreateIkePolicyOptions{ - AuthenticationAlgorithm: core.StringPtr(authenticationAlgorithm), - DhGroup: core.Int64Ptr(dhGroup), - EncryptionAlgorithm: core.StringPtr(encryptionAlgorithm), - IkeVersion: core.Int64Ptr(ikeVersion), + IkeVersion: core.Int64Ptr(ikeVersion), } } +// SetIkeVersion : Allow user to set IkeVersion +func (_options *CreateIkePolicyOptions) SetIkeVersion(ikeVersion int64) *CreateIkePolicyOptions { + _options.IkeVersion = core.Int64Ptr(ikeVersion) + return _options +} + // SetAuthenticationAlgorithm : Allow user to set AuthenticationAlgorithm +// Deprecated: this method is deprecated and may be removed in a future release. func (_options *CreateIkePolicyOptions) SetAuthenticationAlgorithm(authenticationAlgorithm string) *CreateIkePolicyOptions { _options.AuthenticationAlgorithm = core.StringPtr(authenticationAlgorithm) return _options } +// SetAuthenticationAlgorithms : Allow user to set AuthenticationAlgorithms +func (_options *CreateIkePolicyOptions) SetAuthenticationAlgorithms(authenticationAlgorithms []string) *CreateIkePolicyOptions { + _options.AuthenticationAlgorithms = authenticationAlgorithms + return _options +} + // SetDhGroup : Allow user to set DhGroup +// Deprecated: this method is deprecated and may be removed in a future release. func (_options *CreateIkePolicyOptions) SetDhGroup(dhGroup int64) *CreateIkePolicyOptions { _options.DhGroup = core.Int64Ptr(dhGroup) return _options } +// SetDhGroups : Allow user to set DhGroups +func (_options *CreateIkePolicyOptions) SetDhGroups(dhGroups []int64) *CreateIkePolicyOptions { + _options.DhGroups = dhGroups + return _options +} + // SetEncryptionAlgorithm : Allow user to set EncryptionAlgorithm +// Deprecated: this method is deprecated and may be removed in a future release. func (_options *CreateIkePolicyOptions) SetEncryptionAlgorithm(encryptionAlgorithm string) *CreateIkePolicyOptions { _options.EncryptionAlgorithm = core.StringPtr(encryptionAlgorithm) return _options } -// SetIkeVersion : Allow user to set IkeVersion -func (_options *CreateIkePolicyOptions) SetIkeVersion(ikeVersion int64) *CreateIkePolicyOptions { - _options.IkeVersion = core.Int64Ptr(ikeVersion) +// SetEncryptionAlgorithms : Allow user to set EncryptionAlgorithms +func (_options *CreateIkePolicyOptions) SetEncryptionAlgorithms(encryptionAlgorithms []string) *CreateIkePolicyOptions { + _options.EncryptionAlgorithms = encryptionAlgorithms return _options } @@ -47570,26 +47673,57 @@ func (options *CreateInstanceVolumeAttachmentOptions) SetHeaders(param map[strin // CreateIpsecPolicyOptions : The CreateIpsecPolicy options. type CreateIpsecPolicyOptions struct { - // The authentication algorithm + // The authentication algorithm. + // + // `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + // + // If specified, `authentication_algorithms` must not be specified. // // Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, // `aes192gcm16`, or `aes256gcm16` // // The `md5` and `sha1` algorithms have been deprecated. - AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"` + // Deprecated: this field is deprecated and may be removed in a future release. + AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"` + + // The authentication algorithms to use for IPsec negotiation. + // + // If specified, `authentication_algorithm` must not be specified. + // + // Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms + // (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). + // + // The `md5` and `sha1` algorithms have been deprecated. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + AuthenticationAlgorithms []string `json:"authentication_algorithms,omitempty"` - // The encryption algorithm + // The encryption algorithm. + // + // `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + // + // If specified, `encryption_algorithms` must not be specified. // // The `authentication_algorithm` must be `disabled` if and only if // `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` // // The `triple_des` algorithm has been deprecated. - EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"` + // Deprecated: this field is deprecated and may be removed in a future release. + EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"` - // The Perfect Forward Secrecy group. + // The encryption algorithms to use for IPsec negotiation. // - // Groups `group_2` and `group_5` have been deprecated. - Pfs *string `json:"pfs" validate:"required"` + // If specified, `encryption_algorithm` must not be specified. + // + // If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and + // `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + // + // The `triple_des` algorithm has been deprecated. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + EncryptionAlgorithms []string `json:"encryption_algorithms,omitempty"` // The key lifetime in seconds. KeyLifetime *int64 `json:"key_lifetime,omitempty"` @@ -47598,6 +47732,26 @@ type CreateIpsecPolicyOptions struct { // name will be a hyphenated list of randomly-selected words. Name *string `json:"name,omitempty"` + // The Perfect Forward Secrecy group. + // + // `pfs` has been deprecated. Use `pfs_groups` instead. + // + // If specified, `pfs_groups` must not be specified. + // + // Groups `group_2` and `group_5` have been deprecated. + // Deprecated: this field is deprecated and may be removed in a future release. + Pfs *string `json:"pfs,omitempty"` + + // The Perfect Forward Secrecy groups to use for IPsec negotiation. + // + // If specified, `pfs` must not be specified. + // + // Groups `group_2` and `group_5` have been deprecated. + // + // The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each + // Perfect Forward Secrecy group having priority over the one after it. + PfsGroups []string `json:"pfs_groups,omitempty"` + // The resource group to use. If unspecified, the account's [default resource // group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used. ResourceGroup ResourceGroupIdentityIntf `json:"resource_group,omitempty"` @@ -47607,7 +47761,11 @@ type CreateIpsecPolicyOptions struct { } // Constants associated with the CreateIpsecPolicyOptions.AuthenticationAlgorithm property. -// The authentication algorithm +// The authentication algorithm. +// +// `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. +// +// If specified, `authentication_algorithms` must not be specified. // // Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, // `aes192gcm16`, or `aes256gcm16` @@ -47620,8 +47778,20 @@ const ( CreateIpsecPolicyOptionsAuthenticationAlgorithmSha512Const = "sha512" ) +// Constants associated with the CreateIpsecPolicyOptions.AuthenticationAlgorithms property. +const ( + CreateIpsecPolicyOptionsAuthenticationAlgorithmsDisabledConst = "disabled" + CreateIpsecPolicyOptionsAuthenticationAlgorithmsSha256Const = "sha256" + CreateIpsecPolicyOptionsAuthenticationAlgorithmsSha384Const = "sha384" + CreateIpsecPolicyOptionsAuthenticationAlgorithmsSha512Const = "sha512" +) + // Constants associated with the CreateIpsecPolicyOptions.EncryptionAlgorithm property. -// The encryption algorithm +// The encryption algorithm. +// +// `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. +// +// If specified, `encryption_algorithms` must not be specified. // // The `authentication_algorithm` must be `disabled` if and only if // `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` @@ -47636,9 +47806,23 @@ const ( CreateIpsecPolicyOptionsEncryptionAlgorithmAes256gcm16Const = "aes256gcm16" ) +// Constants associated with the CreateIpsecPolicyOptions.EncryptionAlgorithms property. +const ( + CreateIpsecPolicyOptionsEncryptionAlgorithmsAes128Const = "aes128" + CreateIpsecPolicyOptionsEncryptionAlgorithmsAes128gcm16Const = "aes128gcm16" + CreateIpsecPolicyOptionsEncryptionAlgorithmsAes192Const = "aes192" + CreateIpsecPolicyOptionsEncryptionAlgorithmsAes192gcm16Const = "aes192gcm16" + CreateIpsecPolicyOptionsEncryptionAlgorithmsAes256Const = "aes256" + CreateIpsecPolicyOptionsEncryptionAlgorithmsAes256gcm16Const = "aes256gcm16" +) + // Constants associated with the CreateIpsecPolicyOptions.Pfs property. // The Perfect Forward Secrecy group. // +// `pfs` has been deprecated. Use `pfs_groups` instead. +// +// If specified, `pfs_groups` must not be specified. +// // Groups `group_2` and `group_5` have been deprecated. const ( CreateIpsecPolicyOptionsPfsDisabledConst = "disabled" @@ -47656,30 +47840,51 @@ const ( CreateIpsecPolicyOptionsPfsGroup31Const = "group_31" ) +// Constants associated with the CreateIpsecPolicyOptions.PfsGroups property. +const ( + CreateIpsecPolicyOptionsPfsGroupsDisabledConst = "disabled" + CreateIpsecPolicyOptionsPfsGroupsGroup14Const = "group_14" + CreateIpsecPolicyOptionsPfsGroupsGroup15Const = "group_15" + CreateIpsecPolicyOptionsPfsGroupsGroup16Const = "group_16" + CreateIpsecPolicyOptionsPfsGroupsGroup17Const = "group_17" + CreateIpsecPolicyOptionsPfsGroupsGroup18Const = "group_18" + CreateIpsecPolicyOptionsPfsGroupsGroup19Const = "group_19" + CreateIpsecPolicyOptionsPfsGroupsGroup20Const = "group_20" + CreateIpsecPolicyOptionsPfsGroupsGroup21Const = "group_21" + CreateIpsecPolicyOptionsPfsGroupsGroup22Const = "group_22" + CreateIpsecPolicyOptionsPfsGroupsGroup23Const = "group_23" + CreateIpsecPolicyOptionsPfsGroupsGroup24Const = "group_24" + CreateIpsecPolicyOptionsPfsGroupsGroup31Const = "group_31" +) + // NewCreateIpsecPolicyOptions : Instantiate CreateIpsecPolicyOptions -func (*VpcV1) NewCreateIpsecPolicyOptions(authenticationAlgorithm string, encryptionAlgorithm string, pfs string) *CreateIpsecPolicyOptions { - return &CreateIpsecPolicyOptions{ - AuthenticationAlgorithm: core.StringPtr(authenticationAlgorithm), - EncryptionAlgorithm: core.StringPtr(encryptionAlgorithm), - Pfs: core.StringPtr(pfs), - } +func (*VpcV1) NewCreateIpsecPolicyOptions() *CreateIpsecPolicyOptions { + return &CreateIpsecPolicyOptions{} } // SetAuthenticationAlgorithm : Allow user to set AuthenticationAlgorithm +// Deprecated: this method is deprecated and may be removed in a future release. func (_options *CreateIpsecPolicyOptions) SetAuthenticationAlgorithm(authenticationAlgorithm string) *CreateIpsecPolicyOptions { _options.AuthenticationAlgorithm = core.StringPtr(authenticationAlgorithm) return _options } +// SetAuthenticationAlgorithms : Allow user to set AuthenticationAlgorithms +func (_options *CreateIpsecPolicyOptions) SetAuthenticationAlgorithms(authenticationAlgorithms []string) *CreateIpsecPolicyOptions { + _options.AuthenticationAlgorithms = authenticationAlgorithms + return _options +} + // SetEncryptionAlgorithm : Allow user to set EncryptionAlgorithm +// Deprecated: this method is deprecated and may be removed in a future release. func (_options *CreateIpsecPolicyOptions) SetEncryptionAlgorithm(encryptionAlgorithm string) *CreateIpsecPolicyOptions { _options.EncryptionAlgorithm = core.StringPtr(encryptionAlgorithm) return _options } -// SetPfs : Allow user to set Pfs -func (_options *CreateIpsecPolicyOptions) SetPfs(pfs string) *CreateIpsecPolicyOptions { - _options.Pfs = core.StringPtr(pfs) +// SetEncryptionAlgorithms : Allow user to set EncryptionAlgorithms +func (_options *CreateIpsecPolicyOptions) SetEncryptionAlgorithms(encryptionAlgorithms []string) *CreateIpsecPolicyOptions { + _options.EncryptionAlgorithms = encryptionAlgorithms return _options } @@ -47695,6 +47900,19 @@ func (_options *CreateIpsecPolicyOptions) SetName(name string) *CreateIpsecPolic return _options } +// SetPfs : Allow user to set Pfs +// Deprecated: this method is deprecated and may be removed in a future release. +func (_options *CreateIpsecPolicyOptions) SetPfs(pfs string) *CreateIpsecPolicyOptions { + _options.Pfs = core.StringPtr(pfs) + return _options +} + +// SetPfsGroups : Allow user to set PfsGroups +func (_options *CreateIpsecPolicyOptions) SetPfsGroups(pfsGroups []string) *CreateIpsecPolicyOptions { + _options.PfsGroups = pfsGroups + return _options +} + // SetResourceGroup : Allow user to set ResourceGroup func (_options *CreateIpsecPolicyOptions) SetResourceGroup(resourceGroup ResourceGroupIdentityIntf) *CreateIpsecPolicyOptions { _options.ResourceGroup = resourceGroup @@ -62055,8 +62273,18 @@ type IkePolicy struct { // // The enumerated values for this property may // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + // + // If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` + // property to retrieve all supported algorithms. + // Deprecated: this field is deprecated and may be removed in a future release. AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"` + // The authentication algorithms to use for IKE Negotiation. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + AuthenticationAlgorithms []string `json:"authentication_algorithms" validate:"required"` + // The VPN gateway connections that use this IKE policy. Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"` @@ -62066,16 +62294,36 @@ type IkePolicy struct { // The Diffie-Hellman group // // Groups `2` and `5` have been deprecated. + // + // If `65535`, the policy supports more than one Diffie-Hellman group. Use the `dh_groups` property to retrieve all + // supported Diffie-Hellman groups. + // Deprecated: this field is deprecated and may be removed in a future release. DhGroup *int64 `json:"dh_group" validate:"required"` + // The Diffie-Hellman groups to use for IKE negotiation. + // + // The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + // Diffie-Hellman group having priority over the one after it. + DhGroups []int64 `json:"dh_groups" validate:"required"` + // The encryption algorithm. // + // If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to + // retrieve all supported algorithms. + // // The `triple_des` algorithm has been deprecated. // // The enumerated values for this property may // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + // Deprecated: this field is deprecated and may be removed in a future release. EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"` + // The encryption algorithms to use for IKE Negotiation. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + EncryptionAlgorithms []string `json:"encryption_algorithms" validate:"required"` + // The URL for this IKE policy. Href *string `json:"href" validate:"required"` @@ -62111,17 +62359,31 @@ type IkePolicy struct { // // The enumerated values for this property may // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. +// +// If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` +// property to retrieve all supported algorithms. const ( - IkePolicyAuthenticationAlgorithmMd5Const = "md5" - IkePolicyAuthenticationAlgorithmSha1Const = "sha1" - IkePolicyAuthenticationAlgorithmSha256Const = "sha256" - IkePolicyAuthenticationAlgorithmSha384Const = "sha384" - IkePolicyAuthenticationAlgorithmSha512Const = "sha512" + IkePolicyAuthenticationAlgorithmMd5Const = "md5" + IkePolicyAuthenticationAlgorithmMultipleConst = "multiple" + IkePolicyAuthenticationAlgorithmSha1Const = "sha1" + IkePolicyAuthenticationAlgorithmSha256Const = "sha256" + IkePolicyAuthenticationAlgorithmSha384Const = "sha384" + IkePolicyAuthenticationAlgorithmSha512Const = "sha512" +) + +// Constants associated with the IkePolicy.AuthenticationAlgorithms property. +const ( + IkePolicyAuthenticationAlgorithmsSha256Const = "sha256" + IkePolicyAuthenticationAlgorithmsSha384Const = "sha384" + IkePolicyAuthenticationAlgorithmsSha512Const = "sha512" ) // Constants associated with the IkePolicy.EncryptionAlgorithm property. // The encryption algorithm. // +// If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to +// retrieve all supported algorithms. +// // The `triple_des` algorithm has been deprecated. // // The enumerated values for this property may @@ -62130,9 +62392,17 @@ const ( IkePolicyEncryptionAlgorithmAes128Const = "aes128" IkePolicyEncryptionAlgorithmAes192Const = "aes192" IkePolicyEncryptionAlgorithmAes256Const = "aes256" + IkePolicyEncryptionAlgorithmMultipleConst = "multiple" IkePolicyEncryptionAlgorithmTripleDesConst = "triple_des" ) +// Constants associated with the IkePolicy.EncryptionAlgorithms property. +const ( + IkePolicyEncryptionAlgorithmsAes128Const = "aes128" + IkePolicyEncryptionAlgorithmsAes192Const = "aes192" + IkePolicyEncryptionAlgorithmsAes256Const = "aes256" +) + // Constants associated with the IkePolicy.NegotiationMode property. // The IKE negotiation mode. // @@ -62156,6 +62426,11 @@ func UnmarshalIkePolicy(m map[string]json.RawMessage, result interface{}) (err e err = core.SDKErrorf(err, "", "authentication_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "authentication_algorithms", &obj.AuthenticationAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "authentication_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalModel(m, "connections", &obj.Connections, UnmarshalVPNGatewayConnectionReference) if err != nil { err = core.SDKErrorf(err, "", "connections-error", common.GetComponentInfo()) @@ -62171,11 +62446,21 @@ func UnmarshalIkePolicy(m map[string]json.RawMessage, result interface{}) (err e err = core.SDKErrorf(err, "", "dh_group-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "dh_groups", &obj.DhGroups) + if err != nil { + err = core.SDKErrorf(err, "", "dh_groups-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "encryption_algorithm", &obj.EncryptionAlgorithm) if err != nil { err = core.SDKErrorf(err, "", "encryption_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "encryption_algorithms", &obj.EncryptionAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "encryption_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "href", &obj.Href) if err != nil { err = core.SDKErrorf(err, "", "href-error", common.GetComponentInfo()) @@ -62355,14 +62640,74 @@ func (resp *IkePolicyConnectionCollection) GetNextStart() (*string, error) { // IkePolicyPatch : IkePolicyPatch struct type IkePolicyPatch struct { // The authentication algorithm. + // + // `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + // + // If specified, `authentication_algorithms` must not be specified. + // + // Updating this property will also update the + // `authentication_algorithms` field accordingly. + // Deprecated: this field is deprecated and may be removed in a future release. AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"` + // The authentication algorithms to use for IKE Negotiation. + // + // If specified, `authentication_algorithm` must not be specified. + // + // If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + // + // Updating this property will also update the + // `authentication_algorithm` field accordingly. + AuthenticationAlgorithms []string `json:"authentication_algorithms,omitempty"` + // The Diffie-Hellman group. + // + // `dh_group` has been deprecated. Use `dh_groups` instead. + // + // If specified, `dh_groups` must not be specified. + // + // Updating this property will also update the `dh_groups` field accordingly. + // Deprecated: this field is deprecated and may be removed in a future release. DhGroup *int64 `json:"dh_group,omitempty"` + // The Diffie-Hellman groups to use for IKE Negotiation. + // + // If specified, `dh_group` must not be specified. + // + // If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + // + // The order of the Diffie-Hellman groups in this array indicates their priority for negotiation, with each + // Diffie-Hellman group having priority over the one after it. + // + // Updating this property will also update the `dh_group` field accordingly. + DhGroups []int64 `json:"dh_groups,omitempty"` + // The encryption algorithm. + // + // `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + // + // If specified, `encryption_algorithms` must not be specified. + // + // Updating this property will also update the + // `encryption_algorithms` field accordingly. + // Deprecated: this field is deprecated and may be removed in a future release. EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"` + // The encryption algorithms to use for IKE negotiation. + // + // If specified, `encryption_algorithm` must not be specified. + // + // If the IKE policy's `ike_version` is `1`, this array must contain exactly one algorithm. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + // + // Updating this property will also update the `encryption_algorithm` field accordingly. + EncryptionAlgorithms []string `json:"encryption_algorithms,omitempty"` + // The IKE protocol version. IkeVersion *int64 `json:"ike_version,omitempty"` @@ -62375,20 +62720,48 @@ type IkePolicyPatch struct { // Constants associated with the IkePolicyPatch.AuthenticationAlgorithm property. // The authentication algorithm. +// +// `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. +// +// If specified, `authentication_algorithms` must not be specified. +// +// Updating this property will also update the +// `authentication_algorithms` field accordingly. const ( IkePolicyPatchAuthenticationAlgorithmSha256Const = "sha256" IkePolicyPatchAuthenticationAlgorithmSha384Const = "sha384" IkePolicyPatchAuthenticationAlgorithmSha512Const = "sha512" ) +// Constants associated with the IkePolicyPatch.AuthenticationAlgorithms property. +const ( + IkePolicyPatchAuthenticationAlgorithmsSha256Const = "sha256" + IkePolicyPatchAuthenticationAlgorithmsSha384Const = "sha384" + IkePolicyPatchAuthenticationAlgorithmsSha512Const = "sha512" +) + // Constants associated with the IkePolicyPatch.EncryptionAlgorithm property. // The encryption algorithm. +// +// `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. +// +// If specified, `encryption_algorithms` must not be specified. +// +// Updating this property will also update the +// `encryption_algorithms` field accordingly. const ( IkePolicyPatchEncryptionAlgorithmAes128Const = "aes128" IkePolicyPatchEncryptionAlgorithmAes192Const = "aes192" IkePolicyPatchEncryptionAlgorithmAes256Const = "aes256" ) +// Constants associated with the IkePolicyPatch.EncryptionAlgorithms property. +const ( + IkePolicyPatchEncryptionAlgorithmsAes128Const = "aes128" + IkePolicyPatchEncryptionAlgorithmsAes192Const = "aes192" + IkePolicyPatchEncryptionAlgorithmsAes256Const = "aes256" +) + // UnmarshalIkePolicyPatch unmarshals an instance of IkePolicyPatch from the specified map of raw messages. func UnmarshalIkePolicyPatch(m map[string]json.RawMessage, result interface{}) (err error) { obj := new(IkePolicyPatch) @@ -62397,16 +62770,31 @@ func UnmarshalIkePolicyPatch(m map[string]json.RawMessage, result interface{}) ( err = core.SDKErrorf(err, "", "authentication_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "authentication_algorithms", &obj.AuthenticationAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "authentication_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "dh_group", &obj.DhGroup) if err != nil { err = core.SDKErrorf(err, "", "dh_group-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "dh_groups", &obj.DhGroups) + if err != nil { + err = core.SDKErrorf(err, "", "dh_groups-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "encryption_algorithm", &obj.EncryptionAlgorithm) if err != nil { err = core.SDKErrorf(err, "", "encryption_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "encryption_algorithms", &obj.EncryptionAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "encryption_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "ike_version", &obj.IkeVersion) if err != nil { err = core.SDKErrorf(err, "", "ike_version-error", common.GetComponentInfo()) @@ -62432,12 +62820,21 @@ func (ikePolicyPatch *IkePolicyPatch) AsPatch() (_patch map[string]interface{}, if !core.IsNil(ikePolicyPatch.AuthenticationAlgorithm) { _patch["authentication_algorithm"] = ikePolicyPatch.AuthenticationAlgorithm } + if !core.IsNil(ikePolicyPatch.AuthenticationAlgorithms) { + _patch["authentication_algorithms"] = ikePolicyPatch.AuthenticationAlgorithms + } if !core.IsNil(ikePolicyPatch.DhGroup) { _patch["dh_group"] = ikePolicyPatch.DhGroup } + if !core.IsNil(ikePolicyPatch.DhGroups) { + _patch["dh_groups"] = ikePolicyPatch.DhGroups + } if !core.IsNil(ikePolicyPatch.EncryptionAlgorithm) { _patch["encryption_algorithm"] = ikePolicyPatch.EncryptionAlgorithm } + if !core.IsNil(ikePolicyPatch.EncryptionAlgorithms) { + _patch["encryption_algorithms"] = ikePolicyPatch.EncryptionAlgorithms + } if !core.IsNil(ikePolicyPatch.IkeVersion) { _patch["ike_version"] = ikePolicyPatch.IkeVersion } @@ -62553,14 +62950,24 @@ func (ip *IP) asPatch() (_patch map[string]interface{}) { // IPsecPolicy : IPsecPolicy struct type IPsecPolicy struct { - // The authentication algorithm + // The authentication algorithms. + // + // If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` + // property to retrieve all supported algorithms. // // The `md5` and `sha1` algorithms have been deprecated // // The enumerated values for this property may // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + // Deprecated: this field is deprecated and may be removed in a future release. AuthenticationAlgorithm *string `json:"authentication_algorithm" validate:"required"` + // The authentication algorithms to use for IPsec Negotiation. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + AuthenticationAlgorithms []string `json:"authentication_algorithms" validate:"required"` + // The VPN gateway connections that use this IPsec policy. Connections []VPNGatewayConnectionReference `json:"connections" validate:"required"` @@ -62573,14 +62980,24 @@ type IPsecPolicy struct { // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. EncapsulationMode *string `json:"encapsulation_mode" validate:"required"` - // The encryption algorithm + // The encryption algorithm. + // + // If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to + // retrieve all supported algorithms. // // The `triple_des` algorithm has been deprecated // // The enumerated values for this property may // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + // Deprecated: this field is deprecated and may be removed in a future release. EncryptionAlgorithm *string `json:"encryption_algorithm" validate:"required"` + // The encryption algorithms to use for IKE Negotiation. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + EncryptionAlgorithms []string `json:"encryption_algorithms" validate:"required"` + // The URL for this IPsec policy. Href *string `json:"href" validate:"required"` @@ -62593,14 +63010,24 @@ type IPsecPolicy struct { // The name for this IPsec policy. The name is unique across all IPsec policies in the region. Name *string `json:"name" validate:"required"` - // The Perfect Forward Secrecy group + // The Perfect Forward Secrecy group. + // + // If `multiple`, the policy supports more than one PFS group. Use the `pfs_groups` property to retrieve all supported + // PFS groups. // // Groups `group_2` and `group_5` have been deprecated // // The enumerated values for this property may // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. + // Deprecated: this field is deprecated and may be removed in a future release. Pfs *string `json:"pfs" validate:"required"` + // The Perfect Forward Secrecy groups to use for IPsec negotiation. + // + // The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each + // Perfect Forward Secrecy group having priority over the one after it. + PfsGroups []string `json:"pfs_groups" validate:"required"` + // The resource group for this IPsec policy. ResourceGroup *ResourceGroupReference `json:"resource_group" validate:"required"` @@ -62615,7 +63042,10 @@ type IPsecPolicy struct { } // Constants associated with the IPsecPolicy.AuthenticationAlgorithm property. -// The authentication algorithm +// The authentication algorithms. +// +// If `multiple`, the policy supports more than one authentication algorithm. Use the `authentication_algorithms` +// property to retrieve all supported algorithms. // // # The `md5` and `sha1` algorithms have been deprecated // @@ -62623,13 +63053,20 @@ type IPsecPolicy struct { // [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future. const ( IPsecPolicyAuthenticationAlgorithmDisabledConst = "disabled" - IPsecPolicyAuthenticationAlgorithmMd5Const = "md5" - IPsecPolicyAuthenticationAlgorithmSha1Const = "sha1" + IPsecPolicyAuthenticationAlgorithmMultipleConst = "multiple" IPsecPolicyAuthenticationAlgorithmSha256Const = "sha256" IPsecPolicyAuthenticationAlgorithmSha384Const = "sha384" IPsecPolicyAuthenticationAlgorithmSha512Const = "sha512" ) +// Constants associated with the IPsecPolicy.AuthenticationAlgorithms property. +const ( + IPsecPolicyAuthenticationAlgorithmsDisabledConst = "disabled" + IPsecPolicyAuthenticationAlgorithmsSha256Const = "sha256" + IPsecPolicyAuthenticationAlgorithmsSha384Const = "sha384" + IPsecPolicyAuthenticationAlgorithmsSha512Const = "sha512" +) + // Constants associated with the IPsecPolicy.EncapsulationMode property. // The encapsulation mode used. // @@ -62640,7 +63077,10 @@ const ( ) // Constants associated with the IPsecPolicy.EncryptionAlgorithm property. -// The encryption algorithm +// The encryption algorithm. +// +// If `multiple`, the policy supports more than one encryption algorithm. Use the `encryption_algorithms` property to +// retrieve all supported algorithms. // // The `triple_des` algorithm has been deprecated // @@ -62653,11 +63093,25 @@ const ( IPsecPolicyEncryptionAlgorithmAes192gcm16Const = "aes192gcm16" IPsecPolicyEncryptionAlgorithmAes256Const = "aes256" IPsecPolicyEncryptionAlgorithmAes256gcm16Const = "aes256gcm16" + IPsecPolicyEncryptionAlgorithmMultipleConst = "multiple" IPsecPolicyEncryptionAlgorithmTripleDesConst = "triple_des" ) +// Constants associated with the IPsecPolicy.EncryptionAlgorithms property. +const ( + IPsecPolicyEncryptionAlgorithmsAes128Const = "aes128" + IPsecPolicyEncryptionAlgorithmsAes128gcm16Const = "aes128gcm16" + IPsecPolicyEncryptionAlgorithmsAes192Const = "aes192" + IPsecPolicyEncryptionAlgorithmsAes192gcm16Const = "aes192gcm16" + IPsecPolicyEncryptionAlgorithmsAes256Const = "aes256" + IPsecPolicyEncryptionAlgorithmsAes256gcm16Const = "aes256gcm16" +) + // Constants associated with the IPsecPolicy.Pfs property. -// The Perfect Forward Secrecy group +// The Perfect Forward Secrecy group. +// +// If `multiple`, the policy supports more than one PFS group. Use the `pfs_groups` property to retrieve all supported +// PFS groups. // // Groups `group_2` and `group_5` have been deprecated // @@ -62679,6 +63133,24 @@ const ( IPsecPolicyPfsGroup24Const = "group_24" IPsecPolicyPfsGroup31Const = "group_31" IPsecPolicyPfsGroup5Const = "group_5" + IPsecPolicyPfsMultipleConst = "multiple" +) + +// Constants associated with the IPsecPolicy.PfsGroups property. +const ( + IPsecPolicyPfsGroupsDisabledConst = "disabled" + IPsecPolicyPfsGroupsGroup14Const = "group_14" + IPsecPolicyPfsGroupsGroup15Const = "group_15" + IPsecPolicyPfsGroupsGroup16Const = "group_16" + IPsecPolicyPfsGroupsGroup17Const = "group_17" + IPsecPolicyPfsGroupsGroup18Const = "group_18" + IPsecPolicyPfsGroupsGroup19Const = "group_19" + IPsecPolicyPfsGroupsGroup20Const = "group_20" + IPsecPolicyPfsGroupsGroup21Const = "group_21" + IPsecPolicyPfsGroupsGroup22Const = "group_22" + IPsecPolicyPfsGroupsGroup23Const = "group_23" + IPsecPolicyPfsGroupsGroup24Const = "group_24" + IPsecPolicyPfsGroupsGroup31Const = "group_31" ) // Constants associated with the IPsecPolicy.ResourceType property. @@ -62704,6 +63176,11 @@ func UnmarshalIPsecPolicy(m map[string]json.RawMessage, result interface{}) (err err = core.SDKErrorf(err, "", "authentication_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "authentication_algorithms", &obj.AuthenticationAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "authentication_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalModel(m, "connections", &obj.Connections, UnmarshalVPNGatewayConnectionReference) if err != nil { err = core.SDKErrorf(err, "", "connections-error", common.GetComponentInfo()) @@ -62724,6 +63201,11 @@ func UnmarshalIPsecPolicy(m map[string]json.RawMessage, result interface{}) (err err = core.SDKErrorf(err, "", "encryption_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "encryption_algorithms", &obj.EncryptionAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "encryption_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "href", &obj.Href) if err != nil { err = core.SDKErrorf(err, "", "href-error", common.GetComponentInfo()) @@ -62749,6 +63231,11 @@ func UnmarshalIPsecPolicy(m map[string]json.RawMessage, result interface{}) (err err = core.SDKErrorf(err, "", "pfs-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "pfs_groups", &obj.PfsGroups) + if err != nil { + err = core.SDKErrorf(err, "", "pfs_groups-error", common.GetComponentInfo()) + return + } err = core.UnmarshalModel(m, "resource_group", &obj.ResourceGroup, UnmarshalResourceGroupReference) if err != nil { err = core.SDKErrorf(err, "", "resource_group-error", common.GetComponentInfo()) @@ -62904,39 +63391,113 @@ func (resp *IPsecPolicyConnectionCollection) GetNextStart() (*string, error) { type IPsecPolicyPatch struct { // The authentication algorithm. // + // `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. + // + // If specified, `authentication_algorithms` must not be specified. + // // Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, // `aes192gcm16`, or `aes256gcm16` // // The `md5` and `sha1` algorithms have been deprecated. + // + // Updating this property will also update the + // `authentication_algorithms` field accordingly. + // Deprecated: this field is deprecated and may be removed in a future release. AuthenticationAlgorithm *string `json:"authentication_algorithm,omitempty"` + // The authentication algorithms to use for IPsec negotiation. + // + // If specified, `authentication_algorithm` must not be specified. + // + // Must be `["disabled"]` when `encryption_algorithms` has only combined-mode algorithms + // (`aes128gcm16`, `aes192gcm16`, and `aes256gcm16`). + // + // The `md5` and `sha1` algorithms have been deprecated. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + // + // Updating this property will also update the + // `authentication_algorithm` field accordingly. + AuthenticationAlgorithms []string `json:"authentication_algorithms,omitempty"` + // The encryption algorithm. // + // `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. + // + // If specified, `encryption_algorithms` must not be specified. + // // The `authentication_algorithm` must be `disabled` if and only if // `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` // // The `triple_des` algorithm has been deprecated. + // + // Updating this property will also update the + // `encryption_algorithms` field accordingly. + // Deprecated: this field is deprecated and may be removed in a future release. EncryptionAlgorithm *string `json:"encryption_algorithm,omitempty"` + // The encryption algorithms to use for IPsec negotiation. + // + // If specified, `encryption_algorithm` must not be specified. + // + // If only combined-mode encryption algorithms (`aes128gcm16`, `aes192gcm16`, and + // `aes256gcm16`) are to be used, then `authentication_algorithms` must be `["disabled"]`. + // + // The `triple_des` algorithm has been deprecated. + // + // The order of the algorithms in this array indicates their priority for negotiation, with each algorithm having + // priority over the one after it. + // + // Updating this property will also update the `encryption_algorithm` field accordingly. + EncryptionAlgorithms []string `json:"encryption_algorithms,omitempty"` + // The key lifetime in seconds. KeyLifetime *int64 `json:"key_lifetime,omitempty"` - // The name for this IPsec policy. The name must not be used by another IPsec policy in the region. + // The name for this IPsec policy. The name is unique across all IPsec policies in the region. Name *string `json:"name,omitempty"` // The Perfect Forward Secrecy group. // + // `pfs` has been deprecated. Use `pfs_groups` instead. + // + // If specified, `pfs_groups` must not be specified. + // // Groups `group_2` and `group_5` have been deprecated. + // + // Updating this property will also update the + // `pfs_groups` field accordingly. + // Deprecated: this field is deprecated and may be removed in a future release. Pfs *string `json:"pfs,omitempty"` + + // The Perfect Forward Secrecy groups to use for IPsec negotiation. + // + // If specified, `pfs_groups` must not be specified. + // + // Groups `group_2` and `group_5` have been deprecated. + // + // The order of the Perfect Forward Secrecy groups in this array indicates their priority for negotiation, with each + // Perfect Forward Secrecy group having priority over the one after it. + // + // Updating this property will also update the `pfs` field accordingly. + PfsGroups []string `json:"pfs_groups,omitempty"` } // Constants associated with the IPsecPolicyPatch.AuthenticationAlgorithm property. // The authentication algorithm. // +// `authentication_algorithm` has been deprecated. Use `authentication_algorithms` instead. +// +// If specified, `authentication_algorithms` must not be specified. +// // Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, // `aes192gcm16`, or `aes256gcm16` // // The `md5` and `sha1` algorithms have been deprecated. +// +// Updating this property will also update the +// `authentication_algorithms` field accordingly. const ( IPsecPolicyPatchAuthenticationAlgorithmDisabledConst = "disabled" IPsecPolicyPatchAuthenticationAlgorithmSha256Const = "sha256" @@ -62944,13 +63505,28 @@ const ( IPsecPolicyPatchAuthenticationAlgorithmSha512Const = "sha512" ) +// Constants associated with the IPsecPolicyPatch.AuthenticationAlgorithms property. +const ( + IPsecPolicyPatchAuthenticationAlgorithmsDisabledConst = "disabled" + IPsecPolicyPatchAuthenticationAlgorithmsSha256Const = "sha256" + IPsecPolicyPatchAuthenticationAlgorithmsSha384Const = "sha384" + IPsecPolicyPatchAuthenticationAlgorithmsSha512Const = "sha512" +) + // Constants associated with the IPsecPolicyPatch.EncryptionAlgorithm property. // The encryption algorithm. // +// `encryption_algorithm` has been deprecated. Use `encryption_algorithms` instead. +// +// If specified, `encryption_algorithms` must not be specified. +// // The `authentication_algorithm` must be `disabled` if and only if // `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` // // The `triple_des` algorithm has been deprecated. +// +// Updating this property will also update the +// `encryption_algorithms` field accordingly. const ( IPsecPolicyPatchEncryptionAlgorithmAes128Const = "aes128" IPsecPolicyPatchEncryptionAlgorithmAes128gcm16Const = "aes128gcm16" @@ -62960,10 +63536,27 @@ const ( IPsecPolicyPatchEncryptionAlgorithmAes256gcm16Const = "aes256gcm16" ) +// Constants associated with the IPsecPolicyPatch.EncryptionAlgorithms property. +const ( + IPsecPolicyPatchEncryptionAlgorithmsAes128Const = "aes128" + IPsecPolicyPatchEncryptionAlgorithmsAes128gcm16Const = "aes128gcm16" + IPsecPolicyPatchEncryptionAlgorithmsAes192Const = "aes192" + IPsecPolicyPatchEncryptionAlgorithmsAes192gcm16Const = "aes192gcm16" + IPsecPolicyPatchEncryptionAlgorithmsAes256Const = "aes256" + IPsecPolicyPatchEncryptionAlgorithmsAes256gcm16Const = "aes256gcm16" +) + // Constants associated with the IPsecPolicyPatch.Pfs property. // The Perfect Forward Secrecy group. // +// `pfs` has been deprecated. Use `pfs_groups` instead. +// +// If specified, `pfs_groups` must not be specified. +// // Groups `group_2` and `group_5` have been deprecated. +// +// Updating this property will also update the +// `pfs_groups` field accordingly. const ( IPsecPolicyPatchPfsDisabledConst = "disabled" IPsecPolicyPatchPfsGroup14Const = "group_14" @@ -62980,6 +63573,23 @@ const ( IPsecPolicyPatchPfsGroup31Const = "group_31" ) +// Constants associated with the IPsecPolicyPatch.PfsGroups property. +const ( + IPsecPolicyPatchPfsGroupsDisabledConst = "disabled" + IPsecPolicyPatchPfsGroupsGroup14Const = "group_14" + IPsecPolicyPatchPfsGroupsGroup15Const = "group_15" + IPsecPolicyPatchPfsGroupsGroup16Const = "group_16" + IPsecPolicyPatchPfsGroupsGroup17Const = "group_17" + IPsecPolicyPatchPfsGroupsGroup18Const = "group_18" + IPsecPolicyPatchPfsGroupsGroup19Const = "group_19" + IPsecPolicyPatchPfsGroupsGroup20Const = "group_20" + IPsecPolicyPatchPfsGroupsGroup21Const = "group_21" + IPsecPolicyPatchPfsGroupsGroup22Const = "group_22" + IPsecPolicyPatchPfsGroupsGroup23Const = "group_23" + IPsecPolicyPatchPfsGroupsGroup24Const = "group_24" + IPsecPolicyPatchPfsGroupsGroup31Const = "group_31" +) + // UnmarshalIPsecPolicyPatch unmarshals an instance of IPsecPolicyPatch from the specified map of raw messages. func UnmarshalIPsecPolicyPatch(m map[string]json.RawMessage, result interface{}) (err error) { obj := new(IPsecPolicyPatch) @@ -62988,11 +63598,21 @@ func UnmarshalIPsecPolicyPatch(m map[string]json.RawMessage, result interface{}) err = core.SDKErrorf(err, "", "authentication_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "authentication_algorithms", &obj.AuthenticationAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "authentication_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "encryption_algorithm", &obj.EncryptionAlgorithm) if err != nil { err = core.SDKErrorf(err, "", "encryption_algorithm-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "encryption_algorithms", &obj.EncryptionAlgorithms) + if err != nil { + err = core.SDKErrorf(err, "", "encryption_algorithms-error", common.GetComponentInfo()) + return + } err = core.UnmarshalPrimitive(m, "key_lifetime", &obj.KeyLifetime) if err != nil { err = core.SDKErrorf(err, "", "key_lifetime-error", common.GetComponentInfo()) @@ -63008,6 +63628,11 @@ func UnmarshalIPsecPolicyPatch(m map[string]json.RawMessage, result interface{}) err = core.SDKErrorf(err, "", "pfs-error", common.GetComponentInfo()) return } + err = core.UnmarshalPrimitive(m, "pfs_groups", &obj.PfsGroups) + if err != nil { + err = core.SDKErrorf(err, "", "pfs_groups-error", common.GetComponentInfo()) + return + } reflect.ValueOf(result).Elem().Set(reflect.ValueOf(obj)) return } @@ -63018,9 +63643,15 @@ func (iPsecPolicyPatch *IPsecPolicyPatch) AsPatch() (_patch map[string]interface if !core.IsNil(iPsecPolicyPatch.AuthenticationAlgorithm) { _patch["authentication_algorithm"] = iPsecPolicyPatch.AuthenticationAlgorithm } + if !core.IsNil(iPsecPolicyPatch.AuthenticationAlgorithms) { + _patch["authentication_algorithms"] = iPsecPolicyPatch.AuthenticationAlgorithms + } if !core.IsNil(iPsecPolicyPatch.EncryptionAlgorithm) { _patch["encryption_algorithm"] = iPsecPolicyPatch.EncryptionAlgorithm } + if !core.IsNil(iPsecPolicyPatch.EncryptionAlgorithms) { + _patch["encryption_algorithms"] = iPsecPolicyPatch.EncryptionAlgorithms + } if !core.IsNil(iPsecPolicyPatch.KeyLifetime) { _patch["key_lifetime"] = iPsecPolicyPatch.KeyLifetime } @@ -63030,6 +63661,9 @@ func (iPsecPolicyPatch *IPsecPolicyPatch) AsPatch() (_patch map[string]interface if !core.IsNil(iPsecPolicyPatch.Pfs) { _patch["pfs"] = iPsecPolicyPatch.Pfs } + if !core.IsNil(iPsecPolicyPatch.PfsGroups) { + _patch["pfs_groups"] = iPsecPolicyPatch.PfsGroups + } return } @@ -82354,13 +82988,13 @@ func UnmarshalLoadBalancerListenerPolicyTarget(m map[string]json.RawMessage, res // LoadBalancerListenerPolicyTargetPatch : - If `action` is `forward_to_listener`, specify a `LoadBalancerListenerIdentity` for a // -// listener in this load balancer. -// - If `action` is `forward_to_pool`, specify a `LoadBalancerPoolIdentity` for a pool in -// this load balancer. -// - If `action` is `https_redirect`, specify a -// `LoadBalancerListenerPolicyHTTPSRedirectPatch` for a listener in this load balancer -// with a `protocol` of `https`. -// - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPatch`. +// listener in this load balancer. +// - If `action` is `forward_to_pool`, specify a `LoadBalancerPoolIdentity` for a pool in +// this load balancer. +// - If `action` is `https_redirect`, specify a +// `LoadBalancerListenerPolicyHTTPSRedirectPatch` for a listener in this load balancer +// with a `protocol` of `https`. +// - If `action` is `redirect`, specify a `LoadBalancerListenerPolicyRedirectURLPatch`. // // Models which "extend" this model: // - LoadBalancerListenerPolicyTargetPatchLoadBalancerPoolIdentity @@ -82479,14 +83113,14 @@ func (loadBalancerListenerPolicyTargetPatch *LoadBalancerListenerPolicyTargetPat // LoadBalancerListenerPolicyTargetPrototype : - If `action` is `forward_to_listener`, specify a `LoadBalancerListenerIdentity` in this // -// load balancer to forward to. -// - If `action` is `forward_to_pool`, use `LoadBalancerPoolIdentity` to specify a pool in -// this load balancer to forward to. -// - If `action` is `https_redirect`, use -// `LoadBalancerListenerPolicyHTTPSRedirectPrototype` to specify a listener on this -// load balancer to redirect to. -// - If `action` is `redirect`, use `LoadBalancerListenerPolicyRedirectURLPrototype`to -// specify a URL to redirect to. +// load balancer to forward to. +// - If `action` is `forward_to_pool`, use `LoadBalancerPoolIdentity` to specify a pool in +// this load balancer to forward to. +// - If `action` is `https_redirect`, use +// `LoadBalancerListenerPolicyHTTPSRedirectPrototype` to specify a listener on this +// load balancer to redirect to. +// - If `action` is `redirect`, use `LoadBalancerListenerPolicyRedirectURLPrototype`to +// specify a URL to redirect to. // // Models which "extend" this model: // - LoadBalancerListenerPolicyTargetPrototypeLoadBalancerPoolIdentity @@ -83296,11 +83930,24 @@ type LoadBalancerPoolFailsafePolicyPatch struct { // - Belong to this load balancer // - Have the same `protocol` as this pool, or have a compatible protocol. // At present, the compatible protocols are `http` and `https`. - // - Not have a `failsafe_policy.action` of `forward` or `bypass`. + // + // For load balancers in the `application` family, the failsafe target pool must not + // already be the default pool or a failsafe target pool for the same listener. + // + // For load balancers in the `network` family, the pool specified in the URL must not + // be a failsafe target pool for another pool. // // If specified, `action` must be `forward`. // // Specify `null` to remove an existing failsafe target pool. + // + // **For more information, see:** + // - [Creating an application load balancer]( + // https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) + // - [Working with application load balancer pools]( + // https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) + // - [Working with network load balancer pools]( + // https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). Target LoadBalancerPoolFailsafePolicyTargetPatchIntf `json:"target,omitempty"` } @@ -83368,9 +84015,22 @@ type LoadBalancerPoolFailsafePolicyPrototype struct { // - Belong to this load balancer // - Have the same `protocol` as this pool, or have a compatible protocol. // At present, the compatible protocols are `http` and `https`. - // - Have a `failsafe_policy.action` of `fail` or `drop` + // + // For load balancers in the `application` family, the failsafe target pool must not + // already be the default pool or a failsafe target pool for the same listener. + // + // For load balancers in the `network` family, the pool specified in the URL must not + // be a failsafe target pool for another pool. // // If specified, `action` must be `forward`. + // + // **For more information, see:** + // - [Creating an application load balancer]( + // https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) + // - [Working with application load balancer pools]( + // https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) + // - [Working with network load balancer pools]( + // https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). Target LoadBalancerPoolIdentityIntf `json:"target,omitempty"` } @@ -83413,11 +84073,25 @@ func UnmarshalLoadBalancerPoolFailsafePolicyPrototype(m map[string]json.RawMessa // - Belong to this load balancer // - Have the same `protocol` as this pool, or have a compatible protocol. // At present, the compatible protocols are `http` and `https`. -// - Not have a `failsafe_policy.action` of `forward` or `bypass`. +// +// For load balancers in the `application` family, the failsafe target pool must not already be the default pool or a +// failsafe target pool for the same listener. +// +// For load balancers in the `network` family, the pool specified in the URL must not be a failsafe target pool for +// another pool. // // If specified, `action` must be `forward`. // // Specify `null` to remove an existing failsafe target pool. +// +// **For more information, see:** +// - [Creating an application load balancer]( +// https://cloud.ibm.com/docs/vpc?topic=vpc-load-balancers&interface=ui) +// - [Working with application load balancer pools]( +// https://cloud.ibm.com/docs/vpc?topic=vpc-alb-pools&interface=ui) +// - [Working with network load balancer pools]( +// https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-pools&interface=ui). +// // Models which "extend" this model: // - LoadBalancerPoolFailsafePolicyTargetPatchLoadBalancerPoolIdentityByID // - LoadBalancerPoolFailsafePolicyTargetPatchLoadBalancerPoolIdentityByHref @@ -102437,6 +103111,8 @@ type SharePatch struct { // mount target control access to the mount target. // - `vpc`: All clients in the VPC for a mount target have access to the mount target. // + // The `vpc` access control mode has been deprecated. Use `security_group` instead. + // // For this property to be changed, the share must have no mount targets, // `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. AccessControlMode *string `json:"access_control_mode,omitempty"` @@ -102506,6 +103182,8 @@ type SharePatch struct { // mount target control access to the mount target. // - `vpc`: All clients in the VPC for a mount target have access to the mount target. // +// The `vpc` access control mode has been deprecated. Use `security_group` instead. +// // For this property to be changed, the share must have no mount targets, // `replication_role` must be `none` and `accessor_binding_role` must not be `accessor`. const ( @@ -103451,6 +104129,8 @@ type SharePrototype struct { // require a virtual network interface. // - `vpc`: All clients in the VPC for a mount target have access to the mount target. // Mount targets for this share require a VPC. + // + // The `vpc` access control mode has been deprecated. Use `security_group` instead. AccessControlMode *string `json:"access_control_mode,omitempty"` // The access protocols to allow for this share. If unspecified: @@ -103555,6 +104235,8 @@ const ( // require a virtual network interface. // - `vpc`: All clients in the VPC for a mount target have access to the mount target. // Mount targets for this share require a VPC. +// +// The `vpc` access control mode has been deprecated. Use `security_group` instead. const ( SharePrototypeAccessControlModeSecurityGroupConst = "security_group" SharePrototypeAccessControlModeVPCConst = "vpc" @@ -119751,10 +120433,14 @@ type VolumePrototypeInstanceByImageContext struct { Bandwidth *int64 `json:"bandwidth,omitempty"` // The capacity to use for the volume (in gigabytes). The specified value must be at least the image's - // `minimum_provisioned_size`, at most 250 gigabytes, and within the - // `boot_capacity` range of the volume's profile. - // - // If unspecified, the capacity will be the image's `minimum_provisioned_size`. + // `minimum_provisioned_size`, at most 250 gigabytes for + // `storage_generation: 1` or at most 32,000 gigabytes for `storage_generation: 2`, and within the `boot_capacity` + // range of the volume's profile. + // + // If unspecified, the capacity will depend on the image: + // - When using a system-provided image, 100 gigabytes or the `minimum_provisioned_size` + // of the image, whichever is larger. + // - When using a custom image, the `minimum_provisioned_size` of the image. Capacity *int64 `json:"capacity,omitempty"` // The root key to use to wrap the data encryption key for the volume. @@ -119870,8 +120556,9 @@ type VolumePrototypeInstanceBySourceSnapshotContext struct { Bandwidth *int64 `json:"bandwidth,omitempty"` // The capacity to use for the volume (in gigabytes). The specified value must be at least the snapshot's - // `minimum_capacity`, at most 250 gigabytes, and within the - // `boot_capacity` range of the volume's profile. + // `minimum_capacity`, at most 250 gigabytes for + // `storage_generation: 1` or at most 32,000 gigabytes for `storage_generation: 2`, and within the `boot_capacity` + // range of the volume's profile. Capacity *int64 `json:"capacity,omitempty"` // The root key to use to wrap the data encryption key for the volume. @@ -140781,8 +141468,8 @@ type NetworkACLRuleItemNetworkACLRuleProtocolIndividual struct { // The network protocol. // - // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - // protocols are: + // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + // `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -140822,8 +141509,8 @@ const ( // Constants associated with the NetworkACLRuleItemNetworkACLRuleProtocolIndividual.Protocol property. // The network protocol. // -// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known -// protocols are: +// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and +// `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -141731,8 +142418,8 @@ type NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIndividualPro // The network protocol. // - // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - // protocols are: + // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + // `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -141771,8 +142458,8 @@ const ( // Constants associated with the NetworkACLRulePrototypeNetworkACLContextNetworkACLRuleProtocolIndividualPrototype.Protocol property. // The network protocol. // -// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known -// protocols are: +// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and +// `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -142687,8 +143374,8 @@ type NetworkACLRulePrototypeNetworkACLRuleProtocolIndividualPrototype struct { // The network protocol. // - // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - // protocols are: + // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + // `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -142727,8 +143414,8 @@ const ( // Constants associated with the NetworkACLRulePrototypeNetworkACLRuleProtocolIndividualPrototype.Protocol property. // The network protocol. // -// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known -// protocols are: +// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and +// `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -143719,8 +144406,8 @@ type NetworkACLRuleNetworkACLRuleProtocolIndividual struct { // The network protocol. // - // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - // protocols are: + // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + // `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -143760,8 +144447,8 @@ const ( // Constants associated with the NetworkACLRuleNetworkACLRuleProtocolIndividual.Protocol property. // The network protocol. // -// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known -// protocols are: +// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and +// `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -146749,8 +147436,8 @@ type SecurityGroupRuleProtocolIndividual struct { // The network protocol to allow. // - // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - // protocols are: + // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + // `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -146792,8 +147479,8 @@ const ( // Constants associated with the SecurityGroupRuleProtocolIndividual.Protocol property. // The network protocol to allow. // -// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known -// protocols are: +// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and +// `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -147590,8 +148277,8 @@ type SecurityGroupRulePrototypeSecurityGroupRuleProtocolIndividualPrototype stru // The network protocol to allow. // - // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known - // protocols are: + // The value must be the name of an individual protocol, excluding `icmp`, `tcp` and + // `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -147625,8 +148312,8 @@ const ( // Constants associated with the SecurityGroupRulePrototypeSecurityGroupRuleProtocolIndividualPrototype.Protocol property. // The network protocol to allow. // -// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and `udp`. Names for well known -// protocols are: +// The value must be the name of an individual protocol, excluding `icmp`, `tcp` and +// `udp`. Names for well known protocols are: // - `ah`: AH (authentication header, protocol number `51`) // - `esp`: ESP (encapsulating security payload, protocol number `50`) // - `gre`: GRE (generic routing encapsulation, protocol number `47`) @@ -150830,6 +151517,8 @@ type SharePrototypeShareBySize struct { // require a virtual network interface. // - `vpc`: All clients in the VPC for a mount target have access to the mount target. // Mount targets for this share require a VPC. + // + // The `vpc` access control mode has been deprecated. Use `security_group` instead. AccessControlMode *string `json:"access_control_mode,omitempty"` // The access protocols to allow for this share. If unspecified: @@ -150903,6 +151592,8 @@ const ( // require a virtual network interface. // - `vpc`: All clients in the VPC for a mount target have access to the mount target. // Mount targets for this share require a VPC. +// +// The `vpc` access control mode has been deprecated. Use `security_group` instead. const ( SharePrototypeShareBySizeAccessControlModeSecurityGroupConst = "security_group" SharePrototypeShareBySizeAccessControlModeVPCConst = "vpc" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md index 63bfd651d..5fed89811 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/config/CHANGELOG.md @@ -1,16 +1,3 @@ -# v1.32.23 (2026-06-04) - -* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.32.22 (2026-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.32.21 (2026-06-02) - -* **Dependency Update**: Updated to the latest SDK module versions - # v1.32.20 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go index bd06212b8..0f69bcd8b 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/config/go_module_metadata.go @@ -3,4 +3,4 @@ package config // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.32.23" +const goModuleVersion = "1.32.20" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md index 289d01730..87c87690a 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/CHANGELOG.md @@ -1,16 +1,3 @@ -# v1.19.22 (2026-06-04) - -* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.19.21 (2026-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.19.20 (2026-06-02) - -* **Dependency Update**: Updated to the latest SDK module versions - # v1.19.19 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go index 557c71154..0bf0937d6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/credentials/go_module_metadata.go @@ -3,4 +3,4 @@ package credentials // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.19.22" +const goModuleVersion = "1.19.19" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md index 5aa23423c..8a90d8521 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/CHANGELOG.md @@ -1,16 +1,3 @@ -# v1.18.28 (2026-06-04) - -* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.27 (2026-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.18.26 (2026-06-02) - -* **Dependency Update**: Updated to the latest SDK module versions - # v1.18.25 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go index 0eab145a1..7f28da5a4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/feature/ec2/imds/go_module_metadata.go @@ -3,4 +3,4 @@ package imds // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.18.28" +const goModuleVersion = "1.18.25" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md index 619c7a514..4f2654618 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/CHANGELOG.md @@ -1,3 +1,17 @@ +# v1.305.2 (2026-06-04) + +* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.305.1 (2026-06-03) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.305.0 (2026-06-02) + +* **Feature**: Amazon EC2 now supports self-service cancellation of future-dated Capacity Reservations. A cancellation charge applies based on remaining commitment. Customers can generate a cancellation quote to review charges before confirming. +* **Dependency Update**: Updated to the latest SDK module versions + # v1.304.2 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go index 9bfdca6af..f12e8bbef 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CancelCapacityReservation.go @@ -6,6 +6,7 @@ import ( "context" "fmt" awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/ec2/types" "github.com/aws/smithy-go/middleware" smithyhttp "github.com/aws/smithy-go/transport/http" ) @@ -17,9 +18,15 @@ import ( // // - assessing // +// - scheduled +// // - active and there is no commitment duration or the commitment duration has -// elapsed. You can't cancel a future-dated Capacity Reservation during the -// commitment duration. +// elapsed. +// +// - active during the commitment duration, if you provide a cancellation quote +// ID and accept the cancellation charges. Use +// CreateCapacityReservationCancellationQuote to generate a quote. The Capacity +// Reservation transitions to cancelling while charges are applied. // // You can't modify or cancel a Capacity Block. For more information, see [Capacity Blocks for ML]. // @@ -55,12 +62,23 @@ type CancelCapacityReservationInput struct { // This member is required. CapacityReservationId *string + // Specifies the cancellation charge type to apply when cancelling a future-dated + // Capacity Reservation during its commitment duration. Possible values include + // commitment-wind-down , which continues billing for the remaining commitment + // duration without delivering capacity. + ApplyCancellationCharges types.ApplyCancellationCharges + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have the // required permissions, the error response is DryRunOperation . Otherwise, it is // UnauthorizedOperation . DryRun *bool + // The ID of the cancellation quote to use for the cancellation. You can generate + // a cancellation quote by using the CreateCapacityReservationCancellationQuote + // action. The cancellation quote must be in an active state. + QuoteId *string + noSmithyDocumentSerde } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go new file mode 100644 index 000000000..971c66d40 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_CreateCapacityReservationCancellationQuote.go @@ -0,0 +1,208 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package ec2 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/ec2/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Generates a cancellation quote for a future-dated Capacity Reservation that is +// within its commitment duration. The quote includes the cancellation terms and a +// quote ID that you can pass to the CancelCapacityReservation action. +// Cancellation quotes are valid for 24 hours. +func (c *Client) CreateCapacityReservationCancellationQuote(ctx context.Context, params *CreateCapacityReservationCancellationQuoteInput, optFns ...func(*Options)) (*CreateCapacityReservationCancellationQuoteOutput, error) { + if params == nil { + params = &CreateCapacityReservationCancellationQuoteInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "CreateCapacityReservationCancellationQuote", params, optFns, c.addOperationCreateCapacityReservationCancellationQuoteMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*CreateCapacityReservationCancellationQuoteOutput) + out.ResultMetadata = metadata + return out, nil +} + +type CreateCapacityReservationCancellationQuoteInput struct { + + // The ID of the Capacity Reservation. + // + // This member is required. + CapacityReservationId *string + + // Unique, case-sensitive identifier that you provide to ensure the idempotency of + // the request. For more information, see [Ensure Idempotency]. + // + // [Ensure Idempotency]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html + ClientToken *string + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have the + // required permissions, the error response is DryRunOperation . Otherwise, it is + // UnauthorizedOperation . + DryRun *bool + + // The tags to apply to the cancellation quote. + TagSpecifications []types.TagSpecification + + noSmithyDocumentSerde +} + +type CreateCapacityReservationCancellationQuoteOutput struct { + + // Information about the Capacity Reservation cancellation quote. + CapacityReservationCancellationQuote *types.CapacityReservationCancellationQuote + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationCreateCapacityReservationCancellationQuoteMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsEc2query_serializeOpCreateCapacityReservationCancellationQuote{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsEc2query_deserializeOpCreateCapacityReservationCancellationQuote{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "CreateCapacityReservationCancellationQuote"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options, c); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = addIdempotencyToken_opCreateCapacityReservationCancellationQuoteMiddleware(stack, options); err != nil { + return err + } + if err = addOpCreateCapacityReservationCancellationQuoteValidationMiddleware(stack); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opCreateCapacityReservationCancellationQuote(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +type idempotencyToken_initializeOpCreateCapacityReservationCancellationQuote struct { + tokenProvider IdempotencyTokenProvider +} + +func (*idempotencyToken_initializeOpCreateCapacityReservationCancellationQuote) ID() string { + return "OperationIdempotencyTokenAutoFill" +} + +func (m *idempotencyToken_initializeOpCreateCapacityReservationCancellationQuote) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + if m.tokenProvider == nil { + return next.HandleInitialize(ctx, in) + } + + input, ok := in.Parameters.(*CreateCapacityReservationCancellationQuoteInput) + if !ok { + return out, metadata, fmt.Errorf("expected middleware input to be of type *CreateCapacityReservationCancellationQuoteInput ") + } + + if input.ClientToken == nil { + t, err := m.tokenProvider.GetIdempotencyToken() + if err != nil { + return out, metadata, err + } + input.ClientToken = &t + } + return next.HandleInitialize(ctx, in) +} +func addIdempotencyToken_opCreateCapacityReservationCancellationQuoteMiddleware(stack *middleware.Stack, cfg Options) error { + return stack.Initialize.Add(&idempotencyToken_initializeOpCreateCapacityReservationCancellationQuote{tokenProvider: cfg.IdempotencyTokenProvider}, middleware.Before) +} + +func newServiceMetadataMiddleware_opCreateCapacityReservationCancellationQuote(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "CreateCapacityReservationCancellationQuote", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go new file mode 100644 index 000000000..d62939130 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_DescribeCapacityReservationCancellationQuotes.go @@ -0,0 +1,174 @@ +// Code generated by smithy-go-codegen DO NOT EDIT. + +package ec2 + +import ( + "context" + "fmt" + awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware" + "github.com/aws/aws-sdk-go-v2/service/ec2/types" + "github.com/aws/smithy-go/middleware" + smithyhttp "github.com/aws/smithy-go/transport/http" +) + +// Describes one or more Capacity Reservation cancellation quotes. The results +// describe only the quotes that you have previously generated by using the +// CreateCapacityReservationCancellationQuote action. +func (c *Client) DescribeCapacityReservationCancellationQuotes(ctx context.Context, params *DescribeCapacityReservationCancellationQuotesInput, optFns ...func(*Options)) (*DescribeCapacityReservationCancellationQuotesOutput, error) { + if params == nil { + params = &DescribeCapacityReservationCancellationQuotesInput{} + } + + result, metadata, err := c.invokeOperation(ctx, "DescribeCapacityReservationCancellationQuotes", params, optFns, c.addOperationDescribeCapacityReservationCancellationQuotesMiddlewares) + if err != nil { + return nil, err + } + + out := result.(*DescribeCapacityReservationCancellationQuotesOutput) + out.ResultMetadata = metadata + return out, nil +} + +type DescribeCapacityReservationCancellationQuotesInput struct { + + // The IDs of the cancellation quotes to describe. + CapacityReservationCancellationQuoteIds []string + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have the + // required permissions, the error response is DryRunOperation . Otherwise, it is + // UnauthorizedOperation . + DryRun *bool + + // One or more filters. Filter names and values are case-sensitive. + Filters []types.Filter + + // The maximum number of items to return for this request. To get the next page of + // items, make another request with the token returned in the output. For more + // information, see [Pagination]. + // + // [Pagination]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination + MaxResults *int32 + + // The token to use to retrieve the next page of results. + NextToken *string + + noSmithyDocumentSerde +} + +type DescribeCapacityReservationCancellationQuotesOutput struct { + + // Information about the Capacity Reservation cancellation quotes. + CapacityReservationCancellationQuotes []types.CapacityReservationCancellationQuote + + // The token to use to retrieve the next page of results. This value is null when + // there are no more results to return. + NextToken *string + + // Metadata pertaining to the operation's result. + ResultMetadata middleware.Metadata + + noSmithyDocumentSerde +} + +func (c *Client) addOperationDescribeCapacityReservationCancellationQuotesMiddlewares(stack *middleware.Stack, options Options) (err error) { + if err := stack.Serialize.Add(&setOperationInputMiddleware{}, middleware.After); err != nil { + return err + } + err = stack.Serialize.Add(&awsEc2query_serializeOpDescribeCapacityReservationCancellationQuotes{}, middleware.After) + if err != nil { + return err + } + err = stack.Deserialize.Add(&awsEc2query_deserializeOpDescribeCapacityReservationCancellationQuotes{}, middleware.After) + if err != nil { + return err + } + if err := addProtocolFinalizerMiddlewares(stack, options, "DescribeCapacityReservationCancellationQuotes"); err != nil { + return fmt.Errorf("add protocol finalizers: %v", err) + } + + if err = addlegacyEndpointContextSetter(stack, options); err != nil { + return err + } + if err = addSetLoggerMiddleware(stack, options); err != nil { + return err + } + if err = addClientRequestID(stack); err != nil { + return err + } + if err = addComputeContentLength(stack); err != nil { + return err + } + if err = addResolveEndpointMiddleware(stack, options); err != nil { + return err + } + if err = addComputePayloadSHA256(stack); err != nil { + return err + } + if err = addRetry(stack, options, c); err != nil { + return err + } + if err = addRawResponseToMetadata(stack); err != nil { + return err + } + if err = addRecordResponseTiming(stack); err != nil { + return err + } + if err = addSpanRetryLoop(stack, options); err != nil { + return err + } + if err = addClientUserAgent(stack, options); err != nil { + return err + } + if err = smithyhttp.AddErrorCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = smithyhttp.AddCloseResponseBodyMiddleware(stack); err != nil { + return err + } + if err = addSetLegacyContextSigningOptionsMiddleware(stack); err != nil { + return err + } + if err = addUserAgentRetryMode(stack, options); err != nil { + return err + } + if err = addCredentialSource(stack, options); err != nil { + return err + } + if err = stack.Initialize.Add(newServiceMetadataMiddleware_opDescribeCapacityReservationCancellationQuotes(options.Region), middleware.Before); err != nil { + return err + } + if err = addRecursionDetection(stack); err != nil { + return err + } + if err = addRequestIDRetrieverMiddleware(stack); err != nil { + return err + } + if err = addResponseErrorMiddleware(stack); err != nil { + return err + } + if err = addRequestResponseLogging(stack, options); err != nil { + return err + } + if err = addDisableHTTPSMiddleware(stack, options); err != nil { + return err + } + if err = addInterceptBeforeRetryLoop(stack, options); err != nil { + return err + } + if err = addInterceptAttempt(stack, options); err != nil { + return err + } + if err = addInterceptors(stack, options); err != nil { + return err + } + return nil +} + +func newServiceMetadataMiddleware_opDescribeCapacityReservationCancellationQuotes(region string) *awsmiddleware.RegisterServiceMetadata { + return &awsmiddleware.RegisterServiceMetadata{ + Region: region, + ServiceID: ServiceID, + OperationName: "DescribeCapacityReservationCancellationQuotes", + } +} diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go index b00354011..31e9abe61 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/api_op_GetCapacityReservationUsage.go @@ -129,6 +129,11 @@ type GetCapacityReservationUsageOutput struct { // 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. + // + // - cancelling - (Future-dated Capacity Reservations) The Capacity Reservation + // is being cancelled. Capacity has been released but charges continue for the + // commitment wind-down period. The reservation transitions to cancelled when the + // wind-down completes. State types.CapacityReservationState // The number of instances for which the Capacity Reservation reserves capacity. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go index dec9afca8..7486518c1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/deserializers.go @@ -20,7 +20,6 @@ import ( "github.com/aws/smithy-go/tracing" smithyhttp "github.com/aws/smithy-go/transport/http" "io" - "io/ioutil" "strconv" "strings" ) @@ -1955,7 +1954,7 @@ func (m *awsEc2query_deserializeOpAssociateDhcpOptions) HandleDeserialize(ctx co output := &AssociateDhcpOptionsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -3547,7 +3546,7 @@ func (m *awsEc2query_deserializeOpAttachInternetGateway) HandleDeserialize(ctx c output := &AttachInternetGatewayOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -4664,7 +4663,7 @@ func (m *awsEc2query_deserializeOpCancelConversionTask) HandleDeserialize(ctx co output := &CancelConversionTaskOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -4831,7 +4830,7 @@ func (m *awsEc2query_deserializeOpCancelExportTask) HandleDeserialize(ctx contex output := &CancelExportTaskOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -6108,6 +6107,101 @@ func awsEc2query_deserializeOpErrorCreateCapacityReservationBySplitting(response } } +type awsEc2query_deserializeOpCreateCapacityReservationCancellationQuote struct { +} + +func (*awsEc2query_deserializeOpCreateCapacityReservationCancellationQuote) ID() string { + return "OperationDeserializer" +} + +func (m *awsEc2query_deserializeOpCreateCapacityReservationCancellationQuote) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsEc2query_deserializeOpErrorCreateCapacityReservationCancellationQuote(response, &metadata) + } + output := &CreateCapacityReservationCancellationQuoteOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsEc2query_deserializeOpDocumentCreateCapacityReservationCancellationQuoteOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsEc2query_deserializeOpErrorCreateCapacityReservationCancellationQuote(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := ec2query.GetErrorResponseComponents(errorBody) + if err != nil { + return err + } + awsmiddleware.SetRequestIDMetadata(metadata, errorComponents.RequestID) + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + type awsEc2query_deserializeOpCreateCapacityReservationFleet struct { } @@ -10223,7 +10317,7 @@ func (m *awsEc2query_deserializeOpCreateNetworkAclEntry) HandleDeserialize(ctx c output := &CreateNetworkAclEntryOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12480,7 +12574,7 @@ func (m *awsEc2query_deserializeOpCreateTags) HandleDeserialize(ctx context.Cont output := &CreateTagsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -15497,7 +15591,7 @@ func (m *awsEc2query_deserializeOpCreateVpnConnectionRoute) HandleDeserialize(ct output := &CreateVpnConnectionRouteOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -16234,7 +16328,7 @@ func (m *awsEc2query_deserializeOpDeleteCustomerGateway) HandleDeserialize(ctx c output := &DeleteCustomerGatewayOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -16306,7 +16400,7 @@ func (m *awsEc2query_deserializeOpDeleteDhcpOptions) HandleDeserialize(ctx conte output := &DeleteDhcpOptionsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -17043,7 +17137,7 @@ func (m *awsEc2query_deserializeOpDeleteInternetGateway) HandleDeserialize(ctx c output := &DeleteInternetGatewayOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -18920,7 +19014,7 @@ func (m *awsEc2query_deserializeOpDeleteNetworkAcl) HandleDeserialize(ctx contex output := &DeleteNetworkAclOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -18992,7 +19086,7 @@ func (m *awsEc2query_deserializeOpDeleteNetworkAclEntry) HandleDeserialize(ctx c output := &DeleteNetworkAclEntryOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -19444,7 +19538,7 @@ func (m *awsEc2query_deserializeOpDeleteNetworkInterface) HandleDeserialize(ctx output := &DeleteNetworkInterfaceOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -19611,7 +19705,7 @@ func (m *awsEc2query_deserializeOpDeletePlacementGroup) HandleDeserialize(ctx co output := &DeletePlacementGroupOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -19873,7 +19967,7 @@ func (m *awsEc2query_deserializeOpDeleteRoute) HandleDeserialize(ctx context.Con output := &DeleteRouteOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -20230,7 +20324,7 @@ func (m *awsEc2query_deserializeOpDeleteRouteTable) HandleDeserialize(ctx contex output := &DeleteRouteTableOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -20587,7 +20681,7 @@ func (m *awsEc2query_deserializeOpDeleteSnapshot) HandleDeserialize(ctx context. output := &DeleteSnapshotOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -20659,7 +20753,7 @@ func (m *awsEc2query_deserializeOpDeleteSpotDatafeedSubscription) HandleDeserial output := &DeleteSpotDatafeedSubscriptionOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -20731,7 +20825,7 @@ func (m *awsEc2query_deserializeOpDeleteSubnet) HandleDeserialize(ctx context.Co output := &DeleteSubnetOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -20898,7 +20992,7 @@ func (m *awsEc2query_deserializeOpDeleteTags) HandleDeserialize(ctx context.Cont output := &DeleteTagsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -23060,7 +23154,7 @@ func (m *awsEc2query_deserializeOpDeleteVolume) HandleDeserialize(ctx context.Co output := &DeleteVolumeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -23132,7 +23226,7 @@ func (m *awsEc2query_deserializeOpDeleteVpc) HandleDeserialize(ctx context.Conte output := &DeleteVpcOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -23869,7 +23963,7 @@ func (m *awsEc2query_deserializeOpDeleteVpnConnection) HandleDeserialize(ctx con output := &DeleteVpnConnectionOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -23941,7 +24035,7 @@ func (m *awsEc2query_deserializeOpDeleteVpnConnectionRoute) HandleDeserialize(ct output := &DeleteVpnConnectionRouteOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -24013,7 +24107,7 @@ func (m *awsEc2query_deserializeOpDeleteVpnGateway) HandleDeserialize(ctx contex output := &DeleteVpnGatewayOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -26335,14 +26429,14 @@ func awsEc2query_deserializeOpErrorDescribeCapacityReservationBillingRequests(re } } -type awsEc2query_deserializeOpDescribeCapacityReservationFleets struct { +type awsEc2query_deserializeOpDescribeCapacityReservationCancellationQuotes struct { } -func (*awsEc2query_deserializeOpDescribeCapacityReservationFleets) ID() string { +func (*awsEc2query_deserializeOpDescribeCapacityReservationCancellationQuotes) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeCapacityReservationFleets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeCapacityReservationCancellationQuotes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26360,9 +26454,9 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservationFleets) HandleDeser } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservationFleets(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservationCancellationQuotes(response, &metadata) } - output := &DescribeCapacityReservationFleetsOutput{} + output := &DescribeCapacityReservationCancellationQuotesOutput{} out.Result = output var buff [1024]byte @@ -26383,7 +26477,7 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservationFleets) HandleDeser } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationFleetsOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationCancellationQuotesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26397,7 +26491,7 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservationFleets) HandleDeser return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeCapacityReservationFleets(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeCapacityReservationCancellationQuotes(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26430,14 +26524,14 @@ func awsEc2query_deserializeOpErrorDescribeCapacityReservationFleets(response *s } } -type awsEc2query_deserializeOpDescribeCapacityReservations struct { +type awsEc2query_deserializeOpDescribeCapacityReservationFleets struct { } -func (*awsEc2query_deserializeOpDescribeCapacityReservations) ID() string { +func (*awsEc2query_deserializeOpDescribeCapacityReservationFleets) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeCapacityReservations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeCapacityReservationFleets) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26455,9 +26549,9 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservations) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservations(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservationFleets(response, &metadata) } - output := &DescribeCapacityReservationsOutput{} + output := &DescribeCapacityReservationFleetsOutput{} out.Result = output var buff [1024]byte @@ -26478,7 +26572,7 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservations) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationsOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationFleetsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26492,7 +26586,7 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservations) HandleDeserializ return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeCapacityReservations(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeCapacityReservationFleets(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26525,14 +26619,14 @@ func awsEc2query_deserializeOpErrorDescribeCapacityReservations(response *smithy } } -type awsEc2query_deserializeOpDescribeCapacityReservationTopology struct { +type awsEc2query_deserializeOpDescribeCapacityReservations struct { } -func (*awsEc2query_deserializeOpDescribeCapacityReservationTopology) ID() string { +func (*awsEc2query_deserializeOpDescribeCapacityReservations) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeCapacityReservationTopology) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeCapacityReservations) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26550,9 +26644,9 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservationTopology) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservationTopology(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservations(response, &metadata) } - output := &DescribeCapacityReservationTopologyOutput{} + output := &DescribeCapacityReservationsOutput{} out.Result = output var buff [1024]byte @@ -26573,7 +26667,7 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservationTopology) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationTopologyOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26587,7 +26681,7 @@ func (m *awsEc2query_deserializeOpDescribeCapacityReservationTopology) HandleDes return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeCapacityReservationTopology(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeCapacityReservations(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26620,14 +26714,14 @@ func awsEc2query_deserializeOpErrorDescribeCapacityReservationTopology(response } } -type awsEc2query_deserializeOpDescribeCarrierGateways struct { +type awsEc2query_deserializeOpDescribeCapacityReservationTopology struct { } -func (*awsEc2query_deserializeOpDescribeCarrierGateways) ID() string { +func (*awsEc2query_deserializeOpDescribeCapacityReservationTopology) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeCarrierGateways) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeCapacityReservationTopology) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26645,9 +26739,9 @@ func (m *awsEc2query_deserializeOpDescribeCarrierGateways) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeCarrierGateways(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeCapacityReservationTopology(response, &metadata) } - output := &DescribeCarrierGatewaysOutput{} + output := &DescribeCapacityReservationTopologyOutput{} out.Result = output var buff [1024]byte @@ -26668,7 +26762,7 @@ func (m *awsEc2query_deserializeOpDescribeCarrierGateways) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeCarrierGatewaysOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeCapacityReservationTopologyOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26682,7 +26776,7 @@ func (m *awsEc2query_deserializeOpDescribeCarrierGateways) HandleDeserialize(ctx return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeCarrierGateways(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeCapacityReservationTopology(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26715,14 +26809,14 @@ func awsEc2query_deserializeOpErrorDescribeCarrierGateways(response *smithyhttp. } } -type awsEc2query_deserializeOpDescribeClassicLinkInstances struct { +type awsEc2query_deserializeOpDescribeCarrierGateways struct { } -func (*awsEc2query_deserializeOpDescribeClassicLinkInstances) ID() string { +func (*awsEc2query_deserializeOpDescribeCarrierGateways) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeClassicLinkInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeCarrierGateways) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26740,9 +26834,9 @@ func (m *awsEc2query_deserializeOpDescribeClassicLinkInstances) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeClassicLinkInstances(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeCarrierGateways(response, &metadata) } - output := &DescribeClassicLinkInstancesOutput{} + output := &DescribeCarrierGatewaysOutput{} out.Result = output var buff [1024]byte @@ -26763,7 +26857,7 @@ func (m *awsEc2query_deserializeOpDescribeClassicLinkInstances) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeClassicLinkInstancesOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeCarrierGatewaysOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26777,7 +26871,7 @@ func (m *awsEc2query_deserializeOpDescribeClassicLinkInstances) HandleDeserializ return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeClassicLinkInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeCarrierGateways(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26810,14 +26904,14 @@ func awsEc2query_deserializeOpErrorDescribeClassicLinkInstances(response *smithy } } -type awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules struct { +type awsEc2query_deserializeOpDescribeClassicLinkInstances struct { } -func (*awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) ID() string { +func (*awsEc2query_deserializeOpDescribeClassicLinkInstances) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeClassicLinkInstances) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26835,9 +26929,9 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) HandleDes } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnAuthorizationRules(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeClassicLinkInstances(response, &metadata) } - output := &DescribeClientVpnAuthorizationRulesOutput{} + output := &DescribeClassicLinkInstancesOutput{} out.Result = output var buff [1024]byte @@ -26858,7 +26952,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) HandleDes } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeClientVpnAuthorizationRulesOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeClassicLinkInstancesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26872,7 +26966,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) HandleDes return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeClientVpnAuthorizationRules(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeClassicLinkInstances(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -26905,14 +26999,14 @@ func awsEc2query_deserializeOpErrorDescribeClientVpnAuthorizationRules(response } } -type awsEc2query_deserializeOpDescribeClientVpnConnections struct { +type awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules struct { } -func (*awsEc2query_deserializeOpDescribeClientVpnConnections) ID() string { +func (*awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeClientVpnConnections) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeClientVpnAuthorizationRules) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -26930,9 +27024,9 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnConnections) HandleDeserializ } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnConnections(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnAuthorizationRules(response, &metadata) } - output := &DescribeClientVpnConnectionsOutput{} + output := &DescribeClientVpnAuthorizationRulesOutput{} out.Result = output var buff [1024]byte @@ -26953,7 +27047,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnConnections) HandleDeserializ } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeClientVpnConnectionsOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeClientVpnAuthorizationRulesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -26967,7 +27061,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnConnections) HandleDeserializ return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeClientVpnConnections(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeClientVpnAuthorizationRules(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -27000,14 +27094,14 @@ func awsEc2query_deserializeOpErrorDescribeClientVpnConnections(response *smithy } } -type awsEc2query_deserializeOpDescribeClientVpnEndpoints struct { +type awsEc2query_deserializeOpDescribeClientVpnConnections struct { } -func (*awsEc2query_deserializeOpDescribeClientVpnEndpoints) ID() string { +func (*awsEc2query_deserializeOpDescribeClientVpnConnections) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeClientVpnEndpoints) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeClientVpnConnections) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -27025,9 +27119,9 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnEndpoints) HandleDeserialize( } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnEndpoints(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnConnections(response, &metadata) } - output := &DescribeClientVpnEndpointsOutput{} + output := &DescribeClientVpnConnectionsOutput{} out.Result = output var buff [1024]byte @@ -27048,7 +27142,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnEndpoints) HandleDeserialize( } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeClientVpnEndpointsOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeClientVpnConnectionsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -27062,7 +27156,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnEndpoints) HandleDeserialize( return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeClientVpnEndpoints(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeClientVpnConnections(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -27095,14 +27189,14 @@ func awsEc2query_deserializeOpErrorDescribeClientVpnEndpoints(response *smithyht } } -type awsEc2query_deserializeOpDescribeClientVpnRoutes struct { +type awsEc2query_deserializeOpDescribeClientVpnEndpoints struct { } -func (*awsEc2query_deserializeOpDescribeClientVpnRoutes) ID() string { +func (*awsEc2query_deserializeOpDescribeClientVpnEndpoints) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeClientVpnRoutes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeClientVpnEndpoints) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -27120,9 +27214,9 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnRoutes) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnRoutes(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnEndpoints(response, &metadata) } - output := &DescribeClientVpnRoutesOutput{} + output := &DescribeClientVpnEndpointsOutput{} out.Result = output var buff [1024]byte @@ -27143,7 +27237,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnRoutes) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeClientVpnRoutesOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeClientVpnEndpointsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -27157,7 +27251,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnRoutes) HandleDeserialize(ctx return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeClientVpnRoutes(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeClientVpnEndpoints(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -27190,14 +27284,14 @@ func awsEc2query_deserializeOpErrorDescribeClientVpnRoutes(response *smithyhttp. } } -type awsEc2query_deserializeOpDescribeClientVpnTargetNetworks struct { +type awsEc2query_deserializeOpDescribeClientVpnRoutes struct { } -func (*awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) ID() string { +func (*awsEc2query_deserializeOpDescribeClientVpnRoutes) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeClientVpnRoutes) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -27215,9 +27309,9 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) HandleDeseria } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnTargetNetworks(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnRoutes(response, &metadata) } - output := &DescribeClientVpnTargetNetworksOutput{} + output := &DescribeClientVpnRoutesOutput{} out.Result = output var buff [1024]byte @@ -27238,7 +27332,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) HandleDeseria } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeClientVpnTargetNetworksOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeClientVpnRoutesOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -27252,7 +27346,7 @@ func (m *awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) HandleDeseria return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeClientVpnTargetNetworks(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeClientVpnRoutes(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -27285,14 +27379,14 @@ func awsEc2query_deserializeOpErrorDescribeClientVpnTargetNetworks(response *smi } } -type awsEc2query_deserializeOpDescribeCoipPools struct { +type awsEc2query_deserializeOpDescribeClientVpnTargetNetworks struct { } -func (*awsEc2query_deserializeOpDescribeCoipPools) ID() string { +func (*awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeCoipPools) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeClientVpnTargetNetworks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -27310,9 +27404,9 @@ func (m *awsEc2query_deserializeOpDescribeCoipPools) HandleDeserialize(ctx conte } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeCoipPools(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeClientVpnTargetNetworks(response, &metadata) } - output := &DescribeCoipPoolsOutput{} + output := &DescribeClientVpnTargetNetworksOutput{} out.Result = output var buff [1024]byte @@ -27333,7 +27427,7 @@ func (m *awsEc2query_deserializeOpDescribeCoipPools) HandleDeserialize(ctx conte } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeCoipPoolsOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeClientVpnTargetNetworksOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -27347,7 +27441,7 @@ func (m *awsEc2query_deserializeOpDescribeCoipPools) HandleDeserialize(ctx conte return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeCoipPools(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeClientVpnTargetNetworks(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -27380,14 +27474,14 @@ func awsEc2query_deserializeOpErrorDescribeCoipPools(response *smithyhttp.Respon } } -type awsEc2query_deserializeOpDescribeConversionTasks struct { +type awsEc2query_deserializeOpDescribeCoipPools struct { } -func (*awsEc2query_deserializeOpDescribeConversionTasks) ID() string { +func (*awsEc2query_deserializeOpDescribeCoipPools) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeConversionTasks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeCoipPools) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -27405,9 +27499,9 @@ func (m *awsEc2query_deserializeOpDescribeConversionTasks) HandleDeserialize(ctx } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeConversionTasks(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeCoipPools(response, &metadata) } - output := &DescribeConversionTasksOutput{} + output := &DescribeCoipPoolsOutput{} out.Result = output var buff [1024]byte @@ -27428,7 +27522,7 @@ func (m *awsEc2query_deserializeOpDescribeConversionTasks) HandleDeserialize(ctx } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeConversionTasksOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeCoipPoolsOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -27442,7 +27536,7 @@ func (m *awsEc2query_deserializeOpDescribeConversionTasks) HandleDeserialize(ctx return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeConversionTasks(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeCoipPools(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -27475,14 +27569,14 @@ func awsEc2query_deserializeOpErrorDescribeConversionTasks(response *smithyhttp. } } -type awsEc2query_deserializeOpDescribeCustomerGateways struct { +type awsEc2query_deserializeOpDescribeConversionTasks struct { } -func (*awsEc2query_deserializeOpDescribeCustomerGateways) ID() string { +func (*awsEc2query_deserializeOpDescribeConversionTasks) ID() string { return "OperationDeserializer" } -func (m *awsEc2query_deserializeOpDescribeCustomerGateways) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( +func (m *awsEc2query_deserializeOpDescribeConversionTasks) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( out middleware.DeserializeOutput, metadata middleware.Metadata, err error, ) { out, metadata, err = next.HandleDeserialize(ctx, in) @@ -27500,9 +27594,9 @@ func (m *awsEc2query_deserializeOpDescribeCustomerGateways) HandleDeserialize(ct } if response.StatusCode < 200 || response.StatusCode >= 300 { - return out, metadata, awsEc2query_deserializeOpErrorDescribeCustomerGateways(response, &metadata) + return out, metadata, awsEc2query_deserializeOpErrorDescribeConversionTasks(response, &metadata) } - output := &DescribeCustomerGatewaysOutput{} + output := &DescribeConversionTasksOutput{} out.Result = output var buff [1024]byte @@ -27523,7 +27617,7 @@ func (m *awsEc2query_deserializeOpDescribeCustomerGateways) HandleDeserialize(ct } decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) - err = awsEc2query_deserializeOpDocumentDescribeCustomerGatewaysOutput(&output, decoder) + err = awsEc2query_deserializeOpDocumentDescribeConversionTasksOutput(&output, decoder) if err != nil { var snapshot bytes.Buffer io.Copy(&snapshot, ringBuffer) @@ -27537,7 +27631,102 @@ func (m *awsEc2query_deserializeOpDescribeCustomerGateways) HandleDeserialize(ct return out, metadata, err } -func awsEc2query_deserializeOpErrorDescribeCustomerGateways(response *smithyhttp.Response, metadata *middleware.Metadata) error { +func awsEc2query_deserializeOpErrorDescribeConversionTasks(response *smithyhttp.Response, metadata *middleware.Metadata) error { + var errorBuffer bytes.Buffer + if _, err := io.Copy(&errorBuffer, response.Body); err != nil { + return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} + } + errorBody := bytes.NewReader(errorBuffer.Bytes()) + + errorCode := "UnknownError" + errorMessage := errorCode + + errorComponents, err := ec2query.GetErrorResponseComponents(errorBody) + if err != nil { + return err + } + awsmiddleware.SetRequestIDMetadata(metadata, errorComponents.RequestID) + if len(errorComponents.Code) != 0 { + errorCode = errorComponents.Code + } + if len(errorComponents.Message) != 0 { + errorMessage = errorComponents.Message + } + errorBody.Seek(0, io.SeekStart) + switch { + default: + genericError := &smithy.GenericAPIError{ + Code: errorCode, + Message: errorMessage, + } + return genericError + + } +} + +type awsEc2query_deserializeOpDescribeCustomerGateways struct { +} + +func (*awsEc2query_deserializeOpDescribeCustomerGateways) ID() string { + return "OperationDeserializer" +} + +func (m *awsEc2query_deserializeOpDescribeCustomerGateways) HandleDeserialize(ctx context.Context, in middleware.DeserializeInput, next middleware.DeserializeHandler) ( + out middleware.DeserializeOutput, metadata middleware.Metadata, err error, +) { + out, metadata, err = next.HandleDeserialize(ctx, in) + if err != nil { + return out, metadata, err + } + + _, span := tracing.StartSpan(ctx, "OperationDeserializer") + endTimer := startMetricTimer(ctx, "client.call.deserialization_duration") + defer endTimer() + defer span.End() + response, ok := out.RawResponse.(*smithyhttp.Response) + if !ok { + return out, metadata, &smithy.DeserializationError{Err: fmt.Errorf("unknown transport type %T", out.RawResponse)} + } + + if response.StatusCode < 200 || response.StatusCode >= 300 { + return out, metadata, awsEc2query_deserializeOpErrorDescribeCustomerGateways(response, &metadata) + } + output := &DescribeCustomerGatewaysOutput{} + out.Result = output + + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + body := io.TeeReader(response.Body, ringBuffer) + rootDecoder := xml.NewDecoder(body) + t, err := smithyxml.FetchRootElement(rootDecoder) + if err == io.EOF { + return out, metadata, nil + } + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + return out, metadata, &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + } + + decoder := smithyxml.WrapNodeDecoder(rootDecoder, t) + err = awsEc2query_deserializeOpDocumentDescribeCustomerGatewaysOutput(&output, decoder) + if err != nil { + var snapshot bytes.Buffer + io.Copy(&snapshot, ringBuffer) + err = &smithy.DeserializationError{ + Err: fmt.Errorf("failed to decode response body, %w", err), + Snapshot: snapshot.Bytes(), + } + return out, metadata, err + } + + return out, metadata, err +} + +func awsEc2query_deserializeOpErrorDescribeCustomerGateways(response *smithyhttp.Response, metadata *middleware.Metadata) error { var errorBuffer bytes.Buffer if _, err := io.Copy(&errorBuffer, response.Body); err != nil { return &smithy.DeserializationError{Err: fmt.Errorf("failed to copy error response body, %w", err)} @@ -42610,7 +42799,7 @@ func (m *awsEc2query_deserializeOpDetachInternetGateway) HandleDeserialize(ctx c output := &DetachInternetGatewayOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -42682,7 +42871,7 @@ func (m *awsEc2query_deserializeOpDetachNetworkInterface) HandleDeserialize(ctx output := &DetachNetworkInterfaceOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -42944,7 +43133,7 @@ func (m *awsEc2query_deserializeOpDetachVpnGateway) HandleDeserialize(ctx contex output := &DetachVpnGatewayOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -44726,7 +44915,7 @@ func (m *awsEc2query_deserializeOpDisableVgwRoutePropagation) HandleDeserialize( output := &DisableVgwRoutePropagationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -44988,7 +45177,7 @@ func (m *awsEc2query_deserializeOpDisassociateAddress) HandleDeserialize(ctx con output := &DisassociateAddressOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -45915,7 +46104,7 @@ func (m *awsEc2query_deserializeOpDisassociateRouteTable) HandleDeserialize(ctx output := &DisassociateRouteTableOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -48457,7 +48646,7 @@ func (m *awsEc2query_deserializeOpEnableVgwRoutePropagation) HandleDeserialize(c output := &EnableVgwRoutePropagationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -48529,7 +48718,7 @@ func (m *awsEc2query_deserializeOpEnableVolumeIO) HandleDeserialize(ctx context. output := &EnableVolumeIOOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -57816,7 +58005,7 @@ func (m *awsEc2query_deserializeOpModifyIdentityIdFormat) HandleDeserialize(ctx output := &ModifyIdentityIdFormatOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -57888,7 +58077,7 @@ func (m *awsEc2query_deserializeOpModifyIdFormat) HandleDeserialize(ctx context. output := &ModifyIdFormatOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -57960,7 +58149,7 @@ func (m *awsEc2query_deserializeOpModifyImageAttribute) HandleDeserialize(ctx co output := &ModifyImageAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -58032,7 +58221,7 @@ func (m *awsEc2query_deserializeOpModifyInstanceAttribute) HandleDeserialize(ctx output := &ModifyInstanceAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -60384,7 +60573,7 @@ func (m *awsEc2query_deserializeOpModifyNetworkInterfaceAttribute) HandleDeseria output := &ModifyNetworkInterfaceAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -60931,7 +61120,7 @@ func (m *awsEc2query_deserializeOpModifySnapshotAttribute) HandleDeserialize(ctx output := &ModifySnapshotAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -61193,7 +61382,7 @@ func (m *awsEc2query_deserializeOpModifySubnetAttribute) HandleDeserialize(ctx c output := &ModifySubnetAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -62690,7 +62879,7 @@ func (m *awsEc2query_deserializeOpModifyVolumeAttribute) HandleDeserialize(ctx c output := &ModifyVolumeAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -62762,7 +62951,7 @@ func (m *awsEc2query_deserializeOpModifyVpcAttribute) HandleDeserialize(ctx cont output := &ModifyVpcAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -65399,7 +65588,7 @@ func (m *awsEc2query_deserializeOpRebootInstances) HandleDeserialize(ctx context output := &RebootInstancesOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -66516,7 +66705,7 @@ func (m *awsEc2query_deserializeOpReleaseAddress) HandleDeserialize(ctx context. output := &ReleaseAddressOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -67063,7 +67252,7 @@ func (m *awsEc2query_deserializeOpReplaceNetworkAclEntry) HandleDeserialize(ctx output := &ReplaceNetworkAclEntryOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -67135,7 +67324,7 @@ func (m *awsEc2query_deserializeOpReplaceRoute) HandleDeserialize(ctx context.Co output := &ReplaceRouteOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -67492,7 +67681,7 @@ func (m *awsEc2query_deserializeOpReportInstanceStatus) HandleDeserialize(ctx co output := &ReportInstanceStatusOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -68039,7 +68228,7 @@ func (m *awsEc2query_deserializeOpResetImageAttribute) HandleDeserialize(ctx con output := &ResetImageAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -68111,7 +68300,7 @@ func (m *awsEc2query_deserializeOpResetInstanceAttribute) HandleDeserialize(ctx output := &ResetInstanceAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -68183,7 +68372,7 @@ func (m *awsEc2query_deserializeOpResetNetworkInterfaceAttribute) HandleDeserial output := &ResetNetworkInterfaceAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -68255,7 +68444,7 @@ func (m *awsEc2query_deserializeOpResetSnapshotAttribute) HandleDeserialize(ctx output := &ResetSnapshotAttributeOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -69657,7 +69846,7 @@ func (m *awsEc2query_deserializeOpSendDiagnosticInterrupt) HandleDeserialize(ctx output := &SendDiagnosticInterruptOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -70584,7 +70773,7 @@ func (m *awsEc2query_deserializeOpUnassignPrivateIpAddresses) HandleDeserialize( output := &UnassignPrivateIpAddressesOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -78382,6 +78571,187 @@ func awsEc2query_deserializeDocumentCancelCapacityReservationFleetError(v **type return nil } +func awsEc2query_deserializeDocumentCancellationTerms(v **types.CancellationTerms, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CancellationTerms + if *v == nil { + sv = &types.CancellationTerms{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("cancellationType", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.CancellationType = types.ApplyCancellationCharges(xtv) + } + + case strings.EqualFold("chargeCommitmentDurationHours", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.ChargeCommitmentDurationHours = ptr.Int64(i64) + } + + case strings.EqualFold("chargeEndDate", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.ChargeEndDate = ptr.Time(t) + } + + case strings.EqualFold("committedInstanceCount", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.CommittedInstanceCount = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("reservationState", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ReservationState = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsEc2query_deserializeDocumentCancellationTermsSet(v *[]types.CancellationTerms, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv []types.CancellationTerms + if *v == nil { + sv = make([]types.CancellationTerms, 0) + } else { + sv = *v + } + + originalDecoder := decoder + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + switch { + case strings.EqualFold("item", t.Name.Local): + var col types.CancellationTerms + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsEc2query_deserializeDocumentCancellationTerms(&destAddr, nodeDecoder); err != nil { + return err + } + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsEc2query_deserializeDocumentCancellationTermsSetUnwrapped(v *[]types.CancellationTerms, decoder smithyxml.NodeDecoder) error { + var sv []types.CancellationTerms + if *v == nil { + sv = make([]types.CancellationTerms, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.CancellationTerms + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsEc2query_deserializeDocumentCancellationTerms(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} func awsEc2query_deserializeDocumentCancelledSpotInstanceRequest(v **types.CancelledSpotInstanceRequest, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -81713,17 +82083,142 @@ func awsEc2query_deserializeDocumentCapacityReservation(v **types.CapacityReserv return nil } -func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types.CapacityReservationBillingRequest, decoder smithyxml.NodeDecoder) error { +func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types.CapacityReservationBillingRequest, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CapacityReservationBillingRequest + if *v == nil { + sv = &types.CapacityReservationBillingRequest{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("capacityReservationId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.CapacityReservationId = ptr.String(xtv) + } + + case strings.EqualFold("capacityReservationInfo", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentCapacityReservationInfo(&sv.CapacityReservationInfo, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("lastUpdateTime", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.LastUpdateTime = ptr.Time(t) + } + + case strings.EqualFold("requestedBy", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.RequestedBy = ptr.String(xtv) + } + + case strings.EqualFold("status", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.Status = types.CapacityReservationBillingRequestStatus(xtv) + } + + case strings.EqualFold("statusMessage", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.StatusMessage = ptr.String(xtv) + } + + case strings.EqualFold("unusedReservationBillingOwnerId", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.UnusedReservationBillingOwnerId = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsEc2query_deserializeDocumentCapacityReservationBillingRequestSet(v *[]types.CapacityReservationBillingRequest, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv *types.CapacityReservationBillingRequest + var sv []types.CapacityReservationBillingRequest if *v == nil { - sv = &types.CapacityReservationBillingRequest{} + sv = make([]types.CapacityReservationBillingRequest, 0) } else { sv = *v } + originalDecoder := decoder for { t, done, err := decoder.Token() if err != nil { @@ -81732,29 +82227,83 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. if done { break } - originalDecoder := decoder - decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) switch { - case strings.EqualFold("capacityReservationId", t.Name.Local): - val, err := decoder.Value() - if err != nil { + case strings.EqualFold("item", t.Name.Local): + var col types.CapacityReservationBillingRequest + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &col + if err := awsEc2query_deserializeDocumentCapacityReservationBillingRequest(&destAddr, nodeDecoder); err != nil { return err } - if val == nil { - break - } - { - xtv := string(val) - sv.CapacityReservationId = ptr.String(xtv) + col = *destAddr + sv = append(sv, col) + + default: + err = decoder.Decoder.Skip() + if err != nil { + return err } - case strings.EqualFold("capacityReservationInfo", t.Name.Local): + } + decoder = originalDecoder + } + *v = sv + return nil +} + +func awsEc2query_deserializeDocumentCapacityReservationBillingRequestSetUnwrapped(v *[]types.CapacityReservationBillingRequest, decoder smithyxml.NodeDecoder) error { + var sv []types.CapacityReservationBillingRequest + if *v == nil { + sv = make([]types.CapacityReservationBillingRequest, 0) + } else { + sv = *v + } + + switch { + default: + var mv types.CapacityReservationBillingRequest + t := decoder.StartEl + _ = t + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + destAddr := &mv + if err := awsEc2query_deserializeDocumentCapacityReservationBillingRequest(&destAddr, nodeDecoder); err != nil { + return err + } + mv = *destAddr + sv = append(sv, mv) + } + *v = sv + return nil +} +func awsEc2query_deserializeDocumentCapacityReservationCancellationQuote(v **types.CapacityReservationCancellationQuote, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CapacityReservationCancellationQuote + if *v == nil { + sv = &types.CapacityReservationCancellationQuote{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("cancellationTermSet", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) - if err := awsEc2query_deserializeDocumentCapacityReservationInfo(&sv.CapacityReservationInfo, nodeDecoder); err != nil { + if err := awsEc2query_deserializeDocumentCancellationTermsSet(&sv.CancellationTerms, nodeDecoder); err != nil { return err } - case strings.EqualFold("lastUpdateTime", t.Name.Local): + case strings.EqualFold("capacityReservationCancellationQuoteId", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -81764,14 +82313,10 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. } { xtv := string(val) - t, err := smithytime.ParseDateTime(xtv) - if err != nil { - return err - } - sv.LastUpdateTime = ptr.Time(t) + sv.CapacityReservationCancellationQuoteId = ptr.String(xtv) } - case strings.EqualFold("requestedBy", t.Name.Local): + case strings.EqualFold("capacityReservationId", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -81781,10 +82326,10 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. } { xtv := string(val) - sv.RequestedBy = ptr.String(xtv) + sv.CapacityReservationId = ptr.String(xtv) } - case strings.EqualFold("status", t.Name.Local): + case strings.EqualFold("createTime", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -81794,10 +82339,20 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. } { xtv := string(val) - sv.Status = types.CapacityReservationBillingRequestStatus(xtv) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.CreateTime = ptr.Time(t) } - case strings.EqualFold("statusMessage", t.Name.Local): + case strings.EqualFold("currentConfiguration", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentCapacityReservationConfiguration(&sv.CurrentConfiguration, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("expirationTime", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -81807,10 +82362,14 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. } { xtv := string(val) - sv.StatusMessage = ptr.String(xtv) + t, err := smithytime.ParseDateTime(xtv) + if err != nil { + return err + } + sv.ExpirationTime = ptr.Time(t) } - case strings.EqualFold("unusedReservationBillingOwnerId", t.Name.Local): + case strings.EqualFold("quoteState", t.Name.Local): val, err := decoder.Value() if err != nil { return err @@ -81820,7 +82379,13 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. } { xtv := string(val) - sv.UnusedReservationBillingOwnerId = ptr.String(xtv) + sv.QuoteState = types.CapacityReservationCancellationQuoteState(xtv) + } + + case strings.EqualFold("tagSet", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentTagList(&sv.Tags, nodeDecoder); err != nil { + return err } default: @@ -81837,13 +82402,13 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequest(v **types. return nil } -func awsEc2query_deserializeDocumentCapacityReservationBillingRequestSet(v *[]types.CapacityReservationBillingRequest, decoder smithyxml.NodeDecoder) error { +func awsEc2query_deserializeDocumentCapacityReservationCancellationQuoteResponseSet(v *[]types.CapacityReservationCancellationQuote, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) } - var sv []types.CapacityReservationBillingRequest + var sv []types.CapacityReservationCancellationQuote if *v == nil { - sv = make([]types.CapacityReservationBillingRequest, 0) + sv = make([]types.CapacityReservationCancellationQuote, 0) } else { sv = *v } @@ -81859,10 +82424,10 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequestSet(v *[]ty } switch { case strings.EqualFold("item", t.Name.Local): - var col types.CapacityReservationBillingRequest + var col types.CapacityReservationCancellationQuote nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &col - if err := awsEc2query_deserializeDocumentCapacityReservationBillingRequest(&destAddr, nodeDecoder); err != nil { + if err := awsEc2query_deserializeDocumentCapacityReservationCancellationQuote(&destAddr, nodeDecoder); err != nil { return err } col = *destAddr @@ -81881,22 +82446,22 @@ func awsEc2query_deserializeDocumentCapacityReservationBillingRequestSet(v *[]ty return nil } -func awsEc2query_deserializeDocumentCapacityReservationBillingRequestSetUnwrapped(v *[]types.CapacityReservationBillingRequest, decoder smithyxml.NodeDecoder) error { - var sv []types.CapacityReservationBillingRequest +func awsEc2query_deserializeDocumentCapacityReservationCancellationQuoteResponseSetUnwrapped(v *[]types.CapacityReservationCancellationQuote, decoder smithyxml.NodeDecoder) error { + var sv []types.CapacityReservationCancellationQuote if *v == nil { - sv = make([]types.CapacityReservationBillingRequest, 0) + sv = make([]types.CapacityReservationCancellationQuote, 0) } else { sv = *v } switch { default: - var mv types.CapacityReservationBillingRequest + var mv types.CapacityReservationCancellationQuote t := decoder.StartEl _ = t nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) destAddr := &mv - if err := awsEc2query_deserializeDocumentCapacityReservationBillingRequest(&destAddr, nodeDecoder); err != nil { + if err := awsEc2query_deserializeDocumentCapacityReservationCancellationQuote(&destAddr, nodeDecoder); err != nil { return err } mv = *destAddr @@ -81975,6 +82540,72 @@ func awsEc2query_deserializeDocumentCapacityReservationCommitmentInfo(v **types. return nil } +func awsEc2query_deserializeDocumentCapacityReservationConfiguration(v **types.CapacityReservationConfiguration, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *types.CapacityReservationConfiguration + if *v == nil { + sv = &types.CapacityReservationConfiguration{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("instanceCount", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + i64, err := strconv.ParseInt(xtv, 10, 64) + if err != nil { + return err + } + sv.InstanceCount = ptr.Int32(int32(i64)) + } + + case strings.EqualFold("reservationState", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ReservationState = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsEc2query_deserializeDocumentCapacityReservationFleet(v **types.CapacityReservationFleet, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -181556,6 +182187,48 @@ func awsEc2query_deserializeOpDocumentCreateCapacityReservationBySplittingOutput return nil } +func awsEc2query_deserializeOpDocumentCreateCapacityReservationCancellationQuoteOutput(v **CreateCapacityReservationCancellationQuoteOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *CreateCapacityReservationCancellationQuoteOutput + if *v == nil { + sv = &CreateCapacityReservationCancellationQuoteOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("capacityReservationCancellationQuote", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentCapacityReservationCancellationQuote(&sv.CapacityReservationCancellationQuote, nodeDecoder); err != nil { + return err + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsEc2query_deserializeOpDocumentCreateCapacityReservationFleetOutput(v **CreateCapacityReservationFleetOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -191487,6 +192160,61 @@ func awsEc2query_deserializeOpDocumentDescribeCapacityReservationBillingRequests return nil } +func awsEc2query_deserializeOpDocumentDescribeCapacityReservationCancellationQuotesOutput(v **DescribeCapacityReservationCancellationQuotesOutput, decoder smithyxml.NodeDecoder) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + var sv *DescribeCapacityReservationCancellationQuotesOutput + if *v == nil { + sv = &DescribeCapacityReservationCancellationQuotesOutput{} + } else { + sv = *v + } + + for { + t, done, err := decoder.Token() + if err != nil { + return err + } + if done { + break + } + originalDecoder := decoder + decoder = smithyxml.WrapNodeDecoder(originalDecoder.Decoder, t) + switch { + case strings.EqualFold("capacityReservationCancellationQuoteSet", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentCapacityReservationCancellationQuoteResponseSet(&sv.CapacityReservationCancellationQuotes, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("nextToken", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.NextToken = ptr.String(xtv) + } + + default: + // Do nothing and ignore the unexpected tag element + err = decoder.Decoder.Skip() + if err != nil { + return err + } + + } + decoder = originalDecoder + } + *v = sv + return nil +} + func awsEc2query_deserializeOpDocumentDescribeCapacityReservationFleetsOutput(v **DescribeCapacityReservationFleetsOutput, decoder smithyxml.NodeDecoder) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json index 0ad92b5bd..6af3d4f03 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/generated.json @@ -76,6 +76,7 @@ "api_op_CreateCapacityManagerDataExport.go", "api_op_CreateCapacityReservation.go", "api_op_CreateCapacityReservationBySplitting.go", + "api_op_CreateCapacityReservationCancellationQuote.go", "api_op_CreateCapacityReservationFleet.go", "api_op_CreateCarrierGateway.go", "api_op_CreateClientVpnEndpoint.go", @@ -294,6 +295,7 @@ "api_op_DescribeCapacityBlocks.go", "api_op_DescribeCapacityManagerDataExports.go", "api_op_DescribeCapacityReservationBillingRequests.go", + "api_op_DescribeCapacityReservationCancellationQuotes.go", "api_op_DescribeCapacityReservationFleets.go", "api_op_DescribeCapacityReservationTopology.go", "api_op_DescribeCapacityReservations.go", diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go index 22e21e88f..640c33c50 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/go_module_metadata.go @@ -3,4 +3,4 @@ package ec2 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.304.2" +const goModuleVersion = "1.305.2" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go index 20a44e0ce..d7dbfa4c6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/serializers.go @@ -4568,6 +4568,76 @@ func (m *awsEc2query_serializeOpCreateCapacityReservationBySplitting) HandleSeri return next.HandleSerialize(ctx, in) } +type awsEc2query_serializeOpCreateCapacityReservationCancellationQuote struct { +} + +func (*awsEc2query_serializeOpCreateCapacityReservationCancellationQuote) ID() string { + return "OperationSerializer" +} + +func (m *awsEc2query_serializeOpCreateCapacityReservationCancellationQuote) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*CreateCapacityReservationCancellationQuoteInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("CreateCapacityReservationCancellationQuote") + body.Key("Version").String("2016-11-15") + + if err := awsEc2query_serializeOpDocumentCreateCapacityReservationCancellationQuoteInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsEc2query_serializeOpCreateCapacityReservationFleet struct { } @@ -19828,6 +19898,76 @@ func (m *awsEc2query_serializeOpDescribeCapacityReservationBillingRequests) Hand return next.HandleSerialize(ctx, in) } +type awsEc2query_serializeOpDescribeCapacityReservationCancellationQuotes struct { +} + +func (*awsEc2query_serializeOpDescribeCapacityReservationCancellationQuotes) ID() string { + return "OperationSerializer" +} + +func (m *awsEc2query_serializeOpDescribeCapacityReservationCancellationQuotes) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( + out middleware.SerializeOutput, metadata middleware.Metadata, err error, +) { + _, span := tracing.StartSpan(ctx, "OperationSerializer") + endTimer := startMetricTimer(ctx, "client.call.serialization_duration") + defer endTimer() + defer span.End() + request, ok := in.Request.(*smithyhttp.Request) + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown transport type %T", in.Request)} + } + + input, ok := in.Parameters.(*DescribeCapacityReservationCancellationQuotesInput) + _ = input + if !ok { + return out, metadata, &smithy.SerializationError{Err: fmt.Errorf("unknown input parameters type %T", in.Parameters)} + } + + operationPath := "/" + if len(request.Request.URL.Path) == 0 { + request.Request.URL.Path = operationPath + } else { + request.Request.URL.Path = path.Join(request.Request.URL.Path, operationPath) + if request.Request.URL.Path != "/" && operationPath[len(operationPath)-1] == '/' { + request.Request.URL.Path += "/" + } + } + request.Request.Method = "POST" + httpBindingEncoder, err := httpbinding.NewEncoder(request.URL.Path, request.URL.RawQuery, request.Header) + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + httpBindingEncoder.SetHeader("Content-Type").String("application/x-www-form-urlencoded") + + bodyWriter := bytes.NewBuffer(nil) + bodyEncoder := query.NewEncoder(bodyWriter) + body := bodyEncoder.Object() + body.Key("Action").String("DescribeCapacityReservationCancellationQuotes") + body.Key("Version").String("2016-11-15") + + if err := awsEc2query_serializeOpDocumentDescribeCapacityReservationCancellationQuotesInput(input, bodyEncoder.Value); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + err = bodyEncoder.Encode() + if err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request, err = request.SetStream(bytes.NewReader(bodyWriter.Bytes())); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + + if request.Request, err = httpBindingEncoder.Encode(request.Request); err != nil { + return out, metadata, &smithy.SerializationError{Err: err} + } + in.Request = request + + endTimer() + span.End() + return next.HandleSerialize(ctx, in) +} + type awsEc2query_serializeOpDescribeCapacityReservationFleets struct { } @@ -54269,6 +54409,19 @@ func awsEc2query_serializeDocumentCapacityManagerDataExportIdSet(v []string, val return nil } +func awsEc2query_serializeDocumentCapacityReservationCancellationQuoteIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } + array := value.Array("Item") + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsEc2query_serializeDocumentCapacityReservationFleetIdSet(v []string, value query.Value) error { if len(v) == 0 { return nil @@ -66956,6 +67109,11 @@ func awsEc2query_serializeOpDocumentCancelCapacityReservationInput(v *CancelCapa object := value.Object() _ = object + if len(v.ApplyCancellationCharges) > 0 { + objectKey := object.Key("ApplyCancellationCharges") + objectKey.String(string(v.ApplyCancellationCharges)) + } + if v.CapacityReservationId != nil { objectKey := object.Key("CapacityReservationId") objectKey.String(*v.CapacityReservationId) @@ -66966,6 +67124,11 @@ func awsEc2query_serializeOpDocumentCancelCapacityReservationInput(v *CancelCapa objectKey.Boolean(*v.DryRun) } + if v.QuoteId != nil { + objectKey := object.Key("QuoteId") + objectKey.String(*v.QuoteId) + } + return nil } @@ -67453,6 +67616,35 @@ func awsEc2query_serializeOpDocumentCreateCapacityReservationBySplittingInput(v return nil } +func awsEc2query_serializeOpDocumentCreateCapacityReservationCancellationQuoteInput(v *CreateCapacityReservationCancellationQuoteInput, value query.Value) error { + object := value.Object() + _ = object + + if v.CapacityReservationId != nil { + objectKey := object.Key("CapacityReservationId") + objectKey.String(*v.CapacityReservationId) + } + + if v.ClientToken != nil { + objectKey := object.Key("ClientToken") + objectKey.String(*v.ClientToken) + } + + if v.DryRun != nil { + objectKey := object.Key("DryRun") + objectKey.Boolean(*v.DryRun) + } + + if v.TagSpecifications != nil { + objectKey := object.FlatKey("TagSpecification") + if err := awsEc2query_serializeDocumentTagSpecificationList(v.TagSpecifications, objectKey); err != nil { + return err + } + } + + return nil +} + func awsEc2query_serializeOpDocumentCreateCapacityReservationFleetInput(v *CreateCapacityReservationFleetInput, value query.Value) error { object := value.Object() _ = object @@ -74595,6 +74787,42 @@ func awsEc2query_serializeOpDocumentDescribeCapacityReservationBillingRequestsIn return nil } +func awsEc2query_serializeOpDocumentDescribeCapacityReservationCancellationQuotesInput(v *DescribeCapacityReservationCancellationQuotesInput, value query.Value) error { + object := value.Object() + _ = object + + if v.CapacityReservationCancellationQuoteIds != nil { + objectKey := object.FlatKey("CapacityReservationCancellationQuoteId") + if err := awsEc2query_serializeDocumentCapacityReservationCancellationQuoteIdSet(v.CapacityReservationCancellationQuoteIds, objectKey); err != nil { + return err + } + } + + if v.DryRun != nil { + objectKey := object.Key("DryRun") + objectKey.Boolean(*v.DryRun) + } + + if v.Filters != nil { + objectKey := object.FlatKey("Filter") + if err := awsEc2query_serializeDocumentFilterList(v.Filters, objectKey); err != nil { + return err + } + } + + if v.MaxResults != nil { + objectKey := object.Key("MaxResults") + objectKey.Integer(*v.MaxResults) + } + + if v.NextToken != nil { + objectKey := object.Key("NextToken") + objectKey.String(*v.NextToken) + } + + return nil +} + func awsEc2query_serializeOpDocumentDescribeCapacityReservationFleetsInput(v *DescribeCapacityReservationFleetsInput, value query.Value) error { object := value.Object() _ = object diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go index 14e0e4ba8..a6e00880f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/enums.go @@ -277,8 +277,9 @@ type AllocationType string // Enum values for AllocationType const ( - AllocationTypeUsed AllocationType = "used" - AllocationTypeFuture AllocationType = "future" + AllocationTypeUsed AllocationType = "used" + AllocationTypeFuture AllocationType = "future" + AllocationTypeCancelling AllocationType = "cancelling" ) // Values returns all known values for AllocationType. Note that this can be @@ -289,6 +290,7 @@ func (AllocationType) Values() []AllocationType { return []AllocationType{ "used", "future", + "cancelling", } } @@ -408,6 +410,23 @@ func (ApplianceModeSupportValue) Values() []ApplianceModeSupportValue { } } +type ApplyCancellationCharges string + +// Enum values for ApplyCancellationCharges +const ( + ApplyCancellationChargesCommitmentWindDown ApplyCancellationCharges = "commitment-wind-down" +) + +// Values returns all known values for ApplyCancellationCharges. Note that this +// can be expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (ApplyCancellationCharges) Values() []ApplyCancellationCharges { + return []ApplyCancellationCharges{ + "commitment-wind-down", + } +} + type ArchitectureType string // Enum values for ArchitectureType @@ -1232,6 +1251,28 @@ func (CapacityReservationBillingRequestStatus) Values() []CapacityReservationBil } } +type CapacityReservationCancellationQuoteState string + +// Enum values for CapacityReservationCancellationQuoteState +const ( + CapacityReservationCancellationQuoteStatePending CapacityReservationCancellationQuoteState = "pending" + CapacityReservationCancellationQuoteStateActive CapacityReservationCancellationQuoteState = "active" + CapacityReservationCancellationQuoteStateExpired CapacityReservationCancellationQuoteState = "expired" +) + +// Values returns all known values for CapacityReservationCancellationQuoteState. +// Note that this can be expanded in the future, and so it is only as up to date as +// the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (CapacityReservationCancellationQuoteState) Values() []CapacityReservationCancellationQuoteState { + return []CapacityReservationCancellationQuoteState{ + "pending", + "active", + "expired", + } +} + type CapacityReservationDeliveryPreference string // Enum values for CapacityReservationDeliveryPreference @@ -1375,6 +1416,7 @@ const ( CapacityReservationStateAssessing CapacityReservationState = "assessing" CapacityReservationStateDelayed CapacityReservationState = "delayed" CapacityReservationStateUnsupported CapacityReservationState = "unsupported" + CapacityReservationStateCancelling CapacityReservationState = "cancelling" CapacityReservationStateUnavailable CapacityReservationState = "unavailable" ) @@ -1395,6 +1437,7 @@ func (CapacityReservationState) Values() []CapacityReservationState { "assessing", "delayed", "unsupported", + "cancelling", "unavailable", } } @@ -9618,6 +9661,7 @@ const ( ResourceTypeCapacityManagerDataExport ResourceType = "capacity-manager-data-export" ResourceTypeVpnConcentrator ResourceType = "vpn-concentrator" ResourceTypeIpamPoolAllocation ResourceType = "ipam-pool-allocation" + ResourceTypeCapacityReservationCancellationQuote ResourceType = "capacity-reservation-cancellation-quote" ) // Values returns all known values for ResourceType. Note that this can be @@ -9734,6 +9778,7 @@ func (ResourceType) Values() []ResourceType { "capacity-manager-data-export", "vpn-concentrator", "ipam-pool-allocation", + "capacity-reservation-cancellation-quote", } } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go index 5f35474eb..26c8efe61 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/types/types.go @@ -1309,6 +1309,28 @@ type CancelCapacityReservationFleetError struct { noSmithyDocumentSerde } +// Describes the cancellation terms for cancelling a future-dated Capacity +// Reservation during its commitment duration. +type CancellationTerms struct { + + // The type of cancellation charge. Possible values include commitment-wind-down . + CancellationType ApplyCancellationCharges + + // The number of hours for which cancellation charges will apply. + ChargeCommitmentDurationHours *int64 + + // The date and time at which cancellation charges will stop. + ChargeEndDate *time.Time + + // The number of instances under commitment after cancellation. + CommittedInstanceCount *int32 + + // The state that the Capacity Reservation will transition to after cancellation. + ReservationState *string + + noSmithyDocumentSerde +} + // Describes a request to cancel a Spot Instance. type CancelledSpotInstanceRequest struct { @@ -1986,6 +2008,11 @@ type CapacityReservation struct { // 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. + // + // - cancelling - (Future-dated Capacity Reservations) The Capacity Reservation + // is being cancelled. Capacity has been released but charges continue for the + // commitment wind-down period. The reservation transitions to cancelled when the + // wind-down completes. State CapacityReservationState // Any tags assigned to the Capacity Reservation. @@ -2042,6 +2069,40 @@ type CapacityReservationBillingRequest struct { noSmithyDocumentSerde } +// Describes a Capacity Reservation cancellation quote, which provides the +// cancellation terms for cancelling a future-dated Capacity Reservation during its +// commitment duration. +type CapacityReservationCancellationQuote struct { + + // The cancellation terms associated with the quote, including the fee type and + // charge details. + CancellationTerms []CancellationTerms + + // The ID of the cancellation quote. + CapacityReservationCancellationQuoteId *string + + // The ID of the Capacity Reservation associated with the cancellation quote. + CapacityReservationId *string + + // The date and time at which the cancellation quote was created. + CreateTime *time.Time + + // The current configuration of the Capacity Reservation. + CurrentConfiguration *CapacityReservationConfiguration + + // The date and time at which the cancellation quote expires. + ExpirationTime *time.Time + + // The state of the cancellation quote. Possible values include pending , active , + // and expired . + QuoteState CapacityReservationCancellationQuoteState + + // The tags assigned to the cancellation quote. + Tags []Tag + + noSmithyDocumentSerde +} + // Information about your commitment for a future-dated Capacity Reservation. type CapacityReservationCommitmentInfo struct { @@ -2057,6 +2118,18 @@ type CapacityReservationCommitmentInfo struct { noSmithyDocumentSerde } +// Describes the configuration of a Capacity Reservation. +type CapacityReservationConfiguration struct { + + // The number of instances in the Capacity Reservation. + InstanceCount *int32 + + // The current state of the Capacity Reservation. + ReservationState *string + + noSmithyDocumentSerde +} + // Information about a Capacity Reservation Fleet. type CapacityReservationFleet struct { @@ -3198,8 +3271,9 @@ type ConnectionNotification struct { 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. + // seconds. Max: 432000 seconds (5 days). Default: 350 seconds for Nitro v6 + // instance types (excluding P6e-GB200); 432000 seconds for all other instance + // types (including P6e-GB200). Recommended: Less than 432000 seconds. TcpEstablishedTimeout *int32 // Timeout (in seconds) for idle UDP flows classified as streams which have seen @@ -3223,8 +3297,9 @@ type ConnectionTrackingConfiguration struct { 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. + // seconds. Max: 432000 seconds (5 days). Default: 350 seconds for Nitro v6 + // instance types (excluding P6e-GB200); 432000 seconds for all other instance + // types (including P6e-GB200). Recommended: Less than 432000 seconds. TcpEstablishedTimeout *int32 // Timeout (in seconds) for idle UDP flows classified as streams which have seen @@ -3248,8 +3323,9 @@ type ConnectionTrackingSpecification struct { 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. + // seconds. Max: 432000 seconds (5 days). Default: 350 seconds for Nitro v6 + // instance types (excluding P6e-GB200); 432000 seconds for all other instance + // types (including P6e-GB200). Recommended: Less than 432000 seconds. TcpEstablishedTimeout *int32 // Timeout (in seconds) for idle UDP flows classified as streams which have seen @@ -3273,8 +3349,9 @@ type ConnectionTrackingSpecificationRequest struct { 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. + // seconds. Max: 432000 seconds (5 days). Default: 350 seconds for Nitro v6 + // instance types (excluding P6e-GB200); 432000 seconds for all other instance + // types (including P6e-GB200). Recommended: Less than 432000 seconds. TcpEstablishedTimeout *int32 // Timeout (in seconds) for idle UDP flows classified as streams which have seen diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go index d295c06fe..c679283d5 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ec2/validators.go @@ -1170,6 +1170,26 @@ func (m *validateOpCreateCapacityReservationBySplitting) HandleInitialize(ctx co return next.HandleInitialize(ctx, in) } +type validateOpCreateCapacityReservationCancellationQuote struct { +} + +func (*validateOpCreateCapacityReservationCancellationQuote) ID() string { + return "OperationInputValidation" +} + +func (m *validateOpCreateCapacityReservationCancellationQuote) HandleInitialize(ctx context.Context, in middleware.InitializeInput, next middleware.InitializeHandler) ( + out middleware.InitializeOutput, metadata middleware.Metadata, err error, +) { + input, ok := in.Parameters.(*CreateCapacityReservationCancellationQuoteInput) + if !ok { + return out, metadata, fmt.Errorf("unknown input parameters type %T", in.Parameters) + } + if err := validateOpCreateCapacityReservationCancellationQuoteInput(input); err != nil { + return out, metadata, err + } + return next.HandleInitialize(ctx, in) +} + type validateOpCreateCapacityReservationFleet struct { } @@ -10922,6 +10942,10 @@ func addOpCreateCapacityReservationBySplittingValidationMiddleware(stack *middle return stack.Initialize.Add(&validateOpCreateCapacityReservationBySplitting{}, middleware.After) } +func addOpCreateCapacityReservationCancellationQuoteValidationMiddleware(stack *middleware.Stack) error { + return stack.Initialize.Add(&validateOpCreateCapacityReservationCancellationQuote{}, middleware.After) +} + func addOpCreateCapacityReservationFleetValidationMiddleware(stack *middleware.Stack) error { return stack.Initialize.Add(&validateOpCreateCapacityReservationFleet{}, middleware.After) } @@ -14869,6 +14893,21 @@ func validateOpCreateCapacityReservationBySplittingInput(v *CreateCapacityReserv } } +func validateOpCreateCapacityReservationCancellationQuoteInput(v *CreateCapacityReservationCancellationQuoteInput) error { + if v == nil { + return nil + } + invalidParams := smithy.InvalidParamsError{Context: "CreateCapacityReservationCancellationQuoteInput"} + if v.CapacityReservationId == nil { + invalidParams.Add(smithy.NewErrParamRequired("CapacityReservationId")) + } + if invalidParams.Len() > 0 { + return invalidParams + } else { + return nil + } +} + func validateOpCreateCapacityReservationFleetInput(v *CreateCapacityReservationFleetInput) error { if v == nil { return nil diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md index 1e5ff62d3..9f65900c8 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/CHANGELOG.md @@ -1,20 +1,3 @@ -# v1.42.6 (2026-06-05.2) - -* **Bug Fix**: Undo the initial wave of schema-serde releases due to several customer-reported regressions. - -# v1.42.5 (2026-06-04) - -* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.42.4 (2026-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.42.3 (2026-06-02) - -* **Dependency Update**: Updated to the latest SDK module versions - # v1.42.2 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go index 1dcf12023..4a30ac3d6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/pricing/go_module_metadata.go @@ -3,4 +3,4 @@ package pricing // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.42.6" +const goModuleVersion = "1.42.2" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md index 8183fc352..83fef51bc 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/CHANGELOG.md @@ -1,3 +1,31 @@ +# v1.103.2 (2026-06-04) + +* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.103.1 (2026-06-03) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.103.0 (2026-06-02) + +* **Feature**: Adding new BDD representation of endpoint ruleset +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.102.2 (2026-05-29) + +* **Dependency Update**: Update to smithy-go v1.26.0. +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.102.1 (2026-05-28) + +* **Dependency Update**: Updated to the latest SDK module versions + +# v1.102.0 (2026-05-27) + +* **Feature**: Add SHA-512 support for s3 operations +* **Dependency Update**: Updated to the latest SDK module versions + # v1.101.0 (2026-05-06) * **Feature**: Validate outpost access point resource name diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go index 29ed5d244..16b925a1f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/auth.go @@ -222,7 +222,7 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) } for _, scheme := range m.options.AuthSchemes { - if scheme.SchemeID() != option.SchemeID { + if !matchSchemeID(scheme.SchemeID(), option.SchemeID) { continue } @@ -235,6 +235,16 @@ func (m *resolveAuthSchemeMiddleware) selectScheme(options []*smithyauth.Option) return nil, false } +func matchSchemeID(registered, option string) bool { + if registered == option { + return true + } + if i := strings.LastIndex(registered, "#"); i != -1 { + return registered[i+1:] == option + } + return false +} + func sortAuthOptions(options []*smithyauth.Option, preferred []string) []*smithyauth.Option { byPriority := make([]*smithyauth.Option, 0, len(options)) for _, prefName := range preferred { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go index 82efd40ca..f624370ff 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/deserializers.go @@ -23,7 +23,6 @@ import ( "github.com/aws/smithy-go/tracing" smithyhttp "github.com/aws/smithy-go/transport/http" "io" - "io/ioutil" "strconv" "strings" "time" @@ -857,7 +856,7 @@ func (m *awsRestxml_deserializeOpCreateBucketMetadataConfiguration) HandleDeseri output := &CreateBucketMetadataConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -937,7 +936,7 @@ func (m *awsRestxml_deserializeOpCreateBucketMetadataTableConfiguration) HandleD output := &CreateBucketMetadataTableConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1452,7 +1451,7 @@ func (m *awsRestxml_deserializeOpDeleteBucket) HandleDeserialize(ctx context.Con output := &DeleteBucketOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1532,7 +1531,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketAnalyticsConfiguration) HandleDeser output := &DeleteBucketAnalyticsConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1612,7 +1611,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketCors) HandleDeserialize(ctx context output := &DeleteBucketCorsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1692,7 +1691,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketEncryption) HandleDeserialize(ctx c output := &DeleteBucketEncryptionOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1772,7 +1771,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketIntelligentTieringConfiguration) Ha output := &DeleteBucketIntelligentTieringConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1852,7 +1851,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketInventoryConfiguration) HandleDeser output := &DeleteBucketInventoryConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -1932,7 +1931,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketLifecycle) HandleDeserialize(ctx co output := &DeleteBucketLifecycleOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2012,7 +2011,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketMetadataConfiguration) HandleDeseri output := &DeleteBucketMetadataConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2092,7 +2091,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketMetadataTableConfiguration) HandleD output := &DeleteBucketMetadataTableConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2172,7 +2171,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketMetricsConfiguration) HandleDeseria output := &DeleteBucketMetricsConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2252,7 +2251,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketOwnershipControls) HandleDeserializ output := &DeleteBucketOwnershipControlsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2332,7 +2331,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketPolicy) HandleDeserialize(ctx conte output := &DeleteBucketPolicyOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2412,7 +2411,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketReplication) HandleDeserialize(ctx output := &DeleteBucketReplicationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2492,7 +2491,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketTagging) HandleDeserialize(ctx cont output := &DeleteBucketTaggingOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -2572,7 +2571,7 @@ func (m *awsRestxml_deserializeOpDeleteBucketWebsite) HandleDeserialize(ctx cont output := &DeleteBucketWebsiteOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -3017,7 +3016,7 @@ func (m *awsRestxml_deserializeOpDeletePublicAccessBlock) HandleDeserialize(ctx output := &DeletePublicAccessBlockOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11167,7 +11166,7 @@ func (m *awsRestxml_deserializeOpPutBucketAbac) HandleDeserialize(ctx context.Co output := &PutBucketAbacOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11247,7 +11246,7 @@ func (m *awsRestxml_deserializeOpPutBucketAccelerateConfiguration) HandleDeseria output := &PutBucketAccelerateConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11327,7 +11326,7 @@ func (m *awsRestxml_deserializeOpPutBucketAcl) HandleDeserialize(ctx context.Con output := &PutBucketAclOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11407,7 +11406,7 @@ func (m *awsRestxml_deserializeOpPutBucketAnalyticsConfiguration) HandleDeserial output := &PutBucketAnalyticsConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11487,7 +11486,7 @@ func (m *awsRestxml_deserializeOpPutBucketCors) HandleDeserialize(ctx context.Co output := &PutBucketCorsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11567,7 +11566,7 @@ func (m *awsRestxml_deserializeOpPutBucketEncryption) HandleDeserialize(ctx cont output := &PutBucketEncryptionOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11647,7 +11646,7 @@ func (m *awsRestxml_deserializeOpPutBucketIntelligentTieringConfiguration) Handl output := &PutBucketIntelligentTieringConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11727,7 +11726,7 @@ func (m *awsRestxml_deserializeOpPutBucketInventoryConfiguration) HandleDeserial output := &PutBucketInventoryConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11899,7 +11898,7 @@ func (m *awsRestxml_deserializeOpPutBucketLogging) HandleDeserialize(ctx context output := &PutBucketLoggingOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -11979,7 +11978,7 @@ func (m *awsRestxml_deserializeOpPutBucketMetricsConfiguration) HandleDeserializ output := &PutBucketMetricsConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12059,7 +12058,7 @@ func (m *awsRestxml_deserializeOpPutBucketNotificationConfiguration) HandleDeser output := &PutBucketNotificationConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12139,7 +12138,7 @@ func (m *awsRestxml_deserializeOpPutBucketOwnershipControls) HandleDeserialize(c output := &PutBucketOwnershipControlsOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12219,7 +12218,7 @@ func (m *awsRestxml_deserializeOpPutBucketPolicy) HandleDeserialize(ctx context. output := &PutBucketPolicyOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12299,7 +12298,7 @@ func (m *awsRestxml_deserializeOpPutBucketReplication) HandleDeserialize(ctx con output := &PutBucketReplicationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12379,7 +12378,7 @@ func (m *awsRestxml_deserializeOpPutBucketRequestPayment) HandleDeserialize(ctx output := &PutBucketRequestPaymentOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12459,7 +12458,7 @@ func (m *awsRestxml_deserializeOpPutBucketTagging) HandleDeserialize(ctx context output := &PutBucketTaggingOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12539,7 +12538,7 @@ func (m *awsRestxml_deserializeOpPutBucketVersioning) HandleDeserialize(ctx cont output := &PutBucketVersioningOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -12619,7 +12618,7 @@ func (m *awsRestxml_deserializeOpPutBucketWebsite) HandleDeserialize(ctx context output := &PutBucketWebsiteOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -13379,7 +13378,7 @@ func (m *awsRestxml_deserializeOpPutPublicAccessBlock) HandleDeserialize(ctx con output := &PutPublicAccessBlockOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -13710,7 +13709,7 @@ func (m *awsRestxml_deserializeOpUpdateBucketMetadataInventoryTableConfiguration output := &UpdateBucketMetadataInventoryTableConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -13790,7 +13789,7 @@ func (m *awsRestxml_deserializeOpUpdateBucketMetadataJournalTableConfiguration) output := &UpdateBucketMetadataJournalTableConfigurationOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } @@ -14342,7 +14341,7 @@ func (m *awsRestxml_deserializeOpWriteGetObjectResponse) HandleDeserialize(ctx c output := &WriteGetObjectResponseOutput{} out.Result = output - if _, err = io.Copy(ioutil.Discard, response.Body); err != nil { + if _, err = io.Copy(io.Discard, response.Body); err != nil { return out, metadata, &smithy.DeserializationError{ Err: fmt.Errorf("failed to discard response body, %w", err), } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoint_auth_resolver.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoint_auth_resolver.go index bb5f4cf47..78f1f11d4 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoint_auth_resolver.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoint_auth_resolver.go @@ -93,7 +93,7 @@ func rebaseProps(dst, src *smithyauth.Option) { func findScheme(opts []*smithyauth.Option, schemeID string) *smithyauth.Option { for _, opt := range opts { - if opt.SchemeID == schemeID { + if matchSchemeID(opt.SchemeID, schemeID) { return opt } } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go index e2622a377..c4768bf41 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/endpoints.go @@ -17,6 +17,7 @@ import ( smithy "github.com/aws/smithy-go" smithyauth "github.com/aws/smithy-go/auth" smithyendpoints "github.com/aws/smithy-go/endpoints" + "github.com/aws/smithy-go/endpoints/private/bdd" "github.com/aws/smithy-go/endpoints/private/rulesfn" "github.com/aws/smithy-go/middleware" "github.com/aws/smithy-go/ptr" @@ -240,6 +241,8 @@ func bindRegion(region string) (*string, error) { return aws.String(endpoints.MapFIPSRegion(region)), nil } +var _ = rulesfn.StringSlice(nil) + // EndpointParameters provides the parameters that influence how endpoints are // resolved. type EndpointParameters struct { @@ -431,21 +434,2990 @@ func (p EndpointParameters) WithDefaults() EndpointParameters { return p } -type stringSlice []string +const bddRoot int32 = 2 + +var bddNodes = [1659]int32{ + -1, 1, -1, 0, 3, 100000115, 1, 424, 4, 2, 272, 5, 3, 233, 6, 4, 85, 7, 5, 15, 8, 8, 9, 100000115, 16, 10, 13, 18, 11, 13, 19, 12, 13, 22, 100000014, 13, 35, 14, 100000042, 36, 100000103, 435, 6, 271, 16, 7, 270, 17, 8, 19, 18, 14, 501, 106, 9, 20, 24, 10, 21, 24, 11, 22, 24, 12, 23, 24, 13, 547, 24, 14, 77, 25, 20, 73, 26, 26, 27, 78, 37, 28, 100000086, 38, 100000086, 29, 39, 47, 30, 48, 100000058, 31, 50, 32, 100000085, 51, 33, 136, 55, 100000076, 34, 59, 35, 100000084, 60, 39, 36, 61, 37, 100000083, 62, 38, 146, 63, 41, 100000046, 61, 40, 100000083, 62, 41, 150, 64, 42, 100000054, 66, 43, 100000053, 70, 44, 100000052, 71, 45, 100000081, 73, 46, 100000080, 74, 100000078, 100000079, 40, 48, 100000057, 41, 100000057, 49, 42, 185, 50, 48, 62, 51, 49, 100000045, 52, 51, 53, 526, 60, 56, 54, 62, 100000055, 55, 63, 57, 100000046, 62, 100000055, 57, 64, 58, 100000054, 66, 59, 100000053, 69, 60, 100000065, 70, 61, 100000052, 72, 100000064, 100000051, 49, 100000045, 63, 51, 64, 526, 60, 67, 65, 62, 100000055, 66, 63, 68, 100000046, 62, 100000055, 68, 64, 69, 100000054, 66, 70, 100000053, 68, 100000047, 71, 70, 72, 100000052, 72, 100000050, 100000051, 25, 74, 100000042, 46, 100000039, 75, 57, 76, 100000041, 58, 100000040, 100000041, 26, 100000088, 78, 28, 100000087, 79, 34, 82, 80, 35, 81, 545, 36, 100000103, 100000115, 46, 100000097, 83, 57, 84, 100000099, 58, 100000098, 100000099, 5, 101, 86, 8, 87, 100000115, 16, 88, 89, 18, 91, 89, 19, 90, 92, 21, 97, 95, 19, 93, 92, 21, 98, 95, 21, 97, 94, 22, 100000014, 95, 35, 96, 100000042, 36, 100000103, 100000042, 22, 100000013, 98, 35, 99, 100000042, 36, 100000101, 100, 46, 100000110, 100000111, 6, 214, 102, 7, 208, 103, 8, 119, 104, 14, 118, 105, 21, 106, 100000023, 26, 107, 502, 37, 108, 100000086, 38, 100000086, 109, 39, 112, 110, 48, 100000058, 111, 50, 136, 100000085, 40, 113, 100000057, 41, 100000057, 114, 42, 115, 500, 48, 100000056, 116, 52, 117, 100000072, 65, 100000069, 100000072, 21, 501, 100000023, 9, 120, 124, 10, 121, 124, 11, 122, 124, 12, 123, 124, 13, 202, 124, 14, 195, 125, 20, 190, 126, 21, 127, 100000023, 23, 128, 129, 24, 189, 129, 26, 130, 197, 37, 131, 100000086, 38, 100000086, 132, 39, 159, 133, 48, 100000058, 134, 50, 135, 100000085, 51, 141, 136, 55, 100000076, 137, 59, 138, 100000084, 60, 100000083, 139, 61, 140, 100000083, 63, 100000083, 100000046, 55, 100000076, 142, 59, 143, 100000084, 60, 148, 144, 61, 145, 100000083, 62, 147, 146, 63, 150, 100000046, 63, 153, 100000046, 61, 149, 100000083, 62, 153, 150, 64, 151, 100000054, 66, 152, 100000053, 70, 100000082, 100000052, 64, 154, 100000054, 66, 155, 100000053, 70, 156, 100000052, 71, 157, 100000081, 73, 158, 100000080, 74, 100000077, 100000079, 40, 160, 100000057, 41, 100000057, 161, 42, 185, 162, 48, 174, 163, 49, 100000045, 164, 51, 165, 526, 60, 168, 166, 62, 100000055, 167, 63, 169, 100000046, 62, 100000055, 169, 64, 170, 100000054, 66, 171, 100000053, 69, 172, 100000065, 70, 173, 100000052, 72, 100000063, 100000051, 49, 100000045, 175, 51, 176, 526, 60, 179, 177, 62, 100000055, 178, 63, 180, 100000046, 62, 100000055, 180, 64, 181, 100000054, 66, 182, 100000053, 68, 100000047, 183, 70, 184, 100000052, 72, 100000048, 100000051, 48, 100000056, 186, 52, 187, 100000072, 65, 100000069, 188, 67, 100000070, 100000071, 25, 100000036, 100000042, 21, 191, 100000023, 25, 192, 100000042, 30, 194, 193, 46, 100000034, 100000036, 46, 100000033, 100000035, 21, 196, 100000023, 26, 100000088, 197, 28, 100000087, 198, 34, 201, 199, 35, 200, 545, 36, 100000101, 100000115, 46, 100000095, 100000096, 17, 203, 100000022, 20, 204, 100000021, 21, 205, 550, 33, 206, 550, 44, 100000016, 207, 45, 100000018, 100000020, 8, 209, 215, 16, 210, 220, 18, 211, 220, 19, 212, 224, 20, 213, 227, 21, 231, 401, 8, 218, 215, 19, 216, 100000009, 20, 217, 227, 21, 231, 100000009, 16, 219, 220, 18, 223, 220, 19, 221, 224, 20, 222, 227, 21, 231, 100000012, 19, 226, 224, 20, 225, 100000009, 21, 100000009, 100000012, 20, 230, 227, 21, 228, 100000009, 30, 229, 100000009, 34, 100000007, 100000009, 21, 231, 415, 30, 232, 100000008, 34, 100000007, 100000008, 4, 100000002, 234, 5, 235, 480, 6, 271, 236, 7, 270, 237, 8, 238, 491, 9, 239, 243, 10, 240, 243, 11, 241, 243, 12, 242, 243, 13, 547, 243, 14, 266, 244, 20, 264, 245, 26, 246, 267, 37, 247, 100000086, 38, 100000086, 248, 39, 249, 518, 40, 250, 100000057, 41, 100000057, 251, 42, 538, 252, 48, 100000043, 253, 49, 100000045, 254, 51, 255, 526, 60, 258, 256, 62, 100000055, 257, 63, 259, 100000046, 62, 100000055, 259, 64, 260, 100000054, 66, 261, 100000053, 69, 262, 100000065, 70, 263, 100000052, 72, 100000062, 100000051, 25, 265, 100000042, 46, 100000031, 100000032, 26, 100000088, 267, 28, 100000087, 268, 34, 269, 544, 46, 100000093, 100000094, 8, 397, 100000009, 8, 407, 100000009, 3, 346, 273, 4, 100000003, 274, 5, 284, 275, 8, 276, 100000115, 15, 100000005, 277, 16, 278, 281, 18, 279, 281, 19, 280, 281, 22, 100000014, 281, 35, 282, 100000042, 36, 100000102, 283, 46, 100000106, 100000107, 6, 405, 285, 7, 395, 286, 8, 295, 287, 14, 501, 288, 26, 289, 502, 37, 290, 100000086, 38, 100000086, 291, 39, 292, 307, 40, 293, 100000057, 41, 100000057, 294, 42, 335, 500, 9, 296, 300, 10, 297, 300, 11, 298, 300, 12, 299, 300, 13, 394, 300, 14, 339, 301, 15, 100000005, 302, 20, 337, 303, 26, 304, 341, 37, 305, 100000086, 38, 100000086, 306, 39, 309, 307, 48, 100000058, 308, 50, 100000074, 100000085, 40, 310, 100000057, 41, 100000057, 311, 42, 335, 312, 48, 324, 313, 49, 100000045, 314, 51, 315, 526, 60, 318, 316, 62, 100000055, 317, 63, 319, 100000046, 62, 100000055, 319, 64, 320, 100000054, 66, 321, 100000053, 69, 322, 100000065, 70, 323, 100000052, 72, 100000061, 100000051, 49, 100000045, 325, 51, 326, 526, 60, 329, 327, 62, 100000055, 328, 63, 330, 100000046, 62, 100000055, 330, 64, 331, 100000054, 66, 332, 100000053, 68, 100000047, 333, 70, 334, 100000052, 72, 100000049, 100000051, 48, 100000056, 336, 52, 100000067, 100000072, 25, 338, 100000042, 46, 100000027, 100000028, 15, 100000005, 340, 26, 100000088, 341, 28, 100000087, 342, 34, 345, 343, 35, 344, 545, 36, 100000102, 100000115, 46, 100000091, 100000092, 4, 100000002, 347, 5, 357, 348, 8, 349, 100000115, 15, 100000005, 350, 16, 351, 354, 18, 352, 354, 19, 353, 354, 22, 100000014, 354, 35, 355, 100000042, 36, 100000043, 356, 46, 100000104, 100000105, 6, 405, 358, 7, 395, 359, 8, 360, 491, 9, 361, 365, 10, 362, 365, 11, 363, 365, 12, 364, 365, 13, 394, 365, 14, 389, 366, 15, 100000005, 367, 20, 387, 368, 26, 369, 391, 37, 370, 100000086, 38, 100000086, 371, 39, 372, 518, 40, 373, 100000057, 41, 100000057, 374, 42, 538, 375, 48, 100000043, 376, 49, 100000045, 377, 51, 378, 526, 60, 381, 379, 62, 100000055, 380, 63, 382, 100000046, 62, 100000055, 382, 64, 383, 100000054, 66, 384, 100000053, 69, 385, 100000065, 70, 386, 100000052, 72, 100000060, 100000051, 25, 388, 100000042, 46, 100000025, 100000026, 15, 100000005, 390, 26, 100000088, 391, 28, 100000087, 392, 34, 393, 544, 46, 100000089, 100000090, 15, 100000005, 547, 8, 396, 100000009, 15, 100000005, 397, 16, 398, 410, 18, 399, 410, 19, 400, 410, 20, 401, 100000009, 27, 402, 100000012, 29, 100000011, 403, 31, 100000011, 404, 32, 100000011, 422, 8, 406, 100000009, 15, 100000005, 407, 16, 408, 410, 18, 409, 410, 19, 411, 410, 20, 100000012, 100000009, 20, 414, 412, 22, 413, 100000009, 34, 100000010, 100000009, 22, 416, 415, 27, 419, 100000012, 27, 418, 417, 34, 100000010, 100000012, 34, 100000010, 419, 43, 100000011, 420, 47, 100000011, 421, 53, 100000011, 422, 54, 100000011, 423, 56, 100000011, 100000012, 2, 100000001, 425, 3, 478, 426, 4, 100000004, 427, 5, 438, 428, 8, 429, 100000115, 16, 430, 433, 18, 431, 433, 19, 432, 433, 22, 100000014, 433, 35, 434, 100000042, 36, 100000044, 435, 46, 100000112, 436, 57, 437, 100000114, 58, 100000113, 100000114, 6, 100000006, 439, 7, 100000006, 440, 8, 450, 441, 14, 501, 442, 26, 443, 502, 37, 444, 100000086, 38, 100000086, 445, 39, 446, 465, 40, 447, 100000057, 41, 100000057, 448, 42, 471, 449, 48, 100000044, 500, 9, 451, 455, 10, 452, 455, 11, 453, 455, 12, 454, 455, 13, 547, 455, 14, 473, 456, 15, 460, 457, 20, 458, 461, 25, 459, 100000042, 46, 100000037, 100000038, 20, 540, 461, 26, 462, 474, 37, 463, 100000086, 38, 100000086, 464, 39, 467, 465, 48, 100000058, 466, 50, 100000075, 100000085, 40, 468, 100000057, 41, 100000057, 469, 42, 471, 470, 48, 100000044, 524, 48, 100000044, 472, 52, 100000068, 100000072, 26, 100000088, 474, 28, 100000087, 475, 34, 100000100, 476, 35, 477, 545, 36, 100000044, 100000115, 4, 100000002, 479, 5, 488, 480, 8, 481, 100000115, 16, 482, 485, 18, 483, 485, 19, 484, 485, 22, 100000014, 485, 35, 486, 100000042, 36, 100000043, 487, 46, 100000108, 100000109, 6, 100000006, 489, 7, 100000006, 490, 8, 503, 491, 14, 501, 492, 26, 493, 502, 37, 494, 100000086, 38, 100000086, 495, 39, 496, 518, 40, 497, 100000057, 41, 100000057, 498, 42, 538, 499, 48, 100000043, 500, 49, 100000045, 526, 26, 100000088, 502, 28, 100000087, 100000115, 9, 504, 508, 10, 505, 508, 11, 506, 508, 12, 507, 508, 13, 547, 508, 14, 541, 509, 15, 513, 510, 20, 511, 514, 25, 512, 100000042, 46, 100000029, 100000030, 20, 540, 514, 26, 515, 542, 37, 516, 100000086, 38, 100000086, 517, 39, 520, 518, 48, 100000058, 519, 50, 100000073, 100000085, 40, 521, 100000057, 41, 100000057, 522, 42, 538, 523, 48, 100000043, 524, 49, 100000045, 525, 51, 529, 526, 60, 100000055, 527, 62, 100000055, 528, 63, 100000055, 100000046, 60, 532, 530, 62, 100000055, 531, 63, 533, 100000046, 62, 100000055, 533, 64, 534, 100000054, 66, 535, 100000053, 69, 536, 100000065, 70, 537, 100000052, 72, 100000059, 100000051, 48, 100000043, 539, 52, 100000066, 100000072, 25, 100000024, 100000042, 26, 100000088, 542, 28, 100000087, 543, 34, 100000100, 544, 35, 546, 545, 36, 100000042, 100000115, 36, 100000043, 100000115, 17, 548, 100000022, 20, 549, 100000021, 33, 552, 550, 44, 100000017, 551, 45, 100000019, 100000020, 44, 100000015, 553, 45, 100000015, 100000020} + +type conditionContext struct { + partitionResult *awsrulesfn.PartitionConfig + accessPointSuffix *string + regionPrefix *string + outpostId_ssa_2 *string + hardwareType *string + _s3e_ds string + _s3e_fips string + _s3e_auth string + url *rulesfn.URL + bucketArn *awsrulesfn.ARN + s3expressAvailabilityZoneId *string + uri_encoded_bucket string + arnType *string + accessPointName_ssa_1 *string + bucketPartition *awsrulesfn.PartitionConfig + outpostId_ssa_1 *string + outpostType *string + accessPointName_ssa_2 *string +} -func (s stringSlice) Get(i int) *string { - if i < 0 || i >= len(s) { - return nil +func evalCondition(idx int, params *EndpointParameters, c *conditionContext) bool { + switch idx { + case 0: + return params.Region != nil + case 1: + return *params.Accelerate == true + case 2: + return *params.UseFIPS == true + case 3: + return *params.UseDualStack == true + case 4: + return params.Endpoint != nil + case 5: + return params.Bucket != nil + case 6: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 0, 6, true); v != nil { + return *v + } + return "" + }() == "--x-s3" + case 7: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 0, 7, true); v != nil { + return *v + } + return "" + }() == "--xa-s3" + case 8: + if v := awsrulesfn.GetPartition(*params.Region); v != nil { + c.partitionResult = v + return true + } + return false + case 9: + if v := rulesfn.SubString(*params.Bucket, 0, 7, true); v != nil { + c.accessPointSuffix = v + return true + } + return false + case 10: + return *c.accessPointSuffix == "--op-s3" + case 11: + if v := rulesfn.SubString(*params.Bucket, 8, 12, true); v != nil { + c.regionPrefix = v + return true + } + return false + case 12: + if v := rulesfn.SubString(*params.Bucket, 32, 49, true); v != nil { + c.outpostId_ssa_2 = v + return true + } + return false + case 13: + if v := rulesfn.SubString(*params.Bucket, 49, 50, true); v != nil { + c.hardwareType = v + return true + } + return false + case 14: + return *params.ForcePathStyle == true + case 15: + return c.partitionResult.Name == "aws-cn" + case 16: + c._s3e_ds = func() string { + if *params.UseDualStack { + return ".dualstack" + } + return "" + }() + return true + case 17: + return rulesfn.IsValidHostLabel(*c.outpostId_ssa_2, false) + case 18: + c._s3e_fips = func() string { + if *params.UseFIPS { + return "-fips" + } + return "" + }() + return true + case 19: + c._s3e_auth = func() string { + if func() bool { + if v := params.DisableS3ExpressSessionAuth; v != nil { + return *v + } + return false + }() { + return "sigv4" + } + return "sigv4-s3express" + }() + return true + case 20: + return awsrulesfn.IsVirtualHostableS3Bucket(*params.Bucket, false) + case 21: + if v := rulesfn.ParseURL(*params.Endpoint); v != nil { + c.url = v + return true + } + return false + case 22: + return func() bool { + if v := params.UseS3ExpressControlEndpoint; v != nil { + return *v + } + return false + }() == true + case 23: + return awsrulesfn.IsVirtualHostableS3Bucket(*params.Bucket, true) + case 24: + return c.url.Scheme == "http" + case 25: + return rulesfn.IsValidHostLabel(*params.Region, false) + case 26: + if v := awsrulesfn.ParseARN(*params.Bucket); v != nil { + c.bucketArn = v + return true + } + return false + case 27: + if v := rulesfn.StringSlice(rulesfn.Split(*params.Bucket, "--", 0)).Get(-2); v != nil { + c.s3expressAvailabilityZoneId = v + return true + } + return false + case 28: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 0, 4, false); v != nil { + return *v + } + return "" + }() == "arn:" + case 29: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 16, 18, true); v != nil { + return *v + } + return "" + }() == "--" + case 30: + return c.url.IsIp == true + case 31: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 21, 23, true); v != nil { + return *v + } + return "" + }() == "--" + case 32: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 27, 29, true); v != nil { + return *v + } + return "" + }() == "--" + case 33: + return *c.regionPrefix == "beta" + case 34: + c.uri_encoded_bucket = rulesfn.URIEncode(*params.Bucket) + return true + case 35: + return rulesfn.IsValidHostLabel(*params.Region, true) + case 36: + return func() bool { + if v := params.UseObjectLambdaEndpoint; v != nil { + return *v + } + return false + }() == true + case 37: + if v := c.bucketArn.ResourceId.Get(0); v != nil { + c.arnType = v + return true + } + return false + case 38: + return *c.arnType == "" + case 39: + return *c.arnType == "accesspoint" + case 40: + if v := c.bucketArn.ResourceId.Get(1); v != nil { + c.accessPointName_ssa_1 = v + return true + } + return false + case 41: + return *c.accessPointName_ssa_1 == "" + case 42: + return c.bucketArn.Region == "" + case 43: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 14, 16, true); v != nil { + return *v + } + return "" + }() == "--" + case 44: + return *c.hardwareType == "e" + case 45: + return *c.hardwareType == "o" + case 46: + return *params.Region == "aws-global" + case 47: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 19, 21, true); v != nil { + return *v + } + return "" + }() == "--" + case 48: + return c.bucketArn.Service == "s3-object-lambda" + case 49: + return func() bool { + if v := params.DisableAccessPoints; v != nil { + return *v + } + return false + }() == true + case 50: + return c.bucketArn.Service == "s3-outposts" + case 51: + if v := awsrulesfn.GetPartition(c.bucketArn.Region); v != nil { + c.bucketPartition = v + return true + } + return false + case 52: + return rulesfn.IsValidHostLabel(*c.accessPointName_ssa_1, true) + case 53: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 26, 28, true); v != nil { + return *v + } + return "" + }() == "--" + case 54: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 15, 17, true); v != nil { + return *v + } + return "" + }() == "--" + case 55: + return c.bucketArn.ResourceId.Get(4) != nil + case 56: + return func() string { + if v := rulesfn.SubString(*params.Bucket, 20, 22, true); v != nil { + return *v + } + return "" + }() == "--" + case 57: + return *params.UseGlobalEndpoint == true + case 58: + return *params.Region == "us-east-1" + case 59: + if v := c.bucketArn.ResourceId.Get(1); v != nil { + c.outpostId_ssa_1 = v + return true + } + return false + case 60: + return func() bool { + if v := params.UseArnRegion; v != nil { + return *v + } + return true + }() == true + case 61: + return rulesfn.IsValidHostLabel(*c.outpostId_ssa_1, false) + case 62: + if v := c.bucketArn.ResourceId.Get(2); v != nil { + c.outpostType = v + return true + } + return false + case 63: + return *params.Region == c.bucketArn.Region + case 64: + return c.bucketPartition.Name == c.partitionResult.Name + case 65: + return *params.DisableMultiRegionAccessPoints == true + case 66: + return rulesfn.IsValidHostLabel(c.bucketArn.Region, true) + case 67: + return c.bucketArn.Partition == c.partitionResult.Name + case 68: + return c.bucketArn.AccountId == "" + case 69: + return c.bucketArn.Service == "s3" + case 70: + return rulesfn.IsValidHostLabel(c.bucketArn.AccountId, false) + case 71: + if v := c.bucketArn.ResourceId.Get(3); v != nil { + c.accessPointName_ssa_2 = v + return true + } + return false + case 72: + return rulesfn.IsValidHostLabel(*c.accessPointName_ssa_1, false) + case 73: + return *c.outpostType == "accesspoint" + case 74: + return rulesfn.IsValidHostLabel(*c.accessPointName_ssa_2, false) } + return false +} - v := s[i] - return &v +func resolveResult(idx int32, params *EndpointParameters, c *conditionContext) (smithyendpoints.Endpoint, error) { + switch idx { + case 0: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint resolution failed: no matching rule") + case 1: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Accelerate cannot be used with FIPS") + case 2: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Cannot set dual-stack in combination with a custom endpoint.") + case 3: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "A custom endpoint cannot be combined with FIPS") + case 4: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "A custom endpoint cannot be combined with S3 Accelerate") + case 5: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Partition does not support FIPS") + case 6: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3Express does not support S3 Accelerate.") + case 7: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: c._s3e_auth, + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 8: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(*params.Bucket) + out.WriteString(".") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: c._s3e_auth, + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 9: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") + case 10: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control") + out.WriteString(c._s3e_fips) + out.WriteString(c._s3e_ds) + out.WriteString(".") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 11: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3express") + out.WriteString(c._s3e_fips) + out.WriteString("-") + out.WriteString(*c.s3expressAvailabilityZoneId) + out.WriteString(c._s3e_ds) + out.WriteString(".") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: c._s3e_auth, + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 12: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") + case 13: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: c._s3e_auth, + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 14: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3express-control") + out.WriteString(c._s3e_fips) + out.WriteString(c._s3e_ds) + out.WriteString(".") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + out.Set("backend", "S3Express") + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3express") + smithyhttp.SetSigV4ASigningName(&sp, "s3express") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 15: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") + case 16: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".ec2.") + out.WriteString(c.url.Authority) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 17: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".ec2.s3-outposts.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 18: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".op-") + out.WriteString(*c.outpostId_ssa_2) + out.WriteString(".") + out.WriteString(c.url.Authority) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 19: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".op-") + out.WriteString(*c.outpostId_ssa_2) + out.WriteString(".s3-outposts.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 20: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Unrecognized hardware type: \"Expected hardware type o or e but got ") + out.WriteString(*c.hardwareType) + out.WriteString("\"") + return out.String() + }()) + case 21: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid Outposts Bucket alias - it must be a valid bucket name.") + case 22: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.") + case 23: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Custom endpoint `") + out.WriteString(*params.Endpoint) + out.WriteString("` was not a valid URI") + return out.String() + }()) + case 24: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 Accelerate cannot be used in this region") + case 25: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-fips.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 26: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-fips.dualstack.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 27: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-fips.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 28: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-fips.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 29: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-accelerate.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 30: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-accelerate.dualstack.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 31: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 32: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3.dualstack.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 33: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.NormalizedPath) + out.WriteString(*params.Bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 34: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(*params.Bucket) + out.WriteString(".") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 35: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.NormalizedPath) + out.WriteString(*params.Bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 36: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(*params.Bucket) + out.WriteString(".") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 37: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-accelerate.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 38: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3-accelerate.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 39: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 40: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 41: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*params.Bucket) + out.WriteString(".s3.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 42: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid region: region was not a valid DNS name.") + case 43: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 Object Lambda does not support Dual-stack") + case 44: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 Object Lambda does not support S3 Accelerate") + case 45: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Access points are not supported for this operation") + case 46: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid configuration: region from ARN `") + out.WriteString(c.bucketArn.Region) + out.WriteString("` does not match client region `") + out.WriteString(*params.Region) + out.WriteString("` and UseArnRegion is `false`") + return out.String() + }()) + case 47: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Missing account id") + case 48: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") + smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 49: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".s3-object-lambda-fips.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") + smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 50: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".s3-object-lambda.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") + smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 51: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("`") + return out.String() + }()) + case 52: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `") + out.WriteString(c.bucketArn.AccountId) + out.WriteString("`") + return out.String() + }()) + case 53: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid region in ARN: `") + out.WriteString(c.bucketArn.Region) + out.WriteString("` (invalid DNS name)") + return out.String() + }()) + case 54: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Client was configured for partition `") + out.WriteString(c.partitionResult.Name) + out.WriteString("` but ARN (`") + out.WriteString(*params.Bucket) + out.WriteString("`) has `") + out.WriteString(c.bucketPartition.Name) + out.WriteString("`") + return out.String() + }()) + case 55: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.") + case 56: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: bucket ARN is missing a region") + case 57: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided") + case 58: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `") + out.WriteString(*c.arnType) + out.WriteString("`") + return out.String() + }()) + case 59: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Access Points do not support S3 Accelerate") + case 60: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".s3-accesspoint-fips.dualstack.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 61: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".s3-accesspoint-fips.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 62: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".s3-accesspoint.dualstack.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 63: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 64: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".s3-accesspoint.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 65: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: The ARN was not for the S3 service, found: ") + out.WriteString(c.bucketArn.Service) + return out.String() + }()) + case 66: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 MRAP does not support dual-stack") + case 67: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 MRAP does not support FIPS") + case 68: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 MRAP does not support S3 Accelerate") + case 69: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid configuration: Multi-Region Access Point ARNs are disabled.") + case 70: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_1) + out.WriteString(".accesspoint.s3-global.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 71: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Client was configured for partition `") + out.WriteString(c.partitionResult.Name) + out.WriteString("` but bucket referred to partition `") + out.WriteString(c.bucketArn.Partition) + out.WriteString("`") + return out.String() + }()) + case 72: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid Access Point Name") + case 73: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support Dual-stack") + case 74: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support FIPS") + case 75: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support S3 Accelerate") + case 76: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid Arn: Outpost Access Point ARN contains sub resources") + case 77: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_2) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".") + out.WriteString(*c.outpostId_ssa_1) + out.WriteString(".") + out.WriteString(c.url.Authority) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 78: + uriString := func() string { + var out strings.Builder + out.WriteString("https://") + out.WriteString(*c.accessPointName_ssa_2) + out.WriteString("-") + out.WriteString(c.bucketArn.AccountId) + out.WriteString(".") + out.WriteString(*c.outpostId_ssa_1) + out.WriteString(".s3-outposts.") + out.WriteString(c.bucketArn.Region) + out.WriteString(".") + out.WriteString(c.bucketPartition.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4a", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) + return sp + }(), + }, + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") + smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") + + smithyhttp.SetSigV4SigningRegion(&sp, c.bucketArn.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 79: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `") + out.WriteString(*c.accessPointName_ssa_2) + out.WriteString("`") + return out.String() + }()) + case 80: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Expected an outpost type `accesspoint`, found ") + out.WriteString(*c.outpostType) + return out.String() + }()) + case 81: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: expected an access point name") + case 82: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Expected a 4-component resource") + case 83: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `") + out.WriteString(*c.outpostId_ssa_1) + out.WriteString("`") + return out.String() + }()) + case 84: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The Outpost Id was not set") + case 85: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: Unrecognized format: ") + out.WriteString(*params.Bucket) + out.WriteString(" (type: ") + out.WriteString(*c.arnType) + out.WriteString(")") + return out.String() + }()) + case 86: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: No ARN type specified") + case 87: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", func() string { + var out strings.Builder + out.WriteString("Invalid ARN: `") + out.WriteString(*params.Bucket) + out.WriteString("` was not a valid ARN") + return out.String() + }()) + case 88: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Path-style addressing cannot be used with ARN buckets") + case 89: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 90: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.dualstack.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 91: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 92: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 93: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 94: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.dualstack.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 95: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.NormalizedPath) + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 96: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.NormalizedPath) + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 97: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 98: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 99: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + out.WriteString("/") + out.WriteString(c.uri_encoded_bucket) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 100: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "Path-style addressing cannot be used with S3 Accelerate") + case 101: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") + smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 102: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-object-lambda-fips.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") + smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 103: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-object-lambda.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") + smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 104: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 105: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.dualstack.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 106: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 107: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3-fips.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 108: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.dualstack.us-east-1.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 109: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.dualstack.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 110: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 111: + uriString := func() string { + var out strings.Builder + out.WriteString(c.url.Scheme) + out.WriteString("://") + out.WriteString(c.url.Authority) + out.WriteString(c.url.Path) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 112: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") + return sp + }(), + }, + }) + return out + }(), + }, nil + case 113: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 114: + uriString := func() string { + var out strings.Builder + out.WriteString("https://s3.") + out.WriteString(*params.Region) + out.WriteString(".") + out.WriteString(c.partitionResult.DnsSuffix) + return out.String() + }() + uri, err := url.Parse(uriString) + if err != nil { + return smithyendpoints.Endpoint{}, fmt.Errorf("Failed to parse uri: %s", uriString) + } + return smithyendpoints.Endpoint{ + URI: *uri, + Headers: http.Header{}, + Properties: func() smithy.Properties { + var out smithy.Properties + smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ + { + SchemeID: "sigv4", + SignerProperties: func() smithy.Properties { + var sp smithy.Properties + smithyhttp.SetDisableDoubleEncoding(&sp, true) + + smithyhttp.SetSigV4SigningName(&sp, "s3") + smithyhttp.SetSigV4ASigningName(&sp, "s3") + + smithyhttp.SetSigV4SigningRegion(&sp, *params.Region) + return sp + }(), + }, + }) + return out + }(), + }, nil + case 115: + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, %s", "A region must be set when sending requests to S3.") + } + return smithyendpoints.Endpoint{}, fmt.Errorf("endpoint rule error, invalid result index: %d", idx) } // EndpointResolverV2 provides the interface for resolving service endpoints. type EndpointResolverV2 interface { - // ResolveEndpoint attempts to resolve the endpoint with the provided options, - // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) @@ -469,9267 +3441,12 @@ func (r *resolver) ResolveEndpoint( if err = params.ValidateRequired(); err != nil { return endpoint, fmt.Errorf("endpoint parameters are not valid, %w", err) } - _UseFIPS := *params.UseFIPS - _ = _UseFIPS - _UseDualStack := *params.UseDualStack - _ = _UseDualStack - _ForcePathStyle := *params.ForcePathStyle - _ = _ForcePathStyle - _Accelerate := *params.Accelerate - _ = _Accelerate - _UseGlobalEndpoint := *params.UseGlobalEndpoint - _ = _UseGlobalEndpoint - _DisableMultiRegionAccessPoints := *params.DisableMultiRegionAccessPoints - _ = _DisableMultiRegionAccessPoints - - if exprVal := params.Region; exprVal != nil { - _Region := *exprVal - _ = _Region - if _Accelerate == true { - if _UseFIPS == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Accelerate cannot be used with FIPS") - } - } - if _UseDualStack == true { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - return endpoint, fmt.Errorf("endpoint rule error, %s", "Cannot set dual-stack in combination with a custom endpoint.") - } - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if _UseFIPS == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "A custom endpoint cannot be combined with FIPS") - } - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "A custom endpoint cannot be combined with S3 Accelerate") - } - } - if _UseFIPS == true { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if _partitionResult.Name == "aws-cn" { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Partition does not support FIPS") - } - } - } - if exprVal := params.Bucket; exprVal != nil { - _Bucket := *exprVal - _ = _Bucket - if exprVal := rulesfn.SubString(_Bucket, 0, 6, true); exprVal != nil { - _bucketSuffix := *exprVal - _ = _bucketSuffix - if _bucketSuffix == "--x-s3" { - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support S3 Accelerate.") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { - _DisableS3ExpressSessionAuth := *exprVal - _ = _DisableS3ExpressSessionAuth - if _DisableS3ExpressSessionAuth == true { - if _url.IsIp == true { - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - if _url.IsIp == true { - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - if exprVal := params.UseS3ExpressControlEndpoint; exprVal != nil { - _UseS3ExpressControlEndpoint := *exprVal - _ = _UseS3ExpressControlEndpoint - if _UseS3ExpressControlEndpoint == true { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { - _DisableS3ExpressSessionAuth := *exprVal - _ = _DisableS3ExpressSessionAuth - if _DisableS3ExpressSessionAuth == true { - if exprVal := rulesfn.SubString(_Bucket, 6, 14, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 14, 16, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 19, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 19, 21, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 20, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 26, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 26, 28, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 14, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 14, 16, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 19, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 19, 21, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 20, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 6, 26, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 26, 28, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - } - if exprVal := params.Bucket; exprVal != nil { - _Bucket := *exprVal - _ = _Bucket - if exprVal := rulesfn.SubString(_Bucket, 0, 7, true); exprVal != nil { - _accessPointSuffix := *exprVal - _ = _accessPointSuffix - if _accessPointSuffix == "--xa-s3" { - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express does not support S3 Accelerate.") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { - _DisableS3ExpressSessionAuth := *exprVal - _ = _DisableS3ExpressSessionAuth - if _DisableS3ExpressSessionAuth == true { - if _url.IsIp == true { - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - if _url.IsIp == true { - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if exprVal := params.DisableS3ExpressSessionAuth; exprVal != nil { - _DisableS3ExpressSessionAuth := *exprVal - _ = _DisableS3ExpressSessionAuth - if _DisableS3ExpressSessionAuth == true { - if exprVal := rulesfn.SubString(_Bucket, 7, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 16, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 16, 18, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 20, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 21, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 21, 23, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 27, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 27, 29, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 15, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 15, 17, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 16, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 16, 18, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 20, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 20, 22, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 21, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 21, 23, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := rulesfn.SubString(_Bucket, 7, 27, true); exprVal != nil { - _s3expressAvailabilityZoneId := *exprVal - _ = _s3expressAvailabilityZoneId - if exprVal := rulesfn.SubString(_Bucket, 27, 29, true); exprVal != nil { - _s3expressAvailabilityZoneDelim := *exprVal - _ = _s3expressAvailabilityZoneDelim - if _s3expressAvailabilityZoneDelim == "--" { - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-fips-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3express-") - out.WriteString(_s3expressAvailabilityZoneId) - out.WriteString(".") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "sigv4-s3express", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Unrecognized S3Express bucket name format.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3Express bucket name is not a valid virtual hostable name.") - } - } - } - if !(params.Bucket != nil) { - if exprVal := params.UseS3ExpressControlEndpoint; exprVal != nil { - _UseS3ExpressControlEndpoint := *exprVal - _ = _UseS3ExpressControlEndpoint - if _UseS3ExpressControlEndpoint == true { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3express-control.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - out.Set("backend", "S3Express") - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3express") - smithyhttp.SetSigV4ASigningName(&sp, "s3express") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - if exprVal := params.Bucket; exprVal != nil { - _Bucket := *exprVal - _ = _Bucket - if exprVal := rulesfn.SubString(_Bucket, 49, 50, true); exprVal != nil { - _hardwareType := *exprVal - _ = _hardwareType - if exprVal := rulesfn.SubString(_Bucket, 8, 12, true); exprVal != nil { - _regionPrefix := *exprVal - _ = _regionPrefix - if exprVal := rulesfn.SubString(_Bucket, 0, 7, true); exprVal != nil { - _bucketAliasSuffix := *exprVal - _ = _bucketAliasSuffix - if exprVal := rulesfn.SubString(_Bucket, 32, 49, true); exprVal != nil { - _outpostId := *exprVal - _ = _outpostId - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _regionPartition := *exprVal - _ = _regionPartition - if _bucketAliasSuffix == "--op-s3" { - if rulesfn.IsValidHostLabel(_outpostId, false) { - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - if _hardwareType == "e" { - if _regionPrefix == "beta" { - if !(params.Endpoint != nil) { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".ec2.") - out.WriteString(_url.Authority) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".ec2.s3-outposts.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_regionPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - if _hardwareType == "o" { - if _regionPrefix == "beta" { - if !(params.Endpoint != nil) { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Expected a endpoint to be specified but no endpoint was found") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".op-") - out.WriteString(_outpostId) - out.WriteString(".") - out.WriteString(_url.Authority) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".op-") - out.WriteString(_outpostId) - out.WriteString(".s3-outposts.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_regionPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Unrecognized hardware type: \"Expected hardware type o or e but got ") - out.WriteString(_hardwareType) - out.WriteString("\"") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Outposts Bucket alias - it must be a valid bucket name.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.") - } - } - } - } - } - } - } - if exprVal := params.Bucket; exprVal != nil { - _Bucket := *exprVal - _ = _Bucket - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if !(rulesfn.ParseURL(_Endpoint) != nil) { - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Custom endpoint `") - out.WriteString(_Endpoint) - out.WriteString("` was not a valid URI") - return out.String() - }()) - } - } - if _ForcePathStyle == false { - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, false) { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if rulesfn.IsValidHostLabel(_Region, false) { - if _Accelerate == true { - if _partitionResult.Name == "aws-cn" { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Accelerate cannot be used in this region") - } - } - if _UseDualStack == true { - if _UseFIPS == true { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-fips.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == true { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == true { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == true { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-fips.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == true { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == true { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == false { - if _Accelerate == true { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == false { - if _Accelerate == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.dualstack.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == false { - if _Accelerate == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.dualstack.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == false { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == false { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == true { - if _UseFIPS == false { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.IsIp == true { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_Bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.IsIp == false { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.IsIp == true { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_Bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_Bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.IsIp == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.IsIp == true { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_Bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.IsIp == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == true { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3-accelerate.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if _UseFIPS == false { - if _Accelerate == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_Bucket) - out.WriteString(".s3.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid region: region was not a valid DNS name.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _url.Scheme == "http" { - if awsrulesfn.IsVirtualHostableS3Bucket(_Bucket, true) { - if _ForcePathStyle == false { - if _UseFIPS == false { - if _UseDualStack == false { - if _Accelerate == false { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if rulesfn.IsValidHostLabel(_Region, false) { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_Bucket) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid region: region was not a valid DNS name.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - } - } - } - } - } - } - if _ForcePathStyle == false { - if exprVal := awsrulesfn.ParseARN(_Bucket); exprVal != nil { - _bucketArn := *exprVal - _ = _bucketArn - if exprVal := _bucketArn.ResourceId.Get(0); exprVal != nil { - _arnType := *exprVal - _ = _arnType - if !(_arnType == "") { - if _bucketArn.Service == "s3-object-lambda" { - if _arnType == "accesspoint" { - if exprVal := _bucketArn.ResourceId.Get(1); exprVal != nil { - _accessPointName := *exprVal - _ = _accessPointName - if !(_accessPointName == "") { - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Object Lambda does not support Dual-stack") - } - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Object Lambda does not support S3 Accelerate") - } - if !(_bucketArn.Region == "") { - if exprVal := params.DisableAccessPoints; exprVal != nil { - _DisableAccessPoints := *exprVal - _ = _DisableAccessPoints - if _DisableAccessPoints == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Access points are not supported for this operation") - } - } - if !(_bucketArn.ResourceId.Get(2) != nil) { - if exprVal := params.UseArnRegion; exprVal != nil { - _UseArnRegion := *exprVal - _ = _UseArnRegion - if _UseArnRegion == false { - if !(_bucketArn.Region == _Region) { - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid configuration: region from ARN `") - out.WriteString(_bucketArn.Region) - out.WriteString("` does not match client region `") - out.WriteString(_Region) - out.WriteString("` and UseArnRegion is `false`") - return out.String() - }()) - } - } - } - if exprVal := awsrulesfn.GetPartition(_bucketArn.Region); exprVal != nil { - _bucketPartition := *exprVal - _ = _bucketPartition - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if _bucketPartition.Name == _partitionResult.Name { - if rulesfn.IsValidHostLabel(_bucketArn.Region, true) { - if _bucketArn.AccountId == "" { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Missing account id") - } - if rulesfn.IsValidHostLabel(_bucketArn.AccountId, false) { - if rulesfn.IsValidHostLabel(_accessPointName, false) { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") - smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".s3-object-lambda-fips.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") - smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".s3-object-lambda.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") - smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_accessPointName) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_bucketArn.AccountId) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid region in ARN: `") - out.WriteString(_bucketArn.Region) - out.WriteString("` (invalid DNS name)") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Client was configured for partition `") - out.WriteString(_partitionResult.Name) - out.WriteString("` but ARN (`") - out.WriteString(_Bucket) - out.WriteString("`) has `") - out.WriteString(_bucketPartition.Name) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: bucket ARN is missing a region") - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `") - out.WriteString(_arnType) - out.WriteString("`") - return out.String() - }()) - } - if _arnType == "accesspoint" { - if exprVal := _bucketArn.ResourceId.Get(1); exprVal != nil { - _accessPointName := *exprVal - _ = _accessPointName - if !(_accessPointName == "") { - if !(_bucketArn.Region == "") { - if _arnType == "accesspoint" { - if !(_bucketArn.Region == "") { - if exprVal := params.DisableAccessPoints; exprVal != nil { - _DisableAccessPoints := *exprVal - _ = _DisableAccessPoints - if _DisableAccessPoints == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Access points are not supported for this operation") - } - } - if !(_bucketArn.ResourceId.Get(2) != nil) { - if exprVal := params.UseArnRegion; exprVal != nil { - _UseArnRegion := *exprVal - _ = _UseArnRegion - if _UseArnRegion == false { - if !(_bucketArn.Region == _Region) { - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid configuration: region from ARN `") - out.WriteString(_bucketArn.Region) - out.WriteString("` does not match client region `") - out.WriteString(_Region) - out.WriteString("` and UseArnRegion is `false`") - return out.String() - }()) - } - } - } - if exprVal := awsrulesfn.GetPartition(_bucketArn.Region); exprVal != nil { - _bucketPartition := *exprVal - _ = _bucketPartition - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if _bucketPartition.Name == _partitionResult.Name { - if rulesfn.IsValidHostLabel(_bucketArn.Region, true) { - if _bucketArn.Service == "s3" { - if rulesfn.IsValidHostLabel(_bucketArn.AccountId, false) { - if rulesfn.IsValidHostLabel(_accessPointName, false) { - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Access Points do not support S3 Accelerate") - } - if _UseFIPS == true { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".s3-accesspoint-fips.dualstack.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".s3-accesspoint-fips.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".s3-accesspoint.dualstack.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".s3-accesspoint.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_accessPointName) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_bucketArn.AccountId) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The ARN was not for the S3 service, found: ") - out.WriteString(_bucketArn.Service) - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid region in ARN: `") - out.WriteString(_bucketArn.Region) - out.WriteString("` (invalid DNS name)") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Client was configured for partition `") - out.WriteString(_partitionResult.Name) - out.WriteString("` but ARN (`") - out.WriteString(_Bucket) - out.WriteString("`) has `") - out.WriteString(_bucketPartition.Name) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - if rulesfn.IsValidHostLabel(_accessPointName, true) { - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 MRAP does not support dual-stack") - } - if _UseFIPS == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 MRAP does not support FIPS") - } - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 MRAP does not support S3 Accelerate") - } - if _DisableMultiRegionAccessPoints == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid configuration: Multi-Region Access Point ARNs are disabled.") - } - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _mrapPartition := *exprVal - _ = _mrapPartition - if _mrapPartition.Name == _bucketArn.Partition { - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString(".accesspoint.s3-global.") - out.WriteString(_mrapPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Client was configured for partition `") - out.WriteString(_mrapPartition.Name) - out.WriteString("` but bucket referred to partition `") - out.WriteString(_bucketArn.Partition) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Access Point Name") - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided") - } - if _bucketArn.Service == "s3-outposts" { - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support Dual-stack") - } - if _UseFIPS == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support FIPS") - } - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Outposts does not support S3 Accelerate") - } - if exprVal := _bucketArn.ResourceId.Get(4); exprVal != nil { - _var_474 := *exprVal - _ = _var_474 - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid Arn: Outpost Access Point ARN contains sub resources") - } - if exprVal := _bucketArn.ResourceId.Get(1); exprVal != nil { - _outpostId := *exprVal - _ = _outpostId - if rulesfn.IsValidHostLabel(_outpostId, false) { - if exprVal := params.UseArnRegion; exprVal != nil { - _UseArnRegion := *exprVal - _ = _UseArnRegion - if _UseArnRegion == false { - if !(_bucketArn.Region == _Region) { - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid configuration: region from ARN `") - out.WriteString(_bucketArn.Region) - out.WriteString("` does not match client region `") - out.WriteString(_Region) - out.WriteString("` and UseArnRegion is `false`") - return out.String() - }()) - } - } - } - if exprVal := awsrulesfn.GetPartition(_bucketArn.Region); exprVal != nil { - _bucketPartition := *exprVal - _ = _bucketPartition - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if _bucketPartition.Name == _partitionResult.Name { - if rulesfn.IsValidHostLabel(_bucketArn.Region, true) { - if rulesfn.IsValidHostLabel(_bucketArn.AccountId, false) { - if exprVal := _bucketArn.ResourceId.Get(2); exprVal != nil { - _outpostType := *exprVal - _ = _outpostType - if exprVal := _bucketArn.ResourceId.Get(3); exprVal != nil { - _accessPointName := *exprVal - _ = _accessPointName - if _outpostType == "accesspoint" { - if rulesfn.IsValidHostLabel(_accessPointName, false) { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".") - out.WriteString(_outpostId) - out.WriteString(".") - out.WriteString(_url.Authority) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://") - out.WriteString(_accessPointName) - out.WriteString("-") - out.WriteString(_bucketArn.AccountId) - out.WriteString(".") - out.WriteString(_outpostId) - out.WriteString(".s3-outposts.") - out.WriteString(_bucketArn.Region) - out.WriteString(".") - out.WriteString(_bucketPartition.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4a", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4ASigningRegions(&sp, []string{"*"}) - return sp - }(), - }, - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-outposts") - smithyhttp.SetSigV4ASigningName(&sp, "s3-outposts") - - smithyhttp.SetSigV4SigningRegion(&sp, _bucketArn.Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_accessPointName) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Expected an outpost type `accesspoint`, found ") - out.WriteString(_outpostType) - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: expected an access point name") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: Expected a 4-component resource") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_bucketArn.AccountId) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid region in ARN: `") - out.WriteString(_bucketArn.Region) - out.WriteString("` (invalid DNS name)") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Client was configured for partition `") - out.WriteString(_partitionResult.Name) - out.WriteString("` but ARN (`") - out.WriteString(_Bucket) - out.WriteString("`) has `") - out.WriteString(_bucketPartition.Name) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `") - out.WriteString(_outpostId) - out.WriteString("`") - return out.String() - }()) - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: The Outpost Id was not set") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: Unrecognized format: ") - out.WriteString(_Bucket) - out.WriteString(" (type: ") - out.WriteString(_arnType) - out.WriteString(")") - return out.String() - }()) - } - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid ARN: No ARN type specified") - } - } - if exprVal := rulesfn.SubString(_Bucket, 0, 4, false); exprVal != nil { - _arnPrefix := *exprVal - _ = _arnPrefix - if _arnPrefix == "arn:" { - if !(awsrulesfn.ParseARN(_Bucket) != nil) { - return endpoint, fmt.Errorf("endpoint rule error, %s", func() string { - var out strings.Builder - out.WriteString("Invalid ARN: `") - out.WriteString(_Bucket) - out.WriteString("` was not a valid ARN") - return out.String() - }()) - } - } - } - if _ForcePathStyle == true { - if exprVal := awsrulesfn.ParseARN(_Bucket); exprVal != nil { - _var_488 := *exprVal - _ = _var_488 - return endpoint, fmt.Errorf("endpoint rule error, %s", "Path-style addressing cannot be used with ARN buckets") - } - } - _uri_encoded_bucket := rulesfn.URIEncode(_Bucket) - _ = _uri_encoded_bucket - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if _Accelerate == false { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _UseFIPS == true { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _UseFIPS == false { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _UseFIPS == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _UseFIPS == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _UseFIPS == false { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _UseFIPS == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _UseFIPS == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.NormalizedPath) - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _UseFIPS == false { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _UseFIPS == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _UseFIPS == false { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - out.WriteString("/") - out.WriteString(_uri_encoded_bucket) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Path-style addressing cannot be used with S3 Accelerate") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - if exprVal := params.UseObjectLambdaEndpoint; exprVal != nil { - _UseObjectLambdaEndpoint := *exprVal - _ = _UseObjectLambdaEndpoint - if _UseObjectLambdaEndpoint == true { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if rulesfn.IsValidHostLabel(_Region, true) { - if _UseDualStack == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Object Lambda does not support Dual-stack") - } - if _Accelerate == true { - return endpoint, fmt.Errorf("endpoint rule error, %s", "S3 Object Lambda does not support S3 Accelerate") - } - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") - smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - if _UseFIPS == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-object-lambda-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") - smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-object-lambda.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3-object-lambda") - smithyhttp.SetSigV4ASigningName(&sp, "s3-object-lambda") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid region: region was not a valid DNS name.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - } - if !(params.Bucket != nil) { - if exprVal := awsrulesfn.GetPartition(_Region); exprVal != nil { - _partitionResult := *exprVal - _ = _partitionResult - if rulesfn.IsValidHostLabel(_Region, true) { - if _UseFIPS == true { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseFIPS == true { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == true { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == true { - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseFIPS == true { - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == true { - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3-fips.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.dualstack.us-east-1.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == true { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.dualstack.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if exprVal := params.Endpoint; exprVal != nil { - _Endpoint := *exprVal - _ = _Endpoint - if exprVal := rulesfn.ParseURL(_Endpoint); exprVal != nil { - _url := *exprVal - _ = _url - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString(_url.Scheme) - out.WriteString("://") - out.WriteString(_url.Authority) - out.WriteString(_url.Path) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if _Region == "aws-global" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, "us-east-1") - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == true { - if _Region == "us-east-1" { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - if _UseFIPS == false { - if _UseDualStack == false { - if !(params.Endpoint != nil) { - if !(_Region == "aws-global") { - if _UseGlobalEndpoint == false { - uriString := func() string { - var out strings.Builder - out.WriteString("https://s3.") - out.WriteString(_Region) - out.WriteString(".") - out.WriteString(_partitionResult.DnsSuffix) - return out.String() - }() - - uri, err := url.Parse(uriString) - if err != nil { - return endpoint, fmt.Errorf("Failed to parse uri: %s", uriString) - } - - return smithyendpoints.Endpoint{ - URI: *uri, - Headers: http.Header{}, - Properties: func() smithy.Properties { - var out smithy.Properties - smithyauth.SetAuthOptions(&out, []*smithyauth.Option{ - { - SchemeID: "aws.auth#sigv4", - SignerProperties: func() smithy.Properties { - var sp smithy.Properties - smithyhttp.SetDisableDoubleEncoding(&sp, true) - - smithyhttp.SetSigV4SigningName(&sp, "s3") - smithyhttp.SetSigV4ASigningName(&sp, "s3") - - smithyhttp.SetSigV4SigningRegion(&sp, _Region) - return sp - }(), - }, - }) - return out - }(), - }, nil - } - } - } - } - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "Invalid region: region was not a valid DNS name.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("Endpoint resolution failed. Invalid operation or environment input.") - } - return endpoint, fmt.Errorf("endpoint rule error, %s", "A region must be set when sending requests to S3.") + + c := &conditionContext{} + ref := bdd.Evaluate(bddNodes[:], bddRoot, func(idx int) bool { + return evalCondition(idx, ¶ms, c) + }) + return resolveResult(ref, ¶ms, c) } type endpointParamsBinder interface { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/eventstream.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/eventstream.go index d6cdb5337..3e3756ef7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/eventstream.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/eventstream.go @@ -14,7 +14,6 @@ import ( smithysync "github.com/aws/smithy-go/sync" smithyhttp "github.com/aws/smithy-go/transport/http" "io" - "io/ioutil" "sync" ) @@ -228,7 +227,7 @@ func (m *awsRestxml_deserializeOpEventStreamSelectObjectContent) HandleDeseriali func (*awsRestxml_deserializeOpEventStreamSelectObjectContent) closeResponseBody(out middleware.DeserializeOutput) { if resp, ok := out.RawResponse.(*smithyhttp.Response); ok && resp != nil && resp.Body != nil { - _, _ = io.Copy(ioutil.Discard, resp.Body) + _, _ = io.Copy(io.Discard, resp.Body) _ = resp.Body.Close() } } diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go index c1666ef06..ffe6831d1 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/go_module_metadata.go @@ -3,4 +3,4 @@ package s3 // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.101.0" +const goModuleVersion = "1.103.2" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations/handle_200_error.go b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations/handle_200_error.go index 2b11b1fa2..1aee52c57 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations/handle_200_error.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations/handle_200_error.go @@ -6,7 +6,6 @@ import ( "encoding/xml" "fmt" "io" - "io/ioutil" "strings" "github.com/aws/smithy-go" @@ -61,7 +60,7 @@ func (m *processResponseFor200ErrorMiddleware) HandleDeserialize( } // rewind response body - response.Body = ioutil.NopCloser(io.MultiReader(&readBuff, response.Body)) + response.Body = io.NopCloser(io.MultiReader(&readBuff, response.Body)) // if start tag is "Error", the response is consider error response. if strings.EqualFold(t.Name.Local, "Error") { diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md index 1ef7fc49a..d033a73d6 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/CHANGELOG.md @@ -1,16 +1,3 @@ -# v1.1.4 (2026-06-04) - -* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.1.3 (2026-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.1.2 (2026-06-02) - -* **Dependency Update**: Updated to the latest SDK module versions - # v1.1.1 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go index 92168b625..b4964612f 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/signin/go_module_metadata.go @@ -3,4 +3,4 @@ package signin // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.1.4" +const goModuleVersion = "1.1.1" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md index dd783cf45..3cdae3e38 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/CHANGELOG.md @@ -1,16 +1,3 @@ -# v1.36.5 (2026-06-04) - -* **Dependency Update**: Update to smithy-go v1.27.1 to fix several union-related deserialization bugs in schema-serde-enabled services. -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.36.4 (2026-06-03) - -* **Dependency Update**: Updated to the latest SDK module versions - -# v1.36.3 (2026-06-02) - -* **Dependency Update**: Updated to the latest SDK module versions - # v1.36.2 (2026-05-29) * **Dependency Update**: Update to smithy-go v1.26.0. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go index 3995dcc17..6ab509bf7 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go @@ -3,4 +3,4 @@ package ssooidc // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.36.5" +const goModuleVersion = "1.36.2" diff --git a/vendor/github.com/aws/smithy-go/CHANGELOG.md b/vendor/github.com/aws/smithy-go/CHANGELOG.md index 6ff611a8d..fe8409e5f 100644 --- a/vendor/github.com/aws/smithy-go/CHANGELOG.md +++ b/vendor/github.com/aws/smithy-go/CHANGELOG.md @@ -1,3 +1,12 @@ +# Release (2026-06-05) + +## General Highlights +* **Dependency Update**: Updated to the latest SDK module versions + +## Module Highlights +* `github.com/aws/smithy-go`: v1.27.2 + * **Bug Fix**: Fix incorrect serialization of unions in CBOR-based protocols. + # Release (2026-06-04) ## General Highlights diff --git a/vendor/github.com/aws/smithy-go/go_module_metadata.go b/vendor/github.com/aws/smithy-go/go_module_metadata.go index ba81f7728..8b6dcf929 100644 --- a/vendor/github.com/aws/smithy-go/go_module_metadata.go +++ b/vendor/github.com/aws/smithy-go/go_module_metadata.go @@ -3,4 +3,4 @@ package smithy // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.27.1" +const goModuleVersion = "1.27.2" diff --git a/vendor/github.com/go-openapi/loads/.gitignore b/vendor/github.com/go-openapi/loads/.gitignore index d8f4186fe..fbb78de2c 100644 --- a/vendor/github.com/go-openapi/loads/.gitignore +++ b/vendor/github.com/go-openapi/loads/.gitignore @@ -3,3 +3,4 @@ .idea .env .mcp.json +.worktrees diff --git a/vendor/github.com/go-openapi/loads/.golangci.yml b/vendor/github.com/go-openapi/loads/.golangci.yml index 83968f3fa..272b14e54 100644 --- a/vendor/github.com/go-openapi/loads/.golangci.yml +++ b/vendor/github.com/go-openapi/loads/.golangci.yml @@ -7,6 +7,8 @@ linters: - gochecknoglobals # on this repo, it is hard to refactor without globals/inits and no breaking change - gochecknoinits - godox + - gomodguard + - gomodguard_v2 - exhaustruct - nlreturn - nonamedreturns diff --git a/vendor/github.com/go-openapi/loads/CONTRIBUTORS.md b/vendor/github.com/go-openapi/loads/CONTRIBUTORS.md index 36b836a3d..6ab26b8dd 100644 --- a/vendor/github.com/go-openapi/loads/CONTRIBUTORS.md +++ b/vendor/github.com/go-openapi/loads/CONTRIBUTORS.md @@ -4,12 +4,12 @@ | Total Contributors | Total Contributions | | --- | --- | -| 14 | 123 | +| 14 | 133 | | Username | All Time Contribution Count | All Commits | | --- | --- | --- | +| @fredbi | 55 | | | @casualjim | 48 | | -| @fredbi | 45 | | | @youyuanwu | 6 | | | @vburenin | 4 | | | @keramix | 4 | | @@ -23,4 +23,4 @@ | @kreativka | 1 | | | @petrkotas | 1 | | - _this file was generated by the [Contributors GitHub Action](https://github.com/github/contributors)_ + _this file was generated by the [Contributors GitHub Action](https://github.com/github-community-projects/contributors)_ diff --git a/vendor/github.com/go-openapi/loads/README.md b/vendor/github.com/go-openapi/loads/README.md index d92e62a04..293f79bb6 100644 --- a/vendor/github.com/go-openapi/loads/README.md +++ b/vendor/github.com/go-openapi/loads/README.md @@ -20,12 +20,9 @@ Supports JSON and YAML documents. * **2025-12-19** : new community chat on discord * a new discord community channel is available to be notified of changes and support users - * our venerable Slack channel remains open, and will be eventually discontinued on **2026-03-31** You may join the discord community by clicking the invite link on the discord badge (also above). [![Discord Channel][discord-badge]][discord-url] -Or join our Slack channel: [![Slack Channel][slack-logo]![slack-badge]][slack-url] - ## Status API is stable. @@ -58,6 +55,41 @@ go get github.com/go-openapi/loads See also the provided [examples](https://pkg.go.dev/github.com/go-openapi/loads#pkg-examples). +## Security + +This library does not enforce a security policy of its own: it reads whatever the configured +loader is allowed to read. + +This is deliberate — like `go-openapi/swag/loading`, it is a base utility, +and sanitizing or containing untrusted input is the caller's responsibility, +just as sanitizing a file name before passing it to `os.ReadFile` is not that function's job. + +When a spec — its path or its `$ref` contents — may come from an untrusted source, confine +loading explicitly (e.g. `loading.WithRoot` for local files and a restricted +`loading.WithHTTPClient` for remote URLs, passed via `loads.WithLoadingOptions`). + +For the common case, the pre-baked `loads.SpecRestricted` / `loads.JSONSpecRestricted` loaders +bundle a trusted root with a network-restricted client (`loads.RestrictedHTTPClient`) and apply +the confinement to `$ref` resolution as well: + +```go +doc, err := loads.SpecRestricted(path, trustedRoot) +``` + +To harden the package-level default in one call — so even callers that rely on the global +loader (including cross-package `$ref` resolution via `spec.PathLoader`) are confined, with no +unconfined fallback left — use `loads.SetRestrictedLoaders` at startup: + +```go +loads.SetRestrictedLoaders(trustedRoot) +``` + +Note that `loads.AddLoader` only *prepends* to the default chain, leaving the unconfined loader +reachable; use `loads.SetLoaders` / `loads.SetRestrictedLoaders` to replace it. + +See the [Security section of the package documentation][security-doc] for the threat model and +runnable examples. For the project's vulnerability reporting policy, see [SECURITY.md](./SECURITY.md). + ## Change log See @@ -69,9 +101,9 @@ This library ships under the [SPDX-License-Identifier: Apache-2.0](./LICENSE). ## Other documentation * [All-time contributors](./CONTRIBUTORS.md) -* [Contributing guidelines](.github/CONTRIBUTING.md) -* [Maintainers documentation](docs/MAINTAINERS.md) -* [Code style](docs/STYLE.md) +* [Contributing guidelines][contributing-doc-site] +* [Maintainers documentation][maintainers-doc-site] +* [Code style][style-doc-site] ## Cutting a new release @@ -102,11 +134,8 @@ Maintainers can cut a new release by either: [godoc-badge]: https://pkg.go.dev/badge/github.com/go-openapi/loads [godoc-url]: http://pkg.go.dev/github.com/go-openapi/loads -[slack-logo]: https://a.slack-edge.com/e6a93c1/img/icons/favicon-32.png -[slack-badge]: https://img.shields.io/badge/slack-blue?link=https%3A%2F%2Fgoswagger.slack.com%2Farchives%2FC04R30YM -[slack-url]: https://goswagger.slack.com/archives/C04R30YMU [discord-badge]: https://img.shields.io/discord/1446918742398341256?logo=discord&label=discord&color=blue -[discord-url]: https://discord.gg/twZ9BwT3 +[discord-url]: https://discord.gg/FfnFYaC3k5 [license-badge]: http://img.shields.io/badge/license-Apache%20v2-orange.svg @@ -116,3 +145,9 @@ Maintainers can cut a new release by either: [goversion-url]: https://github.com/go-openapi/loads/blob/master/go.mod [top-badge]: https://img.shields.io/github/languages/top/go-openapi/loads [commits-badge]: https://img.shields.io/github/commits-since/go-openapi/loads/latest + +[security-doc]: https://pkg.go.dev/github.com/go-openapi/loads#hdr-Security + +[contributing-doc-site]: https://go-openapi.github.io/doc-site/contributing/contributing/index.html +[maintainers-doc-site]: https://go-openapi.github.io/doc-site/maintainers/index.html +[style-doc-site]: https://go-openapi.github.io/doc-site/contributing/style/index.html diff --git a/vendor/github.com/go-openapi/loads/doc.go b/vendor/github.com/go-openapi/loads/doc.go index 67a5e2f8d..0fafe4f46 100644 --- a/vendor/github.com/go-openapi/loads/doc.go +++ b/vendor/github.com/go-openapi/loads/doc.go @@ -6,4 +6,72 @@ // It is used by other go-openapi packages to load and run analysis on local or remote spec documents. // // Loaders support JSON and YAML documents. +// +// # Security +// +// This package does not enforce a security policy of its own: like the underlying +// [github.com/go-openapi/swag/loading] utilities, it reads whatever the configured loader is +// allowed to read. +// +// When a spec — its path or its contents — may derive from untrusted input, the caller must confine loading explicitly. +// +// This is a deliberate design choice. +// Both this package and the [github.com/go-openapi/swag/loading] utilities are base building blocks: +// deciding which sources are legitimate, and containing access to them, +// requires application context that a general-purpose loader does not have. +// +// Just as sanitizing a file name before handing it to [os.ReadFile] is the caller's +// responsibility and not that function's, sanitizing and containing the path and references +// resolved here is the responsibility of the code that may feed them untrusted input. +// +// There are two distinct attack surfaces: +// +// - The path passed to [Spec], [JSONSpec], or [Embedded]. By default a local path is read +// with no confinement, so a caller-controlled path (including an absolute path or a +// "file:///etc/passwd" URI) may read any file the process can access. A remote path is +// fetched with [net/http.DefaultClient], which follows redirects and performs no +// destination filtering, so a caller-controlled URL may reach internal services or cloud +// metadata endpoints (server-side request forgery). +// +// - The contents of the spec, when references are resolved. [Document.Expanded] follows the +// "$ref" pointers found inside the document by calling the same loader recursively. A spec +// obtained even from a trusted path can therefore drive arbitrary local reads +// ("$ref": "file:///etc/passwd") or SSRF ("$ref": "http://169.254.169.254/...") through +// its own contents. This amplification is specific to reference resolution and does not +// exist in the raw loading utilities. +// +// Mitigation. Pass [github.com/go-openapi/swag/loading] options through [WithLoadingOptions]; +// they are attached to the document's loader and so apply both to the initial load and to +// every "$ref" resolved during expansion: +// +// - [github.com/go-openapi/swag/loading.WithRoot] confines local reads to a trusted +// directory, rejecting absolute paths, ".." traversal, and symlinks that escape it. Prefer +// it over a [github.com/go-openapi/swag/loading.WithFS] built from [os.DirFS], which does +// not block symlink escapes. +// +// - [github.com/go-openapi/swag/loading.WithHTTPClient] allows to supply a restricted HTTP client. +// Enforce the network policy at dial time (a [net.Dialer] Control hook), so it also covers +// redirects and DNS rebinding, which a URL-string allowlist cannot. See the example on +// [Spec]. +// +// Pre-baked loaders. When the opinionated defaults fit, [SpecRestricted], [JSONSpecRestricted] +// and [JSONDocRestricted] bundle a trusted root with a network-restricted client +// ([RestrictedHTTPClient]), and apply the confinement to "$ref" resolution as well — so the +// common case needs no manual wiring. To harden the global default in one call (so even callers +// that rely on the package-level loader are confined), use [SetRestrictedLoaders]. Reach for the +// options above when you need a custom policy; [IsForbiddenAddress] exposes the default network +// policy so you can reuse it as the base of your own HTTP client. +// +// Caveats: +// +// - The package-level default loader (also installed as [github.com/go-openapi/spec.PathLoader]) +// carries no loading options and is therefore unconfined. It is used as a fallback when +// expansion runs without a document loader, and by other go-openapi packages that resolve +// references on their own. [AddLoader] does not fix this — it only prepends, leaving the +// unconfined fallback reachable. Either build a confined loader per call, or replace the +// global default outright with [SetLoaders] / [SetRestrictedLoaders]. +// +// - A custom loader installed via [WithDocLoader] or [AddLoader] only honors these +// protections if its loading function actually applies the [github.com/go-openapi/swag/loading] +// options it is given. package loads diff --git a/vendor/github.com/go-openapi/loads/errors.go b/vendor/github.com/go-openapi/loads/errors.go index 14a8186b6..e94f038f9 100644 --- a/vendor/github.com/go-openapi/loads/errors.go +++ b/vendor/github.com/go-openapi/loads/errors.go @@ -15,4 +15,8 @@ const ( // ErrNoLoader indicates that no configured loader matched the input. ErrNoLoader loaderError = "no loader matched" + + // ErrForbiddenAddress is returned by [RestrictedHTTPClient] when a connection is attempted + // to a non-public address (loopback, private, link-local, or unspecified). + ErrForbiddenAddress loaderError = "blocked dial to a non-public address" ) diff --git a/vendor/github.com/go-openapi/loads/loaders.go b/vendor/github.com/go-openapi/loads/loaders.go index ac8adfe8b..f8a2a9438 100644 --- a/vendor/github.com/go-openapi/loads/loaders.go +++ b/vendor/github.com/go-openapi/loads/loaders.go @@ -21,6 +21,15 @@ import ( var loaders *loader func init() { + loaders = defaultLoaders() + + // sets the global default loader for go-openapi/spec + spec.PathLoader = loaders.Load +} + +// defaultLoaders builds the built-in loader chain: a YAML matcher first, with a JSON loader as +// the catch-all fallback. +func defaultLoaders() *loader { jsonLoader := &loader{ DocLoaderWithMatch: DocLoaderWithMatch{ Match: func(_ string) bool { @@ -30,15 +39,35 @@ func init() { }, } - loaders = jsonLoader.WithHead(&loader{ + return jsonLoader.WithHead(&loader{ DocLoaderWithMatch: DocLoaderWithMatch{ Match: loading.YAMLMatcher, Fn: loading.YAMLDoc, }, }) +} - // sets the global default loader for go-openapi/spec - spec.PathLoader = loaders.Load +// buildLoaderChain links a list of [DocLoaderWithMatch] into a loader chain, preserving order. +// Entries with a nil Fn are skipped. Returns nil when no usable loader is provided. +func buildLoaderChain(ldrs ...DocLoaderWithMatch) *loader { + var final, prev *loader + for _, ldr := range ldrs { + if ldr.Fn == nil { + continue + } + + node := &loader{DocLoaderWithMatch: ldr} + if prev == nil { + final = node + prev = node + + continue + } + + prev = prev.WithNext(node) + } + + return final } // DocLoader represents a doc loader type. @@ -141,6 +170,17 @@ func JSONDoc(path string, opts ...loading.Option) (json.RawMessage, error) { // // This function updates the default loader used by [github.com/go-openapi/spec]. // Since this sets package level globals, you shouldn't call this concurrently. +// +// # Security +// +// AddLoader only *prepends* to the default chain: the previous loaders — including the +// unconfined JSON fallback — remain reachable, both here and via cross-package "$ref" +// resolution. It is therefore the wrong tool for hardening the global default. To replace the +// chain entirely (leaving no unconfined fallback) use [SetLoaders], or [SetRestrictedLoaders] +// for a one-call confined setup. For a single load, prefer a confined per-call loader via +// [WithLoadingOptions] or [WithDocLoaderMatches]. A custom loader registered here only honors +// the protections if its loading function applies the [github.com/go-openapi/swag/loading] +// options it is given. See the package documentation on Security. func AddLoader(predicate DocMatcher, load DocLoader) { loaders = loaders.WithHead(&loader{ DocLoaderWithMatch: DocLoaderWithMatch{ @@ -152,3 +192,36 @@ func AddLoader(predicate DocMatcher, load DocLoader) { // sets the global default loader for go-openapi/spec spec.PathLoader = loaders.Load } + +// SetLoaders replaces the package-level default loader chain with the given loaders, tried in +// order, and re-points [github.com/go-openapi/spec.PathLoader] at it. +// +// Unlike [AddLoader], nothing of the previous default survives — so when the replacement is +// confined, no unconfined fallback remains for any caller relying on the global default +// (including cross-package "$ref" resolution). An entry with a nil Match is a catch-all; you +// are responsible for providing a suitable fallback. Calling SetLoaders with no usable loader +// restores the built-in default (a YAML matcher with a JSON fallback). +// +// # Concurrency +// +// This sets package-level globals and the [github.com/go-openapi/spec] global loader. It is +// not safe to call concurrently with other loads or with [AddLoader]; configure it once at +// startup, before serving. +// +// # Security +// +// This is the way to harden the global default in one place. For a ready-made confined setup, +// see [SetRestrictedLoaders]. As with [AddLoader], a custom loader only honors the protections +// if its loading function applies the [github.com/go-openapi/swag/loading] options it is given. +// See the package documentation on Security. +func SetLoaders(ldrs ...DocLoaderWithMatch) { + chain := buildLoaderChain(ldrs...) + if chain == nil { + chain = defaultLoaders() + } + + loaders = chain + + // sets the global default loader for go-openapi/spec + spec.PathLoader = loaders.Load +} diff --git a/vendor/github.com/go-openapi/loads/options.go b/vendor/github.com/go-openapi/loads/options.go index 045ece5e0..fec20520b 100644 --- a/vendor/github.com/go-openapi/loads/options.go +++ b/vendor/github.com/go-openapi/loads/options.go @@ -51,25 +51,16 @@ func WithDocLoader(l DocLoader) LoaderOption { // Loaders are executed in the order of provided [DocLoaderWithMatch] 'es. func WithDocLoaderMatches(l ...DocLoaderWithMatch) LoaderOption { return func(opt *options) { - var final, prev *loader - for _, ldr := range l { - if ldr.Fn == nil { - continue - } - - if prev == nil { - final = &loader{DocLoaderWithMatch: ldr} - prev = final - continue - } - - prev = prev.WithNext(&loader{DocLoaderWithMatch: ldr}) - } - opt.loader = final + opt.loader = buildLoaderChain(l...) } } // WithLoadingOptions adds some [loading.Option] to be added when calling a registered loader. +// +// The options are attached to the document's loader, so they apply both to the initial load +// and to every "$ref" resolved during [Document.Expanded]. This is the recommended place to +// confine loading of untrusted input, for example with [loading.WithRoot] (local) and +// [loading.WithHTTPClient] (remote). See the package documentation on Security. func WithLoadingOptions(loadingOptions ...loading.Option) LoaderOption { return func(opt *options) { opt.loadingOptions = loadingOptions diff --git a/vendor/github.com/go-openapi/loads/restricted.go b/vendor/github.com/go-openapi/loads/restricted.go new file mode 100644 index 000000000..022a9a857 --- /dev/null +++ b/vendor/github.com/go-openapi/loads/restricted.go @@ -0,0 +1,185 @@ +// SPDX-FileCopyrightText: Copyright 2015-2025 go-swagger maintainers +// SPDX-License-Identifier: Apache-2.0 + +package loads + +import ( + "encoding/json" + "net" + "net/http" + "net/netip" + "syscall" + "time" + + "github.com/go-openapi/swag/loading" +) + +const ( + // numConfinementOptions is the count of loading options appended to enforce confinement + // (WithRoot + WithHTTPClient), used to size the bundled option slice. + numConfinementOptions = 2 + + defaultTLSHandshakeTimeout = 10 * time.Second +) + +// RestrictedHTTPClient returns an [http.Client] that refuses, at dial time, to connect to +// loopback, private, link-local (including cloud-metadata endpoints such as 169.254.169.254), +// or unspecified addresses. A blocked connection fails with an error wrapping +// [ErrForbiddenAddress]. +// +// The check runs in the dialer Control hook, after DNS resolution and before connect, so it +// also covers HTTP redirects and DNS rebinding — which a URL-string allowlist cannot. The +// client does not honor proxy environment variables, so the guard always inspects the real +// destination rather than a proxy address. +// +// This is the network half of the restricted loaders ([JSONDocRestricted], +// [JSONSpecRestricted], [SpecRestricted]). It may also be used directly with +// [github.com/go-openapi/swag/loading.WithHTTPClient]. +// +// The policy is opinionated and deliberately simple. For a different one (a custom allow/deny +// list, an explicit proxy, mutual TLS, ...), build your own client and pass it with +// [github.com/go-openapi/swag/loading.WithHTTPClient]. To keep the default address policy as a +// base, reuse [IsForbiddenAddress] in your own dialer Control hook — see the package examples +// for the pattern. +func RestrictedHTTPClient() *http.Client { + control := func(_, address string, _ syscall.RawConn) error { + host, _, err := net.SplitHostPort(address) + if err != nil { + return err + } + addr, err := netip.ParseAddr(host) + if err != nil { + return err + } + if IsForbiddenAddress(addr) { + return ErrForbiddenAddress + } + + return nil + } + + return &http.Client{ + Transport: &http.Transport{ + Proxy: nil, // dial the real destination so the guard inspects it + DialContext: (&net.Dialer{Control: control}).DialContext, + ForceAttemptHTTP2: true, + TLSHandshakeTimeout: defaultTLSHandshakeTimeout, + }, + } +} + +// IsForbiddenAddress reports whether addr is one that [RestrictedHTTPClient] refuses to dial: +// a loopback, private, link-local (including cloud-metadata endpoints such as 169.254.169.254), +// or unspecified address. IPv4-mapped IPv6 addresses are unmapped before the check. +// +// It is exported so callers can reuse or extend the default policy when building their own +// dialer Control hook, for example to also reject a CGNAT range or to carve out a single +// trusted internal host: +// +// control := func(_, address string, _ syscall.RawConn) error { +// host, _, err := net.SplitHostPort(address) +// if err != nil { +// return err +// } +// addr, err := netip.ParseAddr(host) +// if err != nil { +// return err +// } +// if loads.IsForbiddenAddress(addr) && host != allowedInternalHost { +// return loads.ErrForbiddenAddress +// } +// return nil +// } +func IsForbiddenAddress(addr netip.Addr) bool { + a := addr.Unmap() + + return a.IsLoopback() || a.IsPrivate() || a.IsLinkLocalUnicast() || a.IsUnspecified() +} + +// restrictedLoadingOptions bundles caller-supplied options with the confinement options, +// appended last so that local rooting and the restricted client always take precedence +// (the loading options are last-wins). +func restrictedLoadingOptions(root string, extra []loading.Option) []loading.Option { + out := make([]loading.Option, 0, len(extra)+numConfinementOptions) + out = append(out, extra...) + out = append(out, loading.WithRoot(root), loading.WithHTTPClient(RestrictedHTTPClient())) + + return out +} + +// JSONDocRestricted returns a JSON [DocLoader] that confines local reads to root (via +// [github.com/go-openapi/swag/loading.WithRoot]) and restricts remote fetches with +// [RestrictedHTTPClient]. +// +// The returned loader may be registered with [WithDocLoader] or [AddLoader]. The confinement +// always takes precedence over any option passed here or at call time, so a caller cannot +// loosen it through [WithLoadingOptions]. +// +// Like [JSONDoc], it loads JSON only: it does not convert YAML. For specs whose references may +// point at YAML documents, prefer [SpecRestricted], which keeps the default JSON/YAML chain. +func JSONDocRestricted(root string, opts ...loading.Option) DocLoader { + // one restricted client, reused for every path and $ref + return restrictedDocLoader(JSONDoc, restrictedLoadingOptions(root, opts)) +} + +// restrictedDocLoader wraps a [DocLoader] so that the confinement options in base are always +// applied, appended after any call-time options so they take precedence (loading options are +// last-wins). +func restrictedDocLoader(fn DocLoader, base []loading.Option) DocLoader { + return func(path string, callOpts ...loading.Option) (json.RawMessage, error) { + if len(callOpts) == 0 { + return fn(path, base...) + } + + all := make([]loading.Option, 0, len(callOpts)+len(base)) + all = append(all, callOpts...) + all = append(all, base...) // confinement (tail of base) still wins + + return fn(path, all...) + } +} + +// JSONSpecRestricted loads a JSON spec like [JSONSpec], but confines local reads to root and +// restricts remote fetches with [RestrictedHTTPClient]. +// +// The confinement is attached to the document's loader, so it also applies to every "$ref" +// resolved by [Document.Expanded]. Extra [github.com/go-openapi/swag/loading] options (custom +// headers, basic auth, timeout, ...) may be supplied; the confinement always wins over them. +func JSONSpecRestricted(path, root string, opts ...loading.Option) (*Document, error) { + return JSONSpec(path, WithLoadingOptions(restrictedLoadingOptions(root, opts)...)) +} + +// SpecRestricted loads a spec like [Spec] — with JSON/YAML auto-detection — but confines local +// reads to root and restricts remote fetches with [RestrictedHTTPClient]. +// +// The confinement is attached to the document's loader, so it also applies to every "$ref" +// resolved by [Document.Expanded]. Extra [github.com/go-openapi/swag/loading] options (custom +// headers, basic auth, timeout, ...) may be supplied; the confinement always wins over them. +func SpecRestricted(path, root string, opts ...loading.Option) (*Document, error) { + return Spec(path, WithLoadingOptions(restrictedLoadingOptions(root, opts)...)) +} + +// SetRestrictedLoaders hardens the package-level default in a single call: it installs a +// confined JSON/YAML loader chain — local reads rooted at root, remote fetches through +// [RestrictedHTTPClient] — as the global default and as +// [github.com/go-openapi/spec.PathLoader]. +// +// After this call, every load that relies on the package default ([Spec], [JSONSpec], and any +// cross-package "$ref" resolution) is confined, with no unconfined fallback left behind. It is +// the global counterpart of [SpecRestricted]; a single restricted client is shared across the +// chain. Extra [github.com/go-openapi/swag/loading] options may be supplied; the confinement +// always wins over them. +// +// # Concurrency +// +// Like [SetLoaders], this mutates package-level and [github.com/go-openapi/spec] globals and is +// not safe to call concurrently. Configure it once at startup, before serving. To revert, call +// [SetLoaders] with no arguments. +func SetRestrictedLoaders(root string, opts ...loading.Option) { + base := restrictedLoadingOptions(root, opts) // one restricted client shared by the whole chain + + SetLoaders( + NewDocLoaderWithMatch(restrictedDocLoader(loading.YAMLDoc, base), loading.YAMLMatcher), + NewDocLoaderWithMatch(restrictedDocLoader(JSONDoc, base), nil), // nil matcher: JSON catch-all fallback + ) +} diff --git a/vendor/github.com/go-openapi/loads/spec.go b/vendor/github.com/go-openapi/loads/spec.go index 606a01d8e..40eaff2c7 100644 --- a/vendor/github.com/go-openapi/loads/spec.go +++ b/vendor/github.com/go-openapi/loads/spec.go @@ -77,6 +77,14 @@ func Embedded(orig, flat json.RawMessage, opts ...LoaderOption) (*Document, erro // Spec loads a new spec document from a local or remote path. // // By default it uses a JSON or YAML loader, with auto-detection based on the resource extension. +// +// Security: by default the path is read with no confinement (local) and fetched with +// [net/http.DefaultClient] (remote), and any "$ref" later resolved by [Document.Expanded] is +// loaded the same way. When the path or the spec contents may derive from untrusted input, +// confine loading with [WithLoadingOptions] (for example +// [github.com/go-openapi/swag/loading.WithRoot] and +// [github.com/go-openapi/swag/loading.WithHTTPClient]). See the package documentation on +// Security. func Spec(path string, opts ...LoaderOption) (*Document, error) { ldr := loaderFromOptions(opts) @@ -157,6 +165,14 @@ func trimData(in json.RawMessage) (json.RawMessage, error) { } // Expanded expands the $ref fields in the spec [Document] and returns a new expanded [Document]. +// +// Security: expansion resolves every "$ref" by calling the document's loader recursively, so +// the spec contents drive further loads. A spec from an untrusted source can thus trigger +// arbitrary local reads or SSRF through its references. The loader carries the +// [github.com/go-openapi/swag/loading] options supplied via [WithLoadingOptions] at load time; +// configure confinement there so it applies to expansion as well. When no document loader is +// set, expansion falls back to the unconfined package-level loader. See the package +// documentation on Security. func (d *Document) Expanded(options ...*spec.ExpandOptions) (*Document, error) { swspec := new(spec.Swagger) if err := json.Unmarshal(d.raw, swspec); err != nil { diff --git a/vendor/github.com/go-openapi/runtime/CONTRIBUTORS.md b/vendor/github.com/go-openapi/runtime/CONTRIBUTORS.md index 0ef327861..ad4c2d246 100644 --- a/vendor/github.com/go-openapi/runtime/CONTRIBUTORS.md +++ b/vendor/github.com/go-openapi/runtime/CONTRIBUTORS.md @@ -4,12 +4,12 @@ | Total Contributors | Total Contributions | | --- | --- | -| 71 | 565 | +| 71 | 557 | | Username | All Time Contribution Count | All Commits | | --- | --- | --- | | @casualjim | 268 | | -| @fredbi | 140 | | +| @fredbi | 132 | | | @youyuanwu | 19 | | | @josephwoodward | 13 | | | @kenjones-cisco | 12 | | diff --git a/vendor/github.com/go-openapi/swag/CONTRIBUTORS.md b/vendor/github.com/go-openapi/swag/CONTRIBUTORS.md index ef1a73529..286878acf 100644 --- a/vendor/github.com/go-openapi/swag/CONTRIBUTORS.md +++ b/vendor/github.com/go-openapi/swag/CONTRIBUTORS.md @@ -4,11 +4,11 @@ | Total Contributors | Total Contributions | | --- | --- | -| 24 | 246 | +| 24 | 242 | | Username | All Time Contribution Count | All Commits | | --- | --- | --- | -| @fredbi | 116 | | +| @fredbi | 112 | | | @casualjim | 98 | | | @alexandear | 4 | | | @orisano | 3 | | diff --git a/vendor/github.com/go-openapi/swag/README.md b/vendor/github.com/go-openapi/swag/README.md index ddbd8735c..64f667103 100644 --- a/vendor/github.com/go-openapi/swag/README.md +++ b/vendor/github.com/go-openapi/swag/README.md @@ -34,9 +34,12 @@ You may also use it standalone for your projects. * **2025-12-19** : new community chat on discord * a new discord community channel is available to be notified of changes and support users + * our venerable Slack channel remains open, and will be eventually discontinued on **2026-03-31** You may join the discord community by clicking the invite link on the discord badge (also above). [![Discord Channel][discord-badge]][discord-url] +Or join our Slack channel: [![Slack Channel][slack-logo]![slack-badge]][slack-url] + ## Status API is stable. @@ -168,9 +171,9 @@ on top of which it has been built. ## Other documentation * [All-time contributors](./CONTRIBUTORS.md) -* [Contributing guidelines][contributing-doc-site] -* [Maintainers documentation][maintainers-doc-site] -* [Code style][style-doc-site] +* [Contributing guidelines](.github/CONTRIBUTING.md) +* [Maintainers documentation](docs/MAINTAINERS.md) +* [Code style](docs/STYLE.md) ## Cutting a new release @@ -205,6 +208,9 @@ Maintainers can cut a new release by either: [doc-url]: https://goswagger.io/go-openapi [godoc-badge]: https://pkg.go.dev/badge/github.com/go-openapi/swag [godoc-url]: http://pkg.go.dev/github.com/go-openapi/swag +[slack-logo]: https://a.slack-edge.com/e6a93c1/img/icons/favicon-32.png +[slack-badge]: https://img.shields.io/badge/slack-blue?link=https%3A%2F%2Fgoswagger.slack.com%2Farchives%2FC04R30YM +[slack-url]: https://goswagger.slack.com/archives/C04R30YMU [discord-badge]: https://img.shields.io/discord/1446918742398341256?logo=discord&label=discord&color=blue [discord-url]: https://discord.gg/FfnFYaC3k5 @@ -216,7 +222,3 @@ Maintainers can cut a new release by either: [goversion-url]: https://github.com/go-openapi/swag/blob/master/go.mod [top-badge]: https://img.shields.io/github/languages/top/go-openapi/swag [commits-badge]: https://img.shields.io/github/commits-since/go-openapi/swag/latest - -[contributing-doc-site]: https://go-openapi.github.io/doc-site/contributing/contributing/index.html -[maintainers-doc-site]: https://go-openapi.github.io/doc-site/maintainers/index.html -[style-doc-site]: https://go-openapi.github.io/doc-site/contributing/style/index.html diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go index ca800c938..5e7e6513c 100644 --- a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("1.66.0") + version := semver.MustParse("1.68.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } @@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { defaults := []pulumi.InvokeOption{} - version := semver.MustParse("1.66.0") + version := semver.MustParse("1.68.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json index b0356108b..65edf28a0 100644 --- a/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-aws-native/sdk/go/aws/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "aws-native", - "version": "1.66.0" + "version": "1.68.0" } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/getGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/getGroup.go index 9cdb0ad00..058ea9c96 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/getGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/getGroup.go @@ -62,14 +62,15 @@ type LookupGroupResult struct { Arn string `pulumi:"arn"` // One or more Availability Zones for the group. AvailabilityZones []string `pulumi:"availabilityZones"` - DefaultCooldown int `pulumi:"defaultCooldown"` + // Amount of time, in seconds, after a scaling activity completes before another scaling activity can start. + DefaultCooldown int `pulumi:"defaultCooldown"` // Desired size of the group. DesiredCapacity int `pulumi:"desiredCapacity"` - // The unit of measurement for the value returned for `desiredCapacity`. + // Unit of measurement for the value returned for `desiredCapacity`. DesiredCapacityType string `pulumi:"desiredCapacityType"` // List of metrics enabled for collection. EnabledMetrics []string `pulumi:"enabledMetrics"` - // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. + // Amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. HealthCheckGracePeriod int `pulumi:"healthCheckGracePeriod"` // Service to use for the health checks. The valid values are EC2 and ELB. HealthCheckType string `pulumi:"healthCheckType"` @@ -77,7 +78,7 @@ type LookupGroupResult struct { Id string `pulumi:"id"` // Instance maintenance policy for the group. InstanceMaintenancePolicies []GetGroupInstanceMaintenancePolicy `pulumi:"instanceMaintenancePolicies"` - // The name of the associated launch configuration. + // Name of the associated launch configuration. LaunchConfiguration string `pulumi:"launchConfiguration"` // List of launch templates along with the overrides. LaunchTemplates []GetGroupLaunchTemplate `pulumi:"launchTemplates"` @@ -92,8 +93,9 @@ type LookupGroupResult struct { // List of mixed instances policy objects for the group. MixedInstancesPolicies []GetGroupMixedInstancesPolicy `pulumi:"mixedInstancesPolicies"` // Name of the Auto Scaling Group. - Name string `pulumi:"name"` - NewInstancesProtectedFromScaleIn bool `pulumi:"newInstancesProtectedFromScaleIn"` + Name string `pulumi:"name"` + // Whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. + NewInstancesProtectedFromScaleIn bool `pulumi:"newInstancesProtectedFromScaleIn"` // Name of the placement group into which to launch your instances, if any. For more information, see Placement Groups (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html) in the Amazon Elastic Compute Cloud User Guide. PlacementGroup string `pulumi:"placementGroup"` // Predicted capacity of the group. @@ -109,7 +111,7 @@ type LookupGroupResult struct { Tags []GetGroupTag `pulumi:"tags"` // ARNs of the target groups for your load balancer. TargetGroupArns []string `pulumi:"targetGroupArns"` - // The termination policies for the group. + // Termination policies for the group. TerminationPolicies []string `pulumi:"terminationPolicies"` // Traffic sources. TrafficSources []GetGroupTrafficSource `pulumi:"trafficSources"` @@ -167,6 +169,7 @@ func (o LookupGroupResultOutput) AvailabilityZones() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGroupResult) []string { return v.AvailabilityZones }).(pulumi.StringArrayOutput) } +// Amount of time, in seconds, after a scaling activity completes before another scaling activity can start. func (o LookupGroupResultOutput) DefaultCooldown() pulumi.IntOutput { return o.ApplyT(func(v LookupGroupResult) int { return v.DefaultCooldown }).(pulumi.IntOutput) } @@ -176,7 +179,7 @@ func (o LookupGroupResultOutput) DesiredCapacity() pulumi.IntOutput { return o.ApplyT(func(v LookupGroupResult) int { return v.DesiredCapacity }).(pulumi.IntOutput) } -// The unit of measurement for the value returned for `desiredCapacity`. +// Unit of measurement for the value returned for `desiredCapacity`. func (o LookupGroupResultOutput) DesiredCapacityType() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.DesiredCapacityType }).(pulumi.StringOutput) } @@ -186,7 +189,7 @@ func (o LookupGroupResultOutput) EnabledMetrics() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGroupResult) []string { return v.EnabledMetrics }).(pulumi.StringArrayOutput) } -// The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. +// Amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. func (o LookupGroupResultOutput) HealthCheckGracePeriod() pulumi.IntOutput { return o.ApplyT(func(v LookupGroupResult) int { return v.HealthCheckGracePeriod }).(pulumi.IntOutput) } @@ -206,7 +209,7 @@ func (o LookupGroupResultOutput) InstanceMaintenancePolicies() GetGroupInstanceM return o.ApplyT(func(v LookupGroupResult) []GetGroupInstanceMaintenancePolicy { return v.InstanceMaintenancePolicies }).(GetGroupInstanceMaintenancePolicyArrayOutput) } -// The name of the associated launch configuration. +// Name of the associated launch configuration. func (o LookupGroupResultOutput) LaunchConfiguration() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.LaunchConfiguration }).(pulumi.StringOutput) } @@ -246,6 +249,7 @@ func (o LookupGroupResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.Name }).(pulumi.StringOutput) } +// Whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. func (o LookupGroupResultOutput) NewInstancesProtectedFromScaleIn() pulumi.BoolOutput { return o.ApplyT(func(v LookupGroupResult) bool { return v.NewInstancesProtectedFromScaleIn }).(pulumi.BoolOutput) } @@ -289,7 +293,7 @@ func (o LookupGroupResultOutput) TargetGroupArns() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGroupResult) []string { return v.TargetGroupArns }).(pulumi.StringArrayOutput) } -// The termination policies for the group. +// Termination policies for the group. func (o LookupGroupResultOutput) TerminationPolicies() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupGroupResult) []string { return v.TerminationPolicies }).(pulumi.StringArrayOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go index d480e3378..e8849803f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling/pulumiTypes.go @@ -11104,7 +11104,6 @@ func (o GetGroupMixedInstancesPolicyLaunchTemplateLaunchTemplateSpecificationArr type GetGroupMixedInstancesPolicyLaunchTemplateOverride struct { // List of instance requirements objects. - // * `acceleratorCount - List of objects describing the minimum and maximum number of accelerators for an instance type. InstanceRequirements []GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement `pulumi:"instanceRequirements"` // Overriding instance type. InstanceType string `pulumi:"instanceType"` @@ -11127,7 +11126,6 @@ type GetGroupMixedInstancesPolicyLaunchTemplateOverrideInput interface { type GetGroupMixedInstancesPolicyLaunchTemplateOverrideArgs struct { // List of instance requirements objects. - // * `acceleratorCount - List of objects describing the minimum and maximum number of accelerators for an instance type. InstanceRequirements GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementArrayInput `pulumi:"instanceRequirements"` // Overriding instance type. InstanceType pulumi.StringInput `pulumi:"instanceType"` @@ -11189,7 +11187,6 @@ func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideOutput) ToGetGroupMixe } // List of instance requirements objects. -// * `acceleratorCount - List of objects describing the minimum and maximum number of accelerators for an instance type. func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideOutput) InstanceRequirements() GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementArrayOutput { return o.ApplyT(func(v GetGroupMixedInstancesPolicyLaunchTemplateOverride) []GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement { return v.InstanceRequirements @@ -11234,6 +11231,7 @@ func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideArrayOutput) Index(i p } type GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement struct { + // List of objects describing the minimum and maximum number of accelerators for an instance type. AcceleratorCounts []GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementAcceleratorCount `pulumi:"acceleratorCounts"` // List of accelerator manufacturer names. AcceleratorManufacturers []string `pulumi:"acceleratorManufacturers"` @@ -11295,6 +11293,7 @@ type GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementInput } type GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementArgs struct { + // List of objects describing the minimum and maximum number of accelerators for an instance type. AcceleratorCounts GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementAcceleratorCountArrayInput `pulumi:"acceleratorCounts"` // List of accelerator manufacturer names. AcceleratorManufacturers pulumi.StringArrayInput `pulumi:"acceleratorManufacturers"` @@ -11395,6 +11394,7 @@ func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementOut return o } +// List of objects describing the minimum and maximum number of accelerators for an instance type. func (o GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementOutput) AcceleratorCounts() GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementAcceleratorCountArrayOutput { return o.ApplyT(func(v GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirement) []GetGroupMixedInstancesPolicyLaunchTemplateOverrideInstanceRequirementAcceleratorCount { return v.AcceleratorCounts @@ -12916,8 +12916,9 @@ func (o GetGroupTrafficSourceArrayOutput) Index(i pulumi.IntInput) GetGroupTraff type GetGroupWarmPool struct { // List of instance reuse policy objects. - InstanceReusePolicies []GetGroupWarmPoolInstanceReusePolicy `pulumi:"instanceReusePolicies"` - MaxGroupPreparedCapacity int `pulumi:"maxGroupPreparedCapacity"` + InstanceReusePolicies []GetGroupWarmPoolInstanceReusePolicy `pulumi:"instanceReusePolicies"` + // Total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group. + MaxGroupPreparedCapacity int `pulumi:"maxGroupPreparedCapacity"` // Minimum number of instances to maintain in the warm pool. MinSize int `pulumi:"minSize"` // Instance state to transition to after the lifecycle actions are complete. @@ -12937,8 +12938,9 @@ type GetGroupWarmPoolInput interface { type GetGroupWarmPoolArgs struct { // List of instance reuse policy objects. - InstanceReusePolicies GetGroupWarmPoolInstanceReusePolicyArrayInput `pulumi:"instanceReusePolicies"` - MaxGroupPreparedCapacity pulumi.IntInput `pulumi:"maxGroupPreparedCapacity"` + InstanceReusePolicies GetGroupWarmPoolInstanceReusePolicyArrayInput `pulumi:"instanceReusePolicies"` + // Total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group. + MaxGroupPreparedCapacity pulumi.IntInput `pulumi:"maxGroupPreparedCapacity"` // Minimum number of instances to maintain in the warm pool. MinSize pulumi.IntInput `pulumi:"minSize"` // Instance state to transition to after the lifecycle actions are complete. @@ -13001,6 +13003,7 @@ func (o GetGroupWarmPoolOutput) InstanceReusePolicies() GetGroupWarmPoolInstance return o.ApplyT(func(v GetGroupWarmPool) []GetGroupWarmPoolInstanceReusePolicy { return v.InstanceReusePolicies }).(GetGroupWarmPoolInstanceReusePolicyArrayOutput) } +// Total maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group. func (o GetGroupWarmPoolOutput) MaxGroupPreparedCapacity() pulumi.IntOutput { return o.ApplyT(func(v GetGroupWarmPool) int { return v.MaxGroupPreparedCapacity }).(pulumi.IntOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go index 7ad828dcf..cb498f337 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch/eventBus.go @@ -174,58 +174,54 @@ import ( // if err != nil { // return err // } -// bucket := pulumi.All(exampleBucket.Arn, infoLogs.Arn, errorLogs.Arn, traceLogs.Arn).ApplyT(func(_args []interface{}) (iam.GetPolicyDocumentResult, error) { -// exampleBucketArn := _args[0].(string) -// infoLogsArn := _args[1].(string) -// errorLogsArn := _args[2].(string) -// traceLogsArn := _args[3].(string) -// return iam.GetPolicyDocumentResult(interface{}(iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ -// Statements: []iam.GetPolicyDocumentStatement([]iam.GetPolicyDocumentStatement{ -// { -// Effect: pulumi.StringRef(pulumi.String(pulumi.StringRef("Allow"))), -// Principals: []iam.GetPolicyDocumentStatementPrincipal{ -// { -// Type: "Service", -// Identifiers: []string{ -// "delivery.logs.amazonaws.com", -// }, +// bucket := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ +// Statements: iam.GetPolicyDocumentStatementArray{ +// &iam.GetPolicyDocumentStatementArgs{ +// Effect: pulumi.String("Allow"), +// Principals: iam.GetPolicyDocumentStatementPrincipalArray{ +// &iam.GetPolicyDocumentStatementPrincipalArgs{ +// Type: pulumi.String("Service"), +// Identifiers: pulumi.StringArray{ +// pulumi.String("delivery.logs.amazonaws.com"), // }, // }, -// Actions: []string{ -// "s3:PutObject", -// }, -// Resources: []string{ -// fmt.Sprintf("%v/AWSLogs/%v/EventBusLogs/*", exampleBucketArn, current.AccountId), -// }, -// Conditions: []iam.GetPolicyDocumentStatementCondition{ -// { -// Test: "StringEquals", -// Variable: "s3:x-amz-acl", -// Values: []string{ -// "bucket-owner-full-control", -// }, +// }, +// Actions: pulumi.StringArray{ +// pulumi.String("s3:PutObject"), +// }, +// Resources: pulumi.StringArray{ +// exampleBucket.Arn.ApplyT(func(arn string) (string, error) { +// return fmt.Sprintf("%v/AWSLogs/%v/EventBusLogs/*", arn, current.AccountId), nil +// }).(pulumi.StringOutput), +// }, +// Conditions: iam.GetPolicyDocumentStatementConditionArray{ +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("StringEquals"), +// Variable: pulumi.String("s3:x-amz-acl"), +// Values: pulumi.StringArray{ +// pulumi.String("bucket-owner-full-control"), // }, -// { -// Test: "StringEquals", -// Variable: "aws:SourceAccount", -// Values: pulumi.StringArray{ -// current.AccountId, -// }, +// }, +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("StringEquals"), +// Variable: pulumi.String("aws:SourceAccount"), +// Values: pulumi.StringArray{ +// pulumi.String(current.AccountId), // }, -// { -// Test: "ArnLike", -// Variable: "aws:SourceArn", -// Values: []string{ -// infoLogsArn, -// errorLogsArn, -// traceLogsArn, -// }, +// }, +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("ArnLike"), +// Variable: pulumi.String("aws:SourceArn"), +// Values: pulumi.StringArray{ +// infoLogs.Arn, +// errorLogs.Arn, +// traceLogs.Arn, // }, // }, // }, -// }), -// }, nil))), nil -// }).(iam.GetPolicyDocumentResultOutput) +// }, +// }, +// }, nil) // _, err = s3.NewBucketPolicy(ctx, "example", &s3.BucketPolicyArgs{ // Bucket: exampleBucket.Bucket, // Policy: pulumi.String(bucket.ApplyT(func(bucket iam.GetPolicyDocumentResult) (*string, error) { @@ -280,52 +276,48 @@ import ( // if err != nil { // return err // } -// cwlogs := pulumi.All(eventBusLogs.Arn, infoLogs.Arn, errorLogs.Arn, traceLogs.Arn).ApplyT(func(_args []interface{}) (iam.GetPolicyDocumentResult, error) { -// eventBusLogsArn := _args[0].(string) -// infoLogsArn := _args[1].(string) -// errorLogsArn := _args[2].(string) -// traceLogsArn := _args[3].(string) -// return iam.GetPolicyDocumentResult(interface{}(iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ -// Statements: []iam.GetPolicyDocumentStatement([]iam.GetPolicyDocumentStatement{ -// { -// Effect: pulumi.StringRef(pulumi.String(pulumi.StringRef("Allow"))), -// Principals: []iam.GetPolicyDocumentStatementPrincipal{ -// { -// Type: "Service", -// Identifiers: []string{ -// "delivery.logs.amazonaws.com", -// }, +// cwlogs := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ +// Statements: iam.GetPolicyDocumentStatementArray{ +// &iam.GetPolicyDocumentStatementArgs{ +// Effect: pulumi.String("Allow"), +// Principals: iam.GetPolicyDocumentStatementPrincipalArray{ +// &iam.GetPolicyDocumentStatementPrincipalArgs{ +// Type: pulumi.String("Service"), +// Identifiers: pulumi.StringArray{ +// pulumi.String("delivery.logs.amazonaws.com"), // }, // }, -// Actions: []string{ -// "logs:CreateLogStream", -// "logs:PutLogEvents", -// }, -// Resources: []string{ -// fmt.Sprintf("%v:log-stream:*", eventBusLogsArn), -// }, -// Conditions: []iam.GetPolicyDocumentStatementCondition{ -// { -// Test: "StringEquals", -// Variable: "aws:SourceAccount", -// Values: pulumi.StringArray{ -// current.AccountId, -// }, +// }, +// Actions: pulumi.StringArray{ +// pulumi.String("logs:CreateLogStream"), +// pulumi.String("logs:PutLogEvents"), +// }, +// Resources: pulumi.StringArray{ +// eventBusLogs.Arn.ApplyT(func(arn string) (string, error) { +// return fmt.Sprintf("%v:log-stream:*", arn), nil +// }).(pulumi.StringOutput), +// }, +// Conditions: iam.GetPolicyDocumentStatementConditionArray{ +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("StringEquals"), +// Variable: pulumi.String("aws:SourceAccount"), +// Values: pulumi.StringArray{ +// pulumi.String(current.AccountId), // }, -// { -// Test: "ArnLike", -// Variable: "aws:SourceArn", -// Values: []string{ -// infoLogsArn, -// errorLogsArn, -// traceLogsArn, -// }, +// }, +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("ArnLike"), +// Variable: pulumi.String("aws:SourceArn"), +// Values: pulumi.StringArray{ +// infoLogs.Arn, +// errorLogs.Arn, +// traceLogs.Arn, // }, // }, // }, -// }), -// }, nil))), nil -// }).(iam.GetPolicyDocumentResultOutput) +// }, +// }, +// }, nil) // _, err = cloudwatch.NewLogResourcePolicy(ctx, "example", &cloudwatch.LogResourcePolicyArgs{ // PolicyDocument: pulumi.String(cwlogs.ApplyT(func(cwlogs iam.GetPolicyDocumentResult) (*string, error) { // return &cwlogs.Json, nil diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmi.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmi.go index 882981bdc..37ca7f4c2 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmi.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmi.go @@ -78,43 +78,27 @@ func LookupAmi(ctx *pulumi.Context, args *LookupAmiArgs, opts ...pulumi.InvokeOp // A collection of arguments for invoking getAmi. type LookupAmiArgs struct { - // If true, allow unsafe filter values. With unsafe - // filters and `mostRecent` set to `true`, a third party may introduce a new image which - // will be returned by this data source. Consider filtering by owner or image ID rather - // than setting this argument. + // If true, allow unsafe filter values. With unsafe filters and `mostRecent` set to `true`, a third party may introduce a new image which will be returned by this data source. Consider filtering by owner or image ID rather than setting this argument. AllowUnsafeFilter *bool `pulumi:"allowUnsafeFilter"` - // Limit search to users with *explicit* launch permission on - // the image. Valid items are the numeric account ID or `self`. + // Limit search to users with *explicit* launch permission on the image. Valid items are the numeric account ID or `self`. ExecutableUsers []string `pulumi:"executableUsers"` - // One or more name/value pairs to filter off of. There are - // several valid keys, for a full reference, check out - // [describe-images in the AWS CLI reference][1]. + // One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). See `filter` below. Filters []GetAmiFilter `pulumi:"filters"` // If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is false. IncludeDeprecated *bool `pulumi:"includeDeprecated"` - // If more than one result is returned, use the most - // recent AMI. + // If more than one result is returned, use the most recent AMI. MostRecent *bool `pulumi:"mostRecent"` - // Regex string to apply to the AMI list returned - // by AWS. This allows more advanced filtering not supported from the AWS API. This - // filtering is done locally on what AWS returns, and could have a performance - // impact if the result is large. Combine this with other - // options to narrow down the list AWS returns. - // - // > **NOTE:** If more or less than a single match is returned by the search, - // this call will fail. Ensure that your search is specific enough to return - // a single AMI ID only, or use `mostRecent` to choose the most recent one. If - // you want to match multiple AMIs, use the `ec2.getAmiIds` data source instead. + // Regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns. NameRegex *string `pulumi:"nameRegex"` // List of AMI owners to limit search. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`). Owners []string `pulumi:"owners"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region *string `pulumi:"region"` // Any tags assigned to the image. - // * `tags.#.key` - Key name of the tag. - // * `tags.#.value` - Value of the tag. Tags map[string]string `pulumi:"tags"` - // (Optional) Base64 representation of the non-volatile UEFI variable store. + // Base64 representation of the non-volatile UEFI variable store. + // + // > **NOTE:** If more or less than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single AMI ID only, or use `mostRecent` to choose the most recent one. If you want to match multiple AMIs, use the `ec2.getAmiIds` data source instead. UefiData *string `pulumi:"uefiData"` } @@ -125,7 +109,7 @@ type LookupAmiResult struct { Architecture string `pulumi:"architecture"` // ARN of the AMI. Arn string `pulumi:"arn"` - // Set of objects with block device mappings of the AMI. + // Set of objects with block device mappings of the AMI. See `blockDeviceMappings` below. BlockDeviceMappings []GetAmiBlockDeviceMapping `pulumi:"blockDeviceMappings"` // Boot mode of the image. BootMode string `pulumi:"bootMode"` @@ -133,8 +117,7 @@ type LookupAmiResult struct { CreationDate string `pulumi:"creationDate"` // Date and time when the image will be deprecated. DeprecationTime string `pulumi:"deprecationTime"` - // Description of the AMI that was provided during image - // creation. + // Description of the AMI that was provided during image creation. Description string `pulumi:"description"` // Whether enhanced networking with ENA is enabled. EnaSupport bool `pulumi:"enaSupport"` @@ -148,21 +131,19 @@ type LookupAmiResult struct { ImageId string `pulumi:"imageId"` // Location of the AMI. ImageLocation string `pulumi:"imageLocation"` - // AWS account alias (for example, `amazon`, `self`) or - // the AWS account ID of the AMI owner. + // AWS account alias (for example, `amazon`, `self`) or the AWS account ID of the AMI owner. ImageOwnerAlias string `pulumi:"imageOwnerAlias"` // Type of image. ImageType string `pulumi:"imageType"` // Instance Metadata Service (IMDS) support mode for the image. Set to `v2.0` if instances ran from this image enforce IMDSv2. ImdsSupport string `pulumi:"imdsSupport"` IncludeDeprecated *bool `pulumi:"includeDeprecated"` - // Kernel associated with the image, if any. Only applicable - // for machine images. + // Kernel associated with the image, if any. Only applicable for machine images. KernelId string `pulumi:"kernelId"` - // 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. For more information, see the following [AWS document](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-last-launched-time.html). + // 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. For more information, see the following [AWS document](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-last-launched-time.html). LastLaunchedTime string `pulumi:"lastLaunchedTime"` MostRecent *bool `pulumi:"mostRecent"` - // Name of the AMI that was provided during image creation. + // Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). Name string `pulumi:"name"` NameRegex *string `pulumi:"nameRegex"` // AWS account ID of the image owner. @@ -172,42 +153,33 @@ type LookupAmiResult struct { Platform string `pulumi:"platform"` // Platform details associated with the billing code of the AMI. PlatformDetails string `pulumi:"platformDetails"` - // Any product codes associated with the AMI. - // * `product_codes.#.product_code_id` - The product code. - // * `product_codes.#.product_code_type` - The type of product code. + // Any product codes associated with the AMI. See `productCodes` below. ProductCodes []GetAmiProductCode `pulumi:"productCodes"` // `true` if the image has public launch permissions. Public bool `pulumi:"public"` - // RAM disk associated with the image, if any. Only applicable - // for machine images. + // RAM disk associated with the image, if any. Only applicable for machine images. RamdiskId string `pulumi:"ramdiskId"` Region string `pulumi:"region"` // Device name of the root device. RootDeviceName string `pulumi:"rootDeviceName"` // Type of root device (ie: `ebs` or `instance-store`). RootDeviceType string `pulumi:"rootDeviceType"` - // Snapshot id associated with the root device, if any - // (only applies to `ebs` root devices). + // Snapshot id associated with the root device, if any (only applies to `ebs` root devices). RootSnapshotId string `pulumi:"rootSnapshotId"` // Whether enhanced networking is enabled. SriovNetSupport string `pulumi:"sriovNetSupport"` - // Current state of the AMI. If the state is `available`, the image - // is successfully registered and can be used to launch an instance. + // Current state of the AMI. If the state is `available`, the image is successfully registered and can be used to launch an instance. State string `pulumi:"state"` - // Describes a state change. Fields are `UNSET` if not available. + // Describes a state change. Fields are `UNSET` if not available. See `stateReason` below. StateReason map[string]string `pulumi:"stateReason"` // Any tags assigned to the image. - // * `tags.#.key` - Key name of the tag. - // * `tags.#.value` - Value of the tag. Tags map[string]string `pulumi:"tags"` // If the image is configured for NitroTPM support, the value is `v2.0`. - TpmSupport string `pulumi:"tpmSupport"` - // (Optional) Base64 representation of the non-volatile UEFI variable store. - UefiData *string `pulumi:"uefiData"` + TpmSupport string `pulumi:"tpmSupport"` + UefiData *string `pulumi:"uefiData"` // Operation of the Amazon EC2 instance and the billing code that is associated with the AMI. UsageOperation string `pulumi:"usageOperation"` - // Type of virtualization of the AMI (ie: `hvm` or - // `paravirtual`). + // Type of virtualization of the AMI (ie: `hvm` or `paravirtual`). VirtualizationType string `pulumi:"virtualizationType"` } @@ -222,43 +194,27 @@ func LookupAmiOutput(ctx *pulumi.Context, args LookupAmiOutputArgs, opts ...pulu // A collection of arguments for invoking getAmi. type LookupAmiOutputArgs struct { - // If true, allow unsafe filter values. With unsafe - // filters and `mostRecent` set to `true`, a third party may introduce a new image which - // will be returned by this data source. Consider filtering by owner or image ID rather - // than setting this argument. + // If true, allow unsafe filter values. With unsafe filters and `mostRecent` set to `true`, a third party may introduce a new image which will be returned by this data source. Consider filtering by owner or image ID rather than setting this argument. AllowUnsafeFilter pulumi.BoolPtrInput `pulumi:"allowUnsafeFilter"` - // Limit search to users with *explicit* launch permission on - // the image. Valid items are the numeric account ID or `self`. + // Limit search to users with *explicit* launch permission on the image. Valid items are the numeric account ID or `self`. ExecutableUsers pulumi.StringArrayInput `pulumi:"executableUsers"` - // One or more name/value pairs to filter off of. There are - // several valid keys, for a full reference, check out - // [describe-images in the AWS CLI reference][1]. + // One or more name/value pairs to filter off of. There are several valid keys, for a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). See `filter` below. Filters GetAmiFilterArrayInput `pulumi:"filters"` // If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is false. IncludeDeprecated pulumi.BoolPtrInput `pulumi:"includeDeprecated"` - // If more than one result is returned, use the most - // recent AMI. + // If more than one result is returned, use the most recent AMI. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` - // Regex string to apply to the AMI list returned - // by AWS. This allows more advanced filtering not supported from the AWS API. This - // filtering is done locally on what AWS returns, and could have a performance - // impact if the result is large. Combine this with other - // options to narrow down the list AWS returns. - // - // > **NOTE:** If more or less than a single match is returned by the search, - // this call will fail. Ensure that your search is specific enough to return - // a single AMI ID only, or use `mostRecent` to choose the most recent one. If - // you want to match multiple AMIs, use the `ec2.getAmiIds` data source instead. + // Regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // List of AMI owners to limit search. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`). Owners pulumi.StringArrayInput `pulumi:"owners"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` // Any tags assigned to the image. - // * `tags.#.key` - Key name of the tag. - // * `tags.#.value` - Value of the tag. Tags pulumi.StringMapInput `pulumi:"tags"` - // (Optional) Base64 representation of the non-volatile UEFI variable store. + // Base64 representation of the non-volatile UEFI variable store. + // + // > **NOTE:** If more or less than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single AMI ID only, or use `mostRecent` to choose the most recent one. If you want to match multiple AMIs, use the `ec2.getAmiIds` data source instead. UefiData pulumi.StringPtrInput `pulumi:"uefiData"` } @@ -295,7 +251,7 @@ func (o LookupAmiResultOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.Arn }).(pulumi.StringOutput) } -// Set of objects with block device mappings of the AMI. +// Set of objects with block device mappings of the AMI. See `blockDeviceMappings` below. func (o LookupAmiResultOutput) BlockDeviceMappings() GetAmiBlockDeviceMappingArrayOutput { return o.ApplyT(func(v LookupAmiResult) []GetAmiBlockDeviceMapping { return v.BlockDeviceMappings }).(GetAmiBlockDeviceMappingArrayOutput) } @@ -315,8 +271,7 @@ func (o LookupAmiResultOutput) DeprecationTime() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.DeprecationTime }).(pulumi.StringOutput) } -// Description of the AMI that was provided during image -// creation. +// Description of the AMI that was provided during image creation. func (o LookupAmiResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.Description }).(pulumi.StringOutput) } @@ -354,8 +309,7 @@ func (o LookupAmiResultOutput) ImageLocation() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.ImageLocation }).(pulumi.StringOutput) } -// AWS account alias (for example, `amazon`, `self`) or -// the AWS account ID of the AMI owner. +// AWS account alias (for example, `amazon`, `self`) or the AWS account ID of the AMI owner. func (o LookupAmiResultOutput) ImageOwnerAlias() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.ImageOwnerAlias }).(pulumi.StringOutput) } @@ -374,13 +328,12 @@ func (o LookupAmiResultOutput) IncludeDeprecated() pulumi.BoolPtrOutput { return o.ApplyT(func(v LookupAmiResult) *bool { return v.IncludeDeprecated }).(pulumi.BoolPtrOutput) } -// Kernel associated with the image, if any. Only applicable -// for machine images. +// Kernel associated with the image, if any. Only applicable for machine images. func (o LookupAmiResultOutput) KernelId() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.KernelId }).(pulumi.StringOutput) } -// 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. For more information, see the following [AWS document](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-last-launched-time.html). +// 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. For more information, see the following [AWS document](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-last-launched-time.html). func (o LookupAmiResultOutput) LastLaunchedTime() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.LastLaunchedTime }).(pulumi.StringOutput) } @@ -389,7 +342,7 @@ func (o LookupAmiResultOutput) MostRecent() pulumi.BoolPtrOutput { return o.ApplyT(func(v LookupAmiResult) *bool { return v.MostRecent }).(pulumi.BoolPtrOutput) } -// Name of the AMI that was provided during image creation. +// Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). func (o LookupAmiResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.Name }).(pulumi.StringOutput) } @@ -417,9 +370,7 @@ func (o LookupAmiResultOutput) PlatformDetails() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.PlatformDetails }).(pulumi.StringOutput) } -// Any product codes associated with the AMI. -// * `product_codes.#.product_code_id` - The product code. -// * `product_codes.#.product_code_type` - The type of product code. +// Any product codes associated with the AMI. See `productCodes` below. func (o LookupAmiResultOutput) ProductCodes() GetAmiProductCodeArrayOutput { return o.ApplyT(func(v LookupAmiResult) []GetAmiProductCode { return v.ProductCodes }).(GetAmiProductCodeArrayOutput) } @@ -429,8 +380,7 @@ func (o LookupAmiResultOutput) Public() pulumi.BoolOutput { return o.ApplyT(func(v LookupAmiResult) bool { return v.Public }).(pulumi.BoolOutput) } -// RAM disk associated with the image, if any. Only applicable -// for machine images. +// RAM disk associated with the image, if any. Only applicable for machine images. func (o LookupAmiResultOutput) RamdiskId() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.RamdiskId }).(pulumi.StringOutput) } @@ -449,8 +399,7 @@ func (o LookupAmiResultOutput) RootDeviceType() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.RootDeviceType }).(pulumi.StringOutput) } -// Snapshot id associated with the root device, if any -// (only applies to `ebs` root devices). +// Snapshot id associated with the root device, if any (only applies to `ebs` root devices). func (o LookupAmiResultOutput) RootSnapshotId() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.RootSnapshotId }).(pulumi.StringOutput) } @@ -460,20 +409,17 @@ func (o LookupAmiResultOutput) SriovNetSupport() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.SriovNetSupport }).(pulumi.StringOutput) } -// Current state of the AMI. If the state is `available`, the image -// is successfully registered and can be used to launch an instance. +// Current state of the AMI. If the state is `available`, the image is successfully registered and can be used to launch an instance. func (o LookupAmiResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.State }).(pulumi.StringOutput) } -// Describes a state change. Fields are `UNSET` if not available. +// Describes a state change. Fields are `UNSET` if not available. See `stateReason` below. func (o LookupAmiResultOutput) StateReason() pulumi.StringMapOutput { return o.ApplyT(func(v LookupAmiResult) map[string]string { return v.StateReason }).(pulumi.StringMapOutput) } // Any tags assigned to the image. -// * `tags.#.key` - Key name of the tag. -// * `tags.#.value` - Value of the tag. func (o LookupAmiResultOutput) Tags() pulumi.StringMapOutput { return o.ApplyT(func(v LookupAmiResult) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } @@ -483,7 +429,6 @@ func (o LookupAmiResultOutput) TpmSupport() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.TpmSupport }).(pulumi.StringOutput) } -// (Optional) Base64 representation of the non-volatile UEFI variable store. func (o LookupAmiResultOutput) UefiData() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupAmiResult) *string { return v.UefiData }).(pulumi.StringPtrOutput) } @@ -493,8 +438,7 @@ func (o LookupAmiResultOutput) UsageOperation() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.UsageOperation }).(pulumi.StringOutput) } -// Type of virtualization of the AMI (ie: `hvm` or -// `paravirtual`). +// Type of virtualization of the AMI (ie: `hvm` or `paravirtual`). func (o LookupAmiResultOutput) VirtualizationType() pulumi.StringOutput { return o.ApplyT(func(v LookupAmiResult) string { return v.VirtualizationType }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmiIds.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmiIds.go index e6ef0804a..5ff1ad9de 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmiIds.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getAmiIds.go @@ -60,28 +60,19 @@ func GetAmiIds(ctx *pulumi.Context, args *GetAmiIdsArgs, opts ...pulumi.InvokeOp // A collection of arguments for invoking getAmiIds. type GetAmiIdsArgs struct { - // Limit search to users with *explicit* launch - // permission on the image. Valid items are the numeric account ID or `self`. + // Limit search to users with *explicit* launch permission on the image. Valid items are the numeric account ID or `self`. ExecutableUsers []string `pulumi:"executableUsers"` - // One or more name/value pairs to filter off of. There - // are several valid keys, for a full reference, check out - // [describe-images in the AWS CLI reference][1]. + // One or more name/value pairs to filter off of. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). See `filter` Block below. Filters []GetAmiIdsFilter `pulumi:"filters"` - // If true, all deprecated AMIs are included in the response. - // If false, no deprecated AMIs are included in the response. If no value is specified, the default value is `false`. + // If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is `false`. IncludeDeprecated *bool `pulumi:"includeDeprecated"` - // Regex string to apply to the AMI list returned - // by AWS. This allows more advanced filtering not supported from the AWS API. - // This filtering is done locally on what AWS returns, and could have a performance - // impact if the result is large. Combine this with other - // options to narrow down the list AWS returns. + // Regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns. NameRegex *string `pulumi:"nameRegex"` // List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`). Owners []string `pulumi:"owners"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region *string `pulumi:"region"` - // Used to sort AMIs by creation time. - // If no value is specified, the default value is `false`. + // Used to sort AMIs by creation time. If no value is specified, the default value is `false`. SortAscending *bool `pulumi:"sortAscending"` } @@ -91,7 +82,7 @@ type GetAmiIdsResult struct { Filters []GetAmiIdsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` - // is set to the list of AMI IDs, sorted by creation time according to `sortAscending`. + // List of AMI IDs, sorted by creation time according to `sortAscending`. Ids []string `pulumi:"ids"` IncludeDeprecated *bool `pulumi:"includeDeprecated"` NameRegex *string `pulumi:"nameRegex"` @@ -111,28 +102,19 @@ func GetAmiIdsOutput(ctx *pulumi.Context, args GetAmiIdsOutputArgs, opts ...pulu // A collection of arguments for invoking getAmiIds. type GetAmiIdsOutputArgs struct { - // Limit search to users with *explicit* launch - // permission on the image. Valid items are the numeric account ID or `self`. + // Limit search to users with *explicit* launch permission on the image. Valid items are the numeric account ID or `self`. ExecutableUsers pulumi.StringArrayInput `pulumi:"executableUsers"` - // One or more name/value pairs to filter off of. There - // are several valid keys, for a full reference, check out - // [describe-images in the AWS CLI reference][1]. + // One or more name/value pairs to filter off of. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). See `filter` Block below. Filters GetAmiIdsFilterArrayInput `pulumi:"filters"` - // If true, all deprecated AMIs are included in the response. - // If false, no deprecated AMIs are included in the response. If no value is specified, the default value is `false`. + // If true, all deprecated AMIs are included in the response. If false, no deprecated AMIs are included in the response. If no value is specified, the default value is `false`. IncludeDeprecated pulumi.BoolPtrInput `pulumi:"includeDeprecated"` - // Regex string to apply to the AMI list returned - // by AWS. This allows more advanced filtering not supported from the AWS API. - // This filtering is done locally on what AWS returns, and could have a performance - // impact if the result is large. Combine this with other - // options to narrow down the list AWS returns. + // Regex string to apply to the AMI list returned by AWS. This allows more advanced filtering not supported from the AWS API. This filtering is done locally on what AWS returns, and could have a performance impact if the result is large. Combine this with other options to narrow down the list AWS returns. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // List of AMI owners to limit search. At least 1 value must be specified. Valid values: an AWS account ID, `self` (the current account), or an AWS owner alias (e.g., `amazon`, `aws-marketplace`, `microsoft`). Owners pulumi.StringArrayInput `pulumi:"owners"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` - // Used to sort AMIs by creation time. - // If no value is specified, the default value is `false`. + // Used to sort AMIs by creation time. If no value is specified, the default value is `false`. SortAscending pulumi.BoolPtrInput `pulumi:"sortAscending"` } @@ -168,7 +150,7 @@ func (o GetAmiIdsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetAmiIdsResult) string { return v.Id }).(pulumi.StringOutput) } -// is set to the list of AMI IDs, sorted by creation time according to `sortAscending`. +// List of AMI IDs, sorted by creation time according to `sortAscending`. func (o GetAmiIdsResultOutput) Ids() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAmiIdsResult) []string { return v.Ids }).(pulumi.StringArrayOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getLocalGatewayVirtualInterface.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getLocalGatewayVirtualInterface.go index 3933b4ae3..31118e50c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getLocalGatewayVirtualInterface.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getLocalGatewayVirtualInterface.go @@ -45,8 +45,12 @@ type GetLocalGatewayVirtualInterfaceResult struct { // Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the EC2 Local Gateway. LocalBgpAsn int `pulumi:"localBgpAsn"` // Identifier of the EC2 Local Gateway. - LocalGatewayId string `pulumi:"localGatewayId"` - LocalGatewayVirtualInterfaceIds []string `pulumi:"localGatewayVirtualInterfaceIds"` + LocalGatewayId string `pulumi:"localGatewayId"` + // Identifier of the EC2 Local Gateway Virtual Interface Group. + LocalGatewayVirtualInterfaceGroupId string `pulumi:"localGatewayVirtualInterfaceGroupId"` + LocalGatewayVirtualInterfaceIds []string `pulumi:"localGatewayVirtualInterfaceIds"` + // Identifier of the Outpost LAG. + OutpostLagId string `pulumi:"outpostLagId"` // Peer address. PeerAddress string `pulumi:"peerAddress"` // Border Gateway Protocol (BGP) Autonomous System Number (ASN) of the peer. @@ -122,10 +126,20 @@ func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayId() pulumi.Str return o.ApplyT(func(v GetLocalGatewayVirtualInterfaceResult) string { return v.LocalGatewayId }).(pulumi.StringOutput) } +// Identifier of the EC2 Local Gateway Virtual Interface Group. +func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayVirtualInterfaceGroupId() pulumi.StringOutput { + return o.ApplyT(func(v GetLocalGatewayVirtualInterfaceResult) string { return v.LocalGatewayVirtualInterfaceGroupId }).(pulumi.StringOutput) +} + func (o GetLocalGatewayVirtualInterfaceResultOutput) LocalGatewayVirtualInterfaceIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLocalGatewayVirtualInterfaceResult) []string { return v.LocalGatewayVirtualInterfaceIds }).(pulumi.StringArrayOutput) } +// Identifier of the Outpost LAG. +func (o GetLocalGatewayVirtualInterfaceResultOutput) OutpostLagId() pulumi.StringOutput { + return o.ApplyT(func(v GetLocalGatewayVirtualInterfaceResult) string { return v.OutpostLagId }).(pulumi.StringOutput) +} + // Peer address. func (o GetLocalGatewayVirtualInterfaceResultOutput) PeerAddress() pulumi.StringOutput { return o.ApplyT(func(v GetLocalGatewayVirtualInterfaceResult) string { return v.PeerAddress }).(pulumi.StringOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getRoute.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getRoute.go index 7051d9872..033e60316 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getRoute.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/getRoute.go @@ -93,6 +93,8 @@ type LookupRouteArgs struct { NatGatewayId *string `pulumi:"natGatewayId"` // Network Interface ID of the Route belonging to the Route Table. NetworkInterfaceId *string `pulumi:"networkInterfaceId"` + // ODB network ARN of the Route belonging to the Route Table. + OdbNetworkArn *string `pulumi:"odbNetworkArn"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region *string `pulumi:"region"` // ID of the specific Route Table containing the Route entry. @@ -120,6 +122,7 @@ type LookupRouteResult struct { LocalGatewayId string `pulumi:"localGatewayId"` NatGatewayId string `pulumi:"natGatewayId"` NetworkInterfaceId string `pulumi:"networkInterfaceId"` + OdbNetworkArn string `pulumi:"odbNetworkArn"` Region string `pulumi:"region"` RouteTableId string `pulumi:"routeTableId"` TransitGatewayId string `pulumi:"transitGatewayId"` @@ -159,6 +162,8 @@ type LookupRouteOutputArgs struct { NatGatewayId pulumi.StringPtrInput `pulumi:"natGatewayId"` // Network Interface ID of the Route belonging to the Route Table. NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"` + // ODB network ARN of the Route belonging to the Route Table. + OdbNetworkArn pulumi.StringPtrInput `pulumi:"odbNetworkArn"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` // ID of the specific Route Table containing the Route entry. @@ -239,6 +244,10 @@ func (o LookupRouteResultOutput) NetworkInterfaceId() pulumi.StringOutput { return o.ApplyT(func(v LookupRouteResult) string { return v.NetworkInterfaceId }).(pulumi.StringOutput) } +func (o LookupRouteResultOutput) OdbNetworkArn() pulumi.StringOutput { + return o.ApplyT(func(v LookupRouteResult) string { return v.OdbNetworkArn }).(pulumi.StringOutput) +} + func (o LookupRouteResultOutput) Region() pulumi.StringOutput { return o.ApplyT(func(v LookupRouteResult) string { return v.Region }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchConfiguration.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchConfiguration.go index 0202d7f44..e89e221d7 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchConfiguration.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/launchConfiguration.go @@ -14,7 +14,7 @@ import ( // Provides a resource to create a new launch configuration, used for autoscaling groups. // -// !> **WARNING:** The use of launch configurations is discouraged in favor of launch templates. Read more in the [AWS EC2 Documentation](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html). +// > **WARNING:** The use of launch configurations is discouraged in favor of launch templates. Read more in the [AWS EC2 Documentation](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html). // // > **Note** When using `ec2.LaunchConfiguration` with `autoscaling.Group`, it is recommended to use the `namePrefix` (Optional) instead of the `name` (Optional) attribute. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGateway.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGateway.go index 33c19c364..6347f7470 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGateway.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGateway.go @@ -13,7 +13,7 @@ import ( // Provides a resource to create a VPC NAT Gateway. // -// !> **WARNING:** You should not use the `ec2.NatGateway` resource that has `secondaryAllocationIds` in conjunction with an `ec2.NatGatewayEipAssociation` resource. Doing so may cause perpetual differences, and result in associations being overwritten. +// > **WARNING:** You should not use the `ec2.NatGateway` resource that has `secondaryAllocationIds` in conjunction with an `ec2.NatGatewayEipAssociation` resource. Doing so may cause perpetual differences, and result in associations being overwritten. // // ## Example Usage // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGatewayEipAssociation.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGatewayEipAssociation.go index 6a45d7758..ee1ca7bb4 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGatewayEipAssociation.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/natGatewayEipAssociation.go @@ -14,7 +14,7 @@ import ( // Resource for managing an AWS VPC NAT Gateway EIP Association. // -// !> **WARNING:** You should not use the `ec2.NatGatewayEipAssociation` resource in conjunction with an `ec2.NatGateway` resource that has `secondaryAllocationIds` configured. Doing so may cause perpetual differences, and result in associations being overwritten. +// > **WARNING:** You should not use the `ec2.NatGatewayEipAssociation` resource in conjunction with an `ec2.NatGateway` resource that has `secondaryAllocationIds` configured. Doing so may cause perpetual differences, and result in associations being overwritten. // // ## Example Usage // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go index 44cdc6d8f..db7c077db 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes.go @@ -9494,8 +9494,111 @@ func (o InstanceEphemeralBlockDeviceArrayOutput) Index(i pulumi.IntInput) Instan }).(InstanceEphemeralBlockDeviceOutput) } +type InstanceFilter struct { + // Name of the launch template. Conflicts with `id`. + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// InstanceFilterInput is an input type that accepts InstanceFilterArgs and InstanceFilterOutput values. +// You can construct a concrete instance of `InstanceFilterInput` via: +// +// InstanceFilterArgs{...} +type InstanceFilterInput interface { + pulumi.Input + + ToInstanceFilterOutput() InstanceFilterOutput + ToInstanceFilterOutputWithContext(context.Context) InstanceFilterOutput +} + +type InstanceFilterArgs struct { + // Name of the launch template. Conflicts with `id`. + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (InstanceFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceFilter)(nil)).Elem() +} + +func (i InstanceFilterArgs) ToInstanceFilterOutput() InstanceFilterOutput { + return i.ToInstanceFilterOutputWithContext(context.Background()) +} + +func (i InstanceFilterArgs) ToInstanceFilterOutputWithContext(ctx context.Context) InstanceFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceFilterOutput) +} + +// InstanceFilterArrayInput is an input type that accepts InstanceFilterArray and InstanceFilterArrayOutput values. +// You can construct a concrete instance of `InstanceFilterArrayInput` via: +// +// InstanceFilterArray{ InstanceFilterArgs{...} } +type InstanceFilterArrayInput interface { + pulumi.Input + + ToInstanceFilterArrayOutput() InstanceFilterArrayOutput + ToInstanceFilterArrayOutputWithContext(context.Context) InstanceFilterArrayOutput +} + +type InstanceFilterArray []InstanceFilterInput + +func (InstanceFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceFilter)(nil)).Elem() +} + +func (i InstanceFilterArray) ToInstanceFilterArrayOutput() InstanceFilterArrayOutput { + return i.ToInstanceFilterArrayOutputWithContext(context.Background()) +} + +func (i InstanceFilterArray) ToInstanceFilterArrayOutputWithContext(ctx context.Context) InstanceFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InstanceFilterArrayOutput) +} + +type InstanceFilterOutput struct{ *pulumi.OutputState } + +func (InstanceFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InstanceFilter)(nil)).Elem() +} + +func (o InstanceFilterOutput) ToInstanceFilterOutput() InstanceFilterOutput { + return o +} + +func (o InstanceFilterOutput) ToInstanceFilterOutputWithContext(ctx context.Context) InstanceFilterOutput { + return o +} + +// Name of the launch template. Conflicts with `id`. +func (o InstanceFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v InstanceFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o InstanceFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v InstanceFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type InstanceFilterArrayOutput struct{ *pulumi.OutputState } + +func (InstanceFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InstanceFilter)(nil)).Elem() +} + +func (o InstanceFilterArrayOutput) ToInstanceFilterArrayOutput() InstanceFilterArrayOutput { + return o +} + +func (o InstanceFilterArrayOutput) ToInstanceFilterArrayOutputWithContext(ctx context.Context) InstanceFilterArrayOutput { + return o +} + +func (o InstanceFilterArrayOutput) Index(i pulumi.IntInput) InstanceFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InstanceFilter { + return vs[0].([]InstanceFilter)[vs[1].(int)] + }).(InstanceFilterOutput) +} + type InstanceInstanceMarketOptions struct { - // Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. + // Type of market for the instance. Valid values are `spot`, `capacity-block`, and `interruptible-capacity-reservation`. Use `interruptible-capacity-reservation` to launch instances into [interruptible Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-consumer-procedures.html). Defaults to `spot`. Required if `spotOptions` is specified. MarketType *string `pulumi:"marketType"` // Block to configure the options for Spot Instances. See Spot Options below for details on attributes. SpotOptions *InstanceInstanceMarketOptionsSpotOptions `pulumi:"spotOptions"` @@ -9513,7 +9616,7 @@ type InstanceInstanceMarketOptionsInput interface { } type InstanceInstanceMarketOptionsArgs struct { - // Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. + // Type of market for the instance. Valid values are `spot`, `capacity-block`, and `interruptible-capacity-reservation`. Use `interruptible-capacity-reservation` to launch instances into [interruptible Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-consumer-procedures.html). Defaults to `spot`. Required if `spotOptions` is specified. MarketType pulumi.StringPtrInput `pulumi:"marketType"` // Block to configure the options for Spot Instances. See Spot Options below for details on attributes. SpotOptions InstanceInstanceMarketOptionsSpotOptionsPtrInput `pulumi:"spotOptions"` @@ -9596,7 +9699,7 @@ func (o InstanceInstanceMarketOptionsOutput) ToInstanceInstanceMarketOptionsPtrO }).(InstanceInstanceMarketOptionsPtrOutput) } -// Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. +// Type of market for the instance. Valid values are `spot`, `capacity-block`, and `interruptible-capacity-reservation`. Use `interruptible-capacity-reservation` to launch instances into [interruptible Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-consumer-procedures.html). Defaults to `spot`. Required if `spotOptions` is specified. func (o InstanceInstanceMarketOptionsOutput) MarketType() pulumi.StringPtrOutput { return o.ApplyT(func(v InstanceInstanceMarketOptions) *string { return v.MarketType }).(pulumi.StringPtrOutput) } @@ -9630,7 +9733,7 @@ func (o InstanceInstanceMarketOptionsPtrOutput) Elem() InstanceInstanceMarketOpt }).(InstanceInstanceMarketOptionsOutput) } -// Type of market for the instance. Valid values are `spot` and `capacity-block`. Defaults to `spot`. Required if `spotOptions` is specified. +// Type of market for the instance. Valid values are `spot`, `capacity-block`, and `interruptible-capacity-reservation`. Use `interruptible-capacity-reservation` to launch instances into [interruptible Capacity Reservations](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/capacity-consumer-procedures.html). Defaults to `spot`. Required if `spotOptions` is specified. func (o InstanceInstanceMarketOptionsPtrOutput) MarketType() pulumi.StringPtrOutput { return o.ApplyT(func(v *InstanceInstanceMarketOptions) *string { if v == nil { @@ -11351,6 +11454,106 @@ func (o InstanceSecondaryNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) I }).(InstanceSecondaryNetworkInterfaceOutput) } +type InternetGatewayFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// InternetGatewayFilterInput is an input type that accepts InternetGatewayFilterArgs and InternetGatewayFilterOutput values. +// You can construct a concrete instance of `InternetGatewayFilterInput` via: +// +// InternetGatewayFilterArgs{...} +type InternetGatewayFilterInput interface { + pulumi.Input + + ToInternetGatewayFilterOutput() InternetGatewayFilterOutput + ToInternetGatewayFilterOutputWithContext(context.Context) InternetGatewayFilterOutput +} + +type InternetGatewayFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (InternetGatewayFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*InternetGatewayFilter)(nil)).Elem() +} + +func (i InternetGatewayFilterArgs) ToInternetGatewayFilterOutput() InternetGatewayFilterOutput { + return i.ToInternetGatewayFilterOutputWithContext(context.Background()) +} + +func (i InternetGatewayFilterArgs) ToInternetGatewayFilterOutputWithContext(ctx context.Context) InternetGatewayFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(InternetGatewayFilterOutput) +} + +// InternetGatewayFilterArrayInput is an input type that accepts InternetGatewayFilterArray and InternetGatewayFilterArrayOutput values. +// You can construct a concrete instance of `InternetGatewayFilterArrayInput` via: +// +// InternetGatewayFilterArray{ InternetGatewayFilterArgs{...} } +type InternetGatewayFilterArrayInput interface { + pulumi.Input + + ToInternetGatewayFilterArrayOutput() InternetGatewayFilterArrayOutput + ToInternetGatewayFilterArrayOutputWithContext(context.Context) InternetGatewayFilterArrayOutput +} + +type InternetGatewayFilterArray []InternetGatewayFilterInput + +func (InternetGatewayFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]InternetGatewayFilter)(nil)).Elem() +} + +func (i InternetGatewayFilterArray) ToInternetGatewayFilterArrayOutput() InternetGatewayFilterArrayOutput { + return i.ToInternetGatewayFilterArrayOutputWithContext(context.Background()) +} + +func (i InternetGatewayFilterArray) ToInternetGatewayFilterArrayOutputWithContext(ctx context.Context) InternetGatewayFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(InternetGatewayFilterArrayOutput) +} + +type InternetGatewayFilterOutput struct{ *pulumi.OutputState } + +func (InternetGatewayFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*InternetGatewayFilter)(nil)).Elem() +} + +func (o InternetGatewayFilterOutput) ToInternetGatewayFilterOutput() InternetGatewayFilterOutput { + return o +} + +func (o InternetGatewayFilterOutput) ToInternetGatewayFilterOutputWithContext(ctx context.Context) InternetGatewayFilterOutput { + return o +} + +func (o InternetGatewayFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v InternetGatewayFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o InternetGatewayFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v InternetGatewayFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type InternetGatewayFilterArrayOutput struct{ *pulumi.OutputState } + +func (InternetGatewayFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]InternetGatewayFilter)(nil)).Elem() +} + +func (o InternetGatewayFilterArrayOutput) ToInternetGatewayFilterArrayOutput() InternetGatewayFilterArrayOutput { + return o +} + +func (o InternetGatewayFilterArrayOutput) ToInternetGatewayFilterArrayOutputWithContext(ctx context.Context) InternetGatewayFilterArrayOutput { + return o +} + +func (o InternetGatewayFilterArrayOutput) Index(i pulumi.IntInput) InternetGatewayFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) InternetGatewayFilter { + return vs[0].([]InternetGatewayFilter)[vs[1].(int)] + }).(InternetGatewayFilterOutput) +} + type LaunchConfigurationEbsBlockDevice struct { DeleteOnTermination *bool `pulumi:"deleteOnTermination"` DeviceName string `pulumi:"deviceName"` @@ -13243,6 +13446,109 @@ func (o LaunchTemplateEnclaveOptionsPtrOutput) Enabled() pulumi.BoolPtrOutput { }).(pulumi.BoolPtrOutput) } +type LaunchTemplateFilter struct { + // The name of the launch template. If you leave this blank, the provider will auto-generate a unique name. + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// LaunchTemplateFilterInput is an input type that accepts LaunchTemplateFilterArgs and LaunchTemplateFilterOutput values. +// You can construct a concrete instance of `LaunchTemplateFilterInput` via: +// +// LaunchTemplateFilterArgs{...} +type LaunchTemplateFilterInput interface { + pulumi.Input + + ToLaunchTemplateFilterOutput() LaunchTemplateFilterOutput + ToLaunchTemplateFilterOutputWithContext(context.Context) LaunchTemplateFilterOutput +} + +type LaunchTemplateFilterArgs struct { + // The name of the launch template. If you leave this blank, the provider will auto-generate a unique name. + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (LaunchTemplateFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LaunchTemplateFilter)(nil)).Elem() +} + +func (i LaunchTemplateFilterArgs) ToLaunchTemplateFilterOutput() LaunchTemplateFilterOutput { + return i.ToLaunchTemplateFilterOutputWithContext(context.Background()) +} + +func (i LaunchTemplateFilterArgs) ToLaunchTemplateFilterOutputWithContext(ctx context.Context) LaunchTemplateFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(LaunchTemplateFilterOutput) +} + +// LaunchTemplateFilterArrayInput is an input type that accepts LaunchTemplateFilterArray and LaunchTemplateFilterArrayOutput values. +// You can construct a concrete instance of `LaunchTemplateFilterArrayInput` via: +// +// LaunchTemplateFilterArray{ LaunchTemplateFilterArgs{...} } +type LaunchTemplateFilterArrayInput interface { + pulumi.Input + + ToLaunchTemplateFilterArrayOutput() LaunchTemplateFilterArrayOutput + ToLaunchTemplateFilterArrayOutputWithContext(context.Context) LaunchTemplateFilterArrayOutput +} + +type LaunchTemplateFilterArray []LaunchTemplateFilterInput + +func (LaunchTemplateFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]LaunchTemplateFilter)(nil)).Elem() +} + +func (i LaunchTemplateFilterArray) ToLaunchTemplateFilterArrayOutput() LaunchTemplateFilterArrayOutput { + return i.ToLaunchTemplateFilterArrayOutputWithContext(context.Background()) +} + +func (i LaunchTemplateFilterArray) ToLaunchTemplateFilterArrayOutputWithContext(ctx context.Context) LaunchTemplateFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LaunchTemplateFilterArrayOutput) +} + +type LaunchTemplateFilterOutput struct{ *pulumi.OutputState } + +func (LaunchTemplateFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LaunchTemplateFilter)(nil)).Elem() +} + +func (o LaunchTemplateFilterOutput) ToLaunchTemplateFilterOutput() LaunchTemplateFilterOutput { + return o +} + +func (o LaunchTemplateFilterOutput) ToLaunchTemplateFilterOutputWithContext(ctx context.Context) LaunchTemplateFilterOutput { + return o +} + +// The name of the launch template. If you leave this blank, the provider will auto-generate a unique name. +func (o LaunchTemplateFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v LaunchTemplateFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o LaunchTemplateFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v LaunchTemplateFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type LaunchTemplateFilterArrayOutput struct{ *pulumi.OutputState } + +func (LaunchTemplateFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]LaunchTemplateFilter)(nil)).Elem() +} + +func (o LaunchTemplateFilterArrayOutput) ToLaunchTemplateFilterArrayOutput() LaunchTemplateFilterArrayOutput { + return o +} + +func (o LaunchTemplateFilterArrayOutput) ToLaunchTemplateFilterArrayOutputWithContext(ctx context.Context) LaunchTemplateFilterArrayOutput { + return o +} + +func (o LaunchTemplateFilterArrayOutput) Index(i pulumi.IntInput) LaunchTemplateFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) LaunchTemplateFilter { + return vs[0].([]LaunchTemplateFilter)[vs[1].(int)] + }).(LaunchTemplateFilterOutput) +} + type LaunchTemplateHibernationOptions struct { // If set to `true`, the launched EC2 instance will hibernation enabled. Configured bool `pulumi:"configured"` @@ -18548,6 +18854,106 @@ func (o NatGatewayEipAssociationTimeoutsPtrOutput) Delete() pulumi.StringPtrOutp }).(pulumi.StringPtrOutput) } +type NatGatewayFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// NatGatewayFilterInput is an input type that accepts NatGatewayFilterArgs and NatGatewayFilterOutput values. +// You can construct a concrete instance of `NatGatewayFilterInput` via: +// +// NatGatewayFilterArgs{...} +type NatGatewayFilterInput interface { + pulumi.Input + + ToNatGatewayFilterOutput() NatGatewayFilterOutput + ToNatGatewayFilterOutputWithContext(context.Context) NatGatewayFilterOutput +} + +type NatGatewayFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (NatGatewayFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*NatGatewayFilter)(nil)).Elem() +} + +func (i NatGatewayFilterArgs) ToNatGatewayFilterOutput() NatGatewayFilterOutput { + return i.ToNatGatewayFilterOutputWithContext(context.Background()) +} + +func (i NatGatewayFilterArgs) ToNatGatewayFilterOutputWithContext(ctx context.Context) NatGatewayFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(NatGatewayFilterOutput) +} + +// NatGatewayFilterArrayInput is an input type that accepts NatGatewayFilterArray and NatGatewayFilterArrayOutput values. +// You can construct a concrete instance of `NatGatewayFilterArrayInput` via: +// +// NatGatewayFilterArray{ NatGatewayFilterArgs{...} } +type NatGatewayFilterArrayInput interface { + pulumi.Input + + ToNatGatewayFilterArrayOutput() NatGatewayFilterArrayOutput + ToNatGatewayFilterArrayOutputWithContext(context.Context) NatGatewayFilterArrayOutput +} + +type NatGatewayFilterArray []NatGatewayFilterInput + +func (NatGatewayFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]NatGatewayFilter)(nil)).Elem() +} + +func (i NatGatewayFilterArray) ToNatGatewayFilterArrayOutput() NatGatewayFilterArrayOutput { + return i.ToNatGatewayFilterArrayOutputWithContext(context.Background()) +} + +func (i NatGatewayFilterArray) ToNatGatewayFilterArrayOutputWithContext(ctx context.Context) NatGatewayFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(NatGatewayFilterArrayOutput) +} + +type NatGatewayFilterOutput struct{ *pulumi.OutputState } + +func (NatGatewayFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*NatGatewayFilter)(nil)).Elem() +} + +func (o NatGatewayFilterOutput) ToNatGatewayFilterOutput() NatGatewayFilterOutput { + return o +} + +func (o NatGatewayFilterOutput) ToNatGatewayFilterOutputWithContext(ctx context.Context) NatGatewayFilterOutput { + return o +} + +func (o NatGatewayFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v NatGatewayFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o NatGatewayFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v NatGatewayFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type NatGatewayFilterArrayOutput struct{ *pulumi.OutputState } + +func (NatGatewayFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]NatGatewayFilter)(nil)).Elem() +} + +func (o NatGatewayFilterArrayOutput) ToNatGatewayFilterArrayOutput() NatGatewayFilterArrayOutput { + return o +} + +func (o NatGatewayFilterArrayOutput) ToNatGatewayFilterArrayOutputWithContext(ctx context.Context) NatGatewayFilterArrayOutput { + return o +} + +func (o NatGatewayFilterArrayOutput) Index(i pulumi.IntInput) NatGatewayFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) NatGatewayFilter { + return vs[0].([]NatGatewayFilter)[vs[1].(int)] + }).(NatGatewayFilterOutput) +} + type NatGatewayRegionalNatGatewayAddress struct { // The Allocation ID of the Elastic IP address for the NAT Gateway. Required when `connectivityType` is set to `public` and `availabilityMode` is set to `zonal`. When `availabilityMode` is set to `regional`, this must not be set; instead, use the `availabilityZoneAddress` block to specify EIPs for each AZ. AllocationId *string `pulumi:"allocationId"` @@ -33452,6 +33858,106 @@ func (o PeeringConnectionOptionsRequesterPtrOutput) AllowRemoteVpcDnsResolution( }).(pulumi.BoolPtrOutput) } +type RouteTableFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// RouteTableFilterInput is an input type that accepts RouteTableFilterArgs and RouteTableFilterOutput values. +// You can construct a concrete instance of `RouteTableFilterInput` via: +// +// RouteTableFilterArgs{...} +type RouteTableFilterInput interface { + pulumi.Input + + ToRouteTableFilterOutput() RouteTableFilterOutput + ToRouteTableFilterOutputWithContext(context.Context) RouteTableFilterOutput +} + +type RouteTableFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (RouteTableFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RouteTableFilter)(nil)).Elem() +} + +func (i RouteTableFilterArgs) ToRouteTableFilterOutput() RouteTableFilterOutput { + return i.ToRouteTableFilterOutputWithContext(context.Background()) +} + +func (i RouteTableFilterArgs) ToRouteTableFilterOutputWithContext(ctx context.Context) RouteTableFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(RouteTableFilterOutput) +} + +// RouteTableFilterArrayInput is an input type that accepts RouteTableFilterArray and RouteTableFilterArrayOutput values. +// You can construct a concrete instance of `RouteTableFilterArrayInput` via: +// +// RouteTableFilterArray{ RouteTableFilterArgs{...} } +type RouteTableFilterArrayInput interface { + pulumi.Input + + ToRouteTableFilterArrayOutput() RouteTableFilterArrayOutput + ToRouteTableFilterArrayOutputWithContext(context.Context) RouteTableFilterArrayOutput +} + +type RouteTableFilterArray []RouteTableFilterInput + +func (RouteTableFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RouteTableFilter)(nil)).Elem() +} + +func (i RouteTableFilterArray) ToRouteTableFilterArrayOutput() RouteTableFilterArrayOutput { + return i.ToRouteTableFilterArrayOutputWithContext(context.Background()) +} + +func (i RouteTableFilterArray) ToRouteTableFilterArrayOutputWithContext(ctx context.Context) RouteTableFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RouteTableFilterArrayOutput) +} + +type RouteTableFilterOutput struct{ *pulumi.OutputState } + +func (RouteTableFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RouteTableFilter)(nil)).Elem() +} + +func (o RouteTableFilterOutput) ToRouteTableFilterOutput() RouteTableFilterOutput { + return o +} + +func (o RouteTableFilterOutput) ToRouteTableFilterOutputWithContext(ctx context.Context) RouteTableFilterOutput { + return o +} + +func (o RouteTableFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v RouteTableFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o RouteTableFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v RouteTableFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type RouteTableFilterArrayOutput struct{ *pulumi.OutputState } + +func (RouteTableFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RouteTableFilter)(nil)).Elem() +} + +func (o RouteTableFilterArrayOutput) ToRouteTableFilterArrayOutput() RouteTableFilterArrayOutput { + return o +} + +func (o RouteTableFilterArrayOutput) ToRouteTableFilterArrayOutputWithContext(ctx context.Context) RouteTableFilterArrayOutput { + return o +} + +func (o RouteTableFilterArrayOutput) Index(i pulumi.IntInput) RouteTableFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RouteTableFilter { + return vs[0].([]RouteTableFilter)[vs[1].(int)] + }).(RouteTableFilterOutput) +} + type RouteTableRoute struct { // Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone. CarrierGatewayId *string `pulumi:"carrierGatewayId"` @@ -33475,6 +33981,8 @@ type RouteTableRoute struct { NatGatewayId *string `pulumi:"natGatewayId"` // Identifier of an EC2 network interface. NetworkInterfaceId *string `pulumi:"networkInterfaceId"` + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn *string `pulumi:"odbNetworkArn"` // Identifier of an EC2 Transit Gateway. TransitGatewayId *string `pulumi:"transitGatewayId"` // Identifier of a VPC Endpoint. @@ -33519,6 +34027,8 @@ type RouteTableRouteArgs struct { NatGatewayId pulumi.StringPtrInput `pulumi:"natGatewayId"` // Identifier of an EC2 network interface. NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"` + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn pulumi.StringPtrInput `pulumi:"odbNetworkArn"` // Identifier of an EC2 Transit Gateway. TransitGatewayId pulumi.StringPtrInput `pulumi:"transitGatewayId"` // Identifier of a VPC Endpoint. @@ -33632,6 +34142,11 @@ func (o RouteTableRouteOutput) NetworkInterfaceId() pulumi.StringPtrOutput { return o.ApplyT(func(v RouteTableRoute) *string { return v.NetworkInterfaceId }).(pulumi.StringPtrOutput) } +// The Amazon Resource Name (ARN) of an ODB network. +func (o RouteTableRouteOutput) OdbNetworkArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v RouteTableRoute) *string { return v.OdbNetworkArn }).(pulumi.StringPtrOutput) +} + // Identifier of an EC2 Transit Gateway. func (o RouteTableRouteOutput) TransitGatewayId() pulumi.StringPtrOutput { return o.ApplyT(func(v RouteTableRoute) *string { return v.TransitGatewayId }).(pulumi.StringPtrOutput) @@ -33959,6 +34474,106 @@ func (o SecondaryNetworkTimeoutsPtrOutput) Update() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type SecondarySubnetFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// SecondarySubnetFilterInput is an input type that accepts SecondarySubnetFilterArgs and SecondarySubnetFilterOutput values. +// You can construct a concrete instance of `SecondarySubnetFilterInput` via: +// +// SecondarySubnetFilterArgs{...} +type SecondarySubnetFilterInput interface { + pulumi.Input + + ToSecondarySubnetFilterOutput() SecondarySubnetFilterOutput + ToSecondarySubnetFilterOutputWithContext(context.Context) SecondarySubnetFilterOutput +} + +type SecondarySubnetFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (SecondarySubnetFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecondarySubnetFilter)(nil)).Elem() +} + +func (i SecondarySubnetFilterArgs) ToSecondarySubnetFilterOutput() SecondarySubnetFilterOutput { + return i.ToSecondarySubnetFilterOutputWithContext(context.Background()) +} + +func (i SecondarySubnetFilterArgs) ToSecondarySubnetFilterOutputWithContext(ctx context.Context) SecondarySubnetFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecondarySubnetFilterOutput) +} + +// SecondarySubnetFilterArrayInput is an input type that accepts SecondarySubnetFilterArray and SecondarySubnetFilterArrayOutput values. +// You can construct a concrete instance of `SecondarySubnetFilterArrayInput` via: +// +// SecondarySubnetFilterArray{ SecondarySubnetFilterArgs{...} } +type SecondarySubnetFilterArrayInput interface { + pulumi.Input + + ToSecondarySubnetFilterArrayOutput() SecondarySubnetFilterArrayOutput + ToSecondarySubnetFilterArrayOutputWithContext(context.Context) SecondarySubnetFilterArrayOutput +} + +type SecondarySubnetFilterArray []SecondarySubnetFilterInput + +func (SecondarySubnetFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecondarySubnetFilter)(nil)).Elem() +} + +func (i SecondarySubnetFilterArray) ToSecondarySubnetFilterArrayOutput() SecondarySubnetFilterArrayOutput { + return i.ToSecondarySubnetFilterArrayOutputWithContext(context.Background()) +} + +func (i SecondarySubnetFilterArray) ToSecondarySubnetFilterArrayOutputWithContext(ctx context.Context) SecondarySubnetFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecondarySubnetFilterArrayOutput) +} + +type SecondarySubnetFilterOutput struct{ *pulumi.OutputState } + +func (SecondarySubnetFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecondarySubnetFilter)(nil)).Elem() +} + +func (o SecondarySubnetFilterOutput) ToSecondarySubnetFilterOutput() SecondarySubnetFilterOutput { + return o +} + +func (o SecondarySubnetFilterOutput) ToSecondarySubnetFilterOutputWithContext(ctx context.Context) SecondarySubnetFilterOutput { + return o +} + +func (o SecondarySubnetFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SecondarySubnetFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o SecondarySubnetFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecondarySubnetFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type SecondarySubnetFilterArrayOutput struct{ *pulumi.OutputState } + +func (SecondarySubnetFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecondarySubnetFilter)(nil)).Elem() +} + +func (o SecondarySubnetFilterArrayOutput) ToSecondarySubnetFilterArrayOutput() SecondarySubnetFilterArrayOutput { + return o +} + +func (o SecondarySubnetFilterArrayOutput) ToSecondarySubnetFilterArrayOutputWithContext(ctx context.Context) SecondarySubnetFilterArrayOutput { + return o +} + +func (o SecondarySubnetFilterArrayOutput) Index(i pulumi.IntInput) SecondarySubnetFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecondarySubnetFilter { + return vs[0].([]SecondarySubnetFilter)[vs[1].(int)] + }).(SecondarySubnetFilterOutput) +} + type SecondarySubnetIpv4CidrBlockAssociation struct { // Association ID for the IPv4 CIDR block. AssociationId string `pulumi:"associationId"` @@ -34430,6 +35045,109 @@ func (o SecurityGroupEgressArrayOutput) Index(i pulumi.IntInput) SecurityGroupEg }).(SecurityGroupEgressOutput) } +type SecurityGroupFilter struct { + // Name of the security group. If omitted, the provider will assign a random, unique name. + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// SecurityGroupFilterInput is an input type that accepts SecurityGroupFilterArgs and SecurityGroupFilterOutput values. +// You can construct a concrete instance of `SecurityGroupFilterInput` via: +// +// SecurityGroupFilterArgs{...} +type SecurityGroupFilterInput interface { + pulumi.Input + + ToSecurityGroupFilterOutput() SecurityGroupFilterOutput + ToSecurityGroupFilterOutputWithContext(context.Context) SecurityGroupFilterOutput +} + +type SecurityGroupFilterArgs struct { + // Name of the security group. If omitted, the provider will assign a random, unique name. + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (SecurityGroupFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityGroupFilter)(nil)).Elem() +} + +func (i SecurityGroupFilterArgs) ToSecurityGroupFilterOutput() SecurityGroupFilterOutput { + return i.ToSecurityGroupFilterOutputWithContext(context.Background()) +} + +func (i SecurityGroupFilterArgs) ToSecurityGroupFilterOutputWithContext(ctx context.Context) SecurityGroupFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupFilterOutput) +} + +// SecurityGroupFilterArrayInput is an input type that accepts SecurityGroupFilterArray and SecurityGroupFilterArrayOutput values. +// You can construct a concrete instance of `SecurityGroupFilterArrayInput` via: +// +// SecurityGroupFilterArray{ SecurityGroupFilterArgs{...} } +type SecurityGroupFilterArrayInput interface { + pulumi.Input + + ToSecurityGroupFilterArrayOutput() SecurityGroupFilterArrayOutput + ToSecurityGroupFilterArrayOutputWithContext(context.Context) SecurityGroupFilterArrayOutput +} + +type SecurityGroupFilterArray []SecurityGroupFilterInput + +func (SecurityGroupFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityGroupFilter)(nil)).Elem() +} + +func (i SecurityGroupFilterArray) ToSecurityGroupFilterArrayOutput() SecurityGroupFilterArrayOutput { + return i.ToSecurityGroupFilterArrayOutputWithContext(context.Background()) +} + +func (i SecurityGroupFilterArray) ToSecurityGroupFilterArrayOutputWithContext(ctx context.Context) SecurityGroupFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityGroupFilterArrayOutput) +} + +type SecurityGroupFilterOutput struct{ *pulumi.OutputState } + +func (SecurityGroupFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityGroupFilter)(nil)).Elem() +} + +func (o SecurityGroupFilterOutput) ToSecurityGroupFilterOutput() SecurityGroupFilterOutput { + return o +} + +func (o SecurityGroupFilterOutput) ToSecurityGroupFilterOutputWithContext(ctx context.Context) SecurityGroupFilterOutput { + return o +} + +// Name of the security group. If omitted, the provider will assign a random, unique name. +func (o SecurityGroupFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SecurityGroupFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o SecurityGroupFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityGroupFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type SecurityGroupFilterArrayOutput struct{ *pulumi.OutputState } + +func (SecurityGroupFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityGroupFilter)(nil)).Elem() +} + +func (o SecurityGroupFilterArrayOutput) ToSecurityGroupFilterArrayOutput() SecurityGroupFilterArrayOutput { + return o +} + +func (o SecurityGroupFilterArrayOutput) ToSecurityGroupFilterArrayOutputWithContext(ctx context.Context) SecurityGroupFilterArrayOutput { + return o +} + +func (o SecurityGroupFilterArrayOutput) Index(i pulumi.IntInput) SecurityGroupFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityGroupFilter { + return vs[0].([]SecurityGroupFilter)[vs[1].(int)] + }).(SecurityGroupFilterOutput) +} + type SecurityGroupIngress struct { // List of CIDR blocks. CidrBlocks []string `pulumi:"cidrBlocks"` @@ -40490,6 +41208,106 @@ func (o SpotInstanceRequestSecondaryNetworkInterfaceArrayOutput) Index(i pulumi. }).(SpotInstanceRequestSecondaryNetworkInterfaceOutput) } +type SubnetFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// SubnetFilterInput is an input type that accepts SubnetFilterArgs and SubnetFilterOutput values. +// You can construct a concrete instance of `SubnetFilterInput` via: +// +// SubnetFilterArgs{...} +type SubnetFilterInput interface { + pulumi.Input + + ToSubnetFilterOutput() SubnetFilterOutput + ToSubnetFilterOutputWithContext(context.Context) SubnetFilterOutput +} + +type SubnetFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (SubnetFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SubnetFilter)(nil)).Elem() +} + +func (i SubnetFilterArgs) ToSubnetFilterOutput() SubnetFilterOutput { + return i.ToSubnetFilterOutputWithContext(context.Background()) +} + +func (i SubnetFilterArgs) ToSubnetFilterOutputWithContext(ctx context.Context) SubnetFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubnetFilterOutput) +} + +// SubnetFilterArrayInput is an input type that accepts SubnetFilterArray and SubnetFilterArrayOutput values. +// You can construct a concrete instance of `SubnetFilterArrayInput` via: +// +// SubnetFilterArray{ SubnetFilterArgs{...} } +type SubnetFilterArrayInput interface { + pulumi.Input + + ToSubnetFilterArrayOutput() SubnetFilterArrayOutput + ToSubnetFilterArrayOutputWithContext(context.Context) SubnetFilterArrayOutput +} + +type SubnetFilterArray []SubnetFilterInput + +func (SubnetFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SubnetFilter)(nil)).Elem() +} + +func (i SubnetFilterArray) ToSubnetFilterArrayOutput() SubnetFilterArrayOutput { + return i.ToSubnetFilterArrayOutputWithContext(context.Background()) +} + +func (i SubnetFilterArray) ToSubnetFilterArrayOutputWithContext(ctx context.Context) SubnetFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SubnetFilterArrayOutput) +} + +type SubnetFilterOutput struct{ *pulumi.OutputState } + +func (SubnetFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SubnetFilter)(nil)).Elem() +} + +func (o SubnetFilterOutput) ToSubnetFilterOutput() SubnetFilterOutput { + return o +} + +func (o SubnetFilterOutput) ToSubnetFilterOutputWithContext(ctx context.Context) SubnetFilterOutput { + return o +} + +func (o SubnetFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SubnetFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o SubnetFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v SubnetFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type SubnetFilterArrayOutput struct{ *pulumi.OutputState } + +func (SubnetFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SubnetFilter)(nil)).Elem() +} + +func (o SubnetFilterArrayOutput) ToSubnetFilterArrayOutput() SubnetFilterArrayOutput { + return o +} + +func (o SubnetFilterArrayOutput) ToSubnetFilterArrayOutputWithContext(ctx context.Context) SubnetFilterArrayOutput { + return o +} + +func (o SubnetFilterArrayOutput) Index(i pulumi.IntInput) SubnetFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SubnetFilter { + return vs[0].([]SubnetFilter)[vs[1].(int)] + }).(SubnetFilterOutput) +} + type TrafficMirrorFilterRuleDestinationPortRange struct { // Starting port of the range FromPort *int `pulumi:"fromPort"` @@ -43161,6 +43979,106 @@ func (o VpcEndpointDnsOptionsPtrOutput) PrivateDnsSpecifiedDomains() pulumi.Stri }).(pulumi.StringArrayOutput) } +type VpcEndpointFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// VpcEndpointFilterInput is an input type that accepts VpcEndpointFilterArgs and VpcEndpointFilterOutput values. +// You can construct a concrete instance of `VpcEndpointFilterInput` via: +// +// VpcEndpointFilterArgs{...} +type VpcEndpointFilterInput interface { + pulumi.Input + + ToVpcEndpointFilterOutput() VpcEndpointFilterOutput + ToVpcEndpointFilterOutputWithContext(context.Context) VpcEndpointFilterOutput +} + +type VpcEndpointFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (VpcEndpointFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpcEndpointFilter)(nil)).Elem() +} + +func (i VpcEndpointFilterArgs) ToVpcEndpointFilterOutput() VpcEndpointFilterOutput { + return i.ToVpcEndpointFilterOutputWithContext(context.Background()) +} + +func (i VpcEndpointFilterArgs) ToVpcEndpointFilterOutputWithContext(ctx context.Context) VpcEndpointFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcEndpointFilterOutput) +} + +// VpcEndpointFilterArrayInput is an input type that accepts VpcEndpointFilterArray and VpcEndpointFilterArrayOutput values. +// You can construct a concrete instance of `VpcEndpointFilterArrayInput` via: +// +// VpcEndpointFilterArray{ VpcEndpointFilterArgs{...} } +type VpcEndpointFilterArrayInput interface { + pulumi.Input + + ToVpcEndpointFilterArrayOutput() VpcEndpointFilterArrayOutput + ToVpcEndpointFilterArrayOutputWithContext(context.Context) VpcEndpointFilterArrayOutput +} + +type VpcEndpointFilterArray []VpcEndpointFilterInput + +func (VpcEndpointFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpcEndpointFilter)(nil)).Elem() +} + +func (i VpcEndpointFilterArray) ToVpcEndpointFilterArrayOutput() VpcEndpointFilterArrayOutput { + return i.ToVpcEndpointFilterArrayOutputWithContext(context.Background()) +} + +func (i VpcEndpointFilterArray) ToVpcEndpointFilterArrayOutputWithContext(ctx context.Context) VpcEndpointFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcEndpointFilterArrayOutput) +} + +type VpcEndpointFilterOutput struct{ *pulumi.OutputState } + +func (VpcEndpointFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpcEndpointFilter)(nil)).Elem() +} + +func (o VpcEndpointFilterOutput) ToVpcEndpointFilterOutput() VpcEndpointFilterOutput { + return o +} + +func (o VpcEndpointFilterOutput) ToVpcEndpointFilterOutputWithContext(ctx context.Context) VpcEndpointFilterOutput { + return o +} + +func (o VpcEndpointFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v VpcEndpointFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o VpcEndpointFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v VpcEndpointFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type VpcEndpointFilterArrayOutput struct{ *pulumi.OutputState } + +func (VpcEndpointFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpcEndpointFilter)(nil)).Elem() +} + +func (o VpcEndpointFilterArrayOutput) ToVpcEndpointFilterArrayOutput() VpcEndpointFilterArrayOutput { + return o +} + +func (o VpcEndpointFilterArrayOutput) ToVpcEndpointFilterArrayOutputWithContext(ctx context.Context) VpcEndpointFilterArrayOutput { + return o +} + +func (o VpcEndpointFilterArrayOutput) Index(i pulumi.IntInput) VpcEndpointFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpcEndpointFilter { + return vs[0].([]VpcEndpointFilter)[vs[1].(int)] + }).(VpcEndpointFilterOutput) +} + type VpcEndpointServicePrivateDnsNameConfiguration struct { // Name of the record subdomain the service provider needs to create. Name *string `pulumi:"name"` @@ -43400,6 +44318,106 @@ func (o VpcEndpointSubnetConfigurationArrayOutput) Index(i pulumi.IntInput) VpcE }).(VpcEndpointSubnetConfigurationOutput) } +type VpcFilter struct { + Name string `pulumi:"name"` + Values []string `pulumi:"values"` +} + +// VpcFilterInput is an input type that accepts VpcFilterArgs and VpcFilterOutput values. +// You can construct a concrete instance of `VpcFilterInput` via: +// +// VpcFilterArgs{...} +type VpcFilterInput interface { + pulumi.Input + + ToVpcFilterOutput() VpcFilterOutput + ToVpcFilterOutputWithContext(context.Context) VpcFilterOutput +} + +type VpcFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (VpcFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VpcFilter)(nil)).Elem() +} + +func (i VpcFilterArgs) ToVpcFilterOutput() VpcFilterOutput { + return i.ToVpcFilterOutputWithContext(context.Background()) +} + +func (i VpcFilterArgs) ToVpcFilterOutputWithContext(ctx context.Context) VpcFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcFilterOutput) +} + +// VpcFilterArrayInput is an input type that accepts VpcFilterArray and VpcFilterArrayOutput values. +// You can construct a concrete instance of `VpcFilterArrayInput` via: +// +// VpcFilterArray{ VpcFilterArgs{...} } +type VpcFilterArrayInput interface { + pulumi.Input + + ToVpcFilterArrayOutput() VpcFilterArrayOutput + ToVpcFilterArrayOutputWithContext(context.Context) VpcFilterArrayOutput +} + +type VpcFilterArray []VpcFilterInput + +func (VpcFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpcFilter)(nil)).Elem() +} + +func (i VpcFilterArray) ToVpcFilterArrayOutput() VpcFilterArrayOutput { + return i.ToVpcFilterArrayOutputWithContext(context.Background()) +} + +func (i VpcFilterArray) ToVpcFilterArrayOutputWithContext(ctx context.Context) VpcFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VpcFilterArrayOutput) +} + +type VpcFilterOutput struct{ *pulumi.OutputState } + +func (VpcFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VpcFilter)(nil)).Elem() +} + +func (o VpcFilterOutput) ToVpcFilterOutput() VpcFilterOutput { + return o +} + +func (o VpcFilterOutput) ToVpcFilterOutputWithContext(ctx context.Context) VpcFilterOutput { + return o +} + +func (o VpcFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v VpcFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o VpcFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v VpcFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type VpcFilterArrayOutput struct{ *pulumi.OutputState } + +func (VpcFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VpcFilter)(nil)).Elem() +} + +func (o VpcFilterArrayOutput) ToVpcFilterArrayOutput() VpcFilterArrayOutput { + return o +} + +func (o VpcFilterArrayOutput) ToVpcFilterArrayOutputWithContext(ctx context.Context) VpcFilterArrayOutput { + return o +} + +func (o VpcFilterArrayOutput) Index(i pulumi.IntInput) VpcFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VpcFilter { + return vs[0].([]VpcFilter)[vs[1].(int)] + }).(VpcFilterOutput) +} + type VpcIpamOperatingRegion struct { // The name of the Region you want to add to the IPAM. RegionName string `pulumi:"regionName"` @@ -45607,7 +46625,7 @@ func (o VpnConnectionVgwTelemetryArrayOutput) Index(i pulumi.IntInput) VpnConnec type GetAmiBlockDeviceMapping struct { // Physical name of the device. DeviceName string `pulumi:"deviceName"` - // Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`). + // Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`). See `ebs` below. Ebs map[string]string `pulumi:"ebs"` // Suppresses the specified device included in the block device mapping of the AMI. NoDevice string `pulumi:"noDevice"` @@ -45629,7 +46647,7 @@ type GetAmiBlockDeviceMappingInput interface { type GetAmiBlockDeviceMappingArgs struct { // Physical name of the device. DeviceName pulumi.StringInput `pulumi:"deviceName"` - // Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`). + // Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`). See `ebs` below. Ebs pulumi.StringMapInput `pulumi:"ebs"` // Suppresses the specified device included in the block device mapping of the AMI. NoDevice pulumi.StringInput `pulumi:"noDevice"` @@ -45693,7 +46711,7 @@ func (o GetAmiBlockDeviceMappingOutput) DeviceName() pulumi.StringOutput { return o.ApplyT(func(v GetAmiBlockDeviceMapping) string { return v.DeviceName }).(pulumi.StringOutput) } -// Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`). +// Map containing EBS information, if the device is EBS based. Unlike most object attributes, these are accessed directly (e.g., `ebs.volume_size` or `ebs["volumeSize"]`) rather than accessed through the first element of a list (e.g., `ebs[0].volume_size`). See `ebs` below. func (o GetAmiBlockDeviceMappingOutput) Ebs() pulumi.StringMapOutput { return o.ApplyT(func(v GetAmiBlockDeviceMapping) map[string]string { return v.Ebs }).(pulumi.StringMapOutput) } @@ -45729,8 +46747,9 @@ func (o GetAmiBlockDeviceMappingArrayOutput) Index(i pulumi.IntInput) GetAmiBloc } type GetAmiFilter struct { - // Name of the AMI that was provided during image creation. - Name string `pulumi:"name"` + // Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given filter. Values []string `pulumi:"values"` } @@ -45746,8 +46765,9 @@ type GetAmiFilterInput interface { } type GetAmiFilterArgs struct { - // Name of the AMI that was provided during image creation. - Name pulumi.StringInput `pulumi:"name"` + // Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given filter. Values pulumi.StringArrayInput `pulumi:"values"` } @@ -45802,11 +46822,12 @@ func (o GetAmiFilterOutput) ToGetAmiFilterOutputWithContext(ctx context.Context) return o } -// Name of the AMI that was provided during image creation. +// Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). func (o GetAmiFilterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetAmiFilter) string { return v.Name }).(pulumi.StringOutput) } +// Set of values that are accepted for the given filter. func (o GetAmiFilterOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAmiFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -45832,7 +46853,9 @@ func (o GetAmiFilterArrayOutput) Index(i pulumi.IntInput) GetAmiFilterOutput { } type GetAmiIdsFilter struct { - Name string `pulumi:"name"` + // Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given filter. Values []string `pulumi:"values"` } @@ -45848,7 +46871,9 @@ type GetAmiIdsFilterInput interface { } type GetAmiIdsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` + // Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given filter. Values pulumi.StringArrayInput `pulumi:"values"` } @@ -45903,10 +46928,12 @@ func (o GetAmiIdsFilterOutput) ToGetAmiIdsFilterOutputWithContext(ctx context.Co return o } +// Name of the filter. For a full reference, check out [describe-images in the AWS CLI reference](http://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html). func (o GetAmiIdsFilterOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetAmiIdsFilter) string { return v.Name }).(pulumi.StringOutput) } +// Set of values that are accepted for the given filter. func (o GetAmiIdsFilterOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAmiIdsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -45932,7 +46959,9 @@ func (o GetAmiIdsFilterArrayOutput) Index(i pulumi.IntInput) GetAmiIdsFilterOutp } type GetAmiProductCode struct { - ProductCodeId string `pulumi:"productCodeId"` + // The product code. + ProductCodeId string `pulumi:"productCodeId"` + // The type of product code. ProductCodeType string `pulumi:"productCodeType"` } @@ -45948,7 +46977,9 @@ type GetAmiProductCodeInput interface { } type GetAmiProductCodeArgs struct { - ProductCodeId pulumi.StringInput `pulumi:"productCodeId"` + // The product code. + ProductCodeId pulumi.StringInput `pulumi:"productCodeId"` + // The type of product code. ProductCodeType pulumi.StringInput `pulumi:"productCodeType"` } @@ -46003,10 +47034,12 @@ func (o GetAmiProductCodeOutput) ToGetAmiProductCodeOutputWithContext(ctx contex return o } +// The product code. func (o GetAmiProductCodeOutput) ProductCodeId() pulumi.StringOutput { return o.ApplyT(func(v GetAmiProductCode) string { return v.ProductCodeId }).(pulumi.StringOutput) } +// The type of product code. func (o GetAmiProductCodeOutput) ProductCodeType() pulumi.StringOutput { return o.ApplyT(func(v GetAmiProductCode) string { return v.ProductCodeType }).(pulumi.StringOutput) } @@ -67071,6 +68104,8 @@ type GetRouteTableRoute struct { NatGatewayId string `pulumi:"natGatewayId"` // ID of the elastic network interface (eni) to use. NetworkInterfaceId string `pulumi:"networkInterfaceId"` + // ARN of the ODB network. + OdbNetworkArn string `pulumi:"odbNetworkArn"` // EC2 Transit Gateway ID. TransitGatewayId string `pulumi:"transitGatewayId"` // VPC Endpoint ID. @@ -67113,6 +68148,8 @@ type GetRouteTableRouteArgs struct { NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"` // ID of the elastic network interface (eni) to use. NetworkInterfaceId pulumi.StringInput `pulumi:"networkInterfaceId"` + // ARN of the ODB network. + OdbNetworkArn pulumi.StringInput `pulumi:"odbNetworkArn"` // EC2 Transit Gateway ID. TransitGatewayId pulumi.StringInput `pulumi:"transitGatewayId"` // VPC Endpoint ID. @@ -67227,6 +68264,11 @@ func (o GetRouteTableRouteOutput) NetworkInterfaceId() pulumi.StringOutput { return o.ApplyT(func(v GetRouteTableRoute) string { return v.NetworkInterfaceId }).(pulumi.StringOutput) } +// ARN of the ODB network. +func (o GetRouteTableRouteOutput) OdbNetworkArn() pulumi.StringOutput { + return o.ApplyT(func(v GetRouteTableRoute) string { return v.OdbNetworkArn }).(pulumi.StringOutput) +} + // EC2 Transit Gateway ID. func (o GetRouteTableRouteOutput) TransitGatewayId() pulumi.StringOutput { return o.ApplyT(func(v GetRouteTableRoute) string { return v.TransitGatewayId }).(pulumi.StringOutput) @@ -68809,1222 +69851,6 @@ func (o GetVpcEndpointFilterArrayOutput) Index(i pulumi.IntInput) GetVpcEndpoint }).(GetVpcEndpointFilterOutput) } -type GetVpcEndpointServiceFilter struct { - // Name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html). - Name string `pulumi:"name"` - // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. - Values []string `pulumi:"values"` -} - -// GetVpcEndpointServiceFilterInput is an input type that accepts GetVpcEndpointServiceFilterArgs and GetVpcEndpointServiceFilterOutput values. -// You can construct a concrete instance of `GetVpcEndpointServiceFilterInput` via: -// -// GetVpcEndpointServiceFilterArgs{...} -type GetVpcEndpointServiceFilterInput interface { - pulumi.Input - - ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput - ToGetVpcEndpointServiceFilterOutputWithContext(context.Context) GetVpcEndpointServiceFilterOutput -} - -type GetVpcEndpointServiceFilterArgs struct { - // Name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html). - Name pulumi.StringInput `pulumi:"name"` - // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpcEndpointServiceFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcEndpointServiceFilter)(nil)).Elem() -} - -func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput { - return i.ToGetVpcEndpointServiceFilterOutputWithContext(context.Background()) -} - -func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcEndpointServiceFilterOutput) -} - -// GetVpcEndpointServiceFilterArrayInput is an input type that accepts GetVpcEndpointServiceFilterArray and GetVpcEndpointServiceFilterArrayOutput values. -// You can construct a concrete instance of `GetVpcEndpointServiceFilterArrayInput` via: -// -// GetVpcEndpointServiceFilterArray{ GetVpcEndpointServiceFilterArgs{...} } -type GetVpcEndpointServiceFilterArrayInput interface { - pulumi.Input - - ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput - ToGetVpcEndpointServiceFilterArrayOutputWithContext(context.Context) GetVpcEndpointServiceFilterArrayOutput -} - -type GetVpcEndpointServiceFilterArray []GetVpcEndpointServiceFilterInput - -func (GetVpcEndpointServiceFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcEndpointServiceFilter)(nil)).Elem() -} - -func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput { - return i.ToGetVpcEndpointServiceFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcEndpointServiceFilterArrayOutput) -} - -type GetVpcEndpointServiceFilterOutput struct{ *pulumi.OutputState } - -func (GetVpcEndpointServiceFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcEndpointServiceFilter)(nil)).Elem() -} - -func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput { - return o -} - -func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput { - return o -} - -// Name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html). -func (o GetVpcEndpointServiceFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcEndpointServiceFilter) string { return v.Name }).(pulumi.StringOutput) -} - -// Set of values that are accepted for the given filter field. Results will be selected if any given value matches. -func (o GetVpcEndpointServiceFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpcEndpointServiceFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpcEndpointServiceFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcEndpointServiceFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcEndpointServiceFilter)(nil)).Elem() -} - -func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput { - return o -} - -func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput { - return o -} - -func (o GetVpcEndpointServiceFilterArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointServiceFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcEndpointServiceFilter { - return vs[0].([]GetVpcEndpointServiceFilter)[vs[1].(int)] - }).(GetVpcEndpointServiceFilterOutput) -} - -type GetVpcFilter struct { - // Name of the field to filter by, as defined by - // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html). - Name string `pulumi:"name"` - // Set of values that are accepted for the given field. - // A VPC will be selected if any one of the given values matches. - Values []string `pulumi:"values"` -} - -// GetVpcFilterInput is an input type that accepts GetVpcFilterArgs and GetVpcFilterOutput values. -// You can construct a concrete instance of `GetVpcFilterInput` via: -// -// GetVpcFilterArgs{...} -type GetVpcFilterInput interface { - pulumi.Input - - ToGetVpcFilterOutput() GetVpcFilterOutput - ToGetVpcFilterOutputWithContext(context.Context) GetVpcFilterOutput -} - -type GetVpcFilterArgs struct { - // Name of the field to filter by, as defined by - // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html). - Name pulumi.StringInput `pulumi:"name"` - // Set of values that are accepted for the given field. - // A VPC will be selected if any one of the given values matches. - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpcFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcFilter)(nil)).Elem() -} - -func (i GetVpcFilterArgs) ToGetVpcFilterOutput() GetVpcFilterOutput { - return i.ToGetVpcFilterOutputWithContext(context.Background()) -} - -func (i GetVpcFilterArgs) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcFilterOutput) -} - -// GetVpcFilterArrayInput is an input type that accepts GetVpcFilterArray and GetVpcFilterArrayOutput values. -// You can construct a concrete instance of `GetVpcFilterArrayInput` via: -// -// GetVpcFilterArray{ GetVpcFilterArgs{...} } -type GetVpcFilterArrayInput interface { - pulumi.Input - - ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput - ToGetVpcFilterArrayOutputWithContext(context.Context) GetVpcFilterArrayOutput -} - -type GetVpcFilterArray []GetVpcFilterInput - -func (GetVpcFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcFilter)(nil)).Elem() -} - -func (i GetVpcFilterArray) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput { - return i.ToGetVpcFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcFilterArrayOutput) -} - -type GetVpcFilterOutput struct{ *pulumi.OutputState } - -func (GetVpcFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcFilter)(nil)).Elem() -} - -func (o GetVpcFilterOutput) ToGetVpcFilterOutput() GetVpcFilterOutput { - return o -} - -func (o GetVpcFilterOutput) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput { - return o -} - -// Name of the field to filter by, as defined by -// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html). -func (o GetVpcFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcFilter) string { return v.Name }).(pulumi.StringOutput) -} - -// Set of values that are accepted for the given field. -// A VPC will be selected if any one of the given values matches. -func (o GetVpcFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpcFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpcFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcFilter)(nil)).Elem() -} - -func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput { - return o -} - -func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput { - return o -} - -func (o GetVpcFilterArrayOutput) Index(i pulumi.IntInput) GetVpcFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcFilter { - return vs[0].([]GetVpcFilter)[vs[1].(int)] - }).(GetVpcFilterOutput) -} - -type GetVpcIpamOperatingRegion struct { - RegionName string `pulumi:"regionName"` -} - -// GetVpcIpamOperatingRegionInput is an input type that accepts GetVpcIpamOperatingRegionArgs and GetVpcIpamOperatingRegionOutput values. -// You can construct a concrete instance of `GetVpcIpamOperatingRegionInput` via: -// -// GetVpcIpamOperatingRegionArgs{...} -type GetVpcIpamOperatingRegionInput interface { - pulumi.Input - - ToGetVpcIpamOperatingRegionOutput() GetVpcIpamOperatingRegionOutput - ToGetVpcIpamOperatingRegionOutputWithContext(context.Context) GetVpcIpamOperatingRegionOutput -} - -type GetVpcIpamOperatingRegionArgs struct { - RegionName pulumi.StringInput `pulumi:"regionName"` -} - -func (GetVpcIpamOperatingRegionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamOperatingRegion)(nil)).Elem() -} - -func (i GetVpcIpamOperatingRegionArgs) ToGetVpcIpamOperatingRegionOutput() GetVpcIpamOperatingRegionOutput { - return i.ToGetVpcIpamOperatingRegionOutputWithContext(context.Background()) -} - -func (i GetVpcIpamOperatingRegionArgs) ToGetVpcIpamOperatingRegionOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamOperatingRegionOutput) -} - -// GetVpcIpamOperatingRegionArrayInput is an input type that accepts GetVpcIpamOperatingRegionArray and GetVpcIpamOperatingRegionArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamOperatingRegionArrayInput` via: -// -// GetVpcIpamOperatingRegionArray{ GetVpcIpamOperatingRegionArgs{...} } -type GetVpcIpamOperatingRegionArrayInput interface { - pulumi.Input - - ToGetVpcIpamOperatingRegionArrayOutput() GetVpcIpamOperatingRegionArrayOutput - ToGetVpcIpamOperatingRegionArrayOutputWithContext(context.Context) GetVpcIpamOperatingRegionArrayOutput -} - -type GetVpcIpamOperatingRegionArray []GetVpcIpamOperatingRegionInput - -func (GetVpcIpamOperatingRegionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamOperatingRegion)(nil)).Elem() -} - -func (i GetVpcIpamOperatingRegionArray) ToGetVpcIpamOperatingRegionArrayOutput() GetVpcIpamOperatingRegionArrayOutput { - return i.ToGetVpcIpamOperatingRegionArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamOperatingRegionArray) ToGetVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamOperatingRegionArrayOutput) -} - -type GetVpcIpamOperatingRegionOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamOperatingRegionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamOperatingRegion)(nil)).Elem() -} - -func (o GetVpcIpamOperatingRegionOutput) ToGetVpcIpamOperatingRegionOutput() GetVpcIpamOperatingRegionOutput { - return o -} - -func (o GetVpcIpamOperatingRegionOutput) ToGetVpcIpamOperatingRegionOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionOutput { - return o -} - -func (o GetVpcIpamOperatingRegionOutput) RegionName() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamOperatingRegion) string { return v.RegionName }).(pulumi.StringOutput) -} - -type GetVpcIpamOperatingRegionArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamOperatingRegionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamOperatingRegion)(nil)).Elem() -} - -func (o GetVpcIpamOperatingRegionArrayOutput) ToGetVpcIpamOperatingRegionArrayOutput() GetVpcIpamOperatingRegionArrayOutput { - return o -} - -func (o GetVpcIpamOperatingRegionArrayOutput) ToGetVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionArrayOutput { - return o -} - -func (o GetVpcIpamOperatingRegionArrayOutput) Index(i pulumi.IntInput) GetVpcIpamOperatingRegionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamOperatingRegion { - return vs[0].([]GetVpcIpamOperatingRegion)[vs[1].(int)] - }).(GetVpcIpamOperatingRegionOutput) -} - -type GetVpcIpamPoolCidrsFilter struct { - // Name of the field to filter by, as defined by - // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetIpamPoolCidrs.html). - Name string `pulumi:"name"` - // Set of values that are accepted for the given field. - Values []string `pulumi:"values"` -} - -// GetVpcIpamPoolCidrsFilterInput is an input type that accepts GetVpcIpamPoolCidrsFilterArgs and GetVpcIpamPoolCidrsFilterOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolCidrsFilterInput` via: -// -// GetVpcIpamPoolCidrsFilterArgs{...} -type GetVpcIpamPoolCidrsFilterInput interface { - pulumi.Input - - ToGetVpcIpamPoolCidrsFilterOutput() GetVpcIpamPoolCidrsFilterOutput - ToGetVpcIpamPoolCidrsFilterOutputWithContext(context.Context) GetVpcIpamPoolCidrsFilterOutput -} - -type GetVpcIpamPoolCidrsFilterArgs struct { - // Name of the field to filter by, as defined by - // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetIpamPoolCidrs.html). - Name pulumi.StringInput `pulumi:"name"` - // Set of values that are accepted for the given field. - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpcIpamPoolCidrsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolCidrsFilter)(nil)).Elem() -} - -func (i GetVpcIpamPoolCidrsFilterArgs) ToGetVpcIpamPoolCidrsFilterOutput() GetVpcIpamPoolCidrsFilterOutput { - return i.ToGetVpcIpamPoolCidrsFilterOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolCidrsFilterArgs) ToGetVpcIpamPoolCidrsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsFilterOutput) -} - -// GetVpcIpamPoolCidrsFilterArrayInput is an input type that accepts GetVpcIpamPoolCidrsFilterArray and GetVpcIpamPoolCidrsFilterArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolCidrsFilterArrayInput` via: -// -// GetVpcIpamPoolCidrsFilterArray{ GetVpcIpamPoolCidrsFilterArgs{...} } -type GetVpcIpamPoolCidrsFilterArrayInput interface { - pulumi.Input - - ToGetVpcIpamPoolCidrsFilterArrayOutput() GetVpcIpamPoolCidrsFilterArrayOutput - ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(context.Context) GetVpcIpamPoolCidrsFilterArrayOutput -} - -type GetVpcIpamPoolCidrsFilterArray []GetVpcIpamPoolCidrsFilterInput - -func (GetVpcIpamPoolCidrsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolCidrsFilter)(nil)).Elem() -} - -func (i GetVpcIpamPoolCidrsFilterArray) ToGetVpcIpamPoolCidrsFilterArrayOutput() GetVpcIpamPoolCidrsFilterArrayOutput { - return i.ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolCidrsFilterArray) ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsFilterArrayOutput) -} - -type GetVpcIpamPoolCidrsFilterOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolCidrsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolCidrsFilter)(nil)).Elem() -} - -func (o GetVpcIpamPoolCidrsFilterOutput) ToGetVpcIpamPoolCidrsFilterOutput() GetVpcIpamPoolCidrsFilterOutput { - return o -} - -func (o GetVpcIpamPoolCidrsFilterOutput) ToGetVpcIpamPoolCidrsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterOutput { - return o -} - -// Name of the field to filter by, as defined by -// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetIpamPoolCidrs.html). -func (o GetVpcIpamPoolCidrsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolCidrsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -// Set of values that are accepted for the given field. -func (o GetVpcIpamPoolCidrsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpcIpamPoolCidrsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpcIpamPoolCidrsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolCidrsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolCidrsFilter)(nil)).Elem() -} - -func (o GetVpcIpamPoolCidrsFilterArrayOutput) ToGetVpcIpamPoolCidrsFilterArrayOutput() GetVpcIpamPoolCidrsFilterArrayOutput { - return o -} - -func (o GetVpcIpamPoolCidrsFilterArrayOutput) ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterArrayOutput { - return o -} - -func (o GetVpcIpamPoolCidrsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolCidrsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolCidrsFilter { - return vs[0].([]GetVpcIpamPoolCidrsFilter)[vs[1].(int)] - }).(GetVpcIpamPoolCidrsFilterOutput) -} - -type GetVpcIpamPoolCidrsIpamPoolCidr struct { - // A network CIDR. - Cidr string `pulumi:"cidr"` - // The provisioning state of that CIDR. - State string `pulumi:"state"` -} - -// GetVpcIpamPoolCidrsIpamPoolCidrInput is an input type that accepts GetVpcIpamPoolCidrsIpamPoolCidrArgs and GetVpcIpamPoolCidrsIpamPoolCidrOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolCidrsIpamPoolCidrInput` via: -// -// GetVpcIpamPoolCidrsIpamPoolCidrArgs{...} -type GetVpcIpamPoolCidrsIpamPoolCidrInput interface { - pulumi.Input - - ToGetVpcIpamPoolCidrsIpamPoolCidrOutput() GetVpcIpamPoolCidrsIpamPoolCidrOutput - ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(context.Context) GetVpcIpamPoolCidrsIpamPoolCidrOutput -} - -type GetVpcIpamPoolCidrsIpamPoolCidrArgs struct { - // A network CIDR. - Cidr pulumi.StringInput `pulumi:"cidr"` - // The provisioning state of that CIDR. - State pulumi.StringInput `pulumi:"state"` -} - -func (GetVpcIpamPoolCidrsIpamPoolCidrArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() -} - -func (i GetVpcIpamPoolCidrsIpamPoolCidrArgs) ToGetVpcIpamPoolCidrsIpamPoolCidrOutput() GetVpcIpamPoolCidrsIpamPoolCidrOutput { - return i.ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolCidrsIpamPoolCidrArgs) ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsIpamPoolCidrOutput) -} - -// GetVpcIpamPoolCidrsIpamPoolCidrArrayInput is an input type that accepts GetVpcIpamPoolCidrsIpamPoolCidrArray and GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolCidrsIpamPoolCidrArrayInput` via: -// -// GetVpcIpamPoolCidrsIpamPoolCidrArray{ GetVpcIpamPoolCidrsIpamPoolCidrArgs{...} } -type GetVpcIpamPoolCidrsIpamPoolCidrArrayInput interface { - pulumi.Input - - ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutput() GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput - ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(context.Context) GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput -} - -type GetVpcIpamPoolCidrsIpamPoolCidrArray []GetVpcIpamPoolCidrsIpamPoolCidrInput - -func (GetVpcIpamPoolCidrsIpamPoolCidrArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() -} - -func (i GetVpcIpamPoolCidrsIpamPoolCidrArray) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutput() GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { - return i.ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolCidrsIpamPoolCidrArray) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) -} - -type GetVpcIpamPoolCidrsIpamPoolCidrOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolCidrsIpamPoolCidrOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() -} - -func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrOutput() GetVpcIpamPoolCidrsIpamPoolCidrOutput { - return o -} - -func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrOutput { - return o -} - -// A network CIDR. -func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) Cidr() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolCidrsIpamPoolCidr) string { return v.Cidr }).(pulumi.StringOutput) -} - -// The provisioning state of that CIDR. -func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolCidrsIpamPoolCidr) string { return v.State }).(pulumi.StringOutput) -} - -type GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() -} - -func (o GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutput() GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { - return o -} - -func (o GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { - return o -} - -func (o GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolCidrsIpamPoolCidrOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolCidrsIpamPoolCidr { - return vs[0].([]GetVpcIpamPoolCidrsIpamPoolCidr)[vs[1].(int)] - }).(GetVpcIpamPoolCidrsIpamPoolCidrOutput) -} - -type GetVpcIpamPoolFilter struct { - // The name of the filter. Filter names are case-sensitive. - Name string `pulumi:"name"` - // The filter values. Filter values are case-sensitive. - Values []string `pulumi:"values"` -} - -// GetVpcIpamPoolFilterInput is an input type that accepts GetVpcIpamPoolFilterArgs and GetVpcIpamPoolFilterOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolFilterInput` via: -// -// GetVpcIpamPoolFilterArgs{...} -type GetVpcIpamPoolFilterInput interface { - pulumi.Input - - ToGetVpcIpamPoolFilterOutput() GetVpcIpamPoolFilterOutput - ToGetVpcIpamPoolFilterOutputWithContext(context.Context) GetVpcIpamPoolFilterOutput -} - -type GetVpcIpamPoolFilterArgs struct { - // The name of the filter. Filter names are case-sensitive. - Name pulumi.StringInput `pulumi:"name"` - // The filter values. Filter values are case-sensitive. - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpcIpamPoolFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolFilter)(nil)).Elem() -} - -func (i GetVpcIpamPoolFilterArgs) ToGetVpcIpamPoolFilterOutput() GetVpcIpamPoolFilterOutput { - return i.ToGetVpcIpamPoolFilterOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolFilterArgs) ToGetVpcIpamPoolFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolFilterOutput) -} - -// GetVpcIpamPoolFilterArrayInput is an input type that accepts GetVpcIpamPoolFilterArray and GetVpcIpamPoolFilterArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolFilterArrayInput` via: -// -// GetVpcIpamPoolFilterArray{ GetVpcIpamPoolFilterArgs{...} } -type GetVpcIpamPoolFilterArrayInput interface { - pulumi.Input - - ToGetVpcIpamPoolFilterArrayOutput() GetVpcIpamPoolFilterArrayOutput - ToGetVpcIpamPoolFilterArrayOutputWithContext(context.Context) GetVpcIpamPoolFilterArrayOutput -} - -type GetVpcIpamPoolFilterArray []GetVpcIpamPoolFilterInput - -func (GetVpcIpamPoolFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolFilter)(nil)).Elem() -} - -func (i GetVpcIpamPoolFilterArray) ToGetVpcIpamPoolFilterArrayOutput() GetVpcIpamPoolFilterArrayOutput { - return i.ToGetVpcIpamPoolFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolFilterArray) ToGetVpcIpamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolFilterArrayOutput) -} - -type GetVpcIpamPoolFilterOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolFilter)(nil)).Elem() -} - -func (o GetVpcIpamPoolFilterOutput) ToGetVpcIpamPoolFilterOutput() GetVpcIpamPoolFilterOutput { - return o -} - -func (o GetVpcIpamPoolFilterOutput) ToGetVpcIpamPoolFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterOutput { - return o -} - -// The name of the filter. Filter names are case-sensitive. -func (o GetVpcIpamPoolFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolFilter) string { return v.Name }).(pulumi.StringOutput) -} - -// The filter values. Filter values are case-sensitive. -func (o GetVpcIpamPoolFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpcIpamPoolFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpcIpamPoolFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolFilter)(nil)).Elem() -} - -func (o GetVpcIpamPoolFilterArrayOutput) ToGetVpcIpamPoolFilterArrayOutput() GetVpcIpamPoolFilterArrayOutput { - return o -} - -func (o GetVpcIpamPoolFilterArrayOutput) ToGetVpcIpamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterArrayOutput { - return o -} - -func (o GetVpcIpamPoolFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolFilter { - return vs[0].([]GetVpcIpamPoolFilter)[vs[1].(int)] - }).(GetVpcIpamPoolFilterOutput) -} - -type GetVpcIpamPoolSourceResource struct { - // (Required) ID of the resource. - ResourceId string `pulumi:"resourceId"` - // (Required) Owner of the resource. - ResourceOwner string `pulumi:"resourceOwner"` - // (Required) Region where the resource exists. Must match the `locale` of the parent IPAM Pool. - ResourceRegion string `pulumi:"resourceRegion"` - // (Required) Type of the resource. (`vpc`) - ResourceType string `pulumi:"resourceType"` -} - -// GetVpcIpamPoolSourceResourceInput is an input type that accepts GetVpcIpamPoolSourceResourceArgs and GetVpcIpamPoolSourceResourceOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolSourceResourceInput` via: -// -// GetVpcIpamPoolSourceResourceArgs{...} -type GetVpcIpamPoolSourceResourceInput interface { - pulumi.Input - - ToGetVpcIpamPoolSourceResourceOutput() GetVpcIpamPoolSourceResourceOutput - ToGetVpcIpamPoolSourceResourceOutputWithContext(context.Context) GetVpcIpamPoolSourceResourceOutput -} - -type GetVpcIpamPoolSourceResourceArgs struct { - // (Required) ID of the resource. - ResourceId pulumi.StringInput `pulumi:"resourceId"` - // (Required) Owner of the resource. - ResourceOwner pulumi.StringInput `pulumi:"resourceOwner"` - // (Required) Region where the resource exists. Must match the `locale` of the parent IPAM Pool. - ResourceRegion pulumi.StringInput `pulumi:"resourceRegion"` - // (Required) Type of the resource. (`vpc`) - ResourceType pulumi.StringInput `pulumi:"resourceType"` -} - -func (GetVpcIpamPoolSourceResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolSourceResource)(nil)).Elem() -} - -func (i GetVpcIpamPoolSourceResourceArgs) ToGetVpcIpamPoolSourceResourceOutput() GetVpcIpamPoolSourceResourceOutput { - return i.ToGetVpcIpamPoolSourceResourceOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolSourceResourceArgs) ToGetVpcIpamPoolSourceResourceOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolSourceResourceOutput) -} - -// GetVpcIpamPoolSourceResourceArrayInput is an input type that accepts GetVpcIpamPoolSourceResourceArray and GetVpcIpamPoolSourceResourceArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolSourceResourceArrayInput` via: -// -// GetVpcIpamPoolSourceResourceArray{ GetVpcIpamPoolSourceResourceArgs{...} } -type GetVpcIpamPoolSourceResourceArrayInput interface { - pulumi.Input - - ToGetVpcIpamPoolSourceResourceArrayOutput() GetVpcIpamPoolSourceResourceArrayOutput - ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(context.Context) GetVpcIpamPoolSourceResourceArrayOutput -} - -type GetVpcIpamPoolSourceResourceArray []GetVpcIpamPoolSourceResourceInput - -func (GetVpcIpamPoolSourceResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolSourceResource)(nil)).Elem() -} - -func (i GetVpcIpamPoolSourceResourceArray) ToGetVpcIpamPoolSourceResourceArrayOutput() GetVpcIpamPoolSourceResourceArrayOutput { - return i.ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolSourceResourceArray) ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolSourceResourceArrayOutput) -} - -type GetVpcIpamPoolSourceResourceOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolSourceResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolSourceResource)(nil)).Elem() -} - -func (o GetVpcIpamPoolSourceResourceOutput) ToGetVpcIpamPoolSourceResourceOutput() GetVpcIpamPoolSourceResourceOutput { - return o -} - -func (o GetVpcIpamPoolSourceResourceOutput) ToGetVpcIpamPoolSourceResourceOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceOutput { - return o -} - -// (Required) ID of the resource. -func (o GetVpcIpamPoolSourceResourceOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceId }).(pulumi.StringOutput) -} - -// (Required) Owner of the resource. -func (o GetVpcIpamPoolSourceResourceOutput) ResourceOwner() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceOwner }).(pulumi.StringOutput) -} - -// (Required) Region where the resource exists. Must match the `locale` of the parent IPAM Pool. -func (o GetVpcIpamPoolSourceResourceOutput) ResourceRegion() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceRegion }).(pulumi.StringOutput) -} - -// (Required) Type of the resource. (`vpc`) -func (o GetVpcIpamPoolSourceResourceOutput) ResourceType() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceType }).(pulumi.StringOutput) -} - -type GetVpcIpamPoolSourceResourceArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolSourceResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolSourceResource)(nil)).Elem() -} - -func (o GetVpcIpamPoolSourceResourceArrayOutput) ToGetVpcIpamPoolSourceResourceArrayOutput() GetVpcIpamPoolSourceResourceArrayOutput { - return o -} - -func (o GetVpcIpamPoolSourceResourceArrayOutput) ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceArrayOutput { - return o -} - -func (o GetVpcIpamPoolSourceResourceArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolSourceResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolSourceResource { - return vs[0].([]GetVpcIpamPoolSourceResource)[vs[1].(int)] - }).(GetVpcIpamPoolSourceResourceOutput) -} - -type GetVpcIpamPoolsFilter struct { - // The name of the filter. Filter names are case-sensitive. - Name string `pulumi:"name"` - // The filter values. Filter values are case-sensitive. - Values []string `pulumi:"values"` -} - -// GetVpcIpamPoolsFilterInput is an input type that accepts GetVpcIpamPoolsFilterArgs and GetVpcIpamPoolsFilterOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolsFilterInput` via: -// -// GetVpcIpamPoolsFilterArgs{...} -type GetVpcIpamPoolsFilterInput interface { - pulumi.Input - - ToGetVpcIpamPoolsFilterOutput() GetVpcIpamPoolsFilterOutput - ToGetVpcIpamPoolsFilterOutputWithContext(context.Context) GetVpcIpamPoolsFilterOutput -} - -type GetVpcIpamPoolsFilterArgs struct { - // The name of the filter. Filter names are case-sensitive. - Name pulumi.StringInput `pulumi:"name"` - // The filter values. Filter values are case-sensitive. - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpcIpamPoolsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolsFilter)(nil)).Elem() -} - -func (i GetVpcIpamPoolsFilterArgs) ToGetVpcIpamPoolsFilterOutput() GetVpcIpamPoolsFilterOutput { - return i.ToGetVpcIpamPoolsFilterOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolsFilterArgs) ToGetVpcIpamPoolsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsFilterOutput) -} - -// GetVpcIpamPoolsFilterArrayInput is an input type that accepts GetVpcIpamPoolsFilterArray and GetVpcIpamPoolsFilterArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolsFilterArrayInput` via: -// -// GetVpcIpamPoolsFilterArray{ GetVpcIpamPoolsFilterArgs{...} } -type GetVpcIpamPoolsFilterArrayInput interface { - pulumi.Input - - ToGetVpcIpamPoolsFilterArrayOutput() GetVpcIpamPoolsFilterArrayOutput - ToGetVpcIpamPoolsFilterArrayOutputWithContext(context.Context) GetVpcIpamPoolsFilterArrayOutput -} - -type GetVpcIpamPoolsFilterArray []GetVpcIpamPoolsFilterInput - -func (GetVpcIpamPoolsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolsFilter)(nil)).Elem() -} - -func (i GetVpcIpamPoolsFilterArray) ToGetVpcIpamPoolsFilterArrayOutput() GetVpcIpamPoolsFilterArrayOutput { - return i.ToGetVpcIpamPoolsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolsFilterArray) ToGetVpcIpamPoolsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsFilterArrayOutput) -} - -type GetVpcIpamPoolsFilterOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolsFilter)(nil)).Elem() -} - -func (o GetVpcIpamPoolsFilterOutput) ToGetVpcIpamPoolsFilterOutput() GetVpcIpamPoolsFilterOutput { - return o -} - -func (o GetVpcIpamPoolsFilterOutput) ToGetVpcIpamPoolsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterOutput { - return o -} - -// The name of the filter. Filter names are case-sensitive. -func (o GetVpcIpamPoolsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -// The filter values. Filter values are case-sensitive. -func (o GetVpcIpamPoolsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpcIpamPoolsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpcIpamPoolsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolsFilter)(nil)).Elem() -} - -func (o GetVpcIpamPoolsFilterArrayOutput) ToGetVpcIpamPoolsFilterArrayOutput() GetVpcIpamPoolsFilterArrayOutput { - return o -} - -func (o GetVpcIpamPoolsFilterArrayOutput) ToGetVpcIpamPoolsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterArrayOutput { - return o -} - -func (o GetVpcIpamPoolsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolsFilter { - return vs[0].([]GetVpcIpamPoolsFilter)[vs[1].(int)] - }).(GetVpcIpamPoolsFilterOutput) -} - -type GetVpcIpamPoolsIpamPool struct { - // IP protocol assigned to this pool. - AddressFamily string `pulumi:"addressFamily"` - // A 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 int `pulumi:"allocationDefaultNetmaskLength"` - // The maximum netmask length that will be required for CIDR allocations in this pool. - AllocationMaxNetmaskLength int `pulumi:"allocationMaxNetmaskLength"` - // The minimum netmask length that will be required for CIDR allocations in this pool. - AllocationMinNetmaskLength int `pulumi:"allocationMinNetmaskLength"` - // Tags that are required to create resources in using this pool. - AllocationResourceTags map[string]string `pulumi:"allocationResourceTags"` - // ARN of the pool - Arn string `pulumi:"arn"` - // If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. - AutoImport bool `pulumi:"autoImport"` - // Limits which service in AWS that the pool can be used in. `ec2` for example, allows users to use space for Elastic IP addresses and VPCs. - AwsService string `pulumi:"awsService"` - // Description for the IPAM pool. - Description string `pulumi:"description"` - // ID of the IPAM pool. - Id string `pulumi:"id"` - // ID of the scope the pool belongs to. - IpamScopeId string `pulumi:"ipamScopeId"` - IpamScopeType string `pulumi:"ipamScopeType"` - // Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. - Locale string `pulumi:"locale"` - PoolDepth int `pulumi:"poolDepth"` - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. - PubliclyAdvertisable bool `pulumi:"publiclyAdvertisable"` - // ID of the source IPAM pool. - SourceIpamPoolId string `pulumi:"sourceIpamPoolId"` - State string `pulumi:"state"` - // Map of tags to assigned to the resource. - Tags map[string]string `pulumi:"tags"` -} - -// GetVpcIpamPoolsIpamPoolInput is an input type that accepts GetVpcIpamPoolsIpamPoolArgs and GetVpcIpamPoolsIpamPoolOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolsIpamPoolInput` via: -// -// GetVpcIpamPoolsIpamPoolArgs{...} -type GetVpcIpamPoolsIpamPoolInput interface { - pulumi.Input - - ToGetVpcIpamPoolsIpamPoolOutput() GetVpcIpamPoolsIpamPoolOutput - ToGetVpcIpamPoolsIpamPoolOutputWithContext(context.Context) GetVpcIpamPoolsIpamPoolOutput -} - -type GetVpcIpamPoolsIpamPoolArgs struct { - // IP protocol assigned to this pool. - AddressFamily pulumi.StringInput `pulumi:"addressFamily"` - // A 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 pulumi.IntInput `pulumi:"allocationDefaultNetmaskLength"` - // The maximum netmask length that will be required for CIDR allocations in this pool. - AllocationMaxNetmaskLength pulumi.IntInput `pulumi:"allocationMaxNetmaskLength"` - // The minimum netmask length that will be required for CIDR allocations in this pool. - AllocationMinNetmaskLength pulumi.IntInput `pulumi:"allocationMinNetmaskLength"` - // Tags that are required to create resources in using this pool. - AllocationResourceTags pulumi.StringMapInput `pulumi:"allocationResourceTags"` - // ARN of the pool - Arn pulumi.StringInput `pulumi:"arn"` - // If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. - AutoImport pulumi.BoolInput `pulumi:"autoImport"` - // Limits which service in AWS that the pool can be used in. `ec2` for example, allows users to use space for Elastic IP addresses and VPCs. - AwsService pulumi.StringInput `pulumi:"awsService"` - // Description for the IPAM pool. - Description pulumi.StringInput `pulumi:"description"` - // ID of the IPAM pool. - Id pulumi.StringInput `pulumi:"id"` - // ID of the scope the pool belongs to. - IpamScopeId pulumi.StringInput `pulumi:"ipamScopeId"` - IpamScopeType pulumi.StringInput `pulumi:"ipamScopeType"` - // Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. - Locale pulumi.StringInput `pulumi:"locale"` - PoolDepth pulumi.IntInput `pulumi:"poolDepth"` - // Defines whether or not IPv6 pool space is publicly advertisable over the internet. - PubliclyAdvertisable pulumi.BoolInput `pulumi:"publiclyAdvertisable"` - // ID of the source IPAM pool. - SourceIpamPoolId pulumi.StringInput `pulumi:"sourceIpamPoolId"` - State pulumi.StringInput `pulumi:"state"` - // Map of tags to assigned to the resource. - Tags pulumi.StringMapInput `pulumi:"tags"` -} - -func (GetVpcIpamPoolsIpamPoolArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolsIpamPool)(nil)).Elem() -} - -func (i GetVpcIpamPoolsIpamPoolArgs) ToGetVpcIpamPoolsIpamPoolOutput() GetVpcIpamPoolsIpamPoolOutput { - return i.ToGetVpcIpamPoolsIpamPoolOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolsIpamPoolArgs) ToGetVpcIpamPoolsIpamPoolOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsIpamPoolOutput) -} - -// GetVpcIpamPoolsIpamPoolArrayInput is an input type that accepts GetVpcIpamPoolsIpamPoolArray and GetVpcIpamPoolsIpamPoolArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamPoolsIpamPoolArrayInput` via: -// -// GetVpcIpamPoolsIpamPoolArray{ GetVpcIpamPoolsIpamPoolArgs{...} } -type GetVpcIpamPoolsIpamPoolArrayInput interface { - pulumi.Input - - ToGetVpcIpamPoolsIpamPoolArrayOutput() GetVpcIpamPoolsIpamPoolArrayOutput - ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(context.Context) GetVpcIpamPoolsIpamPoolArrayOutput -} - -type GetVpcIpamPoolsIpamPoolArray []GetVpcIpamPoolsIpamPoolInput - -func (GetVpcIpamPoolsIpamPoolArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolsIpamPool)(nil)).Elem() -} - -func (i GetVpcIpamPoolsIpamPoolArray) ToGetVpcIpamPoolsIpamPoolArrayOutput() GetVpcIpamPoolsIpamPoolArrayOutput { - return i.ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamPoolsIpamPoolArray) ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsIpamPoolArrayOutput) -} - -type GetVpcIpamPoolsIpamPoolOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolsIpamPoolOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamPoolsIpamPool)(nil)).Elem() -} - -func (o GetVpcIpamPoolsIpamPoolOutput) ToGetVpcIpamPoolsIpamPoolOutput() GetVpcIpamPoolsIpamPoolOutput { - return o -} - -func (o GetVpcIpamPoolsIpamPoolOutput) ToGetVpcIpamPoolsIpamPoolOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolOutput { - return o -} - -// IP protocol assigned to this pool. -func (o GetVpcIpamPoolsIpamPoolOutput) AddressFamily() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.AddressFamily }).(pulumi.StringOutput) -} - -// A 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`. -func (o GetVpcIpamPoolsIpamPoolOutput) AllocationDefaultNetmaskLength() pulumi.IntOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.AllocationDefaultNetmaskLength }).(pulumi.IntOutput) -} - -// The maximum netmask length that will be required for CIDR allocations in this pool. -func (o GetVpcIpamPoolsIpamPoolOutput) AllocationMaxNetmaskLength() pulumi.IntOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.AllocationMaxNetmaskLength }).(pulumi.IntOutput) -} - -// The minimum netmask length that will be required for CIDR allocations in this pool. -func (o GetVpcIpamPoolsIpamPoolOutput) AllocationMinNetmaskLength() pulumi.IntOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.AllocationMinNetmaskLength }).(pulumi.IntOutput) -} - -// Tags that are required to create resources in using this pool. -func (o GetVpcIpamPoolsIpamPoolOutput) AllocationResourceTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) map[string]string { return v.AllocationResourceTags }).(pulumi.StringMapOutput) -} - -// ARN of the pool -func (o GetVpcIpamPoolsIpamPoolOutput) Arn() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Arn }).(pulumi.StringOutput) -} - -// If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. -func (o GetVpcIpamPoolsIpamPoolOutput) AutoImport() pulumi.BoolOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) bool { return v.AutoImport }).(pulumi.BoolOutput) -} - -// Limits which service in AWS that the pool can be used in. `ec2` for example, allows users to use space for Elastic IP addresses and VPCs. -func (o GetVpcIpamPoolsIpamPoolOutput) AwsService() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.AwsService }).(pulumi.StringOutput) -} - -// Description for the IPAM pool. -func (o GetVpcIpamPoolsIpamPoolOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Description }).(pulumi.StringOutput) -} - -// ID of the IPAM pool. -func (o GetVpcIpamPoolsIpamPoolOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Id }).(pulumi.StringOutput) -} - -// ID of the scope the pool belongs to. -func (o GetVpcIpamPoolsIpamPoolOutput) IpamScopeId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.IpamScopeId }).(pulumi.StringOutput) -} - -func (o GetVpcIpamPoolsIpamPoolOutput) IpamScopeType() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.IpamScopeType }).(pulumi.StringOutput) -} - -// Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. -func (o GetVpcIpamPoolsIpamPoolOutput) Locale() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Locale }).(pulumi.StringOutput) -} - -func (o GetVpcIpamPoolsIpamPoolOutput) PoolDepth() pulumi.IntOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.PoolDepth }).(pulumi.IntOutput) -} - -// Defines whether or not IPv6 pool space is publicly advertisable over the internet. -func (o GetVpcIpamPoolsIpamPoolOutput) PubliclyAdvertisable() pulumi.BoolOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) bool { return v.PubliclyAdvertisable }).(pulumi.BoolOutput) -} - -// ID of the source IPAM pool. -func (o GetVpcIpamPoolsIpamPoolOutput) SourceIpamPoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.SourceIpamPoolId }).(pulumi.StringOutput) -} - -func (o GetVpcIpamPoolsIpamPoolOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.State }).(pulumi.StringOutput) -} - -// Map of tags to assigned to the resource. -func (o GetVpcIpamPoolsIpamPoolOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) map[string]string { return v.Tags }).(pulumi.StringMapOutput) -} - -type GetVpcIpamPoolsIpamPoolArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamPoolsIpamPoolArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamPoolsIpamPool)(nil)).Elem() -} - -func (o GetVpcIpamPoolsIpamPoolArrayOutput) ToGetVpcIpamPoolsIpamPoolArrayOutput() GetVpcIpamPoolsIpamPoolArrayOutput { - return o -} - -func (o GetVpcIpamPoolsIpamPoolArrayOutput) ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolArrayOutput { - return o -} - -func (o GetVpcIpamPoolsIpamPoolArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolsIpamPoolOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolsIpamPool { - return vs[0].([]GetVpcIpamPoolsIpamPool)[vs[1].(int)] - }).(GetVpcIpamPoolsIpamPoolOutput) -} - -type GetVpcIpamsFilter struct { - // Name of the field to filter by, as defined by - // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeIpams.html). - Name string `pulumi:"name"` - // Set of values that are accepted for the given field. - // An IPAM resource will be selected if any one of the given values matches. - Values []string `pulumi:"values"` -} - -// GetVpcIpamsFilterInput is an input type that accepts GetVpcIpamsFilterArgs and GetVpcIpamsFilterOutput values. -// You can construct a concrete instance of `GetVpcIpamsFilterInput` via: -// -// GetVpcIpamsFilterArgs{...} -type GetVpcIpamsFilterInput interface { - pulumi.Input - - ToGetVpcIpamsFilterOutput() GetVpcIpamsFilterOutput - ToGetVpcIpamsFilterOutputWithContext(context.Context) GetVpcIpamsFilterOutput -} - -type GetVpcIpamsFilterArgs struct { - // Name of the field to filter by, as defined by - // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeIpams.html). - Name pulumi.StringInput `pulumi:"name"` - // Set of values that are accepted for the given field. - // An IPAM resource will be selected if any one of the given values matches. - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVpcIpamsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamsFilter)(nil)).Elem() -} - -func (i GetVpcIpamsFilterArgs) ToGetVpcIpamsFilterOutput() GetVpcIpamsFilterOutput { - return i.ToGetVpcIpamsFilterOutputWithContext(context.Background()) -} - -func (i GetVpcIpamsFilterArgs) ToGetVpcIpamsFilterOutputWithContext(ctx context.Context) GetVpcIpamsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamsFilterOutput) -} - -// GetVpcIpamsFilterArrayInput is an input type that accepts GetVpcIpamsFilterArray and GetVpcIpamsFilterArrayOutput values. -// You can construct a concrete instance of `GetVpcIpamsFilterArrayInput` via: -// -// GetVpcIpamsFilterArray{ GetVpcIpamsFilterArgs{...} } -type GetVpcIpamsFilterArrayInput interface { - pulumi.Input - - ToGetVpcIpamsFilterArrayOutput() GetVpcIpamsFilterArrayOutput - ToGetVpcIpamsFilterArrayOutputWithContext(context.Context) GetVpcIpamsFilterArrayOutput -} - -type GetVpcIpamsFilterArray []GetVpcIpamsFilterInput - -func (GetVpcIpamsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamsFilter)(nil)).Elem() -} - -func (i GetVpcIpamsFilterArray) ToGetVpcIpamsFilterArrayOutput() GetVpcIpamsFilterArrayOutput { - return i.ToGetVpcIpamsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVpcIpamsFilterArray) ToGetVpcIpamsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamsFilterArrayOutput) -} - -type GetVpcIpamsFilterOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVpcIpamsFilter)(nil)).Elem() -} - -func (o GetVpcIpamsFilterOutput) ToGetVpcIpamsFilterOutput() GetVpcIpamsFilterOutput { - return o -} - -func (o GetVpcIpamsFilterOutput) ToGetVpcIpamsFilterOutputWithContext(ctx context.Context) GetVpcIpamsFilterOutput { - return o -} - -// Name of the field to filter by, as defined by -// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeIpams.html). -func (o GetVpcIpamsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVpcIpamsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -// Set of values that are accepted for the given field. -// An IPAM resource will be selected if any one of the given values matches. -func (o GetVpcIpamsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVpcIpamsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVpcIpamsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVpcIpamsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVpcIpamsFilter)(nil)).Elem() -} - -func (o GetVpcIpamsFilterArrayOutput) ToGetVpcIpamsFilterArrayOutput() GetVpcIpamsFilterArrayOutput { - return o -} - -func (o GetVpcIpamsFilterArrayOutput) ToGetVpcIpamsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamsFilterArrayOutput { - return o -} - -func (o GetVpcIpamsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamsFilter { - return vs[0].([]GetVpcIpamsFilter)[vs[1].(int)] - }).(GetVpcIpamsFilterOutput) -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*AllowedImagesSettingsImageCriterionInput)(nil)).Elem(), AllowedImagesSettingsImageCriterionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AllowedImagesSettingsImageCriterionArrayInput)(nil)).Elem(), AllowedImagesSettingsImageCriterionArray{}) @@ -70136,6 +69962,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceEnclaveOptionsPtrInput)(nil)).Elem(), InstanceEnclaveOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceEphemeralBlockDeviceInput)(nil)).Elem(), InstanceEphemeralBlockDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceEphemeralBlockDeviceArrayInput)(nil)).Elem(), InstanceEphemeralBlockDeviceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceFilterInput)(nil)).Elem(), InstanceFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InstanceFilterArrayInput)(nil)).Elem(), InstanceFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceMarketOptionsInput)(nil)).Elem(), InstanceInstanceMarketOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceMarketOptionsPtrInput)(nil)).Elem(), InstanceInstanceMarketOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceInstanceMarketOptionsSpotOptionsInput)(nil)).Elem(), InstanceInstanceMarketOptionsSpotOptionsArgs{}) @@ -70156,6 +69984,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*InstanceRootBlockDevicePtrInput)(nil)).Elem(), InstanceRootBlockDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceSecondaryNetworkInterfaceInput)(nil)).Elem(), InstanceSecondaryNetworkInterfaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*InstanceSecondaryNetworkInterfaceArrayInput)(nil)).Elem(), InstanceSecondaryNetworkInterfaceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*InternetGatewayFilterInput)(nil)).Elem(), InternetGatewayFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*InternetGatewayFilterArrayInput)(nil)).Elem(), InternetGatewayFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchConfigurationEbsBlockDeviceInput)(nil)).Elem(), LaunchConfigurationEbsBlockDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchConfigurationEbsBlockDeviceArrayInput)(nil)).Elem(), LaunchConfigurationEbsBlockDeviceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchConfigurationEphemeralBlockDeviceInput)(nil)).Elem(), LaunchConfigurationEphemeralBlockDeviceArgs{}) @@ -70178,6 +70008,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateCreditSpecificationPtrInput)(nil)).Elem(), LaunchTemplateCreditSpecificationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateEnclaveOptionsInput)(nil)).Elem(), LaunchTemplateEnclaveOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateEnclaveOptionsPtrInput)(nil)).Elem(), LaunchTemplateEnclaveOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateFilterInput)(nil)).Elem(), LaunchTemplateFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateFilterArrayInput)(nil)).Elem(), LaunchTemplateFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateHibernationOptionsInput)(nil)).Elem(), LaunchTemplateHibernationOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateHibernationOptionsPtrInput)(nil)).Elem(), LaunchTemplateHibernationOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LaunchTemplateIamInstanceProfileInput)(nil)).Elem(), LaunchTemplateIamInstanceProfileArgs{}) @@ -70238,6 +70070,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayAvailabilityZoneAddressArrayInput)(nil)).Elem(), NatGatewayAvailabilityZoneAddressArray{}) pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayEipAssociationTimeoutsInput)(nil)).Elem(), NatGatewayEipAssociationTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayEipAssociationTimeoutsPtrInput)(nil)).Elem(), NatGatewayEipAssociationTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayFilterInput)(nil)).Elem(), NatGatewayFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayFilterArrayInput)(nil)).Elem(), NatGatewayFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayRegionalNatGatewayAddressInput)(nil)).Elem(), NatGatewayRegionalNatGatewayAddressArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*NatGatewayRegionalNatGatewayAddressArrayInput)(nil)).Elem(), NatGatewayRegionalNatGatewayAddressArray{}) pulumi.RegisterInputType(reflect.TypeOf((*NetworkAclEgressInput)(nil)).Elem(), NetworkAclEgressArgs{}) @@ -70460,18 +70294,24 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PeeringConnectionOptionsAccepterPtrInput)(nil)).Elem(), PeeringConnectionOptionsAccepterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PeeringConnectionOptionsRequesterInput)(nil)).Elem(), PeeringConnectionOptionsRequesterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PeeringConnectionOptionsRequesterPtrInput)(nil)).Elem(), PeeringConnectionOptionsRequesterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RouteTableFilterInput)(nil)).Elem(), RouteTableFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*RouteTableFilterArrayInput)(nil)).Elem(), RouteTableFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*RouteTableRouteInput)(nil)).Elem(), RouteTableRouteArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*RouteTableRouteArrayInput)(nil)).Elem(), RouteTableRouteArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondaryNetworkIpv4CidrBlockAssociationInput)(nil)).Elem(), SecondaryNetworkIpv4CidrBlockAssociationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondaryNetworkIpv4CidrBlockAssociationArrayInput)(nil)).Elem(), SecondaryNetworkIpv4CidrBlockAssociationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondaryNetworkTimeoutsInput)(nil)).Elem(), SecondaryNetworkTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondaryNetworkTimeoutsPtrInput)(nil)).Elem(), SecondaryNetworkTimeoutsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecondarySubnetFilterInput)(nil)).Elem(), SecondarySubnetFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecondarySubnetFilterArrayInput)(nil)).Elem(), SecondarySubnetFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondarySubnetIpv4CidrBlockAssociationInput)(nil)).Elem(), SecondarySubnetIpv4CidrBlockAssociationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondarySubnetIpv4CidrBlockAssociationArrayInput)(nil)).Elem(), SecondarySubnetIpv4CidrBlockAssociationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondarySubnetTimeoutsInput)(nil)).Elem(), SecondarySubnetTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecondarySubnetTimeoutsPtrInput)(nil)).Elem(), SecondarySubnetTimeoutsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupEgressInput)(nil)).Elem(), SecurityGroupEgressArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupEgressArrayInput)(nil)).Elem(), SecurityGroupEgressArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupFilterInput)(nil)).Elem(), SecurityGroupFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupFilterArrayInput)(nil)).Elem(), SecurityGroupFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupIngressInput)(nil)).Elem(), SecurityGroupIngressArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityGroupIngressArrayInput)(nil)).Elem(), SecurityGroupIngressArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SpotFleetRequestLaunchSpecificationInput)(nil)).Elem(), SpotFleetRequestLaunchSpecificationArgs{}) @@ -70541,6 +70381,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SpotInstanceRequestRootBlockDevicePtrInput)(nil)).Elem(), SpotInstanceRequestRootBlockDeviceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SpotInstanceRequestSecondaryNetworkInterfaceInput)(nil)).Elem(), SpotInstanceRequestSecondaryNetworkInterfaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SpotInstanceRequestSecondaryNetworkInterfaceArrayInput)(nil)).Elem(), SpotInstanceRequestSecondaryNetworkInterfaceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubnetFilterInput)(nil)).Elem(), SubnetFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SubnetFilterArrayInput)(nil)).Elem(), SubnetFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*TrafficMirrorFilterRuleDestinationPortRangeInput)(nil)).Elem(), TrafficMirrorFilterRuleDestinationPortRangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrafficMirrorFilterRuleDestinationPortRangePtrInput)(nil)).Elem(), TrafficMirrorFilterRuleDestinationPortRangeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*TrafficMirrorFilterRuleSourcePortRangeInput)(nil)).Elem(), TrafficMirrorFilterRuleSourcePortRangeArgs{}) @@ -70573,10 +70415,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsEntryArrayInput)(nil)).Elem(), VpcEndpointDnsEntryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsOptionsInput)(nil)).Elem(), VpcEndpointDnsOptionsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointDnsOptionsPtrInput)(nil)).Elem(), VpcEndpointDnsOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointFilterInput)(nil)).Elem(), VpcEndpointFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointFilterArrayInput)(nil)).Elem(), VpcEndpointFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointServicePrivateDnsNameConfigurationInput)(nil)).Elem(), VpcEndpointServicePrivateDnsNameConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointServicePrivateDnsNameConfigurationArrayInput)(nil)).Elem(), VpcEndpointServicePrivateDnsNameConfigurationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointSubnetConfigurationInput)(nil)).Elem(), VpcEndpointSubnetConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcEndpointSubnetConfigurationArrayInput)(nil)).Elem(), VpcEndpointSubnetConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcFilterInput)(nil)).Elem(), VpcFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VpcFilterArrayInput)(nil)).Elem(), VpcFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcIpamOperatingRegionInput)(nil)).Elem(), VpcIpamOperatingRegionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcIpamOperatingRegionArrayInput)(nil)).Elem(), VpcIpamOperatingRegionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VpcIpamPoolCidrCidrAuthorizationContextInput)(nil)).Elem(), VpcIpamPoolCidrCidrAuthorizationContextArgs{}) @@ -71005,26 +70851,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointDnsOptionArrayInput)(nil)).Elem(), GetVpcEndpointDnsOptionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointFilterInput)(nil)).Elem(), GetVpcEndpointFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointFilterArrayInput)(nil)).Elem(), GetVpcEndpointFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointServiceFilterInput)(nil)).Elem(), GetVpcEndpointServiceFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointServiceFilterArrayInput)(nil)).Elem(), GetVpcEndpointServiceFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcFilterInput)(nil)).Elem(), GetVpcFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcFilterArrayInput)(nil)).Elem(), GetVpcFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamOperatingRegionInput)(nil)).Elem(), GetVpcIpamOperatingRegionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamOperatingRegionArrayInput)(nil)).Elem(), GetVpcIpamOperatingRegionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsFilterInput)(nil)).Elem(), GetVpcIpamPoolCidrsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsFilterArrayInput)(nil)).Elem(), GetVpcIpamPoolCidrsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidrInput)(nil)).Elem(), GetVpcIpamPoolCidrsIpamPoolCidrArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidrArrayInput)(nil)).Elem(), GetVpcIpamPoolCidrsIpamPoolCidrArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolFilterInput)(nil)).Elem(), GetVpcIpamPoolFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolFilterArrayInput)(nil)).Elem(), GetVpcIpamPoolFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolSourceResourceInput)(nil)).Elem(), GetVpcIpamPoolSourceResourceArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolSourceResourceArrayInput)(nil)).Elem(), GetVpcIpamPoolSourceResourceArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsFilterInput)(nil)).Elem(), GetVpcIpamPoolsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsFilterArrayInput)(nil)).Elem(), GetVpcIpamPoolsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsIpamPoolInput)(nil)).Elem(), GetVpcIpamPoolsIpamPoolArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsIpamPoolArrayInput)(nil)).Elem(), GetVpcIpamPoolsIpamPoolArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsFilterInput)(nil)).Elem(), GetVpcIpamsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsFilterArrayInput)(nil)).Elem(), GetVpcIpamsFilterArray{}) pulumi.RegisterOutputType(AllowedImagesSettingsImageCriterionOutput{}) pulumi.RegisterOutputType(AllowedImagesSettingsImageCriterionArrayOutput{}) pulumi.RegisterOutputType(AllowedImagesSettingsImageCriterionCreationDateConditionOutput{}) @@ -71135,6 +70961,8 @@ func init() { pulumi.RegisterOutputType(InstanceEnclaveOptionsPtrOutput{}) pulumi.RegisterOutputType(InstanceEphemeralBlockDeviceOutput{}) pulumi.RegisterOutputType(InstanceEphemeralBlockDeviceArrayOutput{}) + pulumi.RegisterOutputType(InstanceFilterOutput{}) + pulumi.RegisterOutputType(InstanceFilterArrayOutput{}) pulumi.RegisterOutputType(InstanceInstanceMarketOptionsOutput{}) pulumi.RegisterOutputType(InstanceInstanceMarketOptionsPtrOutput{}) pulumi.RegisterOutputType(InstanceInstanceMarketOptionsSpotOptionsOutput{}) @@ -71155,6 +70983,8 @@ func init() { pulumi.RegisterOutputType(InstanceRootBlockDevicePtrOutput{}) pulumi.RegisterOutputType(InstanceSecondaryNetworkInterfaceOutput{}) pulumi.RegisterOutputType(InstanceSecondaryNetworkInterfaceArrayOutput{}) + pulumi.RegisterOutputType(InternetGatewayFilterOutput{}) + pulumi.RegisterOutputType(InternetGatewayFilterArrayOutput{}) pulumi.RegisterOutputType(LaunchConfigurationEbsBlockDeviceOutput{}) pulumi.RegisterOutputType(LaunchConfigurationEbsBlockDeviceArrayOutput{}) pulumi.RegisterOutputType(LaunchConfigurationEphemeralBlockDeviceOutput{}) @@ -71177,6 +71007,8 @@ func init() { pulumi.RegisterOutputType(LaunchTemplateCreditSpecificationPtrOutput{}) pulumi.RegisterOutputType(LaunchTemplateEnclaveOptionsOutput{}) pulumi.RegisterOutputType(LaunchTemplateEnclaveOptionsPtrOutput{}) + pulumi.RegisterOutputType(LaunchTemplateFilterOutput{}) + pulumi.RegisterOutputType(LaunchTemplateFilterArrayOutput{}) pulumi.RegisterOutputType(LaunchTemplateHibernationOptionsOutput{}) pulumi.RegisterOutputType(LaunchTemplateHibernationOptionsPtrOutput{}) pulumi.RegisterOutputType(LaunchTemplateIamInstanceProfileOutput{}) @@ -71237,6 +71069,8 @@ func init() { pulumi.RegisterOutputType(NatGatewayAvailabilityZoneAddressArrayOutput{}) pulumi.RegisterOutputType(NatGatewayEipAssociationTimeoutsOutput{}) pulumi.RegisterOutputType(NatGatewayEipAssociationTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(NatGatewayFilterOutput{}) + pulumi.RegisterOutputType(NatGatewayFilterArrayOutput{}) pulumi.RegisterOutputType(NatGatewayRegionalNatGatewayAddressOutput{}) pulumi.RegisterOutputType(NatGatewayRegionalNatGatewayAddressArrayOutput{}) pulumi.RegisterOutputType(NetworkAclEgressOutput{}) @@ -71459,18 +71293,24 @@ func init() { pulumi.RegisterOutputType(PeeringConnectionOptionsAccepterPtrOutput{}) pulumi.RegisterOutputType(PeeringConnectionOptionsRequesterOutput{}) pulumi.RegisterOutputType(PeeringConnectionOptionsRequesterPtrOutput{}) + pulumi.RegisterOutputType(RouteTableFilterOutput{}) + pulumi.RegisterOutputType(RouteTableFilterArrayOutput{}) pulumi.RegisterOutputType(RouteTableRouteOutput{}) pulumi.RegisterOutputType(RouteTableRouteArrayOutput{}) pulumi.RegisterOutputType(SecondaryNetworkIpv4CidrBlockAssociationOutput{}) pulumi.RegisterOutputType(SecondaryNetworkIpv4CidrBlockAssociationArrayOutput{}) pulumi.RegisterOutputType(SecondaryNetworkTimeoutsOutput{}) pulumi.RegisterOutputType(SecondaryNetworkTimeoutsPtrOutput{}) + pulumi.RegisterOutputType(SecondarySubnetFilterOutput{}) + pulumi.RegisterOutputType(SecondarySubnetFilterArrayOutput{}) pulumi.RegisterOutputType(SecondarySubnetIpv4CidrBlockAssociationOutput{}) pulumi.RegisterOutputType(SecondarySubnetIpv4CidrBlockAssociationArrayOutput{}) pulumi.RegisterOutputType(SecondarySubnetTimeoutsOutput{}) pulumi.RegisterOutputType(SecondarySubnetTimeoutsPtrOutput{}) pulumi.RegisterOutputType(SecurityGroupEgressOutput{}) pulumi.RegisterOutputType(SecurityGroupEgressArrayOutput{}) + pulumi.RegisterOutputType(SecurityGroupFilterOutput{}) + pulumi.RegisterOutputType(SecurityGroupFilterArrayOutput{}) pulumi.RegisterOutputType(SecurityGroupIngressOutput{}) pulumi.RegisterOutputType(SecurityGroupIngressArrayOutput{}) pulumi.RegisterOutputType(SpotFleetRequestLaunchSpecificationOutput{}) @@ -71540,6 +71380,8 @@ func init() { pulumi.RegisterOutputType(SpotInstanceRequestRootBlockDevicePtrOutput{}) pulumi.RegisterOutputType(SpotInstanceRequestSecondaryNetworkInterfaceOutput{}) pulumi.RegisterOutputType(SpotInstanceRequestSecondaryNetworkInterfaceArrayOutput{}) + pulumi.RegisterOutputType(SubnetFilterOutput{}) + pulumi.RegisterOutputType(SubnetFilterArrayOutput{}) pulumi.RegisterOutputType(TrafficMirrorFilterRuleDestinationPortRangeOutput{}) pulumi.RegisterOutputType(TrafficMirrorFilterRuleDestinationPortRangePtrOutput{}) pulumi.RegisterOutputType(TrafficMirrorFilterRuleSourcePortRangeOutput{}) @@ -71572,10 +71414,14 @@ func init() { pulumi.RegisterOutputType(VpcEndpointDnsEntryArrayOutput{}) pulumi.RegisterOutputType(VpcEndpointDnsOptionsOutput{}) pulumi.RegisterOutputType(VpcEndpointDnsOptionsPtrOutput{}) + pulumi.RegisterOutputType(VpcEndpointFilterOutput{}) + pulumi.RegisterOutputType(VpcEndpointFilterArrayOutput{}) pulumi.RegisterOutputType(VpcEndpointServicePrivateDnsNameConfigurationOutput{}) pulumi.RegisterOutputType(VpcEndpointServicePrivateDnsNameConfigurationArrayOutput{}) pulumi.RegisterOutputType(VpcEndpointSubnetConfigurationOutput{}) pulumi.RegisterOutputType(VpcEndpointSubnetConfigurationArrayOutput{}) + pulumi.RegisterOutputType(VpcFilterOutput{}) + pulumi.RegisterOutputType(VpcFilterArrayOutput{}) pulumi.RegisterOutputType(VpcIpamOperatingRegionOutput{}) pulumi.RegisterOutputType(VpcIpamOperatingRegionArrayOutput{}) pulumi.RegisterOutputType(VpcIpamPoolCidrCidrAuthorizationContextOutput{}) @@ -72004,24 +71850,4 @@ func init() { pulumi.RegisterOutputType(GetVpcEndpointDnsOptionArrayOutput{}) pulumi.RegisterOutputType(GetVpcEndpointFilterOutput{}) pulumi.RegisterOutputType(GetVpcEndpointFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpcEndpointServiceFilterOutput{}) - pulumi.RegisterOutputType(GetVpcEndpointServiceFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpcFilterOutput{}) - pulumi.RegisterOutputType(GetVpcFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamOperatingRegionOutput{}) - pulumi.RegisterOutputType(GetVpcIpamOperatingRegionArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolCidrsFilterOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolCidrsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolCidrsIpamPoolCidrOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolFilterOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolSourceResourceOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolSourceResourceArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolsFilterOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolsIpamPoolOutput{}) - pulumi.RegisterOutputType(GetVpcIpamPoolsIpamPoolArrayOutput{}) - pulumi.RegisterOutputType(GetVpcIpamsFilterOutput{}) - pulumi.RegisterOutputType(GetVpcIpamsFilterArrayOutput{}) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go index f544bdb0a..29b10c293 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/pulumiTypes1.go @@ -13,6 +13,1222 @@ import ( var _ = internal.GetEnvOrDefault +type GetVpcEndpointServiceFilter struct { + // Name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. + Values []string `pulumi:"values"` +} + +// GetVpcEndpointServiceFilterInput is an input type that accepts GetVpcEndpointServiceFilterArgs and GetVpcEndpointServiceFilterOutput values. +// You can construct a concrete instance of `GetVpcEndpointServiceFilterInput` via: +// +// GetVpcEndpointServiceFilterArgs{...} +type GetVpcEndpointServiceFilterInput interface { + pulumi.Input + + ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput + ToGetVpcEndpointServiceFilterOutputWithContext(context.Context) GetVpcEndpointServiceFilterOutput +} + +type GetVpcEndpointServiceFilterArgs struct { + // Name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVpcEndpointServiceFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcEndpointServiceFilter)(nil)).Elem() +} + +func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput { + return i.ToGetVpcEndpointServiceFilterOutputWithContext(context.Background()) +} + +func (i GetVpcEndpointServiceFilterArgs) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcEndpointServiceFilterOutput) +} + +// GetVpcEndpointServiceFilterArrayInput is an input type that accepts GetVpcEndpointServiceFilterArray and GetVpcEndpointServiceFilterArrayOutput values. +// You can construct a concrete instance of `GetVpcEndpointServiceFilterArrayInput` via: +// +// GetVpcEndpointServiceFilterArray{ GetVpcEndpointServiceFilterArgs{...} } +type GetVpcEndpointServiceFilterArrayInput interface { + pulumi.Input + + ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput + ToGetVpcEndpointServiceFilterArrayOutputWithContext(context.Context) GetVpcEndpointServiceFilterArrayOutput +} + +type GetVpcEndpointServiceFilterArray []GetVpcEndpointServiceFilterInput + +func (GetVpcEndpointServiceFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcEndpointServiceFilter)(nil)).Elem() +} + +func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput { + return i.ToGetVpcEndpointServiceFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVpcEndpointServiceFilterArray) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcEndpointServiceFilterArrayOutput) +} + +type GetVpcEndpointServiceFilterOutput struct{ *pulumi.OutputState } + +func (GetVpcEndpointServiceFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcEndpointServiceFilter)(nil)).Elem() +} + +func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutput() GetVpcEndpointServiceFilterOutput { + return o +} + +func (o GetVpcEndpointServiceFilterOutput) ToGetVpcEndpointServiceFilterOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterOutput { + return o +} + +// Name of the filter field. Valid values can be found in the [EC2 DescribeVpcEndpointServices API Reference](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServices.html). +func (o GetVpcEndpointServiceFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcEndpointServiceFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Set of values that are accepted for the given filter field. Results will be selected if any given value matches. +func (o GetVpcEndpointServiceFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpcEndpointServiceFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVpcEndpointServiceFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcEndpointServiceFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcEndpointServiceFilter)(nil)).Elem() +} + +func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutput() GetVpcEndpointServiceFilterArrayOutput { + return o +} + +func (o GetVpcEndpointServiceFilterArrayOutput) ToGetVpcEndpointServiceFilterArrayOutputWithContext(ctx context.Context) GetVpcEndpointServiceFilterArrayOutput { + return o +} + +func (o GetVpcEndpointServiceFilterArrayOutput) Index(i pulumi.IntInput) GetVpcEndpointServiceFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcEndpointServiceFilter { + return vs[0].([]GetVpcEndpointServiceFilter)[vs[1].(int)] + }).(GetVpcEndpointServiceFilterOutput) +} + +type GetVpcFilter struct { + // Name of the field to filter by, as defined by + // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given field. + // A VPC will be selected if any one of the given values matches. + Values []string `pulumi:"values"` +} + +// GetVpcFilterInput is an input type that accepts GetVpcFilterArgs and GetVpcFilterOutput values. +// You can construct a concrete instance of `GetVpcFilterInput` via: +// +// GetVpcFilterArgs{...} +type GetVpcFilterInput interface { + pulumi.Input + + ToGetVpcFilterOutput() GetVpcFilterOutput + ToGetVpcFilterOutputWithContext(context.Context) GetVpcFilterOutput +} + +type GetVpcFilterArgs struct { + // Name of the field to filter by, as defined by + // [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given field. + // A VPC will be selected if any one of the given values matches. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVpcFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcFilter)(nil)).Elem() +} + +func (i GetVpcFilterArgs) ToGetVpcFilterOutput() GetVpcFilterOutput { + return i.ToGetVpcFilterOutputWithContext(context.Background()) +} + +func (i GetVpcFilterArgs) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcFilterOutput) +} + +// GetVpcFilterArrayInput is an input type that accepts GetVpcFilterArray and GetVpcFilterArrayOutput values. +// You can construct a concrete instance of `GetVpcFilterArrayInput` via: +// +// GetVpcFilterArray{ GetVpcFilterArgs{...} } +type GetVpcFilterArrayInput interface { + pulumi.Input + + ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput + ToGetVpcFilterArrayOutputWithContext(context.Context) GetVpcFilterArrayOutput +} + +type GetVpcFilterArray []GetVpcFilterInput + +func (GetVpcFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcFilter)(nil)).Elem() +} + +func (i GetVpcFilterArray) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput { + return i.ToGetVpcFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVpcFilterArray) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcFilterArrayOutput) +} + +type GetVpcFilterOutput struct{ *pulumi.OutputState } + +func (GetVpcFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcFilter)(nil)).Elem() +} + +func (o GetVpcFilterOutput) ToGetVpcFilterOutput() GetVpcFilterOutput { + return o +} + +func (o GetVpcFilterOutput) ToGetVpcFilterOutputWithContext(ctx context.Context) GetVpcFilterOutput { + return o +} + +// Name of the field to filter by, as defined by +// [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcs.html). +func (o GetVpcFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Set of values that are accepted for the given field. +// A VPC will be selected if any one of the given values matches. +func (o GetVpcFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpcFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVpcFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcFilter)(nil)).Elem() +} + +func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutput() GetVpcFilterArrayOutput { + return o +} + +func (o GetVpcFilterArrayOutput) ToGetVpcFilterArrayOutputWithContext(ctx context.Context) GetVpcFilterArrayOutput { + return o +} + +func (o GetVpcFilterArrayOutput) Index(i pulumi.IntInput) GetVpcFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcFilter { + return vs[0].([]GetVpcFilter)[vs[1].(int)] + }).(GetVpcFilterOutput) +} + +type GetVpcIpamOperatingRegion struct { + RegionName string `pulumi:"regionName"` +} + +// GetVpcIpamOperatingRegionInput is an input type that accepts GetVpcIpamOperatingRegionArgs and GetVpcIpamOperatingRegionOutput values. +// You can construct a concrete instance of `GetVpcIpamOperatingRegionInput` via: +// +// GetVpcIpamOperatingRegionArgs{...} +type GetVpcIpamOperatingRegionInput interface { + pulumi.Input + + ToGetVpcIpamOperatingRegionOutput() GetVpcIpamOperatingRegionOutput + ToGetVpcIpamOperatingRegionOutputWithContext(context.Context) GetVpcIpamOperatingRegionOutput +} + +type GetVpcIpamOperatingRegionArgs struct { + RegionName pulumi.StringInput `pulumi:"regionName"` +} + +func (GetVpcIpamOperatingRegionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamOperatingRegion)(nil)).Elem() +} + +func (i GetVpcIpamOperatingRegionArgs) ToGetVpcIpamOperatingRegionOutput() GetVpcIpamOperatingRegionOutput { + return i.ToGetVpcIpamOperatingRegionOutputWithContext(context.Background()) +} + +func (i GetVpcIpamOperatingRegionArgs) ToGetVpcIpamOperatingRegionOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamOperatingRegionOutput) +} + +// GetVpcIpamOperatingRegionArrayInput is an input type that accepts GetVpcIpamOperatingRegionArray and GetVpcIpamOperatingRegionArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamOperatingRegionArrayInput` via: +// +// GetVpcIpamOperatingRegionArray{ GetVpcIpamOperatingRegionArgs{...} } +type GetVpcIpamOperatingRegionArrayInput interface { + pulumi.Input + + ToGetVpcIpamOperatingRegionArrayOutput() GetVpcIpamOperatingRegionArrayOutput + ToGetVpcIpamOperatingRegionArrayOutputWithContext(context.Context) GetVpcIpamOperatingRegionArrayOutput +} + +type GetVpcIpamOperatingRegionArray []GetVpcIpamOperatingRegionInput + +func (GetVpcIpamOperatingRegionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamOperatingRegion)(nil)).Elem() +} + +func (i GetVpcIpamOperatingRegionArray) ToGetVpcIpamOperatingRegionArrayOutput() GetVpcIpamOperatingRegionArrayOutput { + return i.ToGetVpcIpamOperatingRegionArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamOperatingRegionArray) ToGetVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamOperatingRegionArrayOutput) +} + +type GetVpcIpamOperatingRegionOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamOperatingRegionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamOperatingRegion)(nil)).Elem() +} + +func (o GetVpcIpamOperatingRegionOutput) ToGetVpcIpamOperatingRegionOutput() GetVpcIpamOperatingRegionOutput { + return o +} + +func (o GetVpcIpamOperatingRegionOutput) ToGetVpcIpamOperatingRegionOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionOutput { + return o +} + +func (o GetVpcIpamOperatingRegionOutput) RegionName() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamOperatingRegion) string { return v.RegionName }).(pulumi.StringOutput) +} + +type GetVpcIpamOperatingRegionArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamOperatingRegionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamOperatingRegion)(nil)).Elem() +} + +func (o GetVpcIpamOperatingRegionArrayOutput) ToGetVpcIpamOperatingRegionArrayOutput() GetVpcIpamOperatingRegionArrayOutput { + return o +} + +func (o GetVpcIpamOperatingRegionArrayOutput) ToGetVpcIpamOperatingRegionArrayOutputWithContext(ctx context.Context) GetVpcIpamOperatingRegionArrayOutput { + return o +} + +func (o GetVpcIpamOperatingRegionArrayOutput) Index(i pulumi.IntInput) GetVpcIpamOperatingRegionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamOperatingRegion { + return vs[0].([]GetVpcIpamOperatingRegion)[vs[1].(int)] + }).(GetVpcIpamOperatingRegionOutput) +} + +type GetVpcIpamPoolCidrsFilter struct { + // Name of the field to filter by, as defined by + // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetIpamPoolCidrs.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given field. + Values []string `pulumi:"values"` +} + +// GetVpcIpamPoolCidrsFilterInput is an input type that accepts GetVpcIpamPoolCidrsFilterArgs and GetVpcIpamPoolCidrsFilterOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolCidrsFilterInput` via: +// +// GetVpcIpamPoolCidrsFilterArgs{...} +type GetVpcIpamPoolCidrsFilterInput interface { + pulumi.Input + + ToGetVpcIpamPoolCidrsFilterOutput() GetVpcIpamPoolCidrsFilterOutput + ToGetVpcIpamPoolCidrsFilterOutputWithContext(context.Context) GetVpcIpamPoolCidrsFilterOutput +} + +type GetVpcIpamPoolCidrsFilterArgs struct { + // Name of the field to filter by, as defined by + // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetIpamPoolCidrs.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given field. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVpcIpamPoolCidrsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolCidrsFilter)(nil)).Elem() +} + +func (i GetVpcIpamPoolCidrsFilterArgs) ToGetVpcIpamPoolCidrsFilterOutput() GetVpcIpamPoolCidrsFilterOutput { + return i.ToGetVpcIpamPoolCidrsFilterOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolCidrsFilterArgs) ToGetVpcIpamPoolCidrsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsFilterOutput) +} + +// GetVpcIpamPoolCidrsFilterArrayInput is an input type that accepts GetVpcIpamPoolCidrsFilterArray and GetVpcIpamPoolCidrsFilterArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolCidrsFilterArrayInput` via: +// +// GetVpcIpamPoolCidrsFilterArray{ GetVpcIpamPoolCidrsFilterArgs{...} } +type GetVpcIpamPoolCidrsFilterArrayInput interface { + pulumi.Input + + ToGetVpcIpamPoolCidrsFilterArrayOutput() GetVpcIpamPoolCidrsFilterArrayOutput + ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(context.Context) GetVpcIpamPoolCidrsFilterArrayOutput +} + +type GetVpcIpamPoolCidrsFilterArray []GetVpcIpamPoolCidrsFilterInput + +func (GetVpcIpamPoolCidrsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolCidrsFilter)(nil)).Elem() +} + +func (i GetVpcIpamPoolCidrsFilterArray) ToGetVpcIpamPoolCidrsFilterArrayOutput() GetVpcIpamPoolCidrsFilterArrayOutput { + return i.ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolCidrsFilterArray) ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsFilterArrayOutput) +} + +type GetVpcIpamPoolCidrsFilterOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolCidrsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolCidrsFilter)(nil)).Elem() +} + +func (o GetVpcIpamPoolCidrsFilterOutput) ToGetVpcIpamPoolCidrsFilterOutput() GetVpcIpamPoolCidrsFilterOutput { + return o +} + +func (o GetVpcIpamPoolCidrsFilterOutput) ToGetVpcIpamPoolCidrsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterOutput { + return o +} + +// Name of the field to filter by, as defined by +// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetIpamPoolCidrs.html). +func (o GetVpcIpamPoolCidrsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolCidrsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Set of values that are accepted for the given field. +func (o GetVpcIpamPoolCidrsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpcIpamPoolCidrsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVpcIpamPoolCidrsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolCidrsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolCidrsFilter)(nil)).Elem() +} + +func (o GetVpcIpamPoolCidrsFilterArrayOutput) ToGetVpcIpamPoolCidrsFilterArrayOutput() GetVpcIpamPoolCidrsFilterArrayOutput { + return o +} + +func (o GetVpcIpamPoolCidrsFilterArrayOutput) ToGetVpcIpamPoolCidrsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsFilterArrayOutput { + return o +} + +func (o GetVpcIpamPoolCidrsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolCidrsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolCidrsFilter { + return vs[0].([]GetVpcIpamPoolCidrsFilter)[vs[1].(int)] + }).(GetVpcIpamPoolCidrsFilterOutput) +} + +type GetVpcIpamPoolCidrsIpamPoolCidr struct { + // A network CIDR. + Cidr string `pulumi:"cidr"` + // The provisioning state of that CIDR. + State string `pulumi:"state"` +} + +// GetVpcIpamPoolCidrsIpamPoolCidrInput is an input type that accepts GetVpcIpamPoolCidrsIpamPoolCidrArgs and GetVpcIpamPoolCidrsIpamPoolCidrOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolCidrsIpamPoolCidrInput` via: +// +// GetVpcIpamPoolCidrsIpamPoolCidrArgs{...} +type GetVpcIpamPoolCidrsIpamPoolCidrInput interface { + pulumi.Input + + ToGetVpcIpamPoolCidrsIpamPoolCidrOutput() GetVpcIpamPoolCidrsIpamPoolCidrOutput + ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(context.Context) GetVpcIpamPoolCidrsIpamPoolCidrOutput +} + +type GetVpcIpamPoolCidrsIpamPoolCidrArgs struct { + // A network CIDR. + Cidr pulumi.StringInput `pulumi:"cidr"` + // The provisioning state of that CIDR. + State pulumi.StringInput `pulumi:"state"` +} + +func (GetVpcIpamPoolCidrsIpamPoolCidrArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() +} + +func (i GetVpcIpamPoolCidrsIpamPoolCidrArgs) ToGetVpcIpamPoolCidrsIpamPoolCidrOutput() GetVpcIpamPoolCidrsIpamPoolCidrOutput { + return i.ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolCidrsIpamPoolCidrArgs) ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsIpamPoolCidrOutput) +} + +// GetVpcIpamPoolCidrsIpamPoolCidrArrayInput is an input type that accepts GetVpcIpamPoolCidrsIpamPoolCidrArray and GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolCidrsIpamPoolCidrArrayInput` via: +// +// GetVpcIpamPoolCidrsIpamPoolCidrArray{ GetVpcIpamPoolCidrsIpamPoolCidrArgs{...} } +type GetVpcIpamPoolCidrsIpamPoolCidrArrayInput interface { + pulumi.Input + + ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutput() GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput + ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(context.Context) GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput +} + +type GetVpcIpamPoolCidrsIpamPoolCidrArray []GetVpcIpamPoolCidrsIpamPoolCidrInput + +func (GetVpcIpamPoolCidrsIpamPoolCidrArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() +} + +func (i GetVpcIpamPoolCidrsIpamPoolCidrArray) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutput() GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { + return i.ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolCidrsIpamPoolCidrArray) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) +} + +type GetVpcIpamPoolCidrsIpamPoolCidrOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolCidrsIpamPoolCidrOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() +} + +func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrOutput() GetVpcIpamPoolCidrsIpamPoolCidrOutput { + return o +} + +func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrOutput { + return o +} + +// A network CIDR. +func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) Cidr() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolCidrsIpamPoolCidr) string { return v.Cidr }).(pulumi.StringOutput) +} + +// The provisioning state of that CIDR. +func (o GetVpcIpamPoolCidrsIpamPoolCidrOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolCidrsIpamPoolCidr) string { return v.State }).(pulumi.StringOutput) +} + +type GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolCidrsIpamPoolCidr)(nil)).Elem() +} + +func (o GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutput() GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { + return o +} + +func (o GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) ToGetVpcIpamPoolCidrsIpamPoolCidrArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput { + return o +} + +func (o GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolCidrsIpamPoolCidrOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolCidrsIpamPoolCidr { + return vs[0].([]GetVpcIpamPoolCidrsIpamPoolCidr)[vs[1].(int)] + }).(GetVpcIpamPoolCidrsIpamPoolCidrOutput) +} + +type GetVpcIpamPoolFilter struct { + // The name of the filter. Filter names are case-sensitive. + Name string `pulumi:"name"` + // The filter values. Filter values are case-sensitive. + Values []string `pulumi:"values"` +} + +// GetVpcIpamPoolFilterInput is an input type that accepts GetVpcIpamPoolFilterArgs and GetVpcIpamPoolFilterOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolFilterInput` via: +// +// GetVpcIpamPoolFilterArgs{...} +type GetVpcIpamPoolFilterInput interface { + pulumi.Input + + ToGetVpcIpamPoolFilterOutput() GetVpcIpamPoolFilterOutput + ToGetVpcIpamPoolFilterOutputWithContext(context.Context) GetVpcIpamPoolFilterOutput +} + +type GetVpcIpamPoolFilterArgs struct { + // The name of the filter. Filter names are case-sensitive. + Name pulumi.StringInput `pulumi:"name"` + // The filter values. Filter values are case-sensitive. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVpcIpamPoolFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolFilter)(nil)).Elem() +} + +func (i GetVpcIpamPoolFilterArgs) ToGetVpcIpamPoolFilterOutput() GetVpcIpamPoolFilterOutput { + return i.ToGetVpcIpamPoolFilterOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolFilterArgs) ToGetVpcIpamPoolFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolFilterOutput) +} + +// GetVpcIpamPoolFilterArrayInput is an input type that accepts GetVpcIpamPoolFilterArray and GetVpcIpamPoolFilterArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolFilterArrayInput` via: +// +// GetVpcIpamPoolFilterArray{ GetVpcIpamPoolFilterArgs{...} } +type GetVpcIpamPoolFilterArrayInput interface { + pulumi.Input + + ToGetVpcIpamPoolFilterArrayOutput() GetVpcIpamPoolFilterArrayOutput + ToGetVpcIpamPoolFilterArrayOutputWithContext(context.Context) GetVpcIpamPoolFilterArrayOutput +} + +type GetVpcIpamPoolFilterArray []GetVpcIpamPoolFilterInput + +func (GetVpcIpamPoolFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolFilter)(nil)).Elem() +} + +func (i GetVpcIpamPoolFilterArray) ToGetVpcIpamPoolFilterArrayOutput() GetVpcIpamPoolFilterArrayOutput { + return i.ToGetVpcIpamPoolFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolFilterArray) ToGetVpcIpamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolFilterArrayOutput) +} + +type GetVpcIpamPoolFilterOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolFilter)(nil)).Elem() +} + +func (o GetVpcIpamPoolFilterOutput) ToGetVpcIpamPoolFilterOutput() GetVpcIpamPoolFilterOutput { + return o +} + +func (o GetVpcIpamPoolFilterOutput) ToGetVpcIpamPoolFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterOutput { + return o +} + +// The name of the filter. Filter names are case-sensitive. +func (o GetVpcIpamPoolFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// The filter values. Filter values are case-sensitive. +func (o GetVpcIpamPoolFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpcIpamPoolFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVpcIpamPoolFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolFilter)(nil)).Elem() +} + +func (o GetVpcIpamPoolFilterArrayOutput) ToGetVpcIpamPoolFilterArrayOutput() GetVpcIpamPoolFilterArrayOutput { + return o +} + +func (o GetVpcIpamPoolFilterArrayOutput) ToGetVpcIpamPoolFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolFilterArrayOutput { + return o +} + +func (o GetVpcIpamPoolFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolFilter { + return vs[0].([]GetVpcIpamPoolFilter)[vs[1].(int)] + }).(GetVpcIpamPoolFilterOutput) +} + +type GetVpcIpamPoolSourceResource struct { + // (Required) ID of the resource. + ResourceId string `pulumi:"resourceId"` + // (Required) Owner of the resource. + ResourceOwner string `pulumi:"resourceOwner"` + // (Required) Region where the resource exists. Must match the `locale` of the parent IPAM Pool. + ResourceRegion string `pulumi:"resourceRegion"` + // (Required) Type of the resource. (`vpc`) + ResourceType string `pulumi:"resourceType"` +} + +// GetVpcIpamPoolSourceResourceInput is an input type that accepts GetVpcIpamPoolSourceResourceArgs and GetVpcIpamPoolSourceResourceOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolSourceResourceInput` via: +// +// GetVpcIpamPoolSourceResourceArgs{...} +type GetVpcIpamPoolSourceResourceInput interface { + pulumi.Input + + ToGetVpcIpamPoolSourceResourceOutput() GetVpcIpamPoolSourceResourceOutput + ToGetVpcIpamPoolSourceResourceOutputWithContext(context.Context) GetVpcIpamPoolSourceResourceOutput +} + +type GetVpcIpamPoolSourceResourceArgs struct { + // (Required) ID of the resource. + ResourceId pulumi.StringInput `pulumi:"resourceId"` + // (Required) Owner of the resource. + ResourceOwner pulumi.StringInput `pulumi:"resourceOwner"` + // (Required) Region where the resource exists. Must match the `locale` of the parent IPAM Pool. + ResourceRegion pulumi.StringInput `pulumi:"resourceRegion"` + // (Required) Type of the resource. (`vpc`) + ResourceType pulumi.StringInput `pulumi:"resourceType"` +} + +func (GetVpcIpamPoolSourceResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolSourceResource)(nil)).Elem() +} + +func (i GetVpcIpamPoolSourceResourceArgs) ToGetVpcIpamPoolSourceResourceOutput() GetVpcIpamPoolSourceResourceOutput { + return i.ToGetVpcIpamPoolSourceResourceOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolSourceResourceArgs) ToGetVpcIpamPoolSourceResourceOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolSourceResourceOutput) +} + +// GetVpcIpamPoolSourceResourceArrayInput is an input type that accepts GetVpcIpamPoolSourceResourceArray and GetVpcIpamPoolSourceResourceArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolSourceResourceArrayInput` via: +// +// GetVpcIpamPoolSourceResourceArray{ GetVpcIpamPoolSourceResourceArgs{...} } +type GetVpcIpamPoolSourceResourceArrayInput interface { + pulumi.Input + + ToGetVpcIpamPoolSourceResourceArrayOutput() GetVpcIpamPoolSourceResourceArrayOutput + ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(context.Context) GetVpcIpamPoolSourceResourceArrayOutput +} + +type GetVpcIpamPoolSourceResourceArray []GetVpcIpamPoolSourceResourceInput + +func (GetVpcIpamPoolSourceResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolSourceResource)(nil)).Elem() +} + +func (i GetVpcIpamPoolSourceResourceArray) ToGetVpcIpamPoolSourceResourceArrayOutput() GetVpcIpamPoolSourceResourceArrayOutput { + return i.ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolSourceResourceArray) ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolSourceResourceArrayOutput) +} + +type GetVpcIpamPoolSourceResourceOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolSourceResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolSourceResource)(nil)).Elem() +} + +func (o GetVpcIpamPoolSourceResourceOutput) ToGetVpcIpamPoolSourceResourceOutput() GetVpcIpamPoolSourceResourceOutput { + return o +} + +func (o GetVpcIpamPoolSourceResourceOutput) ToGetVpcIpamPoolSourceResourceOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceOutput { + return o +} + +// (Required) ID of the resource. +func (o GetVpcIpamPoolSourceResourceOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceId }).(pulumi.StringOutput) +} + +// (Required) Owner of the resource. +func (o GetVpcIpamPoolSourceResourceOutput) ResourceOwner() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceOwner }).(pulumi.StringOutput) +} + +// (Required) Region where the resource exists. Must match the `locale` of the parent IPAM Pool. +func (o GetVpcIpamPoolSourceResourceOutput) ResourceRegion() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceRegion }).(pulumi.StringOutput) +} + +// (Required) Type of the resource. (`vpc`) +func (o GetVpcIpamPoolSourceResourceOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolSourceResource) string { return v.ResourceType }).(pulumi.StringOutput) +} + +type GetVpcIpamPoolSourceResourceArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolSourceResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolSourceResource)(nil)).Elem() +} + +func (o GetVpcIpamPoolSourceResourceArrayOutput) ToGetVpcIpamPoolSourceResourceArrayOutput() GetVpcIpamPoolSourceResourceArrayOutput { + return o +} + +func (o GetVpcIpamPoolSourceResourceArrayOutput) ToGetVpcIpamPoolSourceResourceArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolSourceResourceArrayOutput { + return o +} + +func (o GetVpcIpamPoolSourceResourceArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolSourceResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolSourceResource { + return vs[0].([]GetVpcIpamPoolSourceResource)[vs[1].(int)] + }).(GetVpcIpamPoolSourceResourceOutput) +} + +type GetVpcIpamPoolsFilter struct { + // The name of the filter. Filter names are case-sensitive. + Name string `pulumi:"name"` + // The filter values. Filter values are case-sensitive. + Values []string `pulumi:"values"` +} + +// GetVpcIpamPoolsFilterInput is an input type that accepts GetVpcIpamPoolsFilterArgs and GetVpcIpamPoolsFilterOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolsFilterInput` via: +// +// GetVpcIpamPoolsFilterArgs{...} +type GetVpcIpamPoolsFilterInput interface { + pulumi.Input + + ToGetVpcIpamPoolsFilterOutput() GetVpcIpamPoolsFilterOutput + ToGetVpcIpamPoolsFilterOutputWithContext(context.Context) GetVpcIpamPoolsFilterOutput +} + +type GetVpcIpamPoolsFilterArgs struct { + // The name of the filter. Filter names are case-sensitive. + Name pulumi.StringInput `pulumi:"name"` + // The filter values. Filter values are case-sensitive. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVpcIpamPoolsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolsFilter)(nil)).Elem() +} + +func (i GetVpcIpamPoolsFilterArgs) ToGetVpcIpamPoolsFilterOutput() GetVpcIpamPoolsFilterOutput { + return i.ToGetVpcIpamPoolsFilterOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolsFilterArgs) ToGetVpcIpamPoolsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsFilterOutput) +} + +// GetVpcIpamPoolsFilterArrayInput is an input type that accepts GetVpcIpamPoolsFilterArray and GetVpcIpamPoolsFilterArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolsFilterArrayInput` via: +// +// GetVpcIpamPoolsFilterArray{ GetVpcIpamPoolsFilterArgs{...} } +type GetVpcIpamPoolsFilterArrayInput interface { + pulumi.Input + + ToGetVpcIpamPoolsFilterArrayOutput() GetVpcIpamPoolsFilterArrayOutput + ToGetVpcIpamPoolsFilterArrayOutputWithContext(context.Context) GetVpcIpamPoolsFilterArrayOutput +} + +type GetVpcIpamPoolsFilterArray []GetVpcIpamPoolsFilterInput + +func (GetVpcIpamPoolsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolsFilter)(nil)).Elem() +} + +func (i GetVpcIpamPoolsFilterArray) ToGetVpcIpamPoolsFilterArrayOutput() GetVpcIpamPoolsFilterArrayOutput { + return i.ToGetVpcIpamPoolsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolsFilterArray) ToGetVpcIpamPoolsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsFilterArrayOutput) +} + +type GetVpcIpamPoolsFilterOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolsFilter)(nil)).Elem() +} + +func (o GetVpcIpamPoolsFilterOutput) ToGetVpcIpamPoolsFilterOutput() GetVpcIpamPoolsFilterOutput { + return o +} + +func (o GetVpcIpamPoolsFilterOutput) ToGetVpcIpamPoolsFilterOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterOutput { + return o +} + +// The name of the filter. Filter names are case-sensitive. +func (o GetVpcIpamPoolsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// The filter values. Filter values are case-sensitive. +func (o GetVpcIpamPoolsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpcIpamPoolsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVpcIpamPoolsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolsFilter)(nil)).Elem() +} + +func (o GetVpcIpamPoolsFilterArrayOutput) ToGetVpcIpamPoolsFilterArrayOutput() GetVpcIpamPoolsFilterArrayOutput { + return o +} + +func (o GetVpcIpamPoolsFilterArrayOutput) ToGetVpcIpamPoolsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsFilterArrayOutput { + return o +} + +func (o GetVpcIpamPoolsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolsFilter { + return vs[0].([]GetVpcIpamPoolsFilter)[vs[1].(int)] + }).(GetVpcIpamPoolsFilterOutput) +} + +type GetVpcIpamPoolsIpamPool struct { + // IP protocol assigned to this pool. + AddressFamily string `pulumi:"addressFamily"` + // A 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 int `pulumi:"allocationDefaultNetmaskLength"` + // The maximum netmask length that will be required for CIDR allocations in this pool. + AllocationMaxNetmaskLength int `pulumi:"allocationMaxNetmaskLength"` + // The minimum netmask length that will be required for CIDR allocations in this pool. + AllocationMinNetmaskLength int `pulumi:"allocationMinNetmaskLength"` + // Tags that are required to create resources in using this pool. + AllocationResourceTags map[string]string `pulumi:"allocationResourceTags"` + // ARN of the pool + Arn string `pulumi:"arn"` + // If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. + AutoImport bool `pulumi:"autoImport"` + // Limits which service in AWS that the pool can be used in. `ec2` for example, allows users to use space for Elastic IP addresses and VPCs. + AwsService string `pulumi:"awsService"` + // Description for the IPAM pool. + Description string `pulumi:"description"` + // ID of the IPAM pool. + Id string `pulumi:"id"` + // ID of the scope the pool belongs to. + IpamScopeId string `pulumi:"ipamScopeId"` + IpamScopeType string `pulumi:"ipamScopeType"` + // Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. + Locale string `pulumi:"locale"` + PoolDepth int `pulumi:"poolDepth"` + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. + PubliclyAdvertisable bool `pulumi:"publiclyAdvertisable"` + // ID of the source IPAM pool. + SourceIpamPoolId string `pulumi:"sourceIpamPoolId"` + State string `pulumi:"state"` + // Map of tags to assigned to the resource. + Tags map[string]string `pulumi:"tags"` +} + +// GetVpcIpamPoolsIpamPoolInput is an input type that accepts GetVpcIpamPoolsIpamPoolArgs and GetVpcIpamPoolsIpamPoolOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolsIpamPoolInput` via: +// +// GetVpcIpamPoolsIpamPoolArgs{...} +type GetVpcIpamPoolsIpamPoolInput interface { + pulumi.Input + + ToGetVpcIpamPoolsIpamPoolOutput() GetVpcIpamPoolsIpamPoolOutput + ToGetVpcIpamPoolsIpamPoolOutputWithContext(context.Context) GetVpcIpamPoolsIpamPoolOutput +} + +type GetVpcIpamPoolsIpamPoolArgs struct { + // IP protocol assigned to this pool. + AddressFamily pulumi.StringInput `pulumi:"addressFamily"` + // A 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 pulumi.IntInput `pulumi:"allocationDefaultNetmaskLength"` + // The maximum netmask length that will be required for CIDR allocations in this pool. + AllocationMaxNetmaskLength pulumi.IntInput `pulumi:"allocationMaxNetmaskLength"` + // The minimum netmask length that will be required for CIDR allocations in this pool. + AllocationMinNetmaskLength pulumi.IntInput `pulumi:"allocationMinNetmaskLength"` + // Tags that are required to create resources in using this pool. + AllocationResourceTags pulumi.StringMapInput `pulumi:"allocationResourceTags"` + // ARN of the pool + Arn pulumi.StringInput `pulumi:"arn"` + // If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. + AutoImport pulumi.BoolInput `pulumi:"autoImport"` + // Limits which service in AWS that the pool can be used in. `ec2` for example, allows users to use space for Elastic IP addresses and VPCs. + AwsService pulumi.StringInput `pulumi:"awsService"` + // Description for the IPAM pool. + Description pulumi.StringInput `pulumi:"description"` + // ID of the IPAM pool. + Id pulumi.StringInput `pulumi:"id"` + // ID of the scope the pool belongs to. + IpamScopeId pulumi.StringInput `pulumi:"ipamScopeId"` + IpamScopeType pulumi.StringInput `pulumi:"ipamScopeType"` + // Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. + Locale pulumi.StringInput `pulumi:"locale"` + PoolDepth pulumi.IntInput `pulumi:"poolDepth"` + // Defines whether or not IPv6 pool space is publicly advertisable over the internet. + PubliclyAdvertisable pulumi.BoolInput `pulumi:"publiclyAdvertisable"` + // ID of the source IPAM pool. + SourceIpamPoolId pulumi.StringInput `pulumi:"sourceIpamPoolId"` + State pulumi.StringInput `pulumi:"state"` + // Map of tags to assigned to the resource. + Tags pulumi.StringMapInput `pulumi:"tags"` +} + +func (GetVpcIpamPoolsIpamPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolsIpamPool)(nil)).Elem() +} + +func (i GetVpcIpamPoolsIpamPoolArgs) ToGetVpcIpamPoolsIpamPoolOutput() GetVpcIpamPoolsIpamPoolOutput { + return i.ToGetVpcIpamPoolsIpamPoolOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolsIpamPoolArgs) ToGetVpcIpamPoolsIpamPoolOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsIpamPoolOutput) +} + +// GetVpcIpamPoolsIpamPoolArrayInput is an input type that accepts GetVpcIpamPoolsIpamPoolArray and GetVpcIpamPoolsIpamPoolArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamPoolsIpamPoolArrayInput` via: +// +// GetVpcIpamPoolsIpamPoolArray{ GetVpcIpamPoolsIpamPoolArgs{...} } +type GetVpcIpamPoolsIpamPoolArrayInput interface { + pulumi.Input + + ToGetVpcIpamPoolsIpamPoolArrayOutput() GetVpcIpamPoolsIpamPoolArrayOutput + ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(context.Context) GetVpcIpamPoolsIpamPoolArrayOutput +} + +type GetVpcIpamPoolsIpamPoolArray []GetVpcIpamPoolsIpamPoolInput + +func (GetVpcIpamPoolsIpamPoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolsIpamPool)(nil)).Elem() +} + +func (i GetVpcIpamPoolsIpamPoolArray) ToGetVpcIpamPoolsIpamPoolArrayOutput() GetVpcIpamPoolsIpamPoolArrayOutput { + return i.ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamPoolsIpamPoolArray) ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamPoolsIpamPoolArrayOutput) +} + +type GetVpcIpamPoolsIpamPoolOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolsIpamPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamPoolsIpamPool)(nil)).Elem() +} + +func (o GetVpcIpamPoolsIpamPoolOutput) ToGetVpcIpamPoolsIpamPoolOutput() GetVpcIpamPoolsIpamPoolOutput { + return o +} + +func (o GetVpcIpamPoolsIpamPoolOutput) ToGetVpcIpamPoolsIpamPoolOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolOutput { + return o +} + +// IP protocol assigned to this pool. +func (o GetVpcIpamPoolsIpamPoolOutput) AddressFamily() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.AddressFamily }).(pulumi.StringOutput) +} + +// A 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`. +func (o GetVpcIpamPoolsIpamPoolOutput) AllocationDefaultNetmaskLength() pulumi.IntOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.AllocationDefaultNetmaskLength }).(pulumi.IntOutput) +} + +// The maximum netmask length that will be required for CIDR allocations in this pool. +func (o GetVpcIpamPoolsIpamPoolOutput) AllocationMaxNetmaskLength() pulumi.IntOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.AllocationMaxNetmaskLength }).(pulumi.IntOutput) +} + +// The minimum netmask length that will be required for CIDR allocations in this pool. +func (o GetVpcIpamPoolsIpamPoolOutput) AllocationMinNetmaskLength() pulumi.IntOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.AllocationMinNetmaskLength }).(pulumi.IntOutput) +} + +// Tags that are required to create resources in using this pool. +func (o GetVpcIpamPoolsIpamPoolOutput) AllocationResourceTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) map[string]string { return v.AllocationResourceTags }).(pulumi.StringMapOutput) +} + +// ARN of the pool +func (o GetVpcIpamPoolsIpamPoolOutput) Arn() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Arn }).(pulumi.StringOutput) +} + +// If enabled, IPAM will continuously look for resources within the CIDR range of this pool and automatically import them as allocations into your IPAM. +func (o GetVpcIpamPoolsIpamPoolOutput) AutoImport() pulumi.BoolOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) bool { return v.AutoImport }).(pulumi.BoolOutput) +} + +// Limits which service in AWS that the pool can be used in. `ec2` for example, allows users to use space for Elastic IP addresses and VPCs. +func (o GetVpcIpamPoolsIpamPoolOutput) AwsService() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.AwsService }).(pulumi.StringOutput) +} + +// Description for the IPAM pool. +func (o GetVpcIpamPoolsIpamPoolOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Description }).(pulumi.StringOutput) +} + +// ID of the IPAM pool. +func (o GetVpcIpamPoolsIpamPoolOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Id }).(pulumi.StringOutput) +} + +// ID of the scope the pool belongs to. +func (o GetVpcIpamPoolsIpamPoolOutput) IpamScopeId() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.IpamScopeId }).(pulumi.StringOutput) +} + +func (o GetVpcIpamPoolsIpamPoolOutput) IpamScopeType() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.IpamScopeType }).(pulumi.StringOutput) +} + +// Locale is the Region where your pool is available for allocations. You can only create pools with locales that match the operating Regions of the IPAM. You can only create VPCs from a pool whose locale matches the VPC's Region. +func (o GetVpcIpamPoolsIpamPoolOutput) Locale() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.Locale }).(pulumi.StringOutput) +} + +func (o GetVpcIpamPoolsIpamPoolOutput) PoolDepth() pulumi.IntOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) int { return v.PoolDepth }).(pulumi.IntOutput) +} + +// Defines whether or not IPv6 pool space is publicly advertisable over the internet. +func (o GetVpcIpamPoolsIpamPoolOutput) PubliclyAdvertisable() pulumi.BoolOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) bool { return v.PubliclyAdvertisable }).(pulumi.BoolOutput) +} + +// ID of the source IPAM pool. +func (o GetVpcIpamPoolsIpamPoolOutput) SourceIpamPoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.SourceIpamPoolId }).(pulumi.StringOutput) +} + +func (o GetVpcIpamPoolsIpamPoolOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) string { return v.State }).(pulumi.StringOutput) +} + +// Map of tags to assigned to the resource. +func (o GetVpcIpamPoolsIpamPoolOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetVpcIpamPoolsIpamPool) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +} + +type GetVpcIpamPoolsIpamPoolArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamPoolsIpamPoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamPoolsIpamPool)(nil)).Elem() +} + +func (o GetVpcIpamPoolsIpamPoolArrayOutput) ToGetVpcIpamPoolsIpamPoolArrayOutput() GetVpcIpamPoolsIpamPoolArrayOutput { + return o +} + +func (o GetVpcIpamPoolsIpamPoolArrayOutput) ToGetVpcIpamPoolsIpamPoolArrayOutputWithContext(ctx context.Context) GetVpcIpamPoolsIpamPoolArrayOutput { + return o +} + +func (o GetVpcIpamPoolsIpamPoolArrayOutput) Index(i pulumi.IntInput) GetVpcIpamPoolsIpamPoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamPoolsIpamPool { + return vs[0].([]GetVpcIpamPoolsIpamPool)[vs[1].(int)] + }).(GetVpcIpamPoolsIpamPoolOutput) +} + +type GetVpcIpamsFilter struct { + // Name of the field to filter by, as defined by + // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeIpams.html). + Name string `pulumi:"name"` + // Set of values that are accepted for the given field. + // An IPAM resource will be selected if any one of the given values matches. + Values []string `pulumi:"values"` +} + +// GetVpcIpamsFilterInput is an input type that accepts GetVpcIpamsFilterArgs and GetVpcIpamsFilterOutput values. +// You can construct a concrete instance of `GetVpcIpamsFilterInput` via: +// +// GetVpcIpamsFilterArgs{...} +type GetVpcIpamsFilterInput interface { + pulumi.Input + + ToGetVpcIpamsFilterOutput() GetVpcIpamsFilterOutput + ToGetVpcIpamsFilterOutputWithContext(context.Context) GetVpcIpamsFilterOutput +} + +type GetVpcIpamsFilterArgs struct { + // Name of the field to filter by, as defined by + // [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeIpams.html). + Name pulumi.StringInput `pulumi:"name"` + // Set of values that are accepted for the given field. + // An IPAM resource will be selected if any one of the given values matches. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVpcIpamsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamsFilter)(nil)).Elem() +} + +func (i GetVpcIpamsFilterArgs) ToGetVpcIpamsFilterOutput() GetVpcIpamsFilterOutput { + return i.ToGetVpcIpamsFilterOutputWithContext(context.Background()) +} + +func (i GetVpcIpamsFilterArgs) ToGetVpcIpamsFilterOutputWithContext(ctx context.Context) GetVpcIpamsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamsFilterOutput) +} + +// GetVpcIpamsFilterArrayInput is an input type that accepts GetVpcIpamsFilterArray and GetVpcIpamsFilterArrayOutput values. +// You can construct a concrete instance of `GetVpcIpamsFilterArrayInput` via: +// +// GetVpcIpamsFilterArray{ GetVpcIpamsFilterArgs{...} } +type GetVpcIpamsFilterArrayInput interface { + pulumi.Input + + ToGetVpcIpamsFilterArrayOutput() GetVpcIpamsFilterArrayOutput + ToGetVpcIpamsFilterArrayOutputWithContext(context.Context) GetVpcIpamsFilterArrayOutput +} + +type GetVpcIpamsFilterArray []GetVpcIpamsFilterInput + +func (GetVpcIpamsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamsFilter)(nil)).Elem() +} + +func (i GetVpcIpamsFilterArray) ToGetVpcIpamsFilterArrayOutput() GetVpcIpamsFilterArrayOutput { + return i.ToGetVpcIpamsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVpcIpamsFilterArray) ToGetVpcIpamsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVpcIpamsFilterArrayOutput) +} + +type GetVpcIpamsFilterOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVpcIpamsFilter)(nil)).Elem() +} + +func (o GetVpcIpamsFilterOutput) ToGetVpcIpamsFilterOutput() GetVpcIpamsFilterOutput { + return o +} + +func (o GetVpcIpamsFilterOutput) ToGetVpcIpamsFilterOutputWithContext(ctx context.Context) GetVpcIpamsFilterOutput { + return o +} + +// Name of the field to filter by, as defined by +// [the underlying AWS API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeIpams.html). +func (o GetVpcIpamsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVpcIpamsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Set of values that are accepted for the given field. +// An IPAM resource will be selected if any one of the given values matches. +func (o GetVpcIpamsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVpcIpamsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVpcIpamsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVpcIpamsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVpcIpamsFilter)(nil)).Elem() +} + +func (o GetVpcIpamsFilterArrayOutput) ToGetVpcIpamsFilterArrayOutput() GetVpcIpamsFilterArrayOutput { + return o +} + +func (o GetVpcIpamsFilterArrayOutput) ToGetVpcIpamsFilterArrayOutputWithContext(ctx context.Context) GetVpcIpamsFilterArrayOutput { + return o +} + +func (o GetVpcIpamsFilterArrayOutput) Index(i pulumi.IntInput) GetVpcIpamsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVpcIpamsFilter { + return vs[0].([]GetVpcIpamsFilter)[vs[1].(int)] + }).(GetVpcIpamsFilterOutput) +} + type GetVpcIpamsIpam struct { // ARN of the IPAM. Arn string `pulumi:"arn"` @@ -1509,6 +2725,26 @@ func (o GetVpnGatewayFilterArrayOutput) Index(i pulumi.IntInput) GetVpnGatewayFi } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointServiceFilterInput)(nil)).Elem(), GetVpcEndpointServiceFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcEndpointServiceFilterArrayInput)(nil)).Elem(), GetVpcEndpointServiceFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcFilterInput)(nil)).Elem(), GetVpcFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcFilterArrayInput)(nil)).Elem(), GetVpcFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamOperatingRegionInput)(nil)).Elem(), GetVpcIpamOperatingRegionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamOperatingRegionArrayInput)(nil)).Elem(), GetVpcIpamOperatingRegionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsFilterInput)(nil)).Elem(), GetVpcIpamPoolCidrsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsFilterArrayInput)(nil)).Elem(), GetVpcIpamPoolCidrsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidrInput)(nil)).Elem(), GetVpcIpamPoolCidrsIpamPoolCidrArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolCidrsIpamPoolCidrArrayInput)(nil)).Elem(), GetVpcIpamPoolCidrsIpamPoolCidrArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolFilterInput)(nil)).Elem(), GetVpcIpamPoolFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolFilterArrayInput)(nil)).Elem(), GetVpcIpamPoolFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolSourceResourceInput)(nil)).Elem(), GetVpcIpamPoolSourceResourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolSourceResourceArrayInput)(nil)).Elem(), GetVpcIpamPoolSourceResourceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsFilterInput)(nil)).Elem(), GetVpcIpamPoolsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsFilterArrayInput)(nil)).Elem(), GetVpcIpamPoolsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsIpamPoolInput)(nil)).Elem(), GetVpcIpamPoolsIpamPoolArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamPoolsIpamPoolArrayInput)(nil)).Elem(), GetVpcIpamPoolsIpamPoolArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsFilterInput)(nil)).Elem(), GetVpcIpamsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsFilterArrayInput)(nil)).Elem(), GetVpcIpamsFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsIpamInput)(nil)).Elem(), GetVpcIpamsIpamArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsIpamArrayInput)(nil)).Elem(), GetVpcIpamsIpamArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpcIpamsIpamOperatingRegionInput)(nil)).Elem(), GetVpcIpamsIpamOperatingRegionArgs{}) @@ -1535,6 +2771,26 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVpnConnectionVgwTelemetryArrayInput)(nil)).Elem(), GetVpnConnectionVgwTelemetryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpnGatewayFilterInput)(nil)).Elem(), GetVpnGatewayFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVpnGatewayFilterArrayInput)(nil)).Elem(), GetVpnGatewayFilterArray{}) + pulumi.RegisterOutputType(GetVpcEndpointServiceFilterOutput{}) + pulumi.RegisterOutputType(GetVpcEndpointServiceFilterArrayOutput{}) + pulumi.RegisterOutputType(GetVpcFilterOutput{}) + pulumi.RegisterOutputType(GetVpcFilterArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamOperatingRegionOutput{}) + pulumi.RegisterOutputType(GetVpcIpamOperatingRegionArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolCidrsFilterOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolCidrsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolCidrsIpamPoolCidrOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolCidrsIpamPoolCidrArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolFilterOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolFilterArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolSourceResourceOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolSourceResourceArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolsFilterOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolsIpamPoolOutput{}) + pulumi.RegisterOutputType(GetVpcIpamPoolsIpamPoolArrayOutput{}) + pulumi.RegisterOutputType(GetVpcIpamsFilterOutput{}) + pulumi.RegisterOutputType(GetVpcIpamsFilterArrayOutput{}) pulumi.RegisterOutputType(GetVpcIpamsIpamOutput{}) pulumi.RegisterOutputType(GetVpcIpamsIpamArrayOutput{}) pulumi.RegisterOutputType(GetVpcIpamsIpamOperatingRegionOutput{}) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/route.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/route.go index 52228585f..6c7a3b592 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/route.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/route.go @@ -157,6 +157,8 @@ type Route struct { NatGatewayId pulumi.StringPtrOutput `pulumi:"natGatewayId"` // Identifier of an EC2 network interface. NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"` + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn pulumi.StringPtrOutput `pulumi:"odbNetworkArn"` // How the route was created - `CreateRouteTable`, `CreateRoute` or `EnableVgwRoutePropagation`. Origin pulumi.StringOutput `pulumi:"origin"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. @@ -236,6 +238,8 @@ type routeState struct { NatGatewayId *string `pulumi:"natGatewayId"` // Identifier of an EC2 network interface. NetworkInterfaceId *string `pulumi:"networkInterfaceId"` + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn *string `pulumi:"odbNetworkArn"` // How the route was created - `CreateRouteTable`, `CreateRoute` or `EnableVgwRoutePropagation`. Origin *string `pulumi:"origin"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. @@ -283,6 +287,8 @@ type RouteState struct { NatGatewayId pulumi.StringPtrInput // Identifier of an EC2 network interface. NetworkInterfaceId pulumi.StringPtrInput + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn pulumi.StringPtrInput // How the route was created - `CreateRouteTable`, `CreateRoute` or `EnableVgwRoutePropagation`. Origin pulumi.StringPtrInput // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. @@ -330,6 +336,8 @@ type routeArgs struct { NatGatewayId *string `pulumi:"natGatewayId"` // Identifier of an EC2 network interface. NetworkInterfaceId *string `pulumi:"networkInterfaceId"` + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn *string `pulumi:"odbNetworkArn"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region *string `pulumi:"region"` // The ID of the routing table. @@ -370,6 +378,8 @@ type RouteArgs struct { NatGatewayId pulumi.StringPtrInput // Identifier of an EC2 network interface. NetworkInterfaceId pulumi.StringPtrInput + // The Amazon Resource Name (ARN) of an ODB network. + OdbNetworkArn pulumi.StringPtrInput // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region pulumi.StringPtrInput // The ID of the routing table. @@ -535,6 +545,11 @@ func (o RouteOutput) NetworkInterfaceId() pulumi.StringOutput { return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.NetworkInterfaceId }).(pulumi.StringOutput) } +// The Amazon Resource Name (ARN) of an ODB network. +func (o RouteOutput) OdbNetworkArn() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Route) pulumi.StringPtrOutput { return v.OdbNetworkArn }).(pulumi.StringPtrOutput) +} + // How the route was created - `CreateRouteTable`, `CreateRoute` or `EnableVgwRoutePropagation`. func (o RouteOutput) Origin() pulumi.StringOutput { return o.ApplyT(func(v *Route) pulumi.StringOutput { return v.Origin }).(pulumi.StringOutput) diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroup.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroup.go index 90e46995e..44976d2cf 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroup.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroup.go @@ -15,7 +15,7 @@ import ( // // > **NOTE:** Avoid using the `ingress` and `egress` arguments of the `ec2.SecurityGroup` resource to configure in-line rules, as they struggle with managing multiple CIDR blocks, and, due to the historical lack of unique IDs, tags and descriptions. To avoid these problems, use the current best practice of the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources with one CIDR block per rule. // -// !> **WARNING:** You should not use the `ec2.SecurityGroup` resource with _in-line rules_ (using the `ingress` and `egress` arguments of `ec2.SecurityGroup`) in conjunction with the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources or the `ec2.SecurityGroupRule` resource. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten. +// > **WARNING:** You should not use the `ec2.SecurityGroup` resource with _in-line rules_ (using the `ingress` and `egress` arguments of `ec2.SecurityGroup`) in conjunction with the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources or the `ec2.SecurityGroupRule` resource. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten. // // > **NOTE:** Referencing Security Groups across VPC peering has certain restrictions. More information is available in the [VPC Peering User Guide](https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html). // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroupRule.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroupRule.go index c18424ae0..8525beadd 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroupRule.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/securityGroupRule.go @@ -16,7 +16,7 @@ import ( // // > **NOTE:** Avoid using the `ec2.SecurityGroupRule` resource, as it struggles with managing multiple CIDR blocks, and, due to the historical lack of unique IDs, tags and descriptions. To avoid these problems, use the current best practice of the `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources with one CIDR block per rule. // -// !> **WARNING:** You should not use the `ec2.SecurityGroupRule` resource in conjunction with `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources or with an `ec2.SecurityGroup` resource that has in-line rules. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten. +// > **WARNING:** You should not use the `ec2.SecurityGroupRule` resource in conjunction with `vpc.SecurityGroupEgressRule` and `vpc.SecurityGroupIngressRule` resources or with an `ec2.SecurityGroup` resource that has in-line rules. Doing so may cause rule conflicts, perpetual differences, and result in rules being overwritten. // // > **NOTE:** Setting `protocol = "all"` or `protocol = -1` with `fromPort` and `toPort` will result in the EC2 API creating a security group rule with all ports open. This API behavior cannot be controlled by this provider and may generate warnings in the future. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/vpcSecurityGroupRulesExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/vpcSecurityGroupRulesExclusive.go index 55b767fd4..97989f346 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/vpcSecurityGroupRulesExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2/vpcSecurityGroupRulesExclusive.go @@ -16,7 +16,7 @@ import ( // // This resource manages the complete set of ingress and egress rules assigned to a security group. It provides exclusive control by removing any rules not explicitly defined in the configuration. // -// !> This resource takes exclusive ownership over ingress and egress rules assigned to a security group. This includes removal of rules which are not explicitly configured. To prevent persistent drift, ensure any `vpc.SecurityGroupIngressRule` and `vpc.SecurityGroupEgressRule` resources managed alongside this resource are included in the `ingressRuleIds` and `egressRuleIds` arguments. +// > This resource takes exclusive ownership over ingress and egress rules assigned to a security group. This includes removal of rules which are not explicitly configured. To prevent persistent drift, ensure any `vpc.SecurityGroupIngressRule` and `vpc.SecurityGroupEgressRule` resources managed alongside this resource are included in the `ingressRuleIds` and `egressRuleIds` arguments. // // > Destruction of this resource means Terraform will no longer manage reconciliation of the configured security group rules. It **will not** revoke the configured rules from the security group. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/expressGatewayService.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/expressGatewayService.go index 6189042ad..d0b481fd0 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/expressGatewayService.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/expressGatewayService.go @@ -12,9 +12,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Manages an ECS Express service. The Express service provides a simplified way to deploy containerized applications with automatic provisioning and management of AWS infrastructure including Application Load Balancers (ALBs), target groups, security groups, and auto-scaling policies. This service offers built-in load balancing, auto-scaling, and networking capabilities with zero-downtime deployments. -// -// Express services automatically handle infrastructure provisioning and updates through rolling deployments, ensuring high availability during service modifications. When you update an Express service, a new service revision is created and deployed with zero downtime. +// Manages an [ECS Express service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/express-service-overview.html). The Express service provides a simplified way to deploy containerized applications with automatic provisioning and management of AWS infrastructure including Application Load Balancers (ALBs), target groups, security groups, and auto-scaling policies. This service offers built-in load balancing, auto-scaling, and networking capabilities with zero-downtime deployments. // // > **Note:** To prevent a race condition during service deletion, make sure to set `dependsOn` to the related `iam.RolePolicy` or `iam.RolePolicyAttachment` resources. Otherwise, the policy may be destroyed too soon and the ECS service will then get stuck in the `DRAINING` state. // @@ -54,7 +52,7 @@ import ( // // ### Updates // -// When you update an Express service configuration, a new service revision is created and deployed using a rolling deployment strategy with zero downtime. The service automatically manages the transition from the old configuration to the new one, ensuring continuous availability. +// When you update an Express service configuration, a new service revision is created and deployed using a canary deployment strategy with zero downtime. For more information, see [Updating an Express service](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/express-service-update.html). // // ### Deletion // @@ -72,7 +70,7 @@ type ExpressGatewayService struct { // Name or ARN of the ECS cluster. Defaults to `default`. Cluster pulumi.StringOutput `pulumi:"cluster"` - // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. + // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`. Cpu pulumi.StringOutput `pulumi:"cpu"` // (**Deprecated**) ARN of the current deployment. // @@ -80,7 +78,7 @@ type ExpressGatewayService struct { CurrentDeployment pulumi.StringOutput `pulumi:"currentDeployment"` // ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch. ExecutionRoleArn pulumi.StringOutput `pulumi:"executionRoleArn"` - // Path for health check requests. Defaults to `/ping`. + // Path for health check requests. Defaults to `/`. HealthCheckPath pulumi.StringOutput `pulumi:"healthCheckPath"` // ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. // @@ -88,7 +86,7 @@ type ExpressGatewayService struct { InfrastructureRoleArn pulumi.StringOutput `pulumi:"infrastructureRoleArn"` // List of ingress paths with access type and endpoint information. IngressPaths ExpressGatewayServiceIngressPathArrayOutput `pulumi:"ingressPaths"` - // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. + // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`. Memory pulumi.StringOutput `pulumi:"memory"` NetworkConfigurations ExpressGatewayServiceNetworkConfigurationArrayOutput `pulumi:"networkConfigurations"` PrimaryContainer ExpressGatewayServicePrimaryContainerOutput `pulumi:"primaryContainer"` @@ -153,7 +151,7 @@ func GetExpressGatewayService(ctx *pulumi.Context, type expressGatewayServiceState struct { // Name or ARN of the ECS cluster. Defaults to `default`. Cluster *string `pulumi:"cluster"` - // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. + // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`. Cpu *string `pulumi:"cpu"` // (**Deprecated**) ARN of the current deployment. // @@ -161,7 +159,7 @@ type expressGatewayServiceState struct { CurrentDeployment *string `pulumi:"currentDeployment"` // ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch. ExecutionRoleArn *string `pulumi:"executionRoleArn"` - // Path for health check requests. Defaults to `/ping`. + // Path for health check requests. Defaults to `/`. HealthCheckPath *string `pulumi:"healthCheckPath"` // ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. // @@ -169,7 +167,7 @@ type expressGatewayServiceState struct { InfrastructureRoleArn *string `pulumi:"infrastructureRoleArn"` // List of ingress paths with access type and endpoint information. IngressPaths []ExpressGatewayServiceIngressPath `pulumi:"ingressPaths"` - // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. + // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`. Memory *string `pulumi:"memory"` NetworkConfigurations []ExpressGatewayServiceNetworkConfiguration `pulumi:"networkConfigurations"` PrimaryContainer *ExpressGatewayServicePrimaryContainer `pulumi:"primaryContainer"` @@ -196,7 +194,7 @@ type expressGatewayServiceState struct { type ExpressGatewayServiceState struct { // Name or ARN of the ECS cluster. Defaults to `default`. Cluster pulumi.StringPtrInput - // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. + // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`. Cpu pulumi.StringPtrInput // (**Deprecated**) ARN of the current deployment. // @@ -204,7 +202,7 @@ type ExpressGatewayServiceState struct { CurrentDeployment pulumi.StringPtrInput // ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch. ExecutionRoleArn pulumi.StringPtrInput - // Path for health check requests. Defaults to `/ping`. + // Path for health check requests. Defaults to `/`. HealthCheckPath pulumi.StringPtrInput // ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. // @@ -212,7 +210,7 @@ type ExpressGatewayServiceState struct { InfrastructureRoleArn pulumi.StringPtrInput // List of ingress paths with access type and endpoint information. IngressPaths ExpressGatewayServiceIngressPathArrayInput - // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. + // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`. Memory pulumi.StringPtrInput NetworkConfigurations ExpressGatewayServiceNetworkConfigurationArrayInput PrimaryContainer ExpressGatewayServicePrimaryContainerPtrInput @@ -243,17 +241,17 @@ func (ExpressGatewayServiceState) ElementType() reflect.Type { type expressGatewayServiceArgs struct { // Name or ARN of the ECS cluster. Defaults to `default`. Cluster *string `pulumi:"cluster"` - // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. + // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`. Cpu *string `pulumi:"cpu"` // ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch. ExecutionRoleArn string `pulumi:"executionRoleArn"` - // Path for health check requests. Defaults to `/ping`. + // Path for health check requests. Defaults to `/`. HealthCheckPath *string `pulumi:"healthCheckPath"` // ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. // // The following arguments are optional: InfrastructureRoleArn string `pulumi:"infrastructureRoleArn"` - // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. + // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`. Memory *string `pulumi:"memory"` NetworkConfigurations []ExpressGatewayServiceNetworkConfiguration `pulumi:"networkConfigurations"` PrimaryContainer ExpressGatewayServicePrimaryContainer `pulumi:"primaryContainer"` @@ -275,17 +273,17 @@ type expressGatewayServiceArgs struct { type ExpressGatewayServiceArgs struct { // Name or ARN of the ECS cluster. Defaults to `default`. Cluster pulumi.StringPtrInput - // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. + // Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`. Cpu pulumi.StringPtrInput // ARN of the IAM role that allows ECS to pull container images and publish container logs to Amazon CloudWatch. ExecutionRoleArn pulumi.StringInput - // Path for health check requests. Defaults to `/ping`. + // Path for health check requests. Defaults to `/`. HealthCheckPath pulumi.StringPtrInput // ARN of the IAM role that allows ECS to manage AWS infrastructure on your behalf. **Important:** The infrastructure role cannot be modified after the service is created. Changing this forces a new resource to be created. // // The following arguments are optional: InfrastructureRoleArn pulumi.StringInput - // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. + // Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`. Memory pulumi.StringPtrInput NetworkConfigurations ExpressGatewayServiceNetworkConfigurationArrayInput PrimaryContainer ExpressGatewayServicePrimaryContainerInput @@ -395,7 +393,7 @@ func (o ExpressGatewayServiceOutput) Cluster() pulumi.StringOutput { return o.ApplyT(func(v *ExpressGatewayService) pulumi.StringOutput { return v.Cluster }).(pulumi.StringOutput) } -// Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. +// Number of CPU units used by the task. Valid values are powers of 2 between 256 and 4096. Defaults to `1024`. func (o ExpressGatewayServiceOutput) Cpu() pulumi.StringOutput { return o.ApplyT(func(v *ExpressGatewayService) pulumi.StringOutput { return v.Cpu }).(pulumi.StringOutput) } @@ -412,7 +410,7 @@ func (o ExpressGatewayServiceOutput) ExecutionRoleArn() pulumi.StringOutput { return o.ApplyT(func(v *ExpressGatewayService) pulumi.StringOutput { return v.ExecutionRoleArn }).(pulumi.StringOutput) } -// Path for health check requests. Defaults to `/ping`. +// Path for health check requests. Defaults to `/`. func (o ExpressGatewayServiceOutput) HealthCheckPath() pulumi.StringOutput { return o.ApplyT(func(v *ExpressGatewayService) pulumi.StringOutput { return v.HealthCheckPath }).(pulumi.StringOutput) } @@ -429,7 +427,7 @@ func (o ExpressGatewayServiceOutput) IngressPaths() ExpressGatewayServiceIngress return o.ApplyT(func(v *ExpressGatewayService) ExpressGatewayServiceIngressPathArrayOutput { return v.IngressPaths }).(ExpressGatewayServiceIngressPathArrayOutput) } -// Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. +// Amount of memory (in MiB) used by the task. Valid values are between 512 and 8192. Defaults to `2048`. func (o ExpressGatewayServiceOutput) Memory() pulumi.StringOutput { return o.ApplyT(func(v *ExpressGatewayService) pulumi.StringOutput { return v.Memory }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/pulumiTypes.go index 56841b0fa..863f71a42 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ecs/pulumiTypes.go @@ -4586,7 +4586,7 @@ type ExpressGatewayServicePrimaryContainer struct { AwsLogsConfigurations []ExpressGatewayServicePrimaryContainerAwsLogsConfiguration `pulumi:"awsLogsConfigurations"` // Command to run in the container. Overrides the default command from the Docker image. Commands []string `pulumi:"commands"` - // Port on which the container listens for connections. + // Port on which the container listens for connections. Defaults to `80`. ContainerPort *int `pulumi:"containerPort"` Environments []ExpressGatewayServicePrimaryContainerEnvironment `pulumi:"environments"` // Docker image to use for the container. @@ -4610,7 +4610,7 @@ type ExpressGatewayServicePrimaryContainerArgs struct { AwsLogsConfigurations ExpressGatewayServicePrimaryContainerAwsLogsConfigurationArrayInput `pulumi:"awsLogsConfigurations"` // Command to run in the container. Overrides the default command from the Docker image. Commands pulumi.StringArrayInput `pulumi:"commands"` - // Port on which the container listens for connections. + // Port on which the container listens for connections. Defaults to `80`. ContainerPort pulumi.IntPtrInput `pulumi:"containerPort"` Environments ExpressGatewayServicePrimaryContainerEnvironmentArrayInput `pulumi:"environments"` // Docker image to use for the container. @@ -4707,7 +4707,7 @@ func (o ExpressGatewayServicePrimaryContainerOutput) Commands() pulumi.StringArr return o.ApplyT(func(v ExpressGatewayServicePrimaryContainer) []string { return v.Commands }).(pulumi.StringArrayOutput) } -// Port on which the container listens for connections. +// Port on which the container listens for connections. Defaults to `80`. func (o ExpressGatewayServicePrimaryContainerOutput) ContainerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v ExpressGatewayServicePrimaryContainer) *int { return v.ContainerPort }).(pulumi.IntPtrOutput) } @@ -4778,7 +4778,7 @@ func (o ExpressGatewayServicePrimaryContainerPtrOutput) Commands() pulumi.String }).(pulumi.StringArrayOutput) } -// Port on which the container listens for connections. +// Port on which the container listens for connections. Defaults to `80`. func (o ExpressGatewayServicePrimaryContainerPtrOutput) ContainerPort() pulumi.IntPtrOutput { return o.ApplyT(func(v *ExpressGatewayServicePrimaryContainer) *int { if v == nil { @@ -5284,9 +5284,9 @@ type ExpressGatewayServiceScalingTarget struct { AutoScalingMetric string `pulumi:"autoScalingMetric"` // Target value for the auto-scaling metric (as a percentage). Defaults to `60`. AutoScalingTargetValue int `pulumi:"autoScalingTargetValue"` - // Maximum number of tasks to run. + // Maximum number of tasks to run. Defaults to `20`. MaxTaskCount int `pulumi:"maxTaskCount"` - // Minimum number of tasks to run. + // Minimum number of tasks to run. Defaults to `1`. MinTaskCount int `pulumi:"minTaskCount"` } @@ -5306,9 +5306,9 @@ type ExpressGatewayServiceScalingTargetArgs struct { AutoScalingMetric pulumi.StringInput `pulumi:"autoScalingMetric"` // Target value for the auto-scaling metric (as a percentage). Defaults to `60`. AutoScalingTargetValue pulumi.IntInput `pulumi:"autoScalingTargetValue"` - // Maximum number of tasks to run. + // Maximum number of tasks to run. Defaults to `20`. MaxTaskCount pulumi.IntInput `pulumi:"maxTaskCount"` - // Minimum number of tasks to run. + // Minimum number of tasks to run. Defaults to `1`. MinTaskCount pulumi.IntInput `pulumi:"minTaskCount"` } @@ -5373,12 +5373,12 @@ func (o ExpressGatewayServiceScalingTargetOutput) AutoScalingTargetValue() pulum return o.ApplyT(func(v ExpressGatewayServiceScalingTarget) int { return v.AutoScalingTargetValue }).(pulumi.IntOutput) } -// Maximum number of tasks to run. +// Maximum number of tasks to run. Defaults to `20`. func (o ExpressGatewayServiceScalingTargetOutput) MaxTaskCount() pulumi.IntOutput { return o.ApplyT(func(v ExpressGatewayServiceScalingTarget) int { return v.MaxTaskCount }).(pulumi.IntOutput) } -// Minimum number of tasks to run. +// Minimum number of tasks to run. Defaults to `1`. func (o ExpressGatewayServiceScalingTargetOutput) MinTaskCount() pulumi.IntOutput { return o.ApplyT(func(v ExpressGatewayServiceScalingTarget) int { return v.MinTaskCount }).(pulumi.IntOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/cluster.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/cluster.go index c50f9557a..d132a9d72 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/cluster.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/cluster.go @@ -72,7 +72,7 @@ import ( // AuthenticationMode: pulumi.String("API"), // }, // RoleArn: cluster.Arn, -// Version: pulumi.String("1.31"), +// Version: pulumi.String("1.35"), // VpcConfig: &eks.ClusterVpcConfigArgs{ // SubnetIds: pulumi.StringArray{ // az1.Id, @@ -203,7 +203,7 @@ import ( // AuthenticationMode: pulumi.String("API"), // }, // RoleArn: cluster.Arn, -// Version: pulumi.String("1.31"), +// Version: pulumi.String("1.35"), // BootstrapSelfManagedAddons: pulumi.Bool(false), // ComputeConfig: &eks.ClusterComputeConfigArgs{ // Enabled: pulumi.Bool(true), @@ -317,7 +317,7 @@ import ( // AuthenticationMode: pulumi.String("API"), // }, // RoleArn: cluster.Arn, -// Version: pulumi.String("1.31"), +// Version: pulumi.String("1.35"), // RemoteNetworkConfig: &eks.ClusterRemoteNetworkConfigArgs{ // RemoteNodeNetworks: &eks.ClusterRemoteNetworkConfigRemoteNodeNetworksArgs{ // Cidrs: pulumi.StringArray{ @@ -419,7 +419,7 @@ import ( // AuthenticationMode: pulumi.String("CONFIG_MAP"), // }, // RoleArn: cluster.Arn, -// Version: pulumi.String("1.31"), +// Version: pulumi.String("1.35"), // VpcConfig: &eks.ClusterVpcConfigArgs{ // EndpointPrivateAccess: pulumi.Bool(true), // EndpointPublicAccess: pulumi.Bool(false), diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go index 3d92ab1d5..5c1d14704 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/eks/pulumiTypes.go @@ -3264,7 +3264,7 @@ func (o ClusterOutpostConfigControlPlanePlacementPtrOutput) GroupName() pulumi.S type ClusterRemoteNetworkConfig struct { // Configuration block with remote node network configuration for EKS Hybrid Nodes. Detailed below. - RemoteNodeNetworks ClusterRemoteNetworkConfigRemoteNodeNetworks `pulumi:"remoteNodeNetworks"` + RemoteNodeNetworks *ClusterRemoteNetworkConfigRemoteNodeNetworks `pulumi:"remoteNodeNetworks"` // Configuration block with remote pod network configuration for EKS Hybrid Nodes. Detailed below. RemotePodNetworks *ClusterRemoteNetworkConfigRemotePodNetworks `pulumi:"remotePodNetworks"` } @@ -3282,7 +3282,7 @@ type ClusterRemoteNetworkConfigInput interface { type ClusterRemoteNetworkConfigArgs struct { // Configuration block with remote node network configuration for EKS Hybrid Nodes. Detailed below. - RemoteNodeNetworks ClusterRemoteNetworkConfigRemoteNodeNetworksInput `pulumi:"remoteNodeNetworks"` + RemoteNodeNetworks ClusterRemoteNetworkConfigRemoteNodeNetworksPtrInput `pulumi:"remoteNodeNetworks"` // Configuration block with remote pod network configuration for EKS Hybrid Nodes. Detailed below. RemotePodNetworks ClusterRemoteNetworkConfigRemotePodNetworksPtrInput `pulumi:"remotePodNetworks"` } @@ -3365,10 +3365,10 @@ func (o ClusterRemoteNetworkConfigOutput) ToClusterRemoteNetworkConfigPtrOutputW } // Configuration block with remote node network configuration for EKS Hybrid Nodes. Detailed below. -func (o ClusterRemoteNetworkConfigOutput) RemoteNodeNetworks() ClusterRemoteNetworkConfigRemoteNodeNetworksOutput { - return o.ApplyT(func(v ClusterRemoteNetworkConfig) ClusterRemoteNetworkConfigRemoteNodeNetworks { +func (o ClusterRemoteNetworkConfigOutput) RemoteNodeNetworks() ClusterRemoteNetworkConfigRemoteNodeNetworksPtrOutput { + return o.ApplyT(func(v ClusterRemoteNetworkConfig) *ClusterRemoteNetworkConfigRemoteNodeNetworks { return v.RemoteNodeNetworks - }).(ClusterRemoteNetworkConfigRemoteNodeNetworksOutput) + }).(ClusterRemoteNetworkConfigRemoteNodeNetworksPtrOutput) } // Configuration block with remote pod network configuration for EKS Hybrid Nodes. Detailed below. @@ -3408,7 +3408,7 @@ func (o ClusterRemoteNetworkConfigPtrOutput) RemoteNodeNetworks() ClusterRemoteN if v == nil { return nil } - return &v.RemoteNodeNetworks + return v.RemoteNodeNetworks }).(ClusterRemoteNetworkConfigRemoteNodeNetworksPtrOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getArn.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getArn.go index 6b9e9d666..bee1e1d3f 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getArn.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getArn.go @@ -51,8 +51,9 @@ func GetArn(ctx *pulumi.Context, args *GetArnArgs, opts ...pulumi.InvokeOption) // A collection of arguments for invoking getArn. type GetArnArgs struct { // ARN to parse. - Arn string `pulumi:"arn"` - Id *string `pulumi:"id"` + Arn string `pulumi:"arn"` + // Deprecated: Use 'arn' instead. This attribute will be removed in a future version of the provider. + Id *string `pulumi:"id"` } // A collection of values returned by getArn. @@ -60,7 +61,8 @@ type GetArnResult struct { // The [ID](https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html) of the AWS account that owns the resource, without the hyphens. Account string `pulumi:"account"` Arn string `pulumi:"arn"` - Id string `pulumi:"id"` + // Deprecated: Use 'arn' instead. This attribute will be removed in a future version of the provider. + Id string `pulumi:"id"` // Partition that the resource is in. Partition string `pulumi:"partition"` // Region the resource resides in. @@ -85,8 +87,9 @@ func GetArnOutput(ctx *pulumi.Context, args GetArnOutputArgs, opts ...pulumi.Inv // A collection of arguments for invoking getArn. type GetArnOutputArgs struct { // ARN to parse. - Arn pulumi.StringInput `pulumi:"arn"` - Id pulumi.StringPtrInput `pulumi:"id"` + Arn pulumi.StringInput `pulumi:"arn"` + // Deprecated: Use 'arn' instead. This attribute will be removed in a future version of the provider. + Id pulumi.StringPtrInput `pulumi:"id"` } func (GetArnOutputArgs) ElementType() reflect.Type { @@ -117,6 +120,7 @@ func (o GetArnResultOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v GetArnResult) string { return v.Arn }).(pulumi.StringOutput) } +// Deprecated: Use 'arn' instead. This attribute will be removed in a future version of the provider. func (o GetArnResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetArnResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZone.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZone.go index 317bc2589..5776bb3c6 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZone.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZone.go @@ -40,76 +40,73 @@ import ( // "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" // // ) -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// cfg := config.New(ctx, "") -// regionNumber := map[string]interface{}{ -// "ap-northeast-1": 5, -// "eu-central-1": 4, -// "us-east-1": 1, -// "us-west-1": 2, -// "us-west-2": 3, -// }; -// if param := cfg.GetObject("regionNumber"); param != nil { -// regionNumber = param -// } -// azNumber := map[string]interface{}{ -// "a": 1, -// "b": 2, -// "c": 3, -// "d": 4, -// "e": 5, -// "f": 6, -// }; -// if param := cfg.GetObject("azNumber"); param != nil { -// azNumber = param -// } -// // Retrieve the AZ where we want to create network resources -// // This must be in the region selected on the AWS provider. -// example, err := aws.GetAvailabilityZone(ctx, &aws.GetAvailabilityZoneArgs{ -// Name: pulumi.StringRef("eu-central-1a"), -// }, nil); -// if err != nil { -// return err -// } -// invokeCidrsubnet, err := std.Cidrsubnet(ctx, &std.CidrsubnetArgs{ -// Input: "10.0.0.0/8", -// Newbits: 4, -// Netnum: regionNumber[example.Region], -// }, nil) -// if err != nil { -// return err -// } -// // Create a VPC for the region associated with the AZ -// exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ -// CidrBlock: pulumi.String(invokeCidrsubnet.Result), -// }) -// if err != nil { -// return err -// } -// invokeCidrsubnet1, err := std.Cidrsubnet(ctx, &std.CidrsubnetArgs{ -// Input: cidrBlock, -// Newbits: 4, -// Netnum: pulumi.Int(azNumber[example.NameSuffix]), -// }, nil) -// if err != nil { -// return err -// } -// // Create a subnet for the AZ within the regional VPC -// _, err = ec2.NewSubnet(ctx, "example", &ec2.SubnetArgs{ -// VpcId: exampleVpc.ID(), -// CidrBlock: pulumi.String(exampleVpc.CidrBlock.ApplyT(func(cidrBlock string) (std.CidrsubnetResult, error) { -// %!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference)).(std.CidrsubnetResultOutput).ApplyT(func(invoke std.CidrsubnetResult) (*string, error) { -// val := invoke.Result -// return &val, nil -// }).(pulumi.StringPtrOutput)), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// cfg := config.New(ctx, "") +// regionNumber := map[string]interface{}{ +// "ap-northeast-1": 5, +// "eu-central-1": 4, +// "us-east-1": 1, +// "us-west-1": 2, +// "us-west-2": 3, +// } +// if param := cfg.GetObject("regionNumber"); param != nil { +// regionNumber = param +// } +// azNumber := map[string]interface{}{ +// "a": 1, +// "b": 2, +// "c": 3, +// "d": 4, +// "e": 5, +// "f": 6, +// } +// if param := cfg.GetObject("azNumber"); param != nil { +// azNumber = param +// } +// // Retrieve the AZ where we want to create network resources +// // This must be in the region selected on the AWS provider. +// example, err := aws.GetAvailabilityZone(ctx, &aws.GetAvailabilityZoneArgs{ +// Name: pulumi.StringRef("eu-central-1a"), +// }, nil) +// if err != nil { +// return err +// } +// invokeCidrsubnet, err := std.Cidrsubnet(ctx, &std.CidrsubnetArgs{ +// Input: "10.0.0.0/8", +// Newbits: 4, +// Netnum: regionNumber[example.Region], +// }, nil) +// if err != nil { +// return err +// } +// // Create a VPC for the region associated with the AZ +// exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ +// CidrBlock: pulumi.String(invokeCidrsubnet.Result), +// }) +// if err != nil { +// return err +// } +// // Create a subnet for the AZ within the regional VPC +// _, err = ec2.NewSubnet(ctx, "example", &ec2.SubnetArgs{ +// VpcId: exampleVpc.ID(), +// CidrBlock: pulumi.String(std.CidrsubnetOutput(ctx, std.CidrsubnetOutputArgs{ +// Input: exampleVpc.CidrBlock, +// Newbits: pulumi.Int(4), +// Netnum: pulumi.Int(azNumber[example.NameSuffix]), +// }, nil).ApplyT(func(invoke std.CidrsubnetResult) (*string, error) { +// val := invoke.Result +// return &val, nil +// }).(pulumi.StringPtrOutput)), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// // ``` func GetAvailabilityZone(ctx *pulumi.Context, args *GetAvailabilityZoneArgs, opts ...pulumi.InvokeOption) (*GetAvailabilityZoneResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) @@ -134,10 +131,6 @@ type GetAvailabilityZoneArgs struct { // Specific availability zone state to require. May be any of `"available"`, `"information"` or `"impaired"`. State *string `pulumi:"state"` // Zone ID of the availability zone to select. - // - // The arguments of this data source act as filters for querying the available - // availability zones. The given filters must match exactly one availability - // zone whose data will be exported as attributes. ZoneId *string `pulumi:"zoneId"` } @@ -145,18 +138,16 @@ type GetAvailabilityZoneArgs struct { type GetAvailabilityZoneResult struct { AllAvailabilityZones *bool `pulumi:"allAvailabilityZones"` Filters []GetAvailabilityZoneFilter `pulumi:"filters"` - // The long name of the Availability Zone group, Local Zone group, or Wavelength Zone group. + // Long name of the Availability Zone group, Local Zone group, or Wavelength Zone group. GroupLongName string `pulumi:"groupLongName"` - // The name of the zone group. For example: `us-east-1-zg-1`, `us-west-2-lax-1`, or `us-east-1-wl1-bos-wlz-1`. + // Name of the zone group. For example: `us-east-1-zg-1`, `us-west-2-lax-1`, or `us-east-1-wl1-bos-wlz-1`. GroupName string `pulumi:"groupName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` - // Part of the AZ name that appears after the region name, uniquely identifying the AZ within its region. - // For Availability Zones this is usually a single letter, for example `a` for the `us-west-2a` zone. - // For Local and Wavelength Zones this is a longer string, for example `wl1-sfo-wlz-1` for the `us-west-2-wl1-sfo-wlz-1` zone. + // Part of the AZ name that appears after the region name, uniquely identifying the AZ within its region. For Availability Zones this is usually a single letter, for example `a` for the `us-west-2a` zone. For Local and Wavelength Zones this is a longer string, for example `wl1-sfo-wlz-1` for the `us-west-2-wl1-sfo-wlz-1` zone. NameSuffix string `pulumi:"nameSuffix"` - // The name of the location from which the address is advertised. + // Name of the location from which the address is advertised. NetworkBorderGroup string `pulumi:"networkBorderGroup"` // For Availability Zones, this always has the value of `opt-in-not-required`. For Local Zones, this is the opt in status. The possible values are `opted-in` and `not-opted-in`. OptInStatus string `pulumi:"optInStatus"` @@ -193,10 +184,6 @@ type GetAvailabilityZoneOutputArgs struct { // Specific availability zone state to require. May be any of `"available"`, `"information"` or `"impaired"`. State pulumi.StringPtrInput `pulumi:"state"` // Zone ID of the availability zone to select. - // - // The arguments of this data source act as filters for querying the available - // availability zones. The given filters must match exactly one availability - // zone whose data will be exported as attributes. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` } @@ -227,12 +214,12 @@ func (o GetAvailabilityZoneResultOutput) Filters() GetAvailabilityZoneFilterArra return o.ApplyT(func(v GetAvailabilityZoneResult) []GetAvailabilityZoneFilter { return v.Filters }).(GetAvailabilityZoneFilterArrayOutput) } -// The long name of the Availability Zone group, Local Zone group, or Wavelength Zone group. +// Long name of the Availability Zone group, Local Zone group, or Wavelength Zone group. func (o GetAvailabilityZoneResultOutput) GroupLongName() pulumi.StringOutput { return o.ApplyT(func(v GetAvailabilityZoneResult) string { return v.GroupLongName }).(pulumi.StringOutput) } -// The name of the zone group. For example: `us-east-1-zg-1`, `us-west-2-lax-1`, or `us-east-1-wl1-bos-wlz-1`. +// Name of the zone group. For example: `us-east-1-zg-1`, `us-west-2-lax-1`, or `us-east-1-wl1-bos-wlz-1`. func (o GetAvailabilityZoneResultOutput) GroupName() pulumi.StringOutput { return o.ApplyT(func(v GetAvailabilityZoneResult) string { return v.GroupName }).(pulumi.StringOutput) } @@ -246,14 +233,12 @@ func (o GetAvailabilityZoneResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetAvailabilityZoneResult) string { return v.Name }).(pulumi.StringOutput) } -// Part of the AZ name that appears after the region name, uniquely identifying the AZ within its region. -// For Availability Zones this is usually a single letter, for example `a` for the `us-west-2a` zone. -// For Local and Wavelength Zones this is a longer string, for example `wl1-sfo-wlz-1` for the `us-west-2-wl1-sfo-wlz-1` zone. +// Part of the AZ name that appears after the region name, uniquely identifying the AZ within its region. For Availability Zones this is usually a single letter, for example `a` for the `us-west-2a` zone. For Local and Wavelength Zones this is a longer string, for example `wl1-sfo-wlz-1` for the `us-west-2-wl1-sfo-wlz-1` zone. func (o GetAvailabilityZoneResultOutput) NameSuffix() pulumi.StringOutput { return o.ApplyT(func(v GetAvailabilityZoneResult) string { return v.NameSuffix }).(pulumi.StringOutput) } -// The name of the location from which the address is advertised. +// Name of the location from which the address is advertised. func (o GetAvailabilityZoneResultOutput) NetworkBorderGroup() pulumi.StringOutput { return o.ApplyT(func(v GetAvailabilityZoneResult) string { return v.NetworkBorderGroup }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZones.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZones.go index 4bbeae7df..0c0360acd 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZones.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getAvailabilityZones.go @@ -154,10 +154,7 @@ type GetAvailabilityZonesArgs struct { Filters []GetAvailabilityZonesFilter `pulumi:"filters"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region *string `pulumi:"region"` - // Allows to filter list of Availability Zones based on their - // current state. Can be either `"available"`, `"information"`, `"impaired"` or - // `"unavailable"`. By default the list includes a complete set of Availability Zones - // to which the underlying AWS account has access, regardless of their state. + // Allows to filter list of Availability Zones based on their current state. Can be either `"available"`, `"information"`, `"impaired"` or `"unavailable"`. By default the list includes a complete set of Availability Zones to which the underlying AWS account has access, regardless of their state. State *string `pulumi:"state"` } @@ -167,7 +164,7 @@ type GetAvailabilityZonesResult struct { ExcludeNames []string `pulumi:"excludeNames"` ExcludeZoneIds []string `pulumi:"excludeZoneIds"` Filters []GetAvailabilityZonesFilter `pulumi:"filters"` - // A set of the Availability Zone Group names. For Availability Zones, this is the same value as the Region name. For Local Zones, the name of the associated group, for example `us-west-2-lax-1`. + // Set of the Availability Zone Group names. For Availability Zones, this is the same value as the Region name. For Local Zones, the name of the associated group, for example `us-west-2-lax-1`. GroupNames []string `pulumi:"groupNames"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` @@ -200,10 +197,7 @@ type GetAvailabilityZonesOutputArgs struct { Filters GetAvailabilityZonesFilterArrayInput `pulumi:"filters"` // Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` - // Allows to filter list of Availability Zones based on their - // current state. Can be either `"available"`, `"information"`, `"impaired"` or - // `"unavailable"`. By default the list includes a complete set of Availability Zones - // to which the underlying AWS account has access, regardless of their state. + // Allows to filter list of Availability Zones based on their current state. Can be either `"available"`, `"information"`, `"impaired"` or `"unavailable"`. By default the list includes a complete set of Availability Zones to which the underlying AWS account has access, regardless of their state. State pulumi.StringPtrInput `pulumi:"state"` } @@ -242,7 +236,7 @@ func (o GetAvailabilityZonesResultOutput) Filters() GetAvailabilityZonesFilterAr return o.ApplyT(func(v GetAvailabilityZonesResult) []GetAvailabilityZonesFilter { return v.Filters }).(GetAvailabilityZonesFilterArrayOutput) } -// A set of the Availability Zone Group names. For Availability Zones, this is the same value as the Region name. For Local Zones, the name of the associated group, for example `us-west-2-lax-1`. +// Set of the Availability Zone Group names. For Availability Zones, this is the same value as the Region name. For Local Zones, the name of the associated group, for example `us-west-2-lax-1`. func (o GetAvailabilityZonesResultOutput) GroupNames() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAvailabilityZonesResult) []string { return v.GroupNames }).(pulumi.StringArrayOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getBillingServiceAccount.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getBillingServiceAccount.go index 47459faa8..db7db3c94 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getBillingServiceAccount.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getBillingServiceAccount.go @@ -48,49 +48,47 @@ import ( // if err != nil { // return err // } -// allowBillingLogging := pulumi.All(billingLogs.Arn, billingLogs.Arn).ApplyT(func(_args []interface{}) (iam.GetPolicyDocumentResult, error) { -// billingLogsArn := _args[0].(string) -// billingLogsArn1 := _args[1].(string) -// return iam.GetPolicyDocumentResult(interface{}(iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ -// Statements: []iam.GetPolicyDocumentStatement(pulumi.Array{ -// iam.GetPolicyDocumentStatement{ -// Effect: pulumi.StringRef(pulumi.String(pulumi.StringRef("Allow"))), -// Principals: []iam.GetPolicyDocumentStatementPrincipal{ -// { -// Type: "AWS", -// Identifiers: pulumi.StringArray{ -// main.Arn, -// }, +// allowBillingLogging := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ +// Statements: iam.GetPolicyDocumentStatementArray{ +// &iam.GetPolicyDocumentStatementArgs{ +// Effect: pulumi.String("Allow"), +// Principals: iam.GetPolicyDocumentStatementPrincipalArray{ +// &iam.GetPolicyDocumentStatementPrincipalArgs{ +// Type: pulumi.String("AWS"), +// Identifiers: pulumi.StringArray{ +// pulumi.String(main.Arn), // }, // }, -// Actions: []string{ -// "s3:GetBucketAcl", -// "s3:GetBucketPolicy", -// }, -// Resources: []string{ -// billingLogsArn, -// }, // }, -// iam.GetPolicyDocumentStatement{ -// Effect: pulumi.StringRef(pulumi.String(pulumi.StringRef("Allow"))), -// Principals: []iam.GetPolicyDocumentStatementPrincipal{ -// { -// Type: "AWS", -// Identifiers: pulumi.StringArray{ -// main.Arn, -// }, +// Actions: pulumi.StringArray{ +// pulumi.String("s3:GetBucketAcl"), +// pulumi.String("s3:GetBucketPolicy"), +// }, +// Resources: pulumi.StringArray{ +// billingLogs.Arn, +// }, +// }, +// &iam.GetPolicyDocumentStatementArgs{ +// Effect: pulumi.String("Allow"), +// Principals: iam.GetPolicyDocumentStatementPrincipalArray{ +// &iam.GetPolicyDocumentStatementPrincipalArgs{ +// Type: pulumi.String("AWS"), +// Identifiers: pulumi.StringArray{ +// pulumi.String(main.Arn), // }, // }, -// Actions: []string{ -// "s3:PutObject", -// }, -// Resources: []string{ -// fmt.Sprintf("%v/*", billingLogsArn1), -// }, // }, -// }), -// }, nil))), nil -// }).(iam.GetPolicyDocumentResultOutput) +// Actions: pulumi.StringArray{ +// pulumi.String("s3:PutObject"), +// }, +// Resources: pulumi.StringArray{ +// billingLogs.Arn.ApplyT(func(arn string) (string, error) { +// return fmt.Sprintf("%v/*", arn), nil +// }).(pulumi.StringOutput), +// }, +// }, +// }, +// }, nil) // _, err = s3.NewBucketPolicy(ctx, "allow_billing_logging", &s3.BucketPolicyArgs{ // Bucket: billingLogs.ID(), // Policy: pulumi.String(allowBillingLogging.ApplyT(func(allowBillingLogging iam.GetPolicyDocumentResult) (*string, error) { diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getDefaultTags.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getDefaultTags.go index 8368e4de1..bc8ecaa3a 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getDefaultTags.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getDefaultTags.go @@ -54,11 +54,13 @@ func GetDefaultTags(ctx *pulumi.Context, args *GetDefaultTagsArgs, opts ...pulum // A collection of arguments for invoking getDefaultTags. type GetDefaultTagsArgs struct { + // Deprecated: This attribute will be removed in a future version of the provider. Id *string `pulumi:"id"` } // A collection of values returned by getDefaultTags. type GetDefaultTagsResult struct { + // Deprecated: This attribute will be removed in a future version of the provider. Id string `pulumi:"id"` // Key-value mapping of provider default tags. Tags map[string]string `pulumi:"tags"` @@ -75,6 +77,7 @@ func GetDefaultTagsOutput(ctx *pulumi.Context, args GetDefaultTagsOutputArgs, op // A collection of arguments for invoking getDefaultTags. type GetDefaultTagsOutputArgs struct { + // Deprecated: This attribute will be removed in a future version of the provider. Id pulumi.StringPtrInput `pulumi:"id"` } @@ -97,6 +100,7 @@ func (o GetDefaultTagsResultOutput) ToGetDefaultTagsResultOutputWithContext(ctx return o } +// Deprecated: This attribute will be removed in a future version of the provider. func (o GetDefaultTagsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetDefaultTagsResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getIpRanges.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getIpRanges.go index 303510b4b..55da52a3d 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getIpRanges.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getIpRanges.go @@ -84,6 +84,7 @@ func GetIpRanges(ctx *pulumi.Context, args *GetIpRangesArgs, opts ...pulumi.Invo // A collection of arguments for invoking getIpRanges. type GetIpRangesArgs struct { + // Deprecated: This attribute will be removed in a future version of the provider. Id *string `pulumi:"id"` // Filter IP ranges by regions (or include all regions, if // omitted). Valid items are `global` (for `cloudfront`) as well as all AWS regions @@ -108,7 +109,8 @@ type GetIpRangesResult struct { CidrBlocks []string `pulumi:"cidrBlocks"` // Publication time of the IP ranges (e.g., `2016-08-03-23-46-05`). CreateDate string `pulumi:"createDate"` - Id string `pulumi:"id"` + // Deprecated: This attribute will be removed in a future version of the provider. + Id string `pulumi:"id"` // Lexically ordered list of IPv6 CIDR blocks. Ipv6CidrBlocks []string `pulumi:"ipv6CidrBlocks"` Regions []string `pulumi:"regions"` @@ -130,6 +132,7 @@ func GetIpRangesOutput(ctx *pulumi.Context, args GetIpRangesOutputArgs, opts ... // A collection of arguments for invoking getIpRanges. type GetIpRangesOutputArgs struct { + // Deprecated: This attribute will be removed in a future version of the provider. Id pulumi.StringPtrInput `pulumi:"id"` // Filter IP ranges by regions (or include all regions, if // omitted). Valid items are `global` (for `cloudfront`) as well as all AWS regions @@ -177,6 +180,7 @@ func (o GetIpRangesResultOutput) CreateDate() pulumi.StringOutput { return o.ApplyT(func(v GetIpRangesResult) string { return v.CreateDate }).(pulumi.StringOutput) } +// Deprecated: This attribute will be removed in a future version of the provider. func (o GetIpRangesResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetIpRangesResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getPartition.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getPartition.go index f5cafbd9b..fa8d2dc57 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getPartition.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getPartition.go @@ -68,7 +68,10 @@ func GetPartition(ctx *pulumi.Context, args *GetPartitionArgs, opts ...pulumi.In // A collection of arguments for invoking getPartition. type GetPartitionArgs struct { - // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // Use `partition` instead. + // + // Deprecated: Use 'partition' instead. This attribute will be removed in a future version of the provider. Id *string `pulumi:"id"` } @@ -76,7 +79,10 @@ type GetPartitionArgs struct { type GetPartitionResult struct { // Base DNS domain name for the current partition (e.g., `amazonaws.com` in AWS Commercial, `amazonaws.com.cn` in AWS China). DnsSuffix string `pulumi:"dnsSuffix"` - // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // Use `partition` instead. + // + // Deprecated: Use 'partition' instead. This attribute will be removed in a future version of the provider. Id string `pulumi:"id"` // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). Partition string `pulumi:"partition"` @@ -95,7 +101,10 @@ func GetPartitionOutput(ctx *pulumi.Context, args GetPartitionOutputArgs, opts . // A collection of arguments for invoking getPartition. type GetPartitionOutputArgs struct { - // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // Use `partition` instead. + // + // Deprecated: Use 'partition' instead. This attribute will be removed in a future version of the provider. Id pulumi.StringPtrInput `pulumi:"id"` } @@ -123,7 +132,10 @@ func (o GetPartitionResultOutput) DnsSuffix() pulumi.StringOutput { return o.ApplyT(func(v GetPartitionResult) string { return v.DnsSuffix }).(pulumi.StringOutput) } -// Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). +// (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). +// Use `partition` instead. +// +// Deprecated: Use 'partition' instead. This attribute will be removed in a future version of the provider. func (o GetPartitionResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetPartitionResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegion.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegion.go index 3b68527d5..bbf634e27 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegion.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegion.go @@ -58,7 +58,9 @@ func GetRegion(ctx *pulumi.Context, args *GetRegionArgs, opts ...pulumi.InvokeOp type GetRegionArgs struct { // EC2 endpoint of the region to select. Endpoint *string `pulumi:"endpoint"` - // Region's name (e.g. `us-east-1`). + // (**Deprecated**) Region's name (e.g. `us-east-1`). + // + // Deprecated: Use 'region' instead. This attribute will be removed in a future version of the provider. Id *string `pulumi:"id"` // Full name of the region to select. Use `region` instead. // @@ -73,7 +75,9 @@ type GetRegionResult struct { // Region's description in this format: "Location (Region name)". Description string `pulumi:"description"` Endpoint string `pulumi:"endpoint"` - // Region's name (e.g. `us-east-1`). + // (**Deprecated**) Region's name (e.g. `us-east-1`). + // + // Deprecated: Use 'region' instead. This attribute will be removed in a future version of the provider. Id string `pulumi:"id"` // Deprecated: name is deprecated. Use region instead. Name string `pulumi:"name"` @@ -93,7 +97,9 @@ func GetRegionOutput(ctx *pulumi.Context, args GetRegionOutputArgs, opts ...pulu type GetRegionOutputArgs struct { // EC2 endpoint of the region to select. Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` - // Region's name (e.g. `us-east-1`). + // (**Deprecated**) Region's name (e.g. `us-east-1`). + // + // Deprecated: Use 'region' instead. This attribute will be removed in a future version of the provider. Id pulumi.StringPtrInput `pulumi:"id"` // Full name of the region to select. Use `region` instead. // @@ -131,7 +137,9 @@ func (o GetRegionResultOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v GetRegionResult) string { return v.Endpoint }).(pulumi.StringOutput) } -// Region's name (e.g. `us-east-1`). +// (**Deprecated**) Region's name (e.g. `us-east-1`). +// +// Deprecated: Use 'region' instead. This attribute will be removed in a future version of the provider. func (o GetRegionResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetRegionResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegions.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegions.go index 955c71ccb..0156a5663 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegions.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getRegions.go @@ -114,7 +114,9 @@ type GetRegionsArgs struct { AllRegions *bool `pulumi:"allRegions"` // Configuration block(s) to use as filters. Detailed below. Filters []GetRegionsFilter `pulumi:"filters"` - // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // + // Deprecated: This attribute will be removed in a future version of the provider. Id *string `pulumi:"id"` } @@ -122,7 +124,9 @@ type GetRegionsArgs struct { type GetRegionsResult struct { AllRegions *bool `pulumi:"allRegions"` Filters []GetRegionsFilter `pulumi:"filters"` - // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // + // Deprecated: This attribute will be removed in a future version of the provider. Id string `pulumi:"id"` // Names of regions that meets the criteria. Names []string `pulumi:"names"` @@ -143,7 +147,9 @@ type GetRegionsOutputArgs struct { AllRegions pulumi.BoolPtrInput `pulumi:"allRegions"` // Configuration block(s) to use as filters. Detailed below. Filters GetRegionsFilterArrayInput `pulumi:"filters"` - // Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). + // + // Deprecated: This attribute will be removed in a future version of the provider. Id pulumi.StringPtrInput `pulumi:"id"` } @@ -174,7 +180,9 @@ func (o GetRegionsResultOutput) Filters() GetRegionsFilterArrayOutput { return o.ApplyT(func(v GetRegionsResult) []GetRegionsFilter { return v.Filters }).(GetRegionsFilterArrayOutput) } -// Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). +// (**Deprecated**) Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China). +// +// Deprecated: This attribute will be removed in a future version of the provider. func (o GetRegionsResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetRegionsResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getService.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getService.go index 7c138cd1c..ecbd13a1e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getService.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/getService.go @@ -111,7 +111,8 @@ func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.Invoke type GetServiceArgs struct { // DNS name of the service (_e.g.,_ `rds.us-east-1.amazonaws.com`). One of `dnsName`, `reverseDnsName`, or `serviceId` is required. DnsName *string `pulumi:"dnsName"` - Id *string `pulumi:"id"` + // Deprecated: Use 'reverse_dns_name' instead. This attribute will be removed in a future version of the provider. + Id *string `pulumi:"id"` // Region of the service (_e.g.,_ `us-west-2`, `ap-northeast-1`). Defaults to the Region set in the provider configuration. Region *string `pulumi:"region"` // Reverse DNS name of the service (_e.g.,_ `com.amazonaws.us-west-2.s3`). One of `dnsName`, `reverseDnsName`, or `serviceId` is required. @@ -124,7 +125,8 @@ type GetServiceArgs struct { // A collection of values returned by getService. type GetServiceResult struct { - DnsName string `pulumi:"dnsName"` + DnsName string `pulumi:"dnsName"` + // Deprecated: Use 'reverse_dns_name' instead. This attribute will be removed in a future version of the provider. Id string `pulumi:"id"` Partition string `pulumi:"partition"` Region string `pulumi:"region"` @@ -148,7 +150,8 @@ func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pu type GetServiceOutputArgs struct { // DNS name of the service (_e.g.,_ `rds.us-east-1.amazonaws.com`). One of `dnsName`, `reverseDnsName`, or `serviceId` is required. DnsName pulumi.StringPtrInput `pulumi:"dnsName"` - Id pulumi.StringPtrInput `pulumi:"id"` + // Deprecated: Use 'reverse_dns_name' instead. This attribute will be removed in a future version of the provider. + Id pulumi.StringPtrInput `pulumi:"id"` // Region of the service (_e.g.,_ `us-west-2`, `ap-northeast-1`). Defaults to the Region set in the provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` // Reverse DNS name of the service (_e.g.,_ `com.amazonaws.us-west-2.s3`). One of `dnsName`, `reverseDnsName`, or `serviceId` is required. @@ -182,6 +185,7 @@ func (o GetServiceResultOutput) DnsName() pulumi.StringOutput { return o.ApplyT(func(v GetServiceResult) string { return v.DnsName }).(pulumi.StringOutput) } +// Deprecated: Use 'reverse_dns_name' instead. This attribute will be removed in a future version of the provider. func (o GetServiceResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetServiceResult) string { return v.Id }).(pulumi.StringOutput) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/accessKey.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/accessKey.go index 1947aeb10..356e756fe 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/accessKey.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/accessKey.go @@ -107,6 +107,16 @@ import ( // // ## Import // +// ### Identity Schema +// +// #### Required +// +// * `id` - (String) Access key ID. +// +// #### Optional +// +// * `accountId` (String) AWS Account where this resource is managed. +// // Using `pulumi import`, import IAM Access Keys using the identifier. For example: // // ```sh diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPoliciesExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPoliciesExclusive.go index 62af18ae6..faa77098c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPoliciesExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPoliciesExclusive.go @@ -14,7 +14,7 @@ import ( // Resource for maintaining exclusive management of inline policies assigned to an AWS IAM (Identity & Access Management) group. // -// !> This resource takes exclusive ownership over inline policies assigned to a group. This includes removal of inline policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.GroupPolicy` resources managed alongside this resource are included in the `policyNames` argument. +// > This resource takes exclusive ownership over inline policies assigned to a group. This includes removal of inline policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.GroupPolicy` resources managed alongside this resource are included in the `policyNames` argument. // // > Destruction of this resource means Terraform will no longer manage reconciliation of the configured inline policy assignments. It __will not__ delete the configured policies from the group. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPolicyAttachmentsExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPolicyAttachmentsExclusive.go index f9e21bf74..c0c90a83c 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPolicyAttachmentsExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/groupPolicyAttachmentsExclusive.go @@ -14,7 +14,7 @@ import ( // Resource for maintaining exclusive management of managed IAM policies assigned to an AWS IAM (Identity & Access Management) group. // -// !> This resource takes exclusive ownership over managed IAM policies attached to a group. This includes removal of managed IAM policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.GroupPolicyAttachment` resources managed alongside this resource are included in the `policyArns` argument. +// > This resource takes exclusive ownership over managed IAM policies attached to a group. This includes removal of managed IAM policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.GroupPolicyAttachment` resources managed alongside this resource are included in the `policyArns` argument. // // > Destruction of this resource means Terraform will no longer manage reconciliation of the configured policy attachments. It **will not** detach the configured policies from the group. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go index 81415563f..caf2da9cf 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/policyAttachment.go @@ -14,7 +14,7 @@ import ( // Attaches a Managed IAM Policy to user(s), role(s), and/or group(s) // -// !> **WARNING:** The iam.PolicyAttachment resource creates **exclusive** attachments of IAM policies. Across the entire AWS account, all of the users/roles/groups to which a single policy is attached must be declared by a single iam.PolicyAttachment resource. This means that even any users/roles/groups that have the attached policy via any other mechanism (including other resources managed by this provider) will have that attached policy revoked by this resource. Consider `iam.RolePolicyAttachment`, `iam.UserPolicyAttachment`, or `iam.GroupPolicyAttachment` instead. These resources do not enforce exclusive attachment of an IAM policy. +// > **WARNING:** The iam.PolicyAttachment resource creates **exclusive** attachments of IAM policies. Across the entire AWS account, all of the users/roles/groups to which a single policy is attached must be declared by a single iam.PolicyAttachment resource. This means that even any users/roles/groups that have the attached policy via any other mechanism (including other resources managed by this provider) will have that attached policy revoked by this resource. Consider `iam.RolePolicyAttachment`, `iam.UserPolicyAttachment`, or `iam.GroupPolicyAttachment` instead. These resources do not enforce exclusive attachment of an IAM policy. // // > **NOTE:** The usage of this resource conflicts with the `iam.GroupPolicyAttachment`, `iam.RolePolicyAttachment`, and `iam.UserPolicyAttachment` resources and will permanently show a difference if both are defined. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePoliciesExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePoliciesExclusive.go index f368736a9..7c0b76879 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePoliciesExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePoliciesExclusive.go @@ -16,7 +16,7 @@ import ( // // Resource for maintaining exclusive management of inline policies assigned to an AWS IAM (Identity & Access Management) role. // -// !> This resource takes exclusive ownership over inline policies assigned to a role. This includes removal of inline policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.RolePolicy` resources managed alongside this resource are included in the `policyNames` argument. +// > This resource takes exclusive ownership over inline policies assigned to a role. This includes removal of inline policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.RolePolicy` resources managed alongside this resource are included in the `policyNames` argument. // // > Destruction of this resource means Pulumi will no longer manage reconciliation of the configured inline policy assignments. It __will not__ delete the configured policies from the role. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePolicyAttachmentsExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePolicyAttachmentsExclusive.go index a7b48e990..52fe3890e 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePolicyAttachmentsExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/rolePolicyAttachmentsExclusive.go @@ -16,7 +16,7 @@ import ( // // Resource for maintaining exclusive management of managed IAM policies assigned to an AWS IAM (Identity & Access Management) role. // -// !> This resource takes exclusive ownership over managed IAM policies attached to a role. This includes removal of managed IAM policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.RolePolicyAttachment` resources managed alongside this resource are included in the `policyArns` argument. +// > This resource takes exclusive ownership over managed IAM policies attached to a role. This includes removal of managed IAM policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.RolePolicyAttachment` resources managed alongside this resource are included in the `policyArns` argument. // // > Destruction of this resource means Pulumi will no longer manage reconciliation of the configured policy attachments. It **will not** detach the configured policies from the role. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPoliciesExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPoliciesExclusive.go index e128f5bf5..bd2bb60be 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPoliciesExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPoliciesExclusive.go @@ -14,7 +14,7 @@ import ( // Resource for maintaining exclusive management of inline policies assigned to an AWS IAM (Identity & Access Management) user. // -// !> This resource takes exclusive ownership over inline policies assigned to a user. This includes removal of inline policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.UserPolicy` resources managed alongside this resource are included in the `policyNames` argument. +// > This resource takes exclusive ownership over inline policies assigned to a user. This includes removal of inline policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.UserPolicy` resources managed alongside this resource are included in the `policyNames` argument. // // > Destruction of this resource means Terraform will no longer manage reconciliation of the configured inline policy assignments. It __will not__ delete the configured policies from the user. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPolicyAttachmentsExclusive.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPolicyAttachmentsExclusive.go index 780f7b5ee..a1bf5e4f3 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPolicyAttachmentsExclusive.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam/userPolicyAttachmentsExclusive.go @@ -14,7 +14,7 @@ import ( // Resource for maintaining exclusive management of managed IAM policies assigned to an AWS IAM (Identity & Access Management) user. // -// !> This resource takes exclusive ownership over managed IAM policies attached to a user. This includes removal of managed IAM policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.UserPolicyAttachment` resources managed alongside this resource are included in the `policyArns` argument. +// > This resource takes exclusive ownership over managed IAM policies attached to a user. This includes removal of managed IAM policies which are not explicitly configured. To prevent persistent drift, ensure any `iam.UserPolicyAttachment` resources managed alongside this resource are included in the `policyArns` argument. // // > Destruction of this resource means Terraform will no longer manage reconciliation of the configured policy attachments. It **will not** detach the configured policies from the user. // diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go index e8627af7f..532eafc84 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("7.30.0") + version := semver.MustParse("7.32.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } @@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { defaults := []pulumi.InvokeOption{} - version := semver.MustParse("7.30.0") + version := semver.MustParse("7.32.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json index acce4437a..fb440ef64 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/pulumi-plugin.json @@ -1,5 +1,5 @@ { "resource": true, "name": "aws", - "version": "7.30.0" + "version": "7.32.0" } diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLogging.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLogging.go index 225eb71bd..3d8686640 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLogging.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLogging.go @@ -50,37 +50,37 @@ import ( // if err != nil { // return err // } -// loggingBucketPolicy := logging.Arn.ApplyT(func(arn string) (iam.GetPolicyDocumentResult, error) { -// return iam.GetPolicyDocumentResult(interface{}(iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ -// Statements: []iam.GetPolicyDocumentStatement{ -// { -// Principals: []iam.GetPolicyDocumentStatementPrincipal{ -// { -// Identifiers: []string{ -// "logging.s3.amazonaws.com", -// }, -// Type: "Service", +// loggingBucketPolicy := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ +// Statements: iam.GetPolicyDocumentStatementArray{ +// &iam.GetPolicyDocumentStatementArgs{ +// Principals: iam.GetPolicyDocumentStatementPrincipalArray{ +// &iam.GetPolicyDocumentStatementPrincipalArgs{ +// Identifiers: pulumi.StringArray{ +// pulumi.String("logging.s3.amazonaws.com"), // }, +// Type: pulumi.String("Service"), // }, -// Actions: []string{ -// "s3:PutObject", -// }, -// Resources: []string{ -// fmt.Sprintf("%v/*", arn), -// }, -// Conditions: []iam.GetPolicyDocumentStatementCondition{ -// { -// Test: "StringEquals", -// Variable: "aws:SourceAccount", -// Values: pulumi.StringArray{ -// current.AccountId, -// }, +// }, +// Actions: pulumi.StringArray{ +// pulumi.String("s3:PutObject"), +// }, +// Resources: pulumi.StringArray{ +// logging.Arn.ApplyT(func(arn string) (string, error) { +// return fmt.Sprintf("%v/*", arn), nil +// }).(pulumi.StringOutput), +// }, +// Conditions: iam.GetPolicyDocumentStatementConditionArray{ +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("StringEquals"), +// Variable: pulumi.String("aws:SourceAccount"), +// Values: pulumi.StringArray{ +// pulumi.String(current.AccountId), // }, // }, // }, // }, -// }, nil))), nil -// }).(iam.GetPolicyDocumentResultOutput) +// }, +// }, nil) // _, err = s3.NewBucketPolicy(ctx, "logging", &s3.BucketPolicyArgs{ // Bucket: logging.Bucket, // Policy: pulumi.String(loggingBucketPolicy.ApplyT(func(loggingBucketPolicy iam.GetPolicyDocumentResult) (*string, error) { diff --git a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLoggingV2.go b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLoggingV2.go index 93e2cdf63..af53de923 100644 --- a/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLoggingV2.go +++ b/vendor/github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3/bucketLoggingV2.go @@ -50,37 +50,37 @@ import ( // if err != nil { // return err // } -// loggingBucketPolicy := logging.Arn.ApplyT(func(arn string) (iam.GetPolicyDocumentResult, error) { -// return iam.GetPolicyDocumentResult(interface{}(iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ -// Statements: []iam.GetPolicyDocumentStatement{ -// { -// Principals: []iam.GetPolicyDocumentStatementPrincipal{ -// { -// Identifiers: []string{ -// "logging.s3.amazonaws.com", -// }, -// Type: "Service", +// loggingBucketPolicy := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ +// Statements: iam.GetPolicyDocumentStatementArray{ +// &iam.GetPolicyDocumentStatementArgs{ +// Principals: iam.GetPolicyDocumentStatementPrincipalArray{ +// &iam.GetPolicyDocumentStatementPrincipalArgs{ +// Identifiers: pulumi.StringArray{ +// pulumi.String("logging.s3.amazonaws.com"), // }, +// Type: pulumi.String("Service"), // }, -// Actions: []string{ -// "s3:PutObject", -// }, -// Resources: []string{ -// fmt.Sprintf("%v/*", arn), -// }, -// Conditions: []iam.GetPolicyDocumentStatementCondition{ -// { -// Test: "StringEquals", -// Variable: "aws:SourceAccount", -// Values: pulumi.StringArray{ -// current.AccountId, -// }, +// }, +// Actions: pulumi.StringArray{ +// pulumi.String("s3:PutObject"), +// }, +// Resources: pulumi.StringArray{ +// logging.Arn.ApplyT(func(arn string) (string, error) { +// return fmt.Sprintf("%v/*", arn), nil +// }).(pulumi.StringOutput), +// }, +// Conditions: iam.GetPolicyDocumentStatementConditionArray{ +// &iam.GetPolicyDocumentStatementConditionArgs{ +// Test: pulumi.String("StringEquals"), +// Variable: pulumi.String("aws:SourceAccount"), +// Values: pulumi.StringArray{ +// pulumi.String(current.AccountId), // }, // }, // }, // }, -// }, nil))), nil -// }).(iam.GetPolicyDocumentResultOutput) +// }, +// }, nil) // _, err = s3.NewBucketPolicy(ctx, "logging", &s3.BucketPolicyArgs{ // Bucket: logging.Bucket, // Policy: pulumi.String(loggingBucketPolicy.ApplyT(func(loggingBucketPolicy iam.GetPolicyDocumentResult) (*string, error) { diff --git a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go index b3a5fa88e..9e852d215 100644 --- a/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go +++ b/vendor/github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal/pulumiUtilities.go @@ -165,7 +165,7 @@ func callPlainInner( func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOption { defaults := []pulumi.ResourceOption{} - version := semver.MustParse("3.5.0") + version := semver.MustParse("3.6.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } @@ -176,7 +176,7 @@ func PkgResourceDefaultOpts(opts []pulumi.ResourceOption) []pulumi.ResourceOptio func PkgInvokeDefaultOpts(opts []pulumi.InvokeOption) []pulumi.InvokeOption { defaults := []pulumi.InvokeOption{} - version := semver.MustParse("3.5.0") + version := semver.MustParse("3.6.0") if !version.Equals(semver.Version{}) { defaults = append(defaults, pulumi.Version(version.String())) } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/.version b/vendor/github.com/pulumi/pulumi/sdk/v3/.version index 89fb699eb..68242d65a 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/.version +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/.version @@ -1 +1 @@ -3.244.0 +3.245.0 diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/log_encryption_sessions.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/log_encryption_sessions.go index 7e5eea3b5..e7152456b 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/log_encryption_sessions.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/apitype/log_encryption_sessions.go @@ -14,18 +14,22 @@ package apitype +// SessionKeyType represents the type of session key used for log encryption. +type SessionKeyType string + +const ( + // SessionKeyTypePlogV1 is the plog_v1 session key type (AES-256-GCM). + SessionKeyTypePlogV1 SessionKeyType = "plog_v1" +) + // LogEncryptionSessionInitRequest defines the request body for initializing an encryption session. type LogEncryptionSessionInitRequest struct { - // SessionKeyType is the type of session key to create. We currently only support "plog_v1" - SessionKeyType string `json:"sessionKeyType"` + SessionKeyType SessionKeyType `json:"sessionKeyType"` } -// EncryptionSessionInitResponse is the response from initializing an encryption session. +// LogEncryptionSessionInitResponse is the response from initializing an encryption session. type LogEncryptionSessionInitResponse struct { - // SessionID is the unique identifier for the encryption session. - SessionID string `json:"sessionID"` - // SessionKeyType is the type of session key that was created. Should always be the same as requested. - SessionKeyType string `json:"sessionKeyType"` - // SessionKey is the base64-encoded session key bytes. - SessionKey string `json:"sessionKey"` + SessionID string `json:"sessionID"` + SessionKeyType SessionKeyType `json:"sessionKeyType"` + SessionKey string `json:"sessionKey"` } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go index 8dc9b2d63..a43b376da 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/context.go @@ -61,7 +61,7 @@ type Context struct { // host's. func NewContext(ctx context.Context, d, statusD diag.Sink, host Host, _ ConfigSource, pwd string, runtimeOptions map[string]any, disableProviderPreview bool, - parentSpan opentracing.Span, newLoader NewLoaderFunc, + parentSpan opentracing.Span, newLoader NewLoaderFunc, installLang LanguageInstaller, ) (*Context, error) { // TODO: really this ought to just take plugins *workspace.Plugins and packages map[string]workspace.PackageSpec // as args, but yaml depends on this function so *sigh*. For now just see if there's a project we should be using, @@ -78,7 +78,7 @@ func NewContext(ctx context.Context, d, statusD diag.Sink, host Host, _ ConfigSo } return NewContextWithRoot(ctx, d, statusD, host, pwd, pwd, runtimeOptions, - disableProviderPreview, parentSpan, plugins, packages, nil, nil, newLoader) + disableProviderPreview, parentSpan, plugins, packages, nil, nil, newLoader, installLang) } // NewContextWithRoot is a variation of NewContext that also sets known project Root. Additionally accepts Plugins @@ -86,6 +86,7 @@ func NewContextWithRoot(ctx context.Context, d, statusD diag.Sink, host Host, pwd, root string, runtimeOptions map[string]any, disableProviderPreview bool, parentSpan opentracing.Span, plugins *workspace.Plugins, packages map[string]workspace.PackageSpec, config map[config.Key]string, debugging DebugContext, newLoader NewLoaderFunc, + installLang LanguageInstaller, ) (*Context, error) { if d == nil { d = diag.DefaultSink(io.Discard, io.Discard, diag.FormatOptions{Color: colors.Never}) @@ -119,7 +120,7 @@ func NewContextWithRoot(ctx context.Context, d, statusD diag.Sink, host Host, if host == nil { h, err := NewDefaultHost( pctx, runtimeOptions, disableProviderPreview, plugins, packages, config, debugging, projectName, - newLoader, + newLoader, installLang, ) if err != nil { return nil, err diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go index b0d7dcc52..2f7fbbb5c 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/host.go @@ -176,11 +176,21 @@ func collectPluginsFromPackages( type NewLoaderFunc = func(h Host) codegenrpc.LoaderServer +// LanguageInstaller downloads and installs an unbundled language runtime on demand, so that +// loading it via Host.LanguageRuntime works even when the runtime is not bundled with the CLI +// or already cached. It is the language-runtime analogue of the engine's plugin install path. +// +// The install machinery lives in the pkg module, which the SDK cannot import, so a host is +// given its installer at construction. newLoader is the same loader the host was built with; +// installing a plugin may need it to install the plugin's dependencies. A nil LanguageInstaller +// disables on-demand install (the host then relies on the runtime already being present). +type LanguageInstaller = func(ctx context.Context, runtime string, newLoader NewLoaderFunc) error + // NewDefaultHost implements the standard plugin logic, using the standard installation root to find them. func NewDefaultHost(ctx *Context, runtimeOptions map[string]any, disableProviderPreview bool, plugins *workspace.Plugins, packages map[string]workspace.PackageSpec, config map[config.Key]string, debugging DebugContext, projectName tokens.PackageName, - newLoader NewLoaderFunc, + newLoader NewLoaderFunc, installLang LanguageInstaller, ) (Host, error) { // Create plugin info from providers projectPlugins := make([]workspace.ProjectPlugin, 0) @@ -230,6 +240,8 @@ func NewDefaultHost(ctx *Context, runtimeOptions map[string]any, debugContext: debugging, projectName: projectName, hasLoaderServer: newLoader != nil, + newLoader: newLoader, + installLang: installLang, } // Fire up a gRPC server to listen for requests. This acts as a RPC interface that plugins can use @@ -354,6 +366,8 @@ type defaultHost struct { projectPlugins []workspace.ProjectPlugin hasLoaderServer bool + newLoader NewLoaderFunc // the loader the host was built with, passed to installLang. + installLang LanguageInstaller // installs unbundled language runtimes on demand; may be nil. } var _ Host = (*defaultHost)(nil) @@ -602,6 +616,13 @@ func (host *defaultHost) LanguageRuntime(runtime string, return plug.Plugin, nil } + // Download and install the language runtime on demand if it is unbundled and missing. + if host.installLang != nil { + if err := host.installLang(host.ctx.Request(), runtime, host.newLoader); err != nil { + return nil, fmt.Errorf("failed to install language plugin %s: %w", runtime, err) + } + } + // If not, allocate a new one. plug, err := NewLanguageRuntime(host, host.ctx, runtime, host.ctx.Pwd) if err == nil && plug != nil { diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime.go index 06fadb048..7e2a748c9 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime.go @@ -123,7 +123,9 @@ type LanguageRuntime interface { // Closer closes any underlying OS resources associated with this plugin (like processes, RPC channels, etc). io.Closer // GetRequiredPackages computes the complete set of anticipated packages required by a program. - GetRequiredPackages(ctx context.Context, info ProgramInfo) ([]workspace.PackageDescriptor, error) + GetRequiredPackages( + ctx context.Context, info ProgramInfo, + ) ([]workspace.PackageDescriptor, []workspace.PackageSpec, error) // Run executes a program in the language runtime for planning or deployment purposes. If // info.DryRun is true, the code must not assume that side-effects or final values resulting // from resource deployments are actually available. If it is false, on the other hand, a real diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go index 048cddcd2..68f1a41e7 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/langruntime_plugin.go @@ -219,13 +219,15 @@ func NewLanguageRuntimeClient(runtime string, client pulumirpc.LanguageRuntimeCl } // GetRequiredPackages computes the complete set of anticipated plugins required by a program. -func (h *langhost) GetRequiredPackages(ctx context.Context, info ProgramInfo) ([]workspace.PackageDescriptor, error) { +func (h *langhost) GetRequiredPackages( + ctx context.Context, info ProgramInfo, +) ([]workspace.PackageDescriptor, []workspace.PackageSpec, error) { logging.V(7).Infof("langhost[%v].GetRequiredPackages(%s) executing", h.runtime, info) minfo, err := info.Marshal() if err != nil { - return nil, err + return nil, nil, err } resp, err := h.client.GetRequiredPackages(ctx, &pulumirpc.GetRequiredPackagesRequest{ @@ -241,7 +243,7 @@ func (h *langhost) GetRequiredPackages(ctx context.Context, info ProgramInfo) ([ if rpcError.Code() == codes.Unimplemented { plugins, err := h.getRequiredPlugins(ctx, info) if err != nil { - return nil, err + return nil, nil, err } packages := make([]workspace.PackageDescriptor, len(plugins)) for i, plugin := range plugins { @@ -249,30 +251,31 @@ func (h *langhost) GetRequiredPackages(ctx context.Context, info ProgramInfo) ([ PluginDescriptor: plugin, } } - return packages, nil + return packages, nil, nil } - return nil, rpcError + return nil, nil, rpcError } - results := slice.Prealloc[workspace.PackageDescriptor](len(resp.Packages)) + packageDescriptors := slice.Prealloc[workspace.PackageDescriptor](len(resp.Packages)) + packageSpecs := slice.Prealloc[workspace.PackageSpec](len(resp.Specs)) for _, info := range resp.Packages { var version *semver.Version if v := info.GetVersion(); v != "" { sv, err := semver.ParseTolerant(v) if err != nil { - return nil, fmt.Errorf("illegal semver returned by language host: %s@%s: %w", info.GetName(), v, err) + return nil, nil, fmt.Errorf("illegal semver returned by language host: %s@%s: %w", info.GetName(), v, err) } version = &sv } if !apitype.IsPluginKind(info.Kind) { - return nil, fmt.Errorf("unrecognized plugin kind: %s", info.Kind) + return nil, nil, fmt.Errorf("unrecognized plugin kind: %s", info.Kind) } var parameterization *workspace.Parameterization if info.Parameterization != nil { sv, err := semver.ParseTolerant(info.Parameterization.Version) if err != nil { - return nil, fmt.Errorf( + return nil, nil, fmt.Errorf( "illegal semver returned by language host: %s@%s: %w", info.GetName(), info.Parameterization.Version, err) } @@ -284,7 +287,7 @@ func (h *langhost) GetRequiredPackages(ctx context.Context, info ProgramInfo) ([ } } - results = append(results, workspace.PackageDescriptor{ + packageDescriptors = append(packageDescriptors, workspace.PackageDescriptor{ PluginDescriptor: workspace.PluginDescriptor{ Name: info.Name, Kind: apitype.PluginKind(info.Kind), @@ -296,9 +299,19 @@ func (h *langhost) GetRequiredPackages(ctx context.Context, info ProgramInfo) ([ }) } + for _, spec := range resp.Specs { + packageSpecs = append(packageSpecs, workspace.PackageSpec{ + Source: spec.GetSource(), + Version: spec.GetVersion(), + Parameters: spec.GetParameters(), + Checksums: spec.GetChecksums(), + PluginDownloadURL: spec.GetServer(), + }) + } + logging.V(7).Infof("langhost[%v].GetRequiredPackages(%s) success: #versions=%d", - h.runtime, info, len(results)) - return results, nil + h.runtime, info, len(packageDescriptors)) + return packageDescriptors, packageSpecs, nil } // getRequiredPlugins computes the complete set of anticipated plugins required by a program. diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/mock.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/mock.go index 97627b704..72e174065 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/mock.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/mock.go @@ -148,7 +148,6 @@ type MockProvider struct { NotForwardCompatibleProvider CloseF func() error - PkgF func() tokens.Package HandshakeF func(context.Context, ProviderHandshakeRequest) (*ProviderHandshakeResponse, error) ParameterizeF func(context.Context, ParameterizeRequest) (ParameterizeResponse, error) GetSchemaF func(context.Context, GetSchemaRequest) (GetSchemaResponse, error) @@ -180,13 +179,6 @@ func (m *MockProvider) Close() error { return nil } -func (m *MockProvider) Pkg() tokens.Package { - if m.PkgF != nil { - return m.PkgF() - } - return "" -} - func (m *MockProvider) Handshake( ctx context.Context, req ProviderHandshakeRequest, ) (*ProviderHandshakeResponse, error) { diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go index 82ebd48a3..653d3253a 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider.go @@ -496,9 +496,6 @@ type Provider interface { // Closer closes any underlying OS resources associated with this provider (like processes, RPC channels, etc). io.Closer - // Pkg fetches this provider's package. - Pkg() tokens.Package - // Handshake is the first call made by the engine to a provider. It is used to pass the engine's address to the // provider so that it may establish its own connections back, and to establish protocol configuration that will be // used to communicate between the two parties. Providers that support Handshake should return a response consistent diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go index 10664dcba..341bec4fe 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_plugin.go @@ -41,6 +41,7 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/common/diag" "github.com/pulumi/pulumi/sdk/v3/go/common/env" "github.com/pulumi/pulumi/sdk/v3/go/common/promise" + "github.com/pulumi/pulumi/sdk/v3/go/common/providers" "github.com/pulumi/pulumi/sdk/v3/go/common/resource" "github.com/pulumi/pulumi/sdk/v3/go/common/resource/archive" "github.com/pulumi/pulumi/sdk/v3/go/common/resource/asset" @@ -83,7 +84,6 @@ type provider struct { NotForwardCompatibleProvider ctx *Context // a plugin context for caching, etc. - pkg tokens.Package // the Pulumi package containing this provider's resources. plug *Plugin // the actual plugin process wrapper. clientRaw pulumirpc.ResourceProviderClient // the raw provider client; usually unsafe to use directly. disableProviderPreview bool // true if previews for Create and Update are disabled. @@ -289,7 +289,6 @@ func NewProvider(host Host, ctx *Context, spec workspace.PluginDescriptor, p := &provider{ ctx: ctx, - pkg: pkg, plug: plug, clientRaw: pulumirpc.NewResourceProviderClient(plug.Conn), disableProviderPreview: disableProviderPreview, @@ -380,7 +379,7 @@ func providerPluginDialOptions(ctx *Context, pkg tokens.Package, path string) [] } // NewProviderFromPath creates a new provider by loading the plugin binary located at `path`. -func NewProviderFromPath(host Host, ctx *Context, pkg tokens.Package, path string) (Provider, error) { +func NewProviderFromPath(host Host, ctx *Context, path string) (Provider, error) { handshake := func( ctx context.Context, bin string, prefix string, conn *grpc.ClientConn, ) (*ProviderHandshakeResponse, error) { @@ -414,7 +413,6 @@ func NewProviderFromPath(host Host, ctx *Context, pkg tokens.Package, path strin clientRaw: pulumirpc.NewResourceProviderClient(plug.Conn), legacyPreview: legacyPreview, configSource: &promise.CompletionSource[pluginConfig]{}, - pkg: pkg, } if handshakeRes != nil { @@ -451,24 +449,22 @@ func (p *cancelOnCloseProvider) Close() error { return p.Provider.Close() } -func NewProviderWithClient(ctx *Context, pkg tokens.Package, client pulumirpc.ResourceProviderClient, +func NewProviderWithClient(ctx *Context, client pulumirpc.ResourceProviderClient, disableProviderPreview bool, ) Provider { return &provider{ ctx: ctx, - pkg: pkg, clientRaw: client, disableProviderPreview: disableProviderPreview, configSource: &promise.CompletionSource[pluginConfig]{}, } } -func NewProviderWithVersionOverride(ctx *Context, pkg tokens.Package, client pulumirpc.ResourceProviderClient, +func NewProviderWithVersionOverride(ctx *Context, client pulumirpc.ResourceProviderClient, disableProviderPreview bool, version *semver.Version, ) Provider { return &provider{ ctx: ctx, - pkg: pkg, clientRaw: client, disableProviderPreview: disableProviderPreview, configSource: &promise.CompletionSource[pluginConfig]{}, @@ -476,11 +472,9 @@ func NewProviderWithVersionOverride(ctx *Context, pkg tokens.Package, client pul } } -func (p *provider) Pkg() tokens.Package { return p.pkg } - // label returns a base label for tracing functions. func (p *provider) label() string { - return fmt.Sprintf("Provider[%s, %p]", p.pkg, p) + return fmt.Sprintf("Provider[%p]", p) } func (p *provider) requestContext() context.Context { @@ -789,7 +783,7 @@ func (p *provider) DiffConfig(ctx context.Context, req DiffConfigRequest) (DiffC // exposed this issue with the kubernetes provider, new versions will be fixed to not error on // this (https://github.com/pulumi/pulumi-kubernetes/issues/2663) but so that the CLI continues to // work for old versions we have an explicit ignore for this one error here. - if p.pkg == "kubernetes" && + if providers.GetProviderPackage(req.URN.Type()) == "kubernetes" && strings.Contains(rpcError.Error(), "cannot unmarshal string into Go value of type struct") { logging.V(8).Infof("%s ignoring error from kubernetes provider", label) return DiffResult{Changes: DiffUnknown}, nil @@ -979,9 +973,15 @@ func (p *provider) Configure(ctx context.Context, req ConfigureRequest) (Configu label := p.label() + ".Configure()" logging.V(7).Infof("%s executing (#vars=%d)", label, len(req.Inputs)) - // Convert the inputs to a config map. If any are unknown, do not configure the underlying plugin: instead, leave + // The deprecated `variables` field is keyed by `:config:` for providers that still read config + // under the old name. The plugin no longer knows its own package, so we take it from the provider type the + // engine supplies at configure time. + contract.Assertf(req.Type != nil, "ConfigureRequest.Type must be set") + pkg := providers.GetProviderPackage(*req.Type) + + // Convert the inputs to a variables map. If any are unknown, do not configure the underlying plugin: instead, leave // the cfgknown bit unset and carry on. - config := make(map[string]string) + variables := make(map[string]string) for k, v := range req.Inputs { if k == "version" { continue @@ -1009,9 +1009,7 @@ func (p *provider) Configure(ctx context.Context, req ConfigureRequest) (Configu mapped = string(marshalled) } - // Pass the older spelling of a configuration key across the RPC interface, for now, to support - // providers which are on the older plan. - config[string(p.Pkg())+":config:"+string(k)] = mapped.(string) + variables[string(pkg)+":config:"+string(k)] = mapped.(string) } minputs, err := MarshalProperties(req.Inputs, MarshalOptions{ @@ -1053,7 +1051,7 @@ func (p *provider) Configure(ctx context.Context, req ConfigureRequest) (Configu AcceptResources: true, SendsOldInputs: true, SendsOldInputsToDelete: true, - Variables: config, + Variables: variables, Args: minputs, }) if err != nil { @@ -1402,7 +1400,7 @@ func (p *provider) Create(ctx context.Context, req CreateRequest) (CreateRespons if id == "" && !req.Preview { return CreateResponse{Status: resource.StatusUnknown}, - fmt.Errorf("plugin for package '%v' returned empty resource.ID from create '%v'", p.pkg, req.URN) + fmt.Errorf("plugin returned empty resource.ID from create '%v'", req.URN) } outs, err := UnmarshalProperties(liveObject, MarshalOptions{ diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_unimplemented.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_unimplemented.go index 5e20c9a43..333e0270f 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_unimplemented.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/resource/plugin/provider_unimplemented.go @@ -17,7 +17,6 @@ package plugin import ( "context" - "github.com/pulumi/pulumi/sdk/v3/go/common/tokens" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) @@ -49,10 +48,6 @@ func (p *UnimplementedProvider) SignalCancellation(context.Context) error { return status.Error(codes.Unimplemented, "SignalCancellation is not yet implemented") } -func (p *UnimplementedProvider) Pkg() tokens.Package { - return tokens.Package("") -} - func (p *UnimplementedProvider) Parameterize(context.Context, ParameterizeRequest) (ParameterizeResponse, error) { return ParameterizeResponse{}, status.Error(codes.Unimplemented, "Parameterize is not yet implemented") } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/exit.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/exit.go index af3eba385..2afaae3e7 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/exit.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/util/cmdutil/exit.go @@ -73,14 +73,13 @@ func DetailedError(err error) string { // // If run returns a BailError, we will not print an error message. // -// Deprecated: Instead of using [RunFunc], you should call [DisplayErrorMessage] and then -// manually exit with `os.Exit(-1)` +// Deprecated: Use the default cobra error handling logic. func RunFunc(run func(cmd *cobra.Command, args []string) error) func(*cobra.Command, []string) { return func(cmd *cobra.Command, args []string) { err := run(cmd, args) if err != nil { DisplayErrorMessage(err) - os.Exit(-1) + os.Exit(-1) //nolint:noosexit // RunFunc is deprecated } } } @@ -115,7 +114,7 @@ func Exit(err error) { // ExitError issues an error and exits with a standard error exit code. func ExitError(msg string) { Diag().Errorf(diag.Message("", "%s"), msg) - os.Exit(ExitCodeError) + os.Exit(ExitCodeError) //nolint:noosexit // ExitError is also forbidden outside of main functions } // Exit code taxonomy for the Pulumi CLI. These values form part of the diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go index 9f0a92cff..181a39030 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/creds.go @@ -862,6 +862,12 @@ func hasExplicitPulumiPathEnv() bool { return os.Getenv(PulumiCredentialsPathEnvVar) != "" || os.Getenv(env.Home.Var().Name()) != "" } +// AgentCredentialsFallbackEnabled reports whether shared temporary agent +// credentials may be used as an implicit fallback. +func AgentCredentialsFallbackEnabled() bool { + return agentdetect.Detect(os.Getenv) != "" && !hasExplicitPulumiPathEnv() +} + func GetPulumiConfig() (PulumiConfig, error) { configFile, err := getConfigFilePath() if err != nil { diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go index ecb87ec2f..cea529b7d 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/common/workspace/plugins.go @@ -2012,7 +2012,6 @@ func IsPluginBundled(kind apitype.PluginKind, name string) bool { (kind == apitype.LanguagePlugin && name == "dotnet") || (kind == apitype.LanguagePlugin && name == "yaml") || (kind == apitype.LanguagePlugin && name == "java") || - (kind == apitype.LanguagePlugin && name == "hcl") || (kind == apitype.LanguagePlugin && name == "pcl") || (kind == apitype.ResourcePlugin && name == "pulumi-nodejs") || (kind == apitype.ResourcePlugin && name == "pulumi-python") @@ -2390,19 +2389,18 @@ func SelectCompatiblePlugin( // ReadCloserProgressBar displays a progress bar for the given closer and returns a wrapper closer to manipulate it. func ReadCloserProgressBar( - closer io.ReadCloser, size int64, message string, colorization colors.Colorization, + closer io.ReadCloser, w io.Writer, size int64, message string, colorization colors.Colorization, ) io.ReadCloser { - if size == -1 { - return closer - } - - if !cmdutil.Interactive() { + if size == -1 || !cmdutil.Interactive() { + // We can't render a progress bar (unknown size, or non-interactive output), but still tell the + // user what's happening. + fmt.Fprintln(w, colorization.Colorize(colors.SpecUnimportant+message+colors.Reset)) return closer } // If we know the length of the download, show a progress bar. bar := pb.New(int(size)) - bar.Output = os.Stderr + bar.Output = w bar.Prefix(colorization.Colorize(colors.SpecUnimportant + message + ":")) bar.Postfix(colorization.Colorize(colors.Reset)) bar.SetMaxWidth(80) @@ -2542,6 +2540,6 @@ func (bc *barCloser) Read(dest []byte) (int, error) { } func (bc *barCloser) Close() error { - bc.bar.FinishPrint("\r") + bc.bar.Finish() return bc.readCloser.Close() } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/run.go b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/run.go index 92f258913..32a69f02a 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/run.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/go/pulumi/run.go @@ -59,7 +59,7 @@ func Run(body RunFunc, opts ...RunOption) { printRequiredPlugins() } - os.Exit(constant.ExitStatusLoggedError) + os.Exit(constant.ExitStatusLoggedError) //nolint:noosexit // Run's contract terminates the process on failure. } // RunErr executes the body of a Pulumi program, granting it access to a deployment context that it may use diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/language.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/language.pb.go index 095269f85..2acc0309b 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/language.pb.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/language.pb.go @@ -691,7 +691,11 @@ func (x *GetRequiredPackagesRequest) GetInfo() *ProgramInfo { type GetRequiredPackagesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` // The packages required by the program specified by the request. - Packages []*PackageDependency `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` + Packages []*PackageDependency `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` + // The package specs required by the program specified by the request. + // + // Only specs not included in packages should be included. + Specs []*PackageSpec `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -733,6 +737,13 @@ func (x *GetRequiredPackagesResponse) GetPackages() []*PackageDependency { return nil } +func (x *GetRequiredPackagesResponse) GetSpecs() []*PackageSpec { + if x != nil { + return x.Specs + } + return nil +} + // `RunRequest` is the type of requests sent as part of a [](pulumirpc.LanguageRuntime.Run) call. type RunRequest struct { state protoimpl.MessageState `protogen:"open.v1"` @@ -2537,9 +2548,10 @@ const file_pulumi_language_proto_rawDesc = "" + "\x1aGetRequiredPluginsResponse\x125\n" + "\aplugins\x18\x01 \x03(\v2\x1b.pulumirpc.PluginDependencyR\aplugins\"H\n" + "\x1aGetRequiredPackagesRequest\x12*\n" + - "\x04info\x18\x01 \x01(\v2\x16.pulumirpc.ProgramInfoR\x04info\"W\n" + + "\x04info\x18\x01 \x01(\v2\x16.pulumirpc.ProgramInfoR\x04info\"\x85\x01\n" + "\x1bGetRequiredPackagesResponse\x128\n" + - "\bpackages\x18\x01 \x03(\v2\x1c.pulumirpc.PackageDependencyR\bpackages\"\xaf\x05\n" + + "\bpackages\x18\x01 \x03(\v2\x1c.pulumirpc.PackageDependencyR\bpackages\x12,\n" + + "\x05specs\x18\x02 \x03(\v2\x16.pulumirpc.PackageSpecR\x05specs\"\xaf\x05\n" + "\n" + "RunRequest\x12\x18\n" + "\aproject\x18\x01 \x01(\tR\aproject\x12\x14\n" + @@ -2762,9 +2774,10 @@ var file_pulumi_language_proto_goTypes = []any{ (*structpb.Struct)(nil), // 43: google.protobuf.Struct (*PluginDependency)(nil), // 44: pulumirpc.PluginDependency (*PackageDependency)(nil), // 45: pulumirpc.PackageDependency - (*codegen.Diagnostic)(nil), // 46: pulumirpc.codegen.Diagnostic - (*emptypb.Empty)(nil), // 47: google.protobuf.Empty - (*PluginInfo)(nil), // 48: pulumirpc.PluginInfo + (*PackageSpec)(nil), // 46: pulumirpc.PackageSpec + (*codegen.Diagnostic)(nil), // 47: pulumirpc.codegen.Diagnostic + (*emptypb.Empty)(nil), // 48: google.protobuf.Empty + (*PluginInfo)(nil), // 49: pulumirpc.PluginInfo } var file_pulumi_language_proto_depIdxs = []int32{ 43, // 0: pulumirpc.ProgramInfo.options:type_name -> google.protobuf.Struct @@ -2776,68 +2789,69 @@ var file_pulumi_language_proto_depIdxs = []int32{ 44, // 6: pulumirpc.GetRequiredPluginsResponse.plugins:type_name -> pulumirpc.PluginDependency 1, // 7: pulumirpc.GetRequiredPackagesRequest.info:type_name -> pulumirpc.ProgramInfo 45, // 8: pulumirpc.GetRequiredPackagesResponse.packages:type_name -> pulumirpc.PackageDependency - 35, // 9: pulumirpc.RunRequest.config:type_name -> pulumirpc.RunRequest.ConfigEntry - 43, // 10: pulumirpc.RunRequest.configPropertyMap:type_name -> google.protobuf.Struct - 1, // 11: pulumirpc.RunRequest.info:type_name -> pulumirpc.ProgramInfo - 1, // 12: pulumirpc.InstallDependenciesRequest.info:type_name -> pulumirpc.ProgramInfo - 1, // 13: pulumirpc.RuntimeOptionsRequest.info:type_name -> pulumirpc.ProgramInfo - 0, // 14: pulumirpc.RuntimeOptionPrompt.promptType:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionType - 36, // 15: pulumirpc.RuntimeOptionPrompt.choices:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue - 36, // 16: pulumirpc.RuntimeOptionPrompt.default:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue - 16, // 17: pulumirpc.RuntimeOptionsResponse.prompts:type_name -> pulumirpc.RuntimeOptionPrompt - 1, // 18: pulumirpc.TemplateRequest.info:type_name -> pulumirpc.ProgramInfo - 1, // 19: pulumirpc.RunPluginRequest.info:type_name -> pulumirpc.ProgramInfo - 37, // 20: pulumirpc.GenerateProgramRequest.source:type_name -> pulumirpc.GenerateProgramRequest.SourceEntry - 46, // 21: pulumirpc.GenerateProgramResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic - 38, // 22: pulumirpc.GenerateProgramResponse.source:type_name -> pulumirpc.GenerateProgramResponse.SourceEntry - 39, // 23: pulumirpc.GenerateProjectRequest.local_dependencies:type_name -> pulumirpc.GenerateProjectRequest.LocalDependenciesEntry - 46, // 24: pulumirpc.GenerateProjectResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic - 40, // 25: pulumirpc.GeneratePackageRequest.extra_files:type_name -> pulumirpc.GeneratePackageRequest.ExtraFilesEntry - 41, // 26: pulumirpc.GeneratePackageRequest.local_dependencies:type_name -> pulumirpc.GeneratePackageRequest.LocalDependenciesEntry - 46, // 27: pulumirpc.GeneratePackageResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic - 1, // 28: pulumirpc.LinkRequest.info:type_name -> pulumirpc.ProgramInfo - 42, // 29: pulumirpc.LinkRequest.packages:type_name -> pulumirpc.LinkRequest.LinkDependency - 0, // 30: pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue.promptType:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionType - 45, // 31: pulumirpc.LinkRequest.LinkDependency.package:type_name -> pulumirpc.PackageDependency - 30, // 32: pulumirpc.LanguageRuntime.Handshake:input_type -> pulumirpc.LanguageHandshakeRequest - 7, // 33: pulumirpc.LanguageRuntime.GetRequiredPlugins:input_type -> pulumirpc.GetRequiredPluginsRequest - 9, // 34: pulumirpc.LanguageRuntime.GetRequiredPackages:input_type -> pulumirpc.GetRequiredPackagesRequest - 11, // 35: pulumirpc.LanguageRuntime.Run:input_type -> pulumirpc.RunRequest - 47, // 36: pulumirpc.LanguageRuntime.GetPluginInfo:input_type -> google.protobuf.Empty - 13, // 37: pulumirpc.LanguageRuntime.InstallDependencies:input_type -> pulumirpc.InstallDependenciesRequest - 15, // 38: pulumirpc.LanguageRuntime.RuntimeOptionsPrompts:input_type -> pulumirpc.RuntimeOptionsRequest - 18, // 39: pulumirpc.LanguageRuntime.Template:input_type -> pulumirpc.TemplateRequest - 2, // 40: pulumirpc.LanguageRuntime.About:input_type -> pulumirpc.AboutRequest - 4, // 41: pulumirpc.LanguageRuntime.GetProgramDependencies:input_type -> pulumirpc.GetProgramDependenciesRequest - 20, // 42: pulumirpc.LanguageRuntime.RunPlugin:input_type -> pulumirpc.RunPluginRequest - 22, // 43: pulumirpc.LanguageRuntime.GenerateProgram:input_type -> pulumirpc.GenerateProgramRequest - 24, // 44: pulumirpc.LanguageRuntime.GenerateProject:input_type -> pulumirpc.GenerateProjectRequest - 26, // 45: pulumirpc.LanguageRuntime.GeneratePackage:input_type -> pulumirpc.GeneratePackageRequest - 28, // 46: pulumirpc.LanguageRuntime.Pack:input_type -> pulumirpc.PackRequest - 32, // 47: pulumirpc.LanguageRuntime.Link:input_type -> pulumirpc.LinkRequest - 47, // 48: pulumirpc.LanguageRuntime.Cancel:input_type -> google.protobuf.Empty - 31, // 49: pulumirpc.LanguageRuntime.Handshake:output_type -> pulumirpc.LanguageHandshakeResponse - 8, // 50: pulumirpc.LanguageRuntime.GetRequiredPlugins:output_type -> pulumirpc.GetRequiredPluginsResponse - 10, // 51: pulumirpc.LanguageRuntime.GetRequiredPackages:output_type -> pulumirpc.GetRequiredPackagesResponse - 12, // 52: pulumirpc.LanguageRuntime.Run:output_type -> pulumirpc.RunResponse - 48, // 53: pulumirpc.LanguageRuntime.GetPluginInfo:output_type -> pulumirpc.PluginInfo - 14, // 54: pulumirpc.LanguageRuntime.InstallDependencies:output_type -> pulumirpc.InstallDependenciesResponse - 17, // 55: pulumirpc.LanguageRuntime.RuntimeOptionsPrompts:output_type -> pulumirpc.RuntimeOptionsResponse - 19, // 56: pulumirpc.LanguageRuntime.Template:output_type -> pulumirpc.TemplateResponse - 3, // 57: pulumirpc.LanguageRuntime.About:output_type -> pulumirpc.AboutResponse - 6, // 58: pulumirpc.LanguageRuntime.GetProgramDependencies:output_type -> pulumirpc.GetProgramDependenciesResponse - 21, // 59: pulumirpc.LanguageRuntime.RunPlugin:output_type -> pulumirpc.RunPluginResponse - 23, // 60: pulumirpc.LanguageRuntime.GenerateProgram:output_type -> pulumirpc.GenerateProgramResponse - 25, // 61: pulumirpc.LanguageRuntime.GenerateProject:output_type -> pulumirpc.GenerateProjectResponse - 27, // 62: pulumirpc.LanguageRuntime.GeneratePackage:output_type -> pulumirpc.GeneratePackageResponse - 29, // 63: pulumirpc.LanguageRuntime.Pack:output_type -> pulumirpc.PackResponse - 33, // 64: pulumirpc.LanguageRuntime.Link:output_type -> pulumirpc.LinkResponse - 47, // 65: pulumirpc.LanguageRuntime.Cancel:output_type -> google.protobuf.Empty - 49, // [49:66] is the sub-list for method output_type - 32, // [32:49] is the sub-list for method input_type - 32, // [32:32] is the sub-list for extension type_name - 32, // [32:32] is the sub-list for extension extendee - 0, // [0:32] is the sub-list for field type_name + 46, // 9: pulumirpc.GetRequiredPackagesResponse.specs:type_name -> pulumirpc.PackageSpec + 35, // 10: pulumirpc.RunRequest.config:type_name -> pulumirpc.RunRequest.ConfigEntry + 43, // 11: pulumirpc.RunRequest.configPropertyMap:type_name -> google.protobuf.Struct + 1, // 12: pulumirpc.RunRequest.info:type_name -> pulumirpc.ProgramInfo + 1, // 13: pulumirpc.InstallDependenciesRequest.info:type_name -> pulumirpc.ProgramInfo + 1, // 14: pulumirpc.RuntimeOptionsRequest.info:type_name -> pulumirpc.ProgramInfo + 0, // 15: pulumirpc.RuntimeOptionPrompt.promptType:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionType + 36, // 16: pulumirpc.RuntimeOptionPrompt.choices:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue + 36, // 17: pulumirpc.RuntimeOptionPrompt.default:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue + 16, // 18: pulumirpc.RuntimeOptionsResponse.prompts:type_name -> pulumirpc.RuntimeOptionPrompt + 1, // 19: pulumirpc.TemplateRequest.info:type_name -> pulumirpc.ProgramInfo + 1, // 20: pulumirpc.RunPluginRequest.info:type_name -> pulumirpc.ProgramInfo + 37, // 21: pulumirpc.GenerateProgramRequest.source:type_name -> pulumirpc.GenerateProgramRequest.SourceEntry + 47, // 22: pulumirpc.GenerateProgramResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic + 38, // 23: pulumirpc.GenerateProgramResponse.source:type_name -> pulumirpc.GenerateProgramResponse.SourceEntry + 39, // 24: pulumirpc.GenerateProjectRequest.local_dependencies:type_name -> pulumirpc.GenerateProjectRequest.LocalDependenciesEntry + 47, // 25: pulumirpc.GenerateProjectResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic + 40, // 26: pulumirpc.GeneratePackageRequest.extra_files:type_name -> pulumirpc.GeneratePackageRequest.ExtraFilesEntry + 41, // 27: pulumirpc.GeneratePackageRequest.local_dependencies:type_name -> pulumirpc.GeneratePackageRequest.LocalDependenciesEntry + 47, // 28: pulumirpc.GeneratePackageResponse.diagnostics:type_name -> pulumirpc.codegen.Diagnostic + 1, // 29: pulumirpc.LinkRequest.info:type_name -> pulumirpc.ProgramInfo + 42, // 30: pulumirpc.LinkRequest.packages:type_name -> pulumirpc.LinkRequest.LinkDependency + 0, // 31: pulumirpc.RuntimeOptionPrompt.RuntimeOptionValue.promptType:type_name -> pulumirpc.RuntimeOptionPrompt.RuntimeOptionType + 45, // 32: pulumirpc.LinkRequest.LinkDependency.package:type_name -> pulumirpc.PackageDependency + 30, // 33: pulumirpc.LanguageRuntime.Handshake:input_type -> pulumirpc.LanguageHandshakeRequest + 7, // 34: pulumirpc.LanguageRuntime.GetRequiredPlugins:input_type -> pulumirpc.GetRequiredPluginsRequest + 9, // 35: pulumirpc.LanguageRuntime.GetRequiredPackages:input_type -> pulumirpc.GetRequiredPackagesRequest + 11, // 36: pulumirpc.LanguageRuntime.Run:input_type -> pulumirpc.RunRequest + 48, // 37: pulumirpc.LanguageRuntime.GetPluginInfo:input_type -> google.protobuf.Empty + 13, // 38: pulumirpc.LanguageRuntime.InstallDependencies:input_type -> pulumirpc.InstallDependenciesRequest + 15, // 39: pulumirpc.LanguageRuntime.RuntimeOptionsPrompts:input_type -> pulumirpc.RuntimeOptionsRequest + 18, // 40: pulumirpc.LanguageRuntime.Template:input_type -> pulumirpc.TemplateRequest + 2, // 41: pulumirpc.LanguageRuntime.About:input_type -> pulumirpc.AboutRequest + 4, // 42: pulumirpc.LanguageRuntime.GetProgramDependencies:input_type -> pulumirpc.GetProgramDependenciesRequest + 20, // 43: pulumirpc.LanguageRuntime.RunPlugin:input_type -> pulumirpc.RunPluginRequest + 22, // 44: pulumirpc.LanguageRuntime.GenerateProgram:input_type -> pulumirpc.GenerateProgramRequest + 24, // 45: pulumirpc.LanguageRuntime.GenerateProject:input_type -> pulumirpc.GenerateProjectRequest + 26, // 46: pulumirpc.LanguageRuntime.GeneratePackage:input_type -> pulumirpc.GeneratePackageRequest + 28, // 47: pulumirpc.LanguageRuntime.Pack:input_type -> pulumirpc.PackRequest + 32, // 48: pulumirpc.LanguageRuntime.Link:input_type -> pulumirpc.LinkRequest + 48, // 49: pulumirpc.LanguageRuntime.Cancel:input_type -> google.protobuf.Empty + 31, // 50: pulumirpc.LanguageRuntime.Handshake:output_type -> pulumirpc.LanguageHandshakeResponse + 8, // 51: pulumirpc.LanguageRuntime.GetRequiredPlugins:output_type -> pulumirpc.GetRequiredPluginsResponse + 10, // 52: pulumirpc.LanguageRuntime.GetRequiredPackages:output_type -> pulumirpc.GetRequiredPackagesResponse + 12, // 53: pulumirpc.LanguageRuntime.Run:output_type -> pulumirpc.RunResponse + 49, // 54: pulumirpc.LanguageRuntime.GetPluginInfo:output_type -> pulumirpc.PluginInfo + 14, // 55: pulumirpc.LanguageRuntime.InstallDependencies:output_type -> pulumirpc.InstallDependenciesResponse + 17, // 56: pulumirpc.LanguageRuntime.RuntimeOptionsPrompts:output_type -> pulumirpc.RuntimeOptionsResponse + 19, // 57: pulumirpc.LanguageRuntime.Template:output_type -> pulumirpc.TemplateResponse + 3, // 58: pulumirpc.LanguageRuntime.About:output_type -> pulumirpc.AboutResponse + 6, // 59: pulumirpc.LanguageRuntime.GetProgramDependencies:output_type -> pulumirpc.GetProgramDependenciesResponse + 21, // 60: pulumirpc.LanguageRuntime.RunPlugin:output_type -> pulumirpc.RunPluginResponse + 23, // 61: pulumirpc.LanguageRuntime.GenerateProgram:output_type -> pulumirpc.GenerateProgramResponse + 25, // 62: pulumirpc.LanguageRuntime.GenerateProject:output_type -> pulumirpc.GenerateProjectResponse + 27, // 63: pulumirpc.LanguageRuntime.GeneratePackage:output_type -> pulumirpc.GeneratePackageResponse + 29, // 64: pulumirpc.LanguageRuntime.Pack:output_type -> pulumirpc.PackResponse + 33, // 65: pulumirpc.LanguageRuntime.Link:output_type -> pulumirpc.LinkResponse + 48, // 66: pulumirpc.LanguageRuntime.Cancel:output_type -> google.protobuf.Empty + 50, // [50:67] is the sub-list for method output_type + 33, // [33:50] is the sub-list for method input_type + 33, // [33:33] is the sub-list for extension type_name + 33, // [33:33] is the sub-list for extension extendee + 0, // [0:33] is the sub-list for field type_name } func init() { file_pulumi_language_proto_init() } diff --git a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/plugin.pb.go b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/plugin.pb.go index 4226a4b3c..5820eaf53 100644 --- a/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/plugin.pb.go +++ b/vendor/github.com/pulumi/pulumi/sdk/v3/proto/go/plugin.pb.go @@ -356,6 +356,94 @@ func (x *PackageDependency) GetParameterization() *PackageParameterization { return nil } +type PackageSpec struct { + state protoimpl.MessageState `protogen:"open.v1"` + // The "name" of the plugin. + // + // Source may be one of: + // - A simple name, like "pkg" + // - A registry double or triple: "org/pkg", "source/org/pkg" + // - A git URL, "git://github.com/pulumi/pulumi-example/path" + // - An un-prefixed URL, like github.com/pulumi/pulumi-example/path + // - A local path, like /usr/bin/pkg + Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` + // The version of the provider, may be Semver 2.0 or a git hash. + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + // Any parameters needed to configure the package. + Parameters []string `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"` + // if set will be used to validate the plugin downloaded matches. This is keyed by + // "$os-$arch", e.g. "linux-x64". + Checksums map[string][]byte `protobuf:"bytes,4,rep,name=checksums,proto3" json:"checksums,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Server string `protobuf:"bytes,5,opt,name=server,proto3" json:"server,omitempty"` // the URL of a server that can be used to download this plugin, if needed. + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *PackageSpec) Reset() { + *x = PackageSpec{} + mi := &file_pulumi_plugin_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *PackageSpec) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PackageSpec) ProtoMessage() {} + +func (x *PackageSpec) ProtoReflect() protoreflect.Message { + mi := &file_pulumi_plugin_proto_msgTypes[5] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PackageSpec.ProtoReflect.Descriptor instead. +func (*PackageSpec) Descriptor() ([]byte, []int) { + return file_pulumi_plugin_proto_rawDescGZIP(), []int{5} +} + +func (x *PackageSpec) GetSource() string { + if x != nil { + return x.Source + } + return "" +} + +func (x *PackageSpec) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + +func (x *PackageSpec) GetParameters() []string { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *PackageSpec) GetChecksums() map[string][]byte { + if x != nil { + return x.Checksums + } + return nil +} + +func (x *PackageSpec) GetServer() string { + if x != nil { + return x.Server + } + return "" +} + var File_pulumi_plugin_proto protoreflect.FileDescriptor const file_pulumi_plugin_proto_rawDesc = "" + @@ -388,6 +476,17 @@ const file_pulumi_plugin_proto_rawDesc = "" + "\x10parameterization\x18\x06 \x01(\v2\".pulumirpc.PackageParameterizationR\x10parameterization\x1a<\n" + "\x0eChecksumsEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + + "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\"\xfa\x01\n" + + "\vPackageSpec\x12\x16\n" + + "\x06source\x18\x01 \x01(\tR\x06source\x12\x18\n" + + "\aversion\x18\x02 \x01(\tR\aversion\x12\x1e\n" + + "\n" + + "parameters\x18\x03 \x03(\tR\n" + + "parameters\x12C\n" + + "\tchecksums\x18\x04 \x03(\v2%.pulumirpc.PackageSpec.ChecksumsEntryR\tchecksums\x12\x16\n" + + "\x06server\x18\x05 \x01(\tR\x06server\x1a<\n" + + "\x0eChecksumsEntry\x12\x10\n" + + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01B4Z2github.com/pulumi/pulumi/sdk/v3/proto/go;pulumirpcb\x06proto3" var ( @@ -402,25 +501,28 @@ func file_pulumi_plugin_proto_rawDescGZIP() []byte { return file_pulumi_plugin_proto_rawDescData } -var file_pulumi_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_pulumi_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_pulumi_plugin_proto_goTypes = []any{ (*PluginInfo)(nil), // 0: pulumirpc.PluginInfo (*PluginDependency)(nil), // 1: pulumirpc.PluginDependency (*PluginAttach)(nil), // 2: pulumirpc.PluginAttach (*PackageParameterization)(nil), // 3: pulumirpc.PackageParameterization (*PackageDependency)(nil), // 4: pulumirpc.PackageDependency - nil, // 5: pulumirpc.PluginDependency.ChecksumsEntry - nil, // 6: pulumirpc.PackageDependency.ChecksumsEntry + (*PackageSpec)(nil), // 5: pulumirpc.PackageSpec + nil, // 6: pulumirpc.PluginDependency.ChecksumsEntry + nil, // 7: pulumirpc.PackageDependency.ChecksumsEntry + nil, // 8: pulumirpc.PackageSpec.ChecksumsEntry } var file_pulumi_plugin_proto_depIdxs = []int32{ - 5, // 0: pulumirpc.PluginDependency.checksums:type_name -> pulumirpc.PluginDependency.ChecksumsEntry - 6, // 1: pulumirpc.PackageDependency.checksums:type_name -> pulumirpc.PackageDependency.ChecksumsEntry + 6, // 0: pulumirpc.PluginDependency.checksums:type_name -> pulumirpc.PluginDependency.ChecksumsEntry + 7, // 1: pulumirpc.PackageDependency.checksums:type_name -> pulumirpc.PackageDependency.ChecksumsEntry 3, // 2: pulumirpc.PackageDependency.parameterization:type_name -> pulumirpc.PackageParameterization - 3, // [3:3] is the sub-list for method output_type - 3, // [3:3] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name + 8, // 3: pulumirpc.PackageSpec.checksums:type_name -> pulumirpc.PackageSpec.ChecksumsEntry + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name } func init() { file_pulumi_plugin_proto_init() } @@ -434,7 +536,7 @@ func file_pulumi_plugin_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_pulumi_plugin_proto_rawDesc), len(file_pulumi_plugin_proto_rawDesc)), NumEnums: 0, - NumMessages: 7, + NumMessages: 9, NumExtensions: 0, NumServices: 0, }, diff --git a/vendor/modules.txt b/vendor/modules.txt index 2f159d839..7ee2544bd 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1,7 +1,7 @@ # dario.cat/mergo v1.0.2 ## explicit; go 1.13 dario.cat/mergo -# github.com/Azure/azure-sdk-for-go/sdk/azcore v1.21.1 +# github.com/Azure/azure-sdk-for-go/sdk/azcore v1.22.0 ## explicit; go 1.25.0 github.com/Azure/azure-sdk-for-go/sdk/azcore github.com/Azure/azure-sdk-for-go/sdk/azcore/arm @@ -175,12 +175,12 @@ github.com/IBM-Cloud/power-go-client/power/models # github.com/IBM/go-sdk-core/v5 v5.21.4 ## explicit; go 1.25.0 github.com/IBM/go-sdk-core/v5/core -# github.com/IBM/platform-services-go-sdk v0.98.0 +# github.com/IBM/platform-services-go-sdk v0.99.0 ## explicit; go 1.25.0 github.com/IBM/platform-services-go-sdk/common github.com/IBM/platform-services-go-sdk/resourcecontrollerv2 -# github.com/IBM/vpc-go-sdk v0.83.2 -## explicit; go 1.24.0 +# github.com/IBM/vpc-go-sdk v0.84.0 +## explicit; go 1.25.0 github.com/IBM/vpc-go-sdk/common github.com/IBM/vpc-go-sdk/vpcv1 # github.com/Microsoft/go-winio v0.6.2 @@ -263,11 +263,11 @@ github.com/aws/aws-sdk-go-v2/internal/timeconv ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/eventstreamapi -# github.com/aws/aws-sdk-go-v2/config v1.32.23 +# github.com/aws/aws-sdk-go-v2/config v1.32.20 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/config github.com/aws/aws-sdk-go-v2/config/internal/ini -# github.com/aws/aws-sdk-go-v2/credentials v1.19.22 +# github.com/aws/aws-sdk-go-v2/credentials v1.19.19 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/credentials github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds @@ -277,7 +277,7 @@ github.com/aws/aws-sdk-go-v2/credentials/logincreds github.com/aws/aws-sdk-go-v2/credentials/processcreds github.com/aws/aws-sdk-go-v2/credentials/ssocreds github.com/aws/aws-sdk-go-v2/credentials/stscreds -# github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.28 +# github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.25 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/feature/ec2/imds github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/config @@ -292,7 +292,7 @@ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 github.com/aws/aws-sdk-go-v2/internal/v4a github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4 -# github.com/aws/aws-sdk-go-v2/service/ec2 v1.304.2 +# github.com/aws/aws-sdk-go-v2/service/ec2 v1.305.2 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/service/ec2 github.com/aws/aws-sdk-go-v2/service/ec2/internal/endpoints @@ -323,19 +323,19 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url github.com/aws/aws-sdk-go-v2/service/internal/s3shared github.com/aws/aws-sdk-go-v2/service/internal/s3shared/arn github.com/aws/aws-sdk-go-v2/service/internal/s3shared/config -# github.com/aws/aws-sdk-go-v2/service/pricing v1.42.6 +# github.com/aws/aws-sdk-go-v2/service/pricing v1.42.2 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/service/pricing github.com/aws/aws-sdk-go-v2/service/pricing/internal/endpoints github.com/aws/aws-sdk-go-v2/service/pricing/types -# github.com/aws/aws-sdk-go-v2/service/s3 v1.101.0 +# github.com/aws/aws-sdk-go-v2/service/s3 v1.103.2 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/service/s3 github.com/aws/aws-sdk-go-v2/service/s3/internal/arn github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints github.com/aws/aws-sdk-go-v2/service/s3/types -# github.com/aws/aws-sdk-go-v2/service/signin v1.1.4 +# github.com/aws/aws-sdk-go-v2/service/signin v1.1.1 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/service/signin github.com/aws/aws-sdk-go-v2/service/signin/internal/endpoints @@ -345,7 +345,7 @@ github.com/aws/aws-sdk-go-v2/service/signin/types github.com/aws/aws-sdk-go-v2/service/sso github.com/aws/aws-sdk-go-v2/service/sso/internal/endpoints github.com/aws/aws-sdk-go-v2/service/sso/types -# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.5 +# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.36.2 ## explicit; go 1.24 github.com/aws/aws-sdk-go-v2/service/ssooidc github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints @@ -355,7 +355,7 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc/types github.com/aws/aws-sdk-go-v2/service/sts github.com/aws/aws-sdk-go-v2/service/sts/internal/endpoints github.com/aws/aws-sdk-go-v2/service/sts/types -# github.com/aws/smithy-go v1.27.1 +# github.com/aws/smithy-go v1.27.2 ## explicit; go 1.24 github.com/aws/smithy-go github.com/aws/smithy-go/auth @@ -431,7 +431,7 @@ github.com/charmbracelet/x/ansi/parser # github.com/charmbracelet/x/cellbuf v0.0.15 ## explicit; go 1.24.2 github.com/charmbracelet/x/cellbuf -# github.com/charmbracelet/x/exp/golden v0.0.0-20260601140041-e36ca9b00c4e +# github.com/charmbracelet/x/exp/golden v0.0.0-20260607010151-cd19a2bba55f ## explicit; go 1.24.0 # github.com/charmbracelet/x/term v0.2.2 ## explicit; go 1.24.0 @@ -591,10 +591,10 @@ github.com/go-openapi/jsonpointer ## explicit; go 1.25.0 github.com/go-openapi/jsonreference github.com/go-openapi/jsonreference/internal -# github.com/go-openapi/loads v0.23.3 -## explicit; go 1.24.0 +# github.com/go-openapi/loads v0.24.0 +## explicit; go 1.25.0 github.com/go-openapi/loads -# github.com/go-openapi/runtime v0.32.3 +# github.com/go-openapi/runtime v0.32.2 ## explicit; go 1.25.0 github.com/go-openapi/runtime github.com/go-openapi/runtime/client @@ -605,7 +605,7 @@ github.com/go-openapi/runtime/middleware/denco github.com/go-openapi/runtime/middleware/untyped github.com/go-openapi/runtime/security github.com/go-openapi/runtime/yamlpc -# github.com/go-openapi/runtime/server-middleware v0.32.3 +# github.com/go-openapi/runtime/server-middleware v0.32.2 ## explicit; go 1.25.0 github.com/go-openapi/runtime/server-middleware/docui github.com/go-openapi/runtime/server-middleware/mediatype @@ -618,16 +618,16 @@ github.com/go-openapi/spec ## explicit; go 1.25.0 github.com/go-openapi/strfmt github.com/go-openapi/strfmt/internal/bsonlite -# github.com/go-openapi/swag v0.26.1 +# github.com/go-openapi/swag v0.26.0 ## explicit; go 1.25.0 github.com/go-openapi/swag -# github.com/go-openapi/swag/cmdutils v0.26.1 +# github.com/go-openapi/swag/cmdutils v0.26.0 ## explicit; go 1.25.0 github.com/go-openapi/swag/cmdutils # github.com/go-openapi/swag/conv v0.26.1 ## explicit; go 1.25.0 github.com/go-openapi/swag/conv -# github.com/go-openapi/swag/fileutils v0.26.1 +# github.com/go-openapi/swag/fileutils v0.26.0 ## explicit; go 1.25.0 github.com/go-openapi/swag/fileutils # github.com/go-openapi/swag/jsonname v0.26.1 @@ -872,13 +872,13 @@ github.com/pulumi/esc/internal/util github.com/pulumi/esc/schema github.com/pulumi/esc/syntax github.com/pulumi/esc/syntax/encoding -# github.com/pulumi/pulumi-aws-native/sdk v1.66.0 +# github.com/pulumi/pulumi-aws-native/sdk v1.68.0 ## explicit; go 1.25.6 github.com/pulumi/pulumi-aws-native/sdk/go/aws github.com/pulumi/pulumi-aws-native/sdk/go/aws/internal github.com/pulumi/pulumi-aws-native/sdk/go/aws/scheduler github.com/pulumi/pulumi-aws-native/sdk/go/aws/ssm -# github.com/pulumi/pulumi-aws/sdk/v7 v7.30.0 +# github.com/pulumi/pulumi-aws/sdk/v7 v7.32.0 ## explicit; go 1.25.8 github.com/pulumi/pulumi-aws/sdk/v7/go/aws github.com/pulumi/pulumi-aws/sdk/v7/go/aws/autoscaling @@ -890,8 +890,8 @@ github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam github.com/pulumi/pulumi-aws/sdk/v7/go/aws/internal github.com/pulumi/pulumi-aws/sdk/v7/go/aws/lb github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3 -# github.com/pulumi/pulumi-awsx/sdk/v3 v3.5.0 -## explicit; go 1.24.0 +# github.com/pulumi/pulumi-awsx/sdk/v3 v3.6.0 +## explicit; go 1.25.8 github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/awsx github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/ecs github.com/pulumi/pulumi-awsx/sdk/v3/go/awsx/internal @@ -1014,7 +1014,7 @@ github.com/pulumi/pulumi-random/sdk/v4/go/random/internal ## explicit; go 1.25.8 github.com/pulumi/pulumi-tls/sdk/v5/go/tls github.com/pulumi/pulumi-tls/sdk/v5/go/tls/internal -# github.com/pulumi/pulumi/sdk/v3 v3.244.0 +# github.com/pulumi/pulumi/sdk/v3 v3.245.0 ## explicit; go 1.25.8 github.com/pulumi/pulumi/sdk/v3 github.com/pulumi/pulumi/sdk/v3/go/auto @@ -1291,7 +1291,7 @@ golang.org/x/crypto/ssh golang.org/x/crypto/ssh/agent golang.org/x/crypto/ssh/internal/bcrypt_pbkdf golang.org/x/crypto/ssh/knownhosts -# golang.org/x/exp v0.0.0-20260529124908-c761662dc8c9 +# golang.org/x/exp v0.0.0-20260603202125-055de637280b ## explicit; go 1.25.0 golang.org/x/exp/maps golang.org/x/exp/slices @@ -1584,7 +1584,7 @@ k8s.io/klog/v2/internal/severity k8s.io/klog/v2/internal/sloghandler k8s.io/klog/v2/internal/verbosity k8s.io/klog/v2/textlogger -# k8s.io/kube-openapi v0.0.0-20260520065146-aa012df4f4af +# k8s.io/kube-openapi v0.0.0-20260603220949-865597e52e25 ## explicit; go 1.24.0 k8s.io/kube-openapi/pkg/util # k8s.io/utils v0.0.0-20260507154919-ff6756f316d2