diff --git a/go.mod b/go.mod index c02d19d2555ef..bcb057d9ce4a6 100644 --- a/go.mod +++ b/go.mod @@ -16,11 +16,11 @@ require ( github.com/apparentlymart/go-cidr v1.1.0 github.com/aws/amazon-ec2-instance-selector/v2 v2.4.2-0.20231216170552-14d4dfcbaadf github.com/aws/aws-sdk-go-v2 v1.26.1 - github.com/aws/aws-sdk-go-v2/config v1.27.12 - github.com/aws/aws-sdk-go-v2/credentials v1.17.12 + github.com/aws/aws-sdk-go-v2/config v1.27.13 + github.com/aws/aws-sdk-go-v2/credentials v1.17.13 github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 github.com/aws/aws-sdk-go-v2/service/autoscaling v1.40.6 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1 github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.24.5 github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.30.6 github.com/aws/aws-sdk-go-v2/service/eventbridge v1.30.5 @@ -72,7 +72,7 @@ require ( golang.org/x/oauth2 v0.20.0 golang.org/x/sync v0.7.0 golang.org/x/sys v0.20.0 - google.golang.org/api v0.179.0 + google.golang.org/api v0.180.0 google.golang.org/grpc v1.63.2 google.golang.org/protobuf v1.34.1 gopkg.in/gcfg.v1 v1.2.3 @@ -122,7 +122,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.5 // indirect github.com/aws/aws-sdk-go-v2/service/pricing v1.21.6 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.20.6 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0 // indirect github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect diff --git a/go.sum b/go.sum index d0cdb034624f2..5cef288644032 100644 --- a/go.sum +++ b/go.sum @@ -80,10 +80,10 @@ github.com/aws/aws-sdk-go-v2 v1.26.1 h1:5554eUqIYVWpU0YmeeYZ0wU64H2VLBs8TlhRB2L+ github.com/aws/aws-sdk-go-v2 v1.26.1/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= -github.com/aws/aws-sdk-go-v2/config v1.27.12 h1:vq88mBaZI4NGLXk8ierArwSILmYHDJZGJOeAc/pzEVQ= -github.com/aws/aws-sdk-go-v2/config v1.27.12/go.mod h1:IOrsf4IiN68+CgzyuyGUYTpCrtUQTbbMEAtR/MR/4ZU= -github.com/aws/aws-sdk-go-v2/credentials v1.17.12 h1:PVbKQ0KjDosI5+nEdRMU8ygEQDmkJTSHBqPjEX30lqc= -github.com/aws/aws-sdk-go-v2/credentials v1.17.12/go.mod h1:jlWtGFRtKsqc5zqerHZYmKmRkUXo3KPM14YJ13ZEjwE= +github.com/aws/aws-sdk-go-v2/config v1.27.13 h1:WbKW8hOzrWoOA/+35S5okqO/2Ap8hkkFUzoW8Hzq24A= +github.com/aws/aws-sdk-go-v2/config v1.27.13/go.mod h1:XLiyiTMnguytjRER7u5RIkhIqS8Nyz41SwAWb4xEjxs= +github.com/aws/aws-sdk-go-v2/credentials v1.17.13 h1:XDCJDzk/u5cN7Aple7D/MiAhx1Rjo/0nueJ0La8mRuE= +github.com/aws/aws-sdk-go-v2/credentials v1.17.13/go.mod h1:FMNcjQrmuBYvOTZDtOLCIu0esmxjF7RuA/89iSXWzQI= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 h1:FVJ0r5XTHSmIHJV6KuDmdYhEpvlHpiSd38RQWhut5J4= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1/go.mod h1:zusuAeqezXzAB24LGuzuekqMAEgWkVYukBec3kr3jUg= github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41/go.mod h1:CrObHAuPneJBlfEJ5T3szXOUkLEThaGfvnhTf33buas= @@ -98,8 +98,8 @@ github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5 h1:81KE7vaZzrl7yHBYHVEzYB8sypz1 github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5/go.mod h1:LIt2rg7Mcgn09Ygbdh/RdIm0rQ+3BNkbP1gyVMFtRK0= github.com/aws/aws-sdk-go-v2/service/autoscaling v1.40.6 h1:IDoEdCkKRy7iPlRVSuDATGE57xUjrk5i1M9eWPYwr/Y= github.com/aws/aws-sdk-go-v2/service/autoscaling v1.40.6/go.mod h1:ZErgk/bPaaZIpj+lUWGlwI1A0UFhSIscgnCPzTLnb2s= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0 h1:wpQ7oQsHMgE/l0lAzdKIZO83NmdlXpxkGoRbho5BNtg= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0/go.mod h1:xejKuuRDjz6z5OqyeLsz01MlOqqW7CqpAB4PabNvpu8= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1 h1:NbjXshriDs5bGeqKvrOF70L41X0aCMC60ImN2vkcQAc= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1/go.mod h1:xejKuuRDjz6z5OqyeLsz01MlOqqW7CqpAB4PabNvpu8= github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.24.5 h1:OejC+MwvkwDdTVmOA+D9l1F6FxphADexR29Ou0dGT4Y= github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing v1.24.5/go.mod h1:aYygRYqRxmLGrxRxAisgNarwo4x8bcJG14rh4r57VqE= github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.30.6 h1:P5kMcIzrz4Y7GIkvmkosgv/0cs1Crk/VLo5pBhrTWGI= @@ -130,8 +130,8 @@ github.com/aws/aws-sdk-go-v2/service/ssm v1.50.1 h1:vgpeoBRWw22qcb1xo3eJFkuulwPI github.com/aws/aws-sdk-go-v2/service/ssm v1.50.1/go.mod h1:Ebk/HZmGhxWKDVxM4+pwbxGjm3RQOQLMjAEosI3ss9Q= github.com/aws/aws-sdk-go-v2/service/sso v1.20.6 h1:o5cTaeunSpfXiLTIBx5xo2enQmiChtu1IBbzXnfU9Hs= github.com/aws/aws-sdk-go-v2/service/sso v1.20.6/go.mod h1:qGzynb/msuZIE8I75DVRCUXw3o3ZyBmUvMwQ2t/BrGM= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.5 h1:Ciiz/plN+Z+pPO1G0W2zJoYIIl0KtKzY0LJ78NXYTws= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.5/go.mod h1:mUYPBhaF2lGiukDEjJX2BLRRKTmoUSitGDUgM4tRxak= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0 h1:Qe0r0lVURDDeBQJ4yP+BOrJkvkiCo/3FH/t+wY11dmw= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0/go.mod h1:mUYPBhaF2lGiukDEjJX2BLRRKTmoUSitGDUgM4tRxak= github.com/aws/aws-sdk-go-v2/service/sts v1.28.7 h1:et3Ta53gotFR4ERLXXHIHl/Uuk1qYpP5uU7cvNql8ns= github.com/aws/aws-sdk-go-v2/service/sts v1.28.7/go.mod h1:FZf1/nKNEkHdGGJP/cI2MoIMquumuRK6ol3QQJNDxmw= github.com/aws/smithy-go v1.14.2/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= @@ -806,8 +806,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw= gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= -google.golang.org/api v0.179.0 h1:QyHDLm/HqM7ysaHgGO0wu7P4NbwbimnOoKxu5Cfdx8s= -google.golang.org/api v0.179.0/go.mod h1:51AiyoEg1MJPSZ9zvklA8VnRILPXxn1iVen9v25XHAE= +google.golang.org/api v0.180.0 h1:M2D87Yo0rGBPWpo1orwfCLehUUL6E7/TYe5gvMQWDh4= +google.golang.org/api v0.180.0/go.mod h1:51AiyoEg1MJPSZ9zvklA8VnRILPXxn1iVen9v25XHAE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= diff --git a/tests/e2e/go.mod b/tests/e2e/go.mod index fb379f6aa5e55..87773e41f5db8 100644 --- a/tests/e2e/go.mod +++ b/tests/e2e/go.mod @@ -71,14 +71,14 @@ require ( github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect - github.com/aws/aws-sdk-go-v2/config v1.27.12 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.12 // indirect + github.com/aws/aws-sdk-go-v2/config v1.27.13 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.13 // indirect github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 // indirect github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.5 // indirect github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.5 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5 // indirect - github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0 // indirect + github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1 // indirect github.com/aws/aws-sdk-go-v2/service/ecr v1.15.0 // indirect github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.12.0 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect @@ -87,7 +87,7 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.5 // indirect github.com/aws/aws-sdk-go-v2/service/s3 v1.53.2 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.20.6 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.5 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0 // indirect github.com/aws/aws-sdk-go-v2/service/sts v1.28.7 // indirect github.com/aws/smithy-go v1.20.2 // indirect github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795 // indirect @@ -287,7 +287,7 @@ require ( golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.21.0 // indirect golang.org/x/tools/go/vcs v0.1.0-deprecated // indirect - google.golang.org/api v0.179.0 // indirect + google.golang.org/api v0.180.0 // indirect google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 // indirect diff --git a/tests/e2e/go.sum b/tests/e2e/go.sum index eeec164720a4c..eec7ba7bc001b 100644 --- a/tests/e2e/go.sum +++ b/tests/e2e/go.sum @@ -177,11 +177,11 @@ github.com/aws/aws-sdk-go-v2 v1.26.1/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7 github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= github.com/aws/aws-sdk-go-v2/config v1.5.0/go.mod h1:RWlPOAW3E3tbtNAqTwvSW54Of/yP3oiZXMI0xfUdjyA= -github.com/aws/aws-sdk-go-v2/config v1.27.12 h1:vq88mBaZI4NGLXk8ierArwSILmYHDJZGJOeAc/pzEVQ= -github.com/aws/aws-sdk-go-v2/config v1.27.12/go.mod h1:IOrsf4IiN68+CgzyuyGUYTpCrtUQTbbMEAtR/MR/4ZU= +github.com/aws/aws-sdk-go-v2/config v1.27.13 h1:WbKW8hOzrWoOA/+35S5okqO/2Ap8hkkFUzoW8Hzq24A= +github.com/aws/aws-sdk-go-v2/config v1.27.13/go.mod h1:XLiyiTMnguytjRER7u5RIkhIqS8Nyz41SwAWb4xEjxs= github.com/aws/aws-sdk-go-v2/credentials v1.3.1/go.mod h1:r0n73xwsIVagq8RsxmZbGSRQFj9As3je72C2WzUIToc= -github.com/aws/aws-sdk-go-v2/credentials v1.17.12 h1:PVbKQ0KjDosI5+nEdRMU8ygEQDmkJTSHBqPjEX30lqc= -github.com/aws/aws-sdk-go-v2/credentials v1.17.12/go.mod h1:jlWtGFRtKsqc5zqerHZYmKmRkUXo3KPM14YJ13ZEjwE= +github.com/aws/aws-sdk-go-v2/credentials v1.17.13 h1:XDCJDzk/u5cN7Aple7D/MiAhx1Rjo/0nueJ0La8mRuE= +github.com/aws/aws-sdk-go-v2/credentials v1.17.13/go.mod h1:FMNcjQrmuBYvOTZDtOLCIu0esmxjF7RuA/89iSXWzQI= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.3.0/go.mod h1:2LAuqPx1I6jNfaGDucWfA2zqQCYCOMCDHiCOciALyNw= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1 h1:FVJ0r5XTHSmIHJV6KuDmdYhEpvlHpiSd38RQWhut5J4= github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1/go.mod h1:zusuAeqezXzAB24LGuzuekqMAEgWkVYukBec3kr3jUg= @@ -196,8 +196,8 @@ github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7 github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5 h1:81KE7vaZzrl7yHBYHVEzYB8sypz11NMOZ40YlWvPxsU= github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.5/go.mod h1:LIt2rg7Mcgn09Ygbdh/RdIm0rQ+3BNkbP1gyVMFtRK0= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0 h1:wpQ7oQsHMgE/l0lAzdKIZO83NmdlXpxkGoRbho5BNtg= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0/go.mod h1:xejKuuRDjz6z5OqyeLsz01MlOqqW7CqpAB4PabNvpu8= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1 h1:NbjXshriDs5bGeqKvrOF70L41X0aCMC60ImN2vkcQAc= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1/go.mod h1:xejKuuRDjz6z5OqyeLsz01MlOqqW7CqpAB4PabNvpu8= github.com/aws/aws-sdk-go-v2/service/ecr v1.4.1/go.mod h1:FglZcyeiBqcbvyinl+n14aT/EWC7S1MIH+Gan2iizt0= github.com/aws/aws-sdk-go-v2/service/ecr v1.15.0 h1:lY2Z2sBP+zSbJ6CvvmnFgPcgknoQ0OJV88AwVetRRFk= github.com/aws/aws-sdk-go-v2/service/ecr v1.15.0/go.mod h1:4zYI85WiYDhFaU1jPFVfkD7HlBcdnITDE3QxDwy4Kus= @@ -220,8 +220,8 @@ github.com/aws/aws-sdk-go-v2/service/s3 v1.53.2/go.mod h1:qmdkIIAC+GCLASF7R2whgN github.com/aws/aws-sdk-go-v2/service/sso v1.3.1/go.mod h1:J3A3RGUvuCZjvSuZEcOpHDnzZP/sKbhDWV2T1EOzFIM= github.com/aws/aws-sdk-go-v2/service/sso v1.20.6 h1:o5cTaeunSpfXiLTIBx5xo2enQmiChtu1IBbzXnfU9Hs= github.com/aws/aws-sdk-go-v2/service/sso v1.20.6/go.mod h1:qGzynb/msuZIE8I75DVRCUXw3o3ZyBmUvMwQ2t/BrGM= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.5 h1:Ciiz/plN+Z+pPO1G0W2zJoYIIl0KtKzY0LJ78NXYTws= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.5/go.mod h1:mUYPBhaF2lGiukDEjJX2BLRRKTmoUSitGDUgM4tRxak= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0 h1:Qe0r0lVURDDeBQJ4yP+BOrJkvkiCo/3FH/t+wY11dmw= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0/go.mod h1:mUYPBhaF2lGiukDEjJX2BLRRKTmoUSitGDUgM4tRxak= github.com/aws/aws-sdk-go-v2/service/sts v1.6.0/go.mod h1:q7o0j7d7HrJk/vr9uUt3BVRASvcU7gYZB9PUgPiByXg= github.com/aws/aws-sdk-go-v2/service/sts v1.28.7 h1:et3Ta53gotFR4ERLXXHIHl/Uuk1qYpP5uU7cvNql8ns= github.com/aws/aws-sdk-go-v2/service/sts v1.28.7/go.mod h1:FZf1/nKNEkHdGGJP/cI2MoIMquumuRK6ol3QQJNDxmw= @@ -1340,8 +1340,8 @@ google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsb google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.179.0 h1:QyHDLm/HqM7ysaHgGO0wu7P4NbwbimnOoKxu5Cfdx8s= -google.golang.org/api v0.179.0/go.mod h1:51AiyoEg1MJPSZ9zvklA8VnRILPXxn1iVen9v25XHAE= +google.golang.org/api v0.180.0 h1:M2D87Yo0rGBPWpo1orwfCLehUUL6E7/TYe5gvMQWDh4= +google.golang.org/api v0.180.0/go.mod h1:51AiyoEg1MJPSZ9zvklA8VnRILPXxn1iVen9v25XHAE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/tools/otel/traceserver/go.mod b/tools/otel/traceserver/go.mod index 5eada39f688a1..854a3932120e5 100644 --- a/tools/otel/traceserver/go.mod +++ b/tools/otel/traceserver/go.mod @@ -48,7 +48,7 @@ require ( golang.org/x/oauth2 v0.20.0 // indirect golang.org/x/sys v0.20.0 // indirect golang.org/x/text v0.15.0 // indirect - google.golang.org/api v0.179.0 // indirect + google.golang.org/api v0.180.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20240415180920-8c6c420018be // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 // indirect k8s.io/apimachinery v0.30.0 // indirect diff --git a/tools/otel/traceserver/go.sum b/tools/otel/traceserver/go.sum index 5784c4e4aee73..48edcab8f9fff 100644 --- a/tools/otel/traceserver/go.sum +++ b/tools/otel/traceserver/go.sum @@ -208,8 +208,8 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.179.0 h1:QyHDLm/HqM7ysaHgGO0wu7P4NbwbimnOoKxu5Cfdx8s= -google.golang.org/api v0.179.0/go.mod h1:51AiyoEg1MJPSZ9zvklA8VnRILPXxn1iVen9v25XHAE= +google.golang.org/api v0.180.0 h1:M2D87Yo0rGBPWpo1orwfCLehUUL6E7/TYe5gvMQWDh4= +google.golang.org/api v0.180.0/go.mod h1:51AiyoEg1MJPSZ9zvklA8VnRILPXxn1iVen9v25XHAE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= 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 808e13ab4be79..56c343bb2801a 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,3 +1,7 @@ +# v1.27.13 (2024-05-10) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.27.12 (2024-05-08) * **Dependency Update**: Updated to the latest SDK module versions 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 2ec19a2db9324..a4e03db127491 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.27.12" +const goModuleVersion = "1.27.13" 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 bbef71786921a..0aea1772fa0ab 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,3 +1,7 @@ +# v1.17.13 (2024-05-10) + +* **Dependency Update**: Updated to the latest SDK module versions + # v1.17.12 (2024-05-08) * **Dependency Update**: Updated to the latest SDK module versions 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 863674dd78ace..3ded0b066b26e 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.17.12" +const goModuleVersion = "1.17.13" 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 76f74b0c34f04..f75ed1d8b0d5c 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,7 @@ +# v1.161.1 (2024-05-10) + +* **Bug Fix**: Fix serialization behavior of empty lists. + # v1.161.0 (2024-05-08) * **Feature**: Adding Precision Hardware Clock (PHC) to public API DescribeInstanceTypes 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 0fab7a6fea501..4ada4632fe2e4 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.161.0" +const goModuleVersion = "1.161.1" 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 923775f027ffa..2af0133e60234 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 @@ -39795,6 +39795,9 @@ func awsEc2query_serializeDocumentAcceleratorCountRequest(v *types.AcceleratorCo } func awsEc2query_serializeDocumentAcceleratorManufacturerSet(v []types.AcceleratorManufacturer, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -39805,6 +39808,9 @@ func awsEc2query_serializeDocumentAcceleratorManufacturerSet(v []types.Accelerat } func awsEc2query_serializeDocumentAcceleratorNameSet(v []types.AcceleratorName, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -39849,6 +39855,9 @@ func awsEc2query_serializeDocumentAcceleratorTotalMemoryMiBRequest(v *types.Acce } func awsEc2query_serializeDocumentAcceleratorTypeSet(v []types.AcceleratorType, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -39859,6 +39868,9 @@ func awsEc2query_serializeDocumentAcceleratorTypeSet(v []types.AcceleratorType, } func awsEc2query_serializeDocumentAccessScopePathListRequest(v []types.AccessScopePathRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -39899,6 +39911,9 @@ func awsEc2query_serializeDocumentAccessScopePathRequest(v *types.AccessScopePat } func awsEc2query_serializeDocumentAccountAttributeNameStringList(v []types.AccountAttributeName, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("AttributeName") for i := range v { @@ -39921,6 +39936,9 @@ func awsEc2query_serializeDocumentAddIpamOperatingRegion(v *types.AddIpamOperati } func awsEc2query_serializeDocumentAddIpamOperatingRegionSet(v []types.AddIpamOperatingRegion, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -39933,6 +39951,9 @@ func awsEc2query_serializeDocumentAddIpamOperatingRegionSet(v []types.AddIpamOpe } func awsEc2query_serializeDocumentAddPrefixListEntries(v []types.AddPrefixListEntry, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -39962,6 +39983,9 @@ func awsEc2query_serializeDocumentAddPrefixListEntry(v *types.AddPrefixListEntry } func awsEc2query_serializeDocumentAllocationIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("AllocationId") for i := range v { @@ -39972,6 +39996,9 @@ func awsEc2query_serializeDocumentAllocationIdList(v []string, value query.Value } func awsEc2query_serializeDocumentAllocationIds(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -39982,6 +40009,9 @@ func awsEc2query_serializeDocumentAllocationIds(v []string, value query.Value) e } func awsEc2query_serializeDocumentAllowedInstanceTypeSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -39992,6 +40022,9 @@ func awsEc2query_serializeDocumentAllowedInstanceTypeSet(v []string, value query } func awsEc2query_serializeDocumentArchitectureTypeSet(v []types.ArchitectureType, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40002,6 +40035,9 @@ func awsEc2query_serializeDocumentArchitectureTypeSet(v []types.ArchitectureType } func awsEc2query_serializeDocumentArnList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40029,6 +40065,9 @@ func awsEc2query_serializeDocumentAsnAuthorizationContext(v *types.AsnAuthorizat } func awsEc2query_serializeDocumentAssetIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -40039,6 +40078,9 @@ func awsEc2query_serializeDocumentAssetIdList(v []string, value query.Value) err } func awsEc2query_serializeDocumentAssociationIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("AssociationId") for i := range v { @@ -40076,6 +40118,9 @@ func awsEc2query_serializeDocumentAthenaIntegration(v *types.AthenaIntegration, } func awsEc2query_serializeDocumentAthenaIntegrationsSet(v []types.AthenaIntegration, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40112,6 +40157,9 @@ func awsEc2query_serializeDocumentAttributeValue(v *types.AttributeValue, value } func awsEc2query_serializeDocumentAvailabilityZoneStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("AvailabilityZone") for i := range v { @@ -40156,6 +40204,9 @@ func awsEc2query_serializeDocumentBaselineEbsBandwidthMbpsRequest(v *types.Basel } func awsEc2query_serializeDocumentBillingProductList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40207,6 +40258,9 @@ func awsEc2query_serializeDocumentBlockDeviceMapping(v *types.BlockDeviceMapping } func awsEc2query_serializeDocumentBlockDeviceMappingList(v []types.BlockDeviceMapping, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40219,6 +40273,9 @@ func awsEc2query_serializeDocumentBlockDeviceMappingList(v []types.BlockDeviceMa } func awsEc2query_serializeDocumentBlockDeviceMappingRequestList(v []types.BlockDeviceMapping, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("BlockDeviceMapping") for i := range v { @@ -40231,6 +40288,9 @@ func awsEc2query_serializeDocumentBlockDeviceMappingRequestList(v []types.BlockD } func awsEc2query_serializeDocumentBundleIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("BundleId") for i := range v { @@ -40241,6 +40301,9 @@ func awsEc2query_serializeDocumentBundleIdStringList(v []string, value query.Val } func awsEc2query_serializeDocumentCapacityReservationFleetIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40251,6 +40314,9 @@ func awsEc2query_serializeDocumentCapacityReservationFleetIdSet(v []string, valu } func awsEc2query_serializeDocumentCapacityReservationIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40309,6 +40375,9 @@ func awsEc2query_serializeDocumentCapacityReservationTarget(v *types.CapacityRes } func awsEc2query_serializeDocumentCarrierGatewayIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -40360,6 +40429,9 @@ func awsEc2query_serializeDocumentClassicLoadBalancer(v *types.ClassicLoadBalanc } func awsEc2query_serializeDocumentClassicLoadBalancers(v []types.ClassicLoadBalancer, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40493,6 +40565,9 @@ func awsEc2query_serializeDocumentClientVpnAuthenticationRequest(v *types.Client } func awsEc2query_serializeDocumentClientVpnAuthenticationRequestList(v []types.ClientVpnAuthenticationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -40505,6 +40580,9 @@ func awsEc2query_serializeDocumentClientVpnAuthenticationRequestList(v []types.C } func awsEc2query_serializeDocumentClientVpnEndpointIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40515,6 +40593,9 @@ func awsEc2query_serializeDocumentClientVpnEndpointIdList(v []string, value quer } func awsEc2query_serializeDocumentClientVpnSecurityGroupIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40547,6 +40628,9 @@ func awsEc2query_serializeDocumentCloudWatchLogOptionsSpecification(v *types.Clo } func awsEc2query_serializeDocumentCoipPoolIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40579,6 +40663,9 @@ func awsEc2query_serializeDocumentConnectionLogOptions(v *types.ConnectionLogOpt } func awsEc2query_serializeDocumentConnectionNotificationIdsList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40611,6 +40698,9 @@ func awsEc2query_serializeDocumentConnectionTrackingSpecificationRequest(v *type } func awsEc2query_serializeDocumentConversionIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40621,6 +40711,9 @@ func awsEc2query_serializeDocumentConversionIdStringList(v []string, value query } func awsEc2query_serializeDocumentCpuManufacturerSet(v []types.CpuManufacturer, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40777,6 +40870,9 @@ func awsEc2query_serializeDocumentCreateVerifiedAccessEndpointLoadBalancerOption } func awsEc2query_serializeDocumentCreateVerifiedAccessEndpointSubnetIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40863,6 +40959,9 @@ func awsEc2query_serializeDocumentCreateVolumePermission(v *types.CreateVolumePe } func awsEc2query_serializeDocumentCreateVolumePermissionList(v []types.CreateVolumePermission, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40908,6 +41007,9 @@ func awsEc2query_serializeDocumentCreditSpecificationRequest(v *types.CreditSpec } func awsEc2query_serializeDocumentCustomerGatewayIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("CustomerGatewayId") for i := range v { @@ -40918,6 +41020,9 @@ func awsEc2query_serializeDocumentCustomerGatewayIdStringList(v []string, value } func awsEc2query_serializeDocumentDataQueries(v []types.DataQuery, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -40967,6 +41072,9 @@ func awsEc2query_serializeDocumentDataQuery(v *types.DataQuery, value query.Valu } func awsEc2query_serializeDocumentDedicatedHostIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -40977,6 +41085,9 @@ func awsEc2query_serializeDocumentDedicatedHostIdList(v []string, value query.Va } func awsEc2query_serializeDocumentDeleteQueuedReservedInstancesIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41006,6 +41117,9 @@ func awsEc2query_serializeDocumentDeregisterInstanceTagAttributeRequest(v *types } func awsEc2query_serializeDocumentDescribeInstanceTopologyGroupNameSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -41016,6 +41130,9 @@ func awsEc2query_serializeDocumentDescribeInstanceTopologyGroupNameSet(v []strin } func awsEc2query_serializeDocumentDescribeInstanceTopologyInstanceIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -41048,6 +41165,9 @@ func awsEc2query_serializeDocumentDestinationOptionsRequest(v *types.Destination } func awsEc2query_serializeDocumentDhcpOptionsIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("DhcpOptionsId") for i := range v { @@ -41118,6 +41238,9 @@ func awsEc2query_serializeDocumentDiskImageDetail(v *types.DiskImageDetail, valu } func awsEc2query_serializeDocumentDiskImageList(v []types.DiskImage, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -41235,6 +41358,9 @@ func awsEc2query_serializeDocumentEbsInstanceBlockDeviceSpecification(v *types.E } func awsEc2query_serializeDocumentEgressOnlyInternetGatewayIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41245,6 +41371,9 @@ func awsEc2query_serializeDocumentEgressOnlyInternetGatewayIdList(v []string, va } func awsEc2query_serializeDocumentEipAssociationIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41255,6 +41384,9 @@ func awsEc2query_serializeDocumentEipAssociationIdList(v []string, value query.V } func awsEc2query_serializeDocumentElasticGpuIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41277,6 +41409,9 @@ func awsEc2query_serializeDocumentElasticGpuSpecification(v *types.ElasticGpuSpe } func awsEc2query_serializeDocumentElasticGpuSpecificationList(v []types.ElasticGpuSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ElasticGpuSpecification") for i := range v { @@ -41289,6 +41424,9 @@ func awsEc2query_serializeDocumentElasticGpuSpecificationList(v []types.ElasticG } func awsEc2query_serializeDocumentElasticGpuSpecifications(v []types.ElasticGpuSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41318,6 +41456,9 @@ func awsEc2query_serializeDocumentElasticInferenceAccelerator(v *types.ElasticIn } func awsEc2query_serializeDocumentElasticInferenceAccelerators(v []types.ElasticInferenceAccelerator, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41404,6 +41545,9 @@ func awsEc2query_serializeDocumentEnclaveOptionsRequest(v *types.EnclaveOptionsR } func awsEc2query_serializeDocumentExcludedInstanceTypeSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41414,6 +41558,9 @@ func awsEc2query_serializeDocumentExcludedInstanceTypeSet(v []string, value quer } func awsEc2query_serializeDocumentExecutableByStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ExecutableBy") for i := range v { @@ -41424,6 +41571,9 @@ func awsEc2query_serializeDocumentExecutableByStringList(v []string, value query } func awsEc2query_serializeDocumentExportImageTaskIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ExportImageTaskId") for i := range v { @@ -41434,6 +41584,9 @@ func awsEc2query_serializeDocumentExportImageTaskIdList(v []string, value query. } func awsEc2query_serializeDocumentExportTaskIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ExportTaskId") for i := range v { @@ -41488,6 +41641,9 @@ func awsEc2query_serializeDocumentExportToS3TaskSpecification(v *types.ExportToS } func awsEc2query_serializeDocumentFastLaunchImageIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ImageId") for i := range v { @@ -41568,6 +41724,9 @@ func awsEc2query_serializeDocumentFilter(v *types.Filter, value query.Value) err } func awsEc2query_serializeDocumentFilterList(v []types.Filter, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Filter") for i := range v { @@ -41580,6 +41739,9 @@ func awsEc2query_serializeDocumentFilterList(v []types.Filter, value query.Value } func awsEc2query_serializeDocumentFleetIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -41590,6 +41752,9 @@ func awsEc2query_serializeDocumentFleetIdSet(v []string, value query.Value) erro } func awsEc2query_serializeDocumentFleetLaunchTemplateConfigListRequest(v []types.FleetLaunchTemplateConfigRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41623,6 +41788,9 @@ func awsEc2query_serializeDocumentFleetLaunchTemplateConfigRequest(v *types.Flee } func awsEc2query_serializeDocumentFleetLaunchTemplateOverridesListRequest(v []types.FleetLaunchTemplateOverridesRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41792,6 +41960,9 @@ func awsEc2query_serializeDocumentFleetSpotMaintenanceStrategiesRequest(v *types } func awsEc2query_serializeDocumentFlowLogIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41802,6 +41973,9 @@ func awsEc2query_serializeDocumentFlowLogIdList(v []string, value query.Value) e } func awsEc2query_serializeDocumentFlowLogResourceIds(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41812,6 +41986,9 @@ func awsEc2query_serializeDocumentFlowLogResourceIds(v []string, value query.Val } func awsEc2query_serializeDocumentFpgaImageIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41839,6 +42016,9 @@ func awsEc2query_serializeDocumentGroupIdentifier(v *types.GroupIdentifier, valu } func awsEc2query_serializeDocumentGroupIdentifierList(v []types.GroupIdentifier, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41851,6 +42031,9 @@ func awsEc2query_serializeDocumentGroupIdentifierList(v []types.GroupIdentifier, } func awsEc2query_serializeDocumentGroupIds(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41861,6 +42044,9 @@ func awsEc2query_serializeDocumentGroupIds(v []string, value query.Value) error } func awsEc2query_serializeDocumentGroupIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("GroupId") for i := range v { @@ -41871,6 +42057,9 @@ func awsEc2query_serializeDocumentGroupIdStringList(v []string, value query.Valu } func awsEc2query_serializeDocumentGroupNameStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("GroupName") for i := range v { @@ -41893,6 +42082,9 @@ func awsEc2query_serializeDocumentHibernationOptionsRequest(v *types.Hibernation } func awsEc2query_serializeDocumentHostReservationIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -41937,6 +42129,9 @@ func awsEc2query_serializeDocumentIcmpTypeCode(v *types.IcmpTypeCode, value quer } func awsEc2query_serializeDocumentIKEVersionsRequestList(v []types.IKEVersionsRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42000,6 +42195,9 @@ func awsEc2query_serializeDocumentImageDiskContainer(v *types.ImageDiskContainer } func awsEc2query_serializeDocumentImageDiskContainerList(v []types.ImageDiskContainer, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42012,6 +42210,9 @@ func awsEc2query_serializeDocumentImageDiskContainerList(v []types.ImageDiskCont } func awsEc2query_serializeDocumentImageIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42022,6 +42223,9 @@ func awsEc2query_serializeDocumentImageIdList(v []string, value query.Value) err } func awsEc2query_serializeDocumentImageIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ImageId") for i := range v { @@ -42044,6 +42248,9 @@ func awsEc2query_serializeDocumentImportImageLicenseConfigurationRequest(v *type } func awsEc2query_serializeDocumentImportImageLicenseSpecificationListRequest(v []types.ImportImageLicenseConfigurationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42126,6 +42333,9 @@ func awsEc2query_serializeDocumentImportInstanceLaunchSpecification(v *types.Imp } func awsEc2query_serializeDocumentImportSnapshotTaskIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ImportTaskId") for i := range v { @@ -42136,6 +42346,9 @@ func awsEc2query_serializeDocumentImportSnapshotTaskIdList(v []string, value que } func awsEc2query_serializeDocumentImportTaskIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ImportTaskId") for i := range v { @@ -42146,6 +42359,9 @@ func awsEc2query_serializeDocumentImportTaskIdList(v []string, value query.Value } func awsEc2query_serializeDocumentInsideCidrBlocksStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42185,6 +42401,9 @@ func awsEc2query_serializeDocumentInstanceBlockDeviceMappingSpecification(v *typ } func awsEc2query_serializeDocumentInstanceBlockDeviceMappingSpecificationList(v []types.InstanceBlockDeviceMappingSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42197,6 +42416,9 @@ func awsEc2query_serializeDocumentInstanceBlockDeviceMappingSpecificationList(v } func awsEc2query_serializeDocumentInstanceCreditSpecificationListRequest(v []types.InstanceCreditSpecificationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42282,6 +42504,9 @@ func awsEc2query_serializeDocumentInstanceEventWindowDisassociationRequest(v *ty } func awsEc2query_serializeDocumentInstanceEventWindowIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("InstanceEventWindowId") for i := range v { @@ -42319,6 +42544,9 @@ func awsEc2query_serializeDocumentInstanceEventWindowTimeRangeRequest(v *types.I } func awsEc2query_serializeDocumentInstanceEventWindowTimeRangeRequestSet(v []types.InstanceEventWindowTimeRangeRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -42331,6 +42559,9 @@ func awsEc2query_serializeDocumentInstanceEventWindowTimeRangeRequestSet(v []typ } func awsEc2query_serializeDocumentInstanceGenerationSet(v []types.InstanceGeneration, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42341,6 +42572,9 @@ func awsEc2query_serializeDocumentInstanceGenerationSet(v []types.InstanceGenera } func awsEc2query_serializeDocumentInstanceIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42351,6 +42585,9 @@ func awsEc2query_serializeDocumentInstanceIdList(v []string, value query.Value) } func awsEc2query_serializeDocumentInstanceIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("InstanceId") for i := range v { @@ -42378,6 +42615,9 @@ func awsEc2query_serializeDocumentInstanceIpv6Address(v *types.InstanceIpv6Addre } func awsEc2query_serializeDocumentInstanceIpv6AddressList(v []types.InstanceIpv6Address, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42390,6 +42630,9 @@ func awsEc2query_serializeDocumentInstanceIpv6AddressList(v []types.InstanceIpv6 } func awsEc2query_serializeDocumentInstanceIpv6AddressListRequest(v []types.InstanceIpv6AddressRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("InstanceIpv6Address") for i := range v { @@ -42608,6 +42851,9 @@ func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecification(v *types } func awsEc2query_serializeDocumentInstanceNetworkInterfaceSpecificationList(v []types.InstanceNetworkInterfaceSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -42994,6 +43240,9 @@ func awsEc2query_serializeDocumentInstanceSpecification(v *types.InstanceSpecifi } func awsEc2query_serializeDocumentInstanceTagKeySet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43004,6 +43253,9 @@ func awsEc2query_serializeDocumentInstanceTagKeySet(v []string, value query.Valu } func awsEc2query_serializeDocumentInstanceTypeList(v []types.InstanceType, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -43014,6 +43266,9 @@ func awsEc2query_serializeDocumentInstanceTypeList(v []types.InstanceType, value } func awsEc2query_serializeDocumentInstanceTypes(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -43038,6 +43293,9 @@ func awsEc2query_serializeDocumentIntegrateServices(v *types.IntegrateServices, } func awsEc2query_serializeDocumentInternetGatewayIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43065,6 +43323,9 @@ func awsEc2query_serializeDocumentIpamCidrAuthorizationContext(v *types.IpamCidr } func awsEc2query_serializeDocumentIpamPoolAllocationAllowedCidrs(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43075,6 +43336,9 @@ func awsEc2query_serializeDocumentIpamPoolAllocationAllowedCidrs(v []string, val } func awsEc2query_serializeDocumentIpamPoolAllocationDisallowedCidrs(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43112,6 +43376,9 @@ func awsEc2query_serializeDocumentIpamPoolSourceResourceRequest(v *types.IpamPoo } func awsEc2query_serializeDocumentIpList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43172,6 +43439,9 @@ func awsEc2query_serializeDocumentIpPermission(v *types.IpPermission, value quer } func awsEc2query_serializeDocumentIpPermissionList(v []types.IpPermission, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43184,6 +43454,9 @@ func awsEc2query_serializeDocumentIpPermissionList(v []types.IpPermission, value } func awsEc2query_serializeDocumentIpPrefixList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43211,6 +43484,9 @@ func awsEc2query_serializeDocumentIpRange(v *types.IpRange, value query.Value) e } func awsEc2query_serializeDocumentIpRangeList(v []types.IpRange, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43223,6 +43499,9 @@ func awsEc2query_serializeDocumentIpRangeList(v []types.IpRange, value query.Val } func awsEc2query_serializeDocumentIpv4PrefixList(v []types.Ipv4PrefixSpecificationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43247,6 +43526,9 @@ func awsEc2query_serializeDocumentIpv4PrefixSpecificationRequest(v *types.Ipv4Pr } func awsEc2query_serializeDocumentIpv6AddressList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43257,6 +43539,9 @@ func awsEc2query_serializeDocumentIpv6AddressList(v []string, value query.Value) } func awsEc2query_serializeDocumentIpv6PoolIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43267,6 +43552,9 @@ func awsEc2query_serializeDocumentIpv6PoolIdList(v []string, value query.Value) } func awsEc2query_serializeDocumentIpv6PrefixList(v []types.Ipv6PrefixSpecificationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43308,6 +43596,9 @@ func awsEc2query_serializeDocumentIpv6Range(v *types.Ipv6Range, value query.Valu } func awsEc2query_serializeDocumentIpv6RangeList(v []types.Ipv6Range, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43320,6 +43611,9 @@ func awsEc2query_serializeDocumentIpv6RangeList(v []types.Ipv6Range, value query } func awsEc2query_serializeDocumentKeyNameStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("KeyName") for i := range v { @@ -43330,6 +43624,9 @@ func awsEc2query_serializeDocumentKeyNameStringList(v []string, value query.Valu } func awsEc2query_serializeDocumentKeyPairIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("KeyPairId") for i := range v { @@ -43367,6 +43664,9 @@ func awsEc2query_serializeDocumentLaunchPermission(v *types.LaunchPermission, va } func awsEc2query_serializeDocumentLaunchPermissionList(v []types.LaunchPermission, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43400,6 +43700,9 @@ func awsEc2query_serializeDocumentLaunchPermissionModifications(v *types.LaunchP } func awsEc2query_serializeDocumentLaunchSpecsList(v []types.SpotFleetLaunchSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43441,6 +43744,9 @@ func awsEc2query_serializeDocumentLaunchTemplateBlockDeviceMappingRequest(v *typ } func awsEc2query_serializeDocumentLaunchTemplateBlockDeviceMappingRequestList(v []types.LaunchTemplateBlockDeviceMappingRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("BlockDeviceMapping") for i := range v { @@ -43493,6 +43799,9 @@ func awsEc2query_serializeDocumentLaunchTemplateConfig(v *types.LaunchTemplateCo } func awsEc2query_serializeDocumentLaunchTemplateConfigList(v []types.LaunchTemplateConfig, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43591,6 +43900,9 @@ func awsEc2query_serializeDocumentLaunchTemplateElasticInferenceAccelerator(v *t } func awsEc2query_serializeDocumentLaunchTemplateElasticInferenceAcceleratorList(v []types.LaunchTemplateElasticInferenceAccelerator, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43644,6 +43956,9 @@ func awsEc2query_serializeDocumentLaunchTemplateIamInstanceProfileSpecificationR } func awsEc2query_serializeDocumentLaunchTemplateIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43848,6 +44163,9 @@ func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecific } func awsEc2query_serializeDocumentLaunchTemplateInstanceNetworkInterfaceSpecificationRequestList(v []types.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("InstanceNetworkInterfaceSpecification") for i := range v { @@ -43872,6 +44190,9 @@ func awsEc2query_serializeDocumentLaunchTemplateLicenseConfigurationRequest(v *t } func awsEc2query_serializeDocumentLaunchTemplateLicenseSpecificationListRequest(v []types.LaunchTemplateLicenseConfigurationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43884,6 +44205,9 @@ func awsEc2query_serializeDocumentLaunchTemplateLicenseSpecificationListRequest( } func awsEc2query_serializeDocumentLaunchTemplateNameStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -43964,6 +44288,9 @@ func awsEc2query_serializeDocumentLaunchTemplateOverrides(v *types.LaunchTemplat } func awsEc2query_serializeDocumentLaunchTemplateOverridesList(v []types.LaunchTemplateOverrides, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44135,6 +44462,9 @@ func awsEc2query_serializeDocumentLaunchTemplateTagSpecificationRequest(v *types } func awsEc2query_serializeDocumentLaunchTemplateTagSpecificationRequestList(v []types.LaunchTemplateTagSpecificationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("LaunchTemplateTagSpecificationRequest") for i := range v { @@ -44159,6 +44489,9 @@ func awsEc2query_serializeDocumentLicenseConfigurationRequest(v *types.LicenseCo } func awsEc2query_serializeDocumentLicenseSpecificationListRequest(v []types.LicenseConfigurationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44192,6 +44525,9 @@ func awsEc2query_serializeDocumentLoadBalancersConfig(v *types.LoadBalancersConf } func awsEc2query_serializeDocumentLoadPermissionListRequest(v []types.LoadPermissionRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44242,6 +44578,9 @@ func awsEc2query_serializeDocumentLoadPermissionRequest(v *types.LoadPermissionR } func awsEc2query_serializeDocumentLocalGatewayIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44252,6 +44591,9 @@ func awsEc2query_serializeDocumentLocalGatewayIdSet(v []string, value query.Valu } func awsEc2query_serializeDocumentLocalGatewayRouteTableIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44262,6 +44604,9 @@ func awsEc2query_serializeDocumentLocalGatewayRouteTableIdSet(v []string, value } func awsEc2query_serializeDocumentLocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44272,6 +44617,9 @@ func awsEc2query_serializeDocumentLocalGatewayRouteTableVirtualInterfaceGroupAss } func awsEc2query_serializeDocumentLocalGatewayRouteTableVpcAssociationIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44282,6 +44630,9 @@ func awsEc2query_serializeDocumentLocalGatewayRouteTableVpcAssociationIdSet(v [] } func awsEc2query_serializeDocumentLocalGatewayVirtualInterfaceGroupIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44292,6 +44643,9 @@ func awsEc2query_serializeDocumentLocalGatewayVirtualInterfaceGroupIdSet(v []str } func awsEc2query_serializeDocumentLocalGatewayVirtualInterfaceIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44302,6 +44656,9 @@ func awsEc2query_serializeDocumentLocalGatewayVirtualInterfaceIdSet(v []string, } func awsEc2query_serializeDocumentLocalStorageTypeSet(v []types.LocalStorageType, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44566,6 +44923,9 @@ func awsEc2query_serializeDocumentModifyVerifiedAccessEndpointLoadBalancerOption } func awsEc2query_serializeDocumentModifyVerifiedAccessEndpointSubnetIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44753,6 +45113,9 @@ func awsEc2query_serializeDocumentModifyVpnTunnelOptionsSpecification(v *types.M } func awsEc2query_serializeDocumentNatGatewayIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44763,6 +45126,9 @@ func awsEc2query_serializeDocumentNatGatewayIdStringList(v []string, value query } func awsEc2query_serializeDocumentNetworkAclIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44859,6 +45225,9 @@ func awsEc2query_serializeDocumentNetworkBandwidthGbpsRequest(v *types.NetworkBa } func awsEc2query_serializeDocumentNetworkInsightsAccessScopeAnalysisIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44869,6 +45238,9 @@ func awsEc2query_serializeDocumentNetworkInsightsAccessScopeAnalysisIdList(v []s } func awsEc2query_serializeDocumentNetworkInsightsAccessScopeIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44879,6 +45251,9 @@ func awsEc2query_serializeDocumentNetworkInsightsAccessScopeIdList(v []string, v } func awsEc2query_serializeDocumentNetworkInsightsAnalysisIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44889,6 +45264,9 @@ func awsEc2query_serializeDocumentNetworkInsightsAnalysisIdList(v []string, valu } func awsEc2query_serializeDocumentNetworkInsightsPathIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44950,6 +45328,9 @@ func awsEc2query_serializeDocumentNetworkInterfaceCountRequest(v *types.NetworkI } func awsEc2query_serializeDocumentNetworkInterfaceIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -44960,6 +45341,9 @@ func awsEc2query_serializeDocumentNetworkInterfaceIdList(v []string, value query } func awsEc2query_serializeDocumentNetworkInterfacePermissionIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -44989,6 +45373,9 @@ func awsEc2query_serializeDocumentNewDhcpConfiguration(v *types.NewDhcpConfigura } func awsEc2query_serializeDocumentNewDhcpConfigurationList(v []types.NewDhcpConfiguration, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45001,6 +45388,9 @@ func awsEc2query_serializeDocumentNewDhcpConfigurationList(v []types.NewDhcpConf } func awsEc2query_serializeDocumentOccurrenceDayRequestSet(v []int32, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("OccurenceDay") for i := range v { @@ -45050,6 +45440,9 @@ func awsEc2query_serializeDocumentOnDemandOptionsRequest(v *types.OnDemandOption } func awsEc2query_serializeDocumentOrganizationalUnitArnStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("OrganizationalUnitArn") for i := range v { @@ -45060,6 +45453,9 @@ func awsEc2query_serializeDocumentOrganizationalUnitArnStringList(v []string, va } func awsEc2query_serializeDocumentOrganizationArnStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("OrganizationArn") for i := range v { @@ -45070,6 +45466,9 @@ func awsEc2query_serializeDocumentOrganizationArnStringList(v []string, value qu } func awsEc2query_serializeDocumentOwnerStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Owner") for i := range v { @@ -45210,6 +45609,9 @@ func awsEc2query_serializeDocumentPeeringConnectionOptionsRequest(v *types.Peeri } func awsEc2query_serializeDocumentPhase1DHGroupNumbersRequestList(v []types.Phase1DHGroupNumbersRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45234,6 +45636,9 @@ func awsEc2query_serializeDocumentPhase1DHGroupNumbersRequestListValue(v *types. } func awsEc2query_serializeDocumentPhase1EncryptionAlgorithmsRequestList(v []types.Phase1EncryptionAlgorithmsRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45258,6 +45663,9 @@ func awsEc2query_serializeDocumentPhase1EncryptionAlgorithmsRequestListValue(v * } func awsEc2query_serializeDocumentPhase1IntegrityAlgorithmsRequestList(v []types.Phase1IntegrityAlgorithmsRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45282,6 +45690,9 @@ func awsEc2query_serializeDocumentPhase1IntegrityAlgorithmsRequestListValue(v *t } func awsEc2query_serializeDocumentPhase2DHGroupNumbersRequestList(v []types.Phase2DHGroupNumbersRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45306,6 +45717,9 @@ func awsEc2query_serializeDocumentPhase2DHGroupNumbersRequestListValue(v *types. } func awsEc2query_serializeDocumentPhase2EncryptionAlgorithmsRequestList(v []types.Phase2EncryptionAlgorithmsRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45330,6 +45744,9 @@ func awsEc2query_serializeDocumentPhase2EncryptionAlgorithmsRequestListValue(v * } func awsEc2query_serializeDocumentPhase2IntegrityAlgorithmsRequestList(v []types.Phase2IntegrityAlgorithmsRequestListValue, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45406,6 +45823,9 @@ func awsEc2query_serializeDocumentPlacement(v *types.Placement, value query.Valu } func awsEc2query_serializeDocumentPlacementGroupIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("GroupId") for i := range v { @@ -45416,6 +45836,9 @@ func awsEc2query_serializeDocumentPlacementGroupIdStringList(v []string, value q } func awsEc2query_serializeDocumentPlacementGroupStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -45460,6 +45883,9 @@ func awsEc2query_serializeDocumentPrefixListId(v *types.PrefixListId, value quer } func awsEc2query_serializeDocumentPrefixListIdList(v []types.PrefixListId, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45472,6 +45898,9 @@ func awsEc2query_serializeDocumentPrefixListIdList(v []types.PrefixListId, value } func awsEc2query_serializeDocumentPrefixListResourceIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45517,6 +45946,9 @@ func awsEc2query_serializeDocumentPriceScheduleSpecification(v *types.PriceSched } func awsEc2query_serializeDocumentPriceScheduleSpecificationList(v []types.PriceScheduleSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45551,6 +45983,9 @@ func awsEc2query_serializeDocumentPrivateDnsNameOptionsRequest(v *types.PrivateD } func awsEc2query_serializeDocumentPrivateIpAddressConfigSet(v []types.ScheduledInstancesPrivateIpAddressConfig, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("PrivateIpAddressConfigSet") for i := range v { @@ -45580,6 +46015,9 @@ func awsEc2query_serializeDocumentPrivateIpAddressSpecification(v *types.Private } func awsEc2query_serializeDocumentPrivateIpAddressSpecificationList(v []types.PrivateIpAddressSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45592,6 +46030,9 @@ func awsEc2query_serializeDocumentPrivateIpAddressSpecificationList(v []types.Pr } func awsEc2query_serializeDocumentPrivateIpAddressStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("PrivateIpAddress") for i := range v { @@ -45602,6 +46043,9 @@ func awsEc2query_serializeDocumentPrivateIpAddressStringList(v []string, value q } func awsEc2query_serializeDocumentProductCodeStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ProductCode") for i := range v { @@ -45612,6 +46056,9 @@ func awsEc2query_serializeDocumentProductCodeStringList(v []string, value query. } func awsEc2query_serializeDocumentProductDescriptionList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -45622,6 +46069,9 @@ func awsEc2query_serializeDocumentProductDescriptionList(v []string, value query } func awsEc2query_serializeDocumentProtocolList(v []types.Protocol, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45632,6 +46082,9 @@ func awsEc2query_serializeDocumentProtocolList(v []types.Protocol, value query.V } func awsEc2query_serializeDocumentPublicIpStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("PublicIp") for i := range v { @@ -45642,6 +46095,9 @@ func awsEc2query_serializeDocumentPublicIpStringList(v []string, value query.Val } func awsEc2query_serializeDocumentPublicIpv4PoolIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45669,6 +46125,9 @@ func awsEc2query_serializeDocumentPurchaseRequest(v *types.PurchaseRequest, valu } func awsEc2query_serializeDocumentPurchaseRequestSet(v []types.PurchaseRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("PurchaseRequest") for i := range v { @@ -45681,6 +46140,9 @@ func awsEc2query_serializeDocumentPurchaseRequestSet(v []types.PurchaseRequest, } func awsEc2query_serializeDocumentReasonCodesList(v []types.ReportInstanceReasonCodes, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45691,6 +46153,9 @@ func awsEc2query_serializeDocumentReasonCodesList(v []types.ReportInstanceReason } func awsEc2query_serializeDocumentRegionNames(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -45701,6 +46166,9 @@ func awsEc2query_serializeDocumentRegionNames(v []string, value query.Value) err } func awsEc2query_serializeDocumentRegionNameStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("RegionName") for i := range v { @@ -45742,6 +46210,9 @@ func awsEc2query_serializeDocumentRemoveIpamOperatingRegion(v *types.RemoveIpamO } func awsEc2query_serializeDocumentRemoveIpamOperatingRegionSet(v []types.RemoveIpamOperatingRegion, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -45754,6 +46225,9 @@ func awsEc2query_serializeDocumentRemoveIpamOperatingRegionSet(v []types.RemoveI } func awsEc2query_serializeDocumentRemovePrefixListEntries(v []types.RemovePrefixListEntry, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -45778,6 +46252,9 @@ func awsEc2query_serializeDocumentRemovePrefixListEntry(v *types.RemovePrefixLis } func awsEc2query_serializeDocumentReplaceRootVolumeTaskIds(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ReplaceRootVolumeTaskId") for i := range v { @@ -45805,6 +46282,9 @@ func awsEc2query_serializeDocumentRequestFilterPortRange(v *types.RequestFilterP } func awsEc2query_serializeDocumentRequestHostIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45815,6 +46295,9 @@ func awsEc2query_serializeDocumentRequestHostIdList(v []string, value query.Valu } func awsEc2query_serializeDocumentRequestHostIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -45825,6 +46308,9 @@ func awsEc2query_serializeDocumentRequestHostIdSet(v []string, value query.Value } func awsEc2query_serializeDocumentRequestInstanceTypeList(v []types.InstanceType, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -45852,6 +46338,9 @@ func awsEc2query_serializeDocumentRequestIpamResourceTag(v *types.RequestIpamRes } func awsEc2query_serializeDocumentRequestIpamResourceTagList(v []types.RequestIpamResourceTag, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46169,6 +46658,9 @@ func awsEc2query_serializeDocumentRequestSpotLaunchSpecification(v *types.Reques } func awsEc2query_serializeDocumentRequestSpotLaunchSpecificationSecurityGroupIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46179,6 +46671,9 @@ func awsEc2query_serializeDocumentRequestSpotLaunchSpecificationSecurityGroupIdL } func awsEc2query_serializeDocumentRequestSpotLaunchSpecificationSecurityGroupList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46244,6 +46739,9 @@ func awsEc2query_serializeDocumentReservationFleetInstanceSpecification(v *types } func awsEc2query_serializeDocumentReservationFleetInstanceSpecificationList(v []types.ReservationFleetInstanceSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -46256,6 +46754,9 @@ func awsEc2query_serializeDocumentReservationFleetInstanceSpecificationList(v [] } func awsEc2query_serializeDocumentReservedInstanceIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ReservedInstanceId") for i := range v { @@ -46328,6 +46829,9 @@ func awsEc2query_serializeDocumentReservedInstancesConfiguration(v *types.Reserv } func awsEc2query_serializeDocumentReservedInstancesConfigurationList(v []types.ReservedInstancesConfiguration, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46340,6 +46844,9 @@ func awsEc2query_serializeDocumentReservedInstancesConfigurationList(v []types.R } func awsEc2query_serializeDocumentReservedInstancesIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ReservedInstancesId") for i := range v { @@ -46350,6 +46857,9 @@ func awsEc2query_serializeDocumentReservedInstancesIdStringList(v []string, valu } func awsEc2query_serializeDocumentReservedInstancesModificationIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ReservedInstancesModificationId") for i := range v { @@ -46360,6 +46870,9 @@ func awsEc2query_serializeDocumentReservedInstancesModificationIdStringList(v [] } func awsEc2query_serializeDocumentReservedInstancesOfferingIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -46370,6 +46883,9 @@ func awsEc2query_serializeDocumentReservedInstancesOfferingIdStringList(v []stri } func awsEc2query_serializeDocumentResourceIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -46380,6 +46896,9 @@ func awsEc2query_serializeDocumentResourceIdList(v []string, value query.Value) } func awsEc2query_serializeDocumentResourceList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46411,6 +46930,9 @@ func awsEc2query_serializeDocumentResourceStatementRequest(v *types.ResourceStat } func awsEc2query_serializeDocumentRestorableByStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -46421,6 +46943,9 @@ func awsEc2query_serializeDocumentRestorableByStringList(v []string, value query } func awsEc2query_serializeDocumentRouteTableIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46460,6 +46985,9 @@ func awsEc2query_serializeDocumentS3ObjectTag(v *types.S3ObjectTag, value query. } func awsEc2query_serializeDocumentS3ObjectTagList(v []types.S3ObjectTag, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46504,6 +47032,9 @@ func awsEc2query_serializeDocumentS3Storage(v *types.S3Storage, value query.Valu } func awsEc2query_serializeDocumentScheduledInstanceIdRequestSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ScheduledInstanceId") for i := range v { @@ -46577,6 +47108,9 @@ func awsEc2query_serializeDocumentScheduledInstancesBlockDeviceMapping(v *types. } func awsEc2query_serializeDocumentScheduledInstancesBlockDeviceMappingSet(v []types.ScheduledInstancesBlockDeviceMapping, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("BlockDeviceMapping") for i := range v { @@ -46655,6 +47189,9 @@ func awsEc2query_serializeDocumentScheduledInstancesIpv6Address(v *types.Schedul } func awsEc2query_serializeDocumentScheduledInstancesIpv6AddressList(v []types.ScheduledInstancesIpv6Address, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Ipv6Address") for i := range v { @@ -46841,6 +47378,9 @@ func awsEc2query_serializeDocumentScheduledInstancesNetworkInterface(v *types.Sc } func awsEc2query_serializeDocumentScheduledInstancesNetworkInterfaceSet(v []types.ScheduledInstancesNetworkInterface, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("NetworkInterface") for i := range v { @@ -46887,6 +47427,9 @@ func awsEc2query_serializeDocumentScheduledInstancesPrivateIpAddressConfig(v *ty } func awsEc2query_serializeDocumentScheduledInstancesSecurityGroupIdSet(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SecurityGroupId") for i := range v { @@ -46897,6 +47440,9 @@ func awsEc2query_serializeDocumentScheduledInstancesSecurityGroupIdSet(v []strin } func awsEc2query_serializeDocumentSecurityGroupIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46907,6 +47453,9 @@ func awsEc2query_serializeDocumentSecurityGroupIdList(v []string, value query.Va } func awsEc2query_serializeDocumentSecurityGroupIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SecurityGroupId") for i := range v { @@ -46917,6 +47466,9 @@ func awsEc2query_serializeDocumentSecurityGroupIdStringList(v []string, value qu } func awsEc2query_serializeDocumentSecurityGroupIdStringListRequest(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SecurityGroupId") for i := range v { @@ -46944,6 +47496,9 @@ func awsEc2query_serializeDocumentSecurityGroupRuleDescription(v *types.Security } func awsEc2query_serializeDocumentSecurityGroupRuleDescriptionList(v []types.SecurityGroupRuleDescription, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -46956,6 +47511,9 @@ func awsEc2query_serializeDocumentSecurityGroupRuleDescriptionList(v []types.Sec } func awsEc2query_serializeDocumentSecurityGroupRuleIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47032,6 +47590,9 @@ func awsEc2query_serializeDocumentSecurityGroupRuleUpdate(v *types.SecurityGroup } func awsEc2query_serializeDocumentSecurityGroupRuleUpdateList(v []types.SecurityGroupRuleUpdate, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47044,6 +47605,9 @@ func awsEc2query_serializeDocumentSecurityGroupRuleUpdateList(v []types.Security } func awsEc2query_serializeDocumentSecurityGroupStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SecurityGroup") for i := range v { @@ -47117,6 +47681,9 @@ func awsEc2query_serializeDocumentSnapshotDiskContainer(v *types.SnapshotDiskCon } func awsEc2query_serializeDocumentSnapshotIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SnapshotId") for i := range v { @@ -47460,6 +48027,9 @@ func awsEc2query_serializeDocumentSpotFleetRequestConfigData(v *types.SpotFleetR } func awsEc2query_serializeDocumentSpotFleetRequestIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47489,6 +48059,9 @@ func awsEc2query_serializeDocumentSpotFleetTagSpecification(v *types.SpotFleetTa } func awsEc2query_serializeDocumentSpotFleetTagSpecificationList(v []types.SpotFleetTagSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47501,6 +48074,9 @@ func awsEc2query_serializeDocumentSpotFleetTagSpecificationList(v []types.SpotFl } func awsEc2query_serializeDocumentSpotInstanceRequestIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SpotInstanceRequestId") for i := range v { @@ -47681,6 +48257,9 @@ func awsEc2query_serializeDocumentSubnetConfiguration(v *types.SubnetConfigurati } func awsEc2query_serializeDocumentSubnetConfigurationsList(v []types.SubnetConfiguration, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47693,6 +48272,9 @@ func awsEc2query_serializeDocumentSubnetConfigurationsList(v []types.SubnetConfi } func awsEc2query_serializeDocumentSubnetIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("SubnetId") for i := range v { @@ -47720,6 +48302,9 @@ func awsEc2query_serializeDocumentTag(v *types.Tag, value query.Value) error { } func awsEc2query_serializeDocumentTagList(v []types.Tag, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47751,6 +48336,9 @@ func awsEc2query_serializeDocumentTagSpecification(v *types.TagSpecification, va } func awsEc2query_serializeDocumentTagSpecificationList(v []types.TagSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47812,6 +48400,9 @@ func awsEc2query_serializeDocumentTargetConfigurationRequest(v *types.TargetConf } func awsEc2query_serializeDocumentTargetConfigurationRequestSet(v []types.TargetConfigurationRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("TargetConfigurationRequest") for i := range v { @@ -47836,6 +48427,9 @@ func awsEc2query_serializeDocumentTargetGroup(v *types.TargetGroup, value query. } func awsEc2query_serializeDocumentTargetGroups(v []types.TargetGroup, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47876,6 +48470,9 @@ func awsEc2query_serializeDocumentThroughResourcesStatementRequest(v *types.Thro } func awsEc2query_serializeDocumentThroughResourcesStatementRequestList(v []types.ThroughResourcesStatementRequest, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47974,6 +48571,9 @@ func awsEc2query_serializeDocumentTotalLocalStorageGBRequest(v *types.TotalLocal } func awsEc2query_serializeDocumentTrafficMirrorFilterIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -47984,6 +48584,9 @@ func awsEc2query_serializeDocumentTrafficMirrorFilterIdList(v []string, value qu } func awsEc2query_serializeDocumentTrafficMirrorFilterRuleFieldList(v []types.TrafficMirrorFilterRuleField, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -47994,6 +48597,9 @@ func awsEc2query_serializeDocumentTrafficMirrorFilterRuleFieldList(v []types.Tra } func awsEc2query_serializeDocumentTrafficMirrorNetworkServiceList(v []types.TrafficMirrorNetworkService, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48021,6 +48627,9 @@ func awsEc2query_serializeDocumentTrafficMirrorPortRangeRequest(v *types.Traffic } func awsEc2query_serializeDocumentTrafficMirrorSessionFieldList(v []types.TrafficMirrorSessionField, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -48031,6 +48640,9 @@ func awsEc2query_serializeDocumentTrafficMirrorSessionFieldList(v []types.Traffi } func awsEc2query_serializeDocumentTrafficMirrorSessionIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48041,6 +48653,9 @@ func awsEc2query_serializeDocumentTrafficMirrorSessionIdList(v []string, value q } func awsEc2query_serializeDocumentTrafficMirrorTargetIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48051,6 +48666,9 @@ func awsEc2query_serializeDocumentTrafficMirrorTargetIdList(v []string, value qu } func awsEc2query_serializeDocumentTransitGatewayAttachmentIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -48061,6 +48679,9 @@ func awsEc2query_serializeDocumentTransitGatewayAttachmentIdStringList(v []strin } func awsEc2query_serializeDocumentTransitGatewayCidrBlockStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48071,6 +48692,9 @@ func awsEc2query_serializeDocumentTransitGatewayCidrBlockStringList(v []string, } func awsEc2query_serializeDocumentTransitGatewayConnectPeerIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48093,6 +48717,9 @@ func awsEc2query_serializeDocumentTransitGatewayConnectRequestBgpOptions(v *type } func awsEc2query_serializeDocumentTransitGatewayIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48103,6 +48730,9 @@ func awsEc2query_serializeDocumentTransitGatewayIdStringList(v []string, value q } func awsEc2query_serializeDocumentTransitGatewayMulticastDomainIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48113,6 +48743,9 @@ func awsEc2query_serializeDocumentTransitGatewayMulticastDomainIdStringList(v [] } func awsEc2query_serializeDocumentTransitGatewayNetworkInterfaceIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48123,6 +48756,9 @@ func awsEc2query_serializeDocumentTransitGatewayNetworkInterfaceIdList(v []strin } func awsEc2query_serializeDocumentTransitGatewayPolicyTableIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48187,6 +48823,9 @@ func awsEc2query_serializeDocumentTransitGatewayRequestOptions(v *types.TransitG } func awsEc2query_serializeDocumentTransitGatewayRouteTableAnnouncementIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48197,6 +48836,9 @@ func awsEc2query_serializeDocumentTransitGatewayRouteTableAnnouncementIdStringLi } func awsEc2query_serializeDocumentTransitGatewayRouteTableIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48207,6 +48849,9 @@ func awsEc2query_serializeDocumentTransitGatewayRouteTableIdStringList(v []strin } func awsEc2query_serializeDocumentTransitGatewaySubnetIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48217,6 +48862,9 @@ func awsEc2query_serializeDocumentTransitGatewaySubnetIdList(v []string, value q } func awsEc2query_serializeDocumentTrunkInterfaceAssociationIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48256,6 +48904,9 @@ func awsEc2query_serializeDocumentUserData(v *types.UserData, value query.Value) } func awsEc2query_serializeDocumentUserGroupStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("UserGroup") for i := range v { @@ -48308,6 +48959,9 @@ func awsEc2query_serializeDocumentUserIdGroupPair(v *types.UserIdGroupPair, valu } func awsEc2query_serializeDocumentUserIdGroupPairList(v []types.UserIdGroupPair, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48320,6 +48974,9 @@ func awsEc2query_serializeDocumentUserIdGroupPairList(v []types.UserIdGroupPair, } func awsEc2query_serializeDocumentUserIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("UserId") for i := range v { @@ -48330,6 +48987,9 @@ func awsEc2query_serializeDocumentUserIdStringList(v []string, value query.Value } func awsEc2query_serializeDocumentValueStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48374,6 +49034,9 @@ func awsEc2query_serializeDocumentVCpuCountRangeRequest(v *types.VCpuCountRangeR } func awsEc2query_serializeDocumentVerifiedAccessEndpointIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48384,6 +49047,9 @@ func awsEc2query_serializeDocumentVerifiedAccessEndpointIdList(v []string, value } func awsEc2query_serializeDocumentVerifiedAccessGroupIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48394,6 +49060,9 @@ func awsEc2query_serializeDocumentVerifiedAccessGroupIdList(v []string, value qu } func awsEc2query_serializeDocumentVerifiedAccessInstanceIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48520,6 +49189,9 @@ func awsEc2query_serializeDocumentVerifiedAccessSseSpecificationRequest(v *types } func awsEc2query_serializeDocumentVerifiedAccessTrustProviderIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48530,6 +49202,9 @@ func awsEc2query_serializeDocumentVerifiedAccessTrustProviderIdList(v []string, } func awsEc2query_serializeDocumentVersionStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48540,6 +49215,9 @@ func awsEc2query_serializeDocumentVersionStringList(v []string, value query.Valu } func awsEc2query_serializeDocumentVirtualizationTypeSet(v []types.VirtualizationType, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48562,6 +49240,9 @@ func awsEc2query_serializeDocumentVolumeDetail(v *types.VolumeDetail, value quer } func awsEc2query_serializeDocumentVolumeIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("VolumeId") for i := range v { @@ -48572,6 +49253,9 @@ func awsEc2query_serializeDocumentVolumeIdStringList(v []string, value query.Val } func awsEc2query_serializeDocumentVpcClassicLinkIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("VpcId") for i := range v { @@ -48582,6 +49266,9 @@ func awsEc2query_serializeDocumentVpcClassicLinkIdList(v []string, value query.V } func awsEc2query_serializeDocumentVpcEndpointIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48592,6 +49279,9 @@ func awsEc2query_serializeDocumentVpcEndpointIdList(v []string, value query.Valu } func awsEc2query_serializeDocumentVpcEndpointRouteTableIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48602,6 +49292,9 @@ func awsEc2query_serializeDocumentVpcEndpointRouteTableIdList(v []string, value } func awsEc2query_serializeDocumentVpcEndpointSecurityGroupIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48612,6 +49305,9 @@ func awsEc2query_serializeDocumentVpcEndpointSecurityGroupIdList(v []string, val } func awsEc2query_serializeDocumentVpcEndpointServiceIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48622,6 +49318,9 @@ func awsEc2query_serializeDocumentVpcEndpointServiceIdList(v []string, value que } func awsEc2query_serializeDocumentVpcEndpointSubnetIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48632,6 +49331,9 @@ func awsEc2query_serializeDocumentVpcEndpointSubnetIdList(v []string, value quer } func awsEc2query_serializeDocumentVpcIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("VpcId") for i := range v { @@ -48642,6 +49344,9 @@ func awsEc2query_serializeDocumentVpcIdStringList(v []string, value query.Value) } func awsEc2query_serializeDocumentVpcPeeringConnectionIdList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Item") for i := range v { @@ -48652,6 +49357,9 @@ func awsEc2query_serializeDocumentVpcPeeringConnectionIdList(v []string, value q } func awsEc2query_serializeDocumentVpnConnectionIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("VpnConnectionId") for i := range v { @@ -48721,6 +49429,9 @@ func awsEc2query_serializeDocumentVpnConnectionOptionsSpecification(v *types.Vpn } func awsEc2query_serializeDocumentVpnGatewayIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("VpnGatewayId") for i := range v { @@ -48868,6 +49579,9 @@ func awsEc2query_serializeDocumentVpnTunnelOptionsSpecification(v *types.VpnTunn } func awsEc2query_serializeDocumentVpnTunnelOptionsSpecificationsList(v []types.VpnTunnelOptionsSpecification, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("Member") for i := range v { @@ -48880,6 +49594,9 @@ func awsEc2query_serializeDocumentVpnTunnelOptionsSpecificationsList(v []types.V } func awsEc2query_serializeDocumentZoneIdStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ZoneId") for i := range v { @@ -48890,6 +49607,9 @@ func awsEc2query_serializeDocumentZoneIdStringList(v []string, value query.Value } func awsEc2query_serializeDocumentZoneNameStringList(v []string, value query.Value) error { + if len(v) == 0 { + return nil + } array := value.Array("ZoneName") for i := range v { 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 05ad36f9dd272..83b8b794598a0 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,3 +1,7 @@ +# v1.24.0 (2024-05-10) + +* **Feature**: Updated request parameters for PKCE support. + # v1.23.5 (2024-05-08) * **Bug Fix**: GoDoc improvement diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go index 40d44ebd86e61..393ab84b04310 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateToken.go @@ -61,6 +61,11 @@ type CreateTokenInput struct { // is currently unsupported for the CreateTokenAPI. Code *string + // Used only when calling this API for the Authorization Code grant type. This + // value is generated by the client and presented to validate the original code + // challenge value the client passed at authorization time. + CodeVerifier *string + // Used only when calling this API for the Device Code grant type. This short-term // code is used to identify this authorization request. This comes from the result // of the StartDeviceAuthorizationAPI. @@ -92,7 +97,8 @@ type CreateTokenInput struct { type CreateTokenOutput struct { - // A bearer token to access AWS accounts and applications assigned to a user. + // A bearer token to access Amazon Web Services accounts and applications assigned + // to a user. AccessToken *string // Indicates the time in seconds when an access token will expire. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go index df87ed5a5e224..1d54f14d80429 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_CreateTokenWithIAM.go @@ -12,8 +12,8 @@ import ( // Creates and returns access and refresh tokens for clients and applications that // are authenticated using IAM entities. The access token can be used to fetch -// short-term credentials for the assigned AWS accounts or to access application -// APIs using bearer authentication. +// short-term credentials for the assigned Amazon Web Services accounts or to +// access application APIs using bearer authentication. func (c *Client) CreateTokenWithIAM(ctx context.Context, params *CreateTokenWithIAMInput, optFns ...func(*Options)) (*CreateTokenWithIAMOutput, error) { if params == nil { params = &CreateTokenWithIAMInput{} @@ -64,6 +64,11 @@ type CreateTokenWithIAMInput struct { // in the Authorization Code GrantOptions for the application. Code *string + // Used only when calling this API for the Authorization Code grant type. This + // value is generated by the client and presented to validate the original code + // challenge value the client passed at authorization time. + CodeVerifier *string + // Used only when calling this API for the Authorization Code grant type. This // value specifies the location of the client or application that has registered to // receive the authorization code. @@ -114,7 +119,8 @@ type CreateTokenWithIAMInput struct { type CreateTokenWithIAMOutput struct { - // A bearer token to access AWS accounts and applications assigned to a user. + // A bearer token to access Amazon Web Services accounts and applications assigned + // to a user. AccessToken *string // Indicates the time in seconds when an access token will expire. diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go index 09f016ec1efcb..9daccf79b8c83 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/api_op_RegisterClient.go @@ -41,6 +41,25 @@ type RegisterClientInput struct { // This member is required. ClientType *string + // This IAM Identity Center application ARN is used to define + // administrator-managed configuration for public client access to resources. At + // authorization, the scopes, grants, and redirect URI available to this client + // will be restricted by this application resource. + EntitledApplicationArn *string + + // The list of OAuth 2.0 grant types that are defined by the client. This list is + // used to restrict the token granting flows available to the client. + GrantTypes []string + + // The IAM Identity Center Issuer URL associated with an instance of IAM Identity + // Center. This value is needed for user access to resources through the client. + IssuerUrl *string + + // The list of redirect URI that are defined by the client. At completion of + // authorization, this list is used to restrict what locations the user agent can + // be redirected back to. + RedirectUris []string + // The list of scopes that are defined by the client. Upon authorization, this // list is used to restrict permissions when granting an access token. Scopes []string diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/deserializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/deserializers.go index 76a1160eceb5f..b70e5fb5a0786 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/deserializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/deserializers.go @@ -581,12 +581,18 @@ func awsRestjson1_deserializeOpErrorRegisterClient(response *smithyhttp.Response case strings.EqualFold("InvalidClientMetadataException", errorCode): return awsRestjson1_deserializeErrorInvalidClientMetadataException(response, errorBody) + case strings.EqualFold("InvalidRedirectUriException", errorCode): + return awsRestjson1_deserializeErrorInvalidRedirectUriException(response, errorBody) + case strings.EqualFold("InvalidRequestException", errorCode): return awsRestjson1_deserializeErrorInvalidRequestException(response, errorBody) case strings.EqualFold("InvalidScopeException", errorCode): return awsRestjson1_deserializeErrorInvalidScopeException(response, errorBody) + case strings.EqualFold("UnsupportedGrantTypeException", errorCode): + return awsRestjson1_deserializeErrorUnsupportedGrantTypeException(response, errorBody) + default: genericError := &smithy.GenericAPIError{ Code: errorCode, @@ -1158,6 +1164,42 @@ func awsRestjson1_deserializeErrorInvalidGrantException(response *smithyhttp.Res return output } +func awsRestjson1_deserializeErrorInvalidRedirectUriException(response *smithyhttp.Response, errorBody *bytes.Reader) error { + output := &types.InvalidRedirectUriException{} + var buff [1024]byte + ringBuffer := smithyio.NewRingBuffer(buff[:]) + + body := io.TeeReader(errorBody, ringBuffer) + decoder := json.NewDecoder(body) + decoder.UseNumber() + var shape interface{} + if err := decoder.Decode(&shape); err != nil && err != io.EOF { + 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 err + } + + err := awsRestjson1_deserializeDocumentInvalidRedirectUriException(&output, shape) + + 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 err + } + + errorBody.Seek(0, io.SeekStart) + + return output +} + func awsRestjson1_deserializeErrorInvalidRequestException(response *smithyhttp.Response, errorBody *bytes.Reader) error { output := &types.InvalidRequestException{} var buff [1024]byte @@ -1717,6 +1759,55 @@ func awsRestjson1_deserializeDocumentInvalidGrantException(v **types.InvalidGran return nil } +func awsRestjson1_deserializeDocumentInvalidRedirectUriException(v **types.InvalidRedirectUriException, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.InvalidRedirectUriException + if *v == nil { + sv = &types.InvalidRedirectUriException{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "error": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected Error to be of type string, got %T instead", value) + } + sv.Error_ = ptr.String(jtv) + } + + case "error_description": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ErrorDescription to be of type string, got %T instead", value) + } + sv.Error_description = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentInvalidRequestException(v **types.InvalidRequestException, value interface{}) 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/ssooidc/go_module_metadata.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/go_module_metadata.go index 391d4e694f8fe..8c03a2bc5acd3 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.23.5" +const goModuleVersion = "1.24.0" diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/serializers.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/serializers.go index 754218b78e276..04411bd616728 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/serializers.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/serializers.go @@ -95,6 +95,11 @@ func awsRestjson1_serializeOpDocumentCreateTokenInput(v *CreateTokenInput, value ok.String(*v.Code) } + if v.CodeVerifier != nil { + ok := object.Key("codeVerifier") + ok.String(*v.CodeVerifier) + } + if v.DeviceCode != nil { ok := object.Key("deviceCode") ok.String(*v.DeviceCode) @@ -207,6 +212,11 @@ func awsRestjson1_serializeOpDocumentCreateTokenWithIAMInput(v *CreateTokenWithI ok.String(*v.Code) } + if v.CodeVerifier != nil { + ok := object.Key("codeVerifier") + ok.String(*v.CodeVerifier) + } + if v.GrantType != nil { ok := object.Key("grantType") ok.String(*v.GrantType) @@ -324,6 +334,30 @@ func awsRestjson1_serializeOpDocumentRegisterClientInput(v *RegisterClientInput, ok.String(*v.ClientType) } + if v.EntitledApplicationArn != nil { + ok := object.Key("entitledApplicationArn") + ok.String(*v.EntitledApplicationArn) + } + + if v.GrantTypes != nil { + ok := object.Key("grantTypes") + if err := awsRestjson1_serializeDocumentGrantTypes(v.GrantTypes, ok); err != nil { + return err + } + } + + if v.IssuerUrl != nil { + ok := object.Key("issuerUrl") + ok.String(*v.IssuerUrl) + } + + if v.RedirectUris != nil { + ok := object.Key("redirectUris") + if err := awsRestjson1_serializeDocumentRedirectUris(v.RedirectUris, ok); err != nil { + return err + } + } + if v.Scopes != nil { ok := object.Key("scopes") if err := awsRestjson1_serializeDocumentScopes(v.Scopes, ok); err != nil { @@ -419,6 +453,28 @@ func awsRestjson1_serializeOpDocumentStartDeviceAuthorizationInput(v *StartDevic return nil } +func awsRestjson1_serializeDocumentGrantTypes(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + +func awsRestjson1_serializeDocumentRedirectUris(v []string, value smithyjson.Value) error { + array := value.Array() + defer array.Close() + + for i := range v { + av := array.Value() + av.String(v[i]) + } + return nil +} + func awsRestjson1_serializeDocumentScopes(v []string, value smithyjson.Value) error { array := value.Array() defer array.Close() diff --git a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/types/errors.go b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/types/errors.go index 54faa9c52fdf3..2cfe7b48fed6e 100644 --- a/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/types/errors.go +++ b/vendor/github.com/aws/aws-sdk-go-v2/service/ssooidc/types/errors.go @@ -217,6 +217,36 @@ func (e *InvalidGrantException) ErrorCode() string { } func (e *InvalidGrantException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } +// Indicates that one or more redirect URI in the request is not supported for +// this operation. +type InvalidRedirectUriException struct { + Message *string + + ErrorCodeOverride *string + + Error_ *string + Error_description *string + + noSmithyDocumentSerde +} + +func (e *InvalidRedirectUriException) Error() string { + return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) +} +func (e *InvalidRedirectUriException) ErrorMessage() string { + if e.Message == nil { + return "" + } + return *e.Message +} +func (e *InvalidRedirectUriException) ErrorCode() string { + if e == nil || e.ErrorCodeOverride == nil { + return "InvalidRedirectUriException" + } + return *e.ErrorCodeOverride +} +func (e *InvalidRedirectUriException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } + // Indicates that something is wrong with the input to the request. For example, a // required parameter might be missing or out of range. type InvalidRequestException struct { diff --git a/vendor/google.golang.org/api/container/v1/container-api.json b/vendor/google.golang.org/api/container/v1/container-api.json index c467066aeac9b..ae43d91c406ed 100644 --- a/vendor/google.golang.org/api/container/v1/container-api.json +++ b/vendor/google.golang.org/api/container/v1/container-api.json @@ -2540,7 +2540,7 @@ } } }, - "revision": "20240409", + "revision": "20240422", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3369,6 +3369,16 @@ "$ref": "ResourceUsageExportConfig", "description": "Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified." }, + "satisfiesPzi": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, + "satisfiesPzs": { + "description": "Output only. Reserved for future use.", + "readOnly": true, + "type": "boolean" + }, "securityPostureConfig": { "$ref": "SecurityPostureConfig", "description": "Enable/Disable Security Posture API features for the cluster." @@ -3661,6 +3671,14 @@ "$ref": "ClusterNetworkPerformanceConfig", "description": "The desired network performance config." }, + "desiredNodeKubeletConfig": { + "$ref": "NodeKubeletConfig", + "description": "The desired node kubelet config for the cluster." + }, + "desiredNodePoolAutoConfigKubeletConfig": { + "$ref": "NodeKubeletConfig", + "description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." + }, "desiredNodePoolAutoConfigNetworkTags": { "$ref": "NetworkTags", "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters." @@ -5463,6 +5481,10 @@ "loggingConfig": { "$ref": "NodePoolLoggingConfig", "description": "Logging configuration for node pools." + }, + "nodeKubeletConfig": { + "$ref": "NodeKubeletConfig", + "description": "NodeKubeletConfig controls the defaults for new node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here." } }, "type": "object" @@ -5709,6 +5731,10 @@ "$ref": "NetworkTags", "description": "The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035." }, + "nodeKubeletConfig": { + "$ref": "NodeKubeletConfig", + "description": "NodeKubeletConfig controls the defaults for autoprovisioned node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here." + }, "resourceManagerTags": { "$ref": "ResourceManagerTags", "description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies." diff --git a/vendor/google.golang.org/api/container/v1/container-gen.go b/vendor/google.golang.org/api/container/v1/container-gen.go index 2d2f3226bd793..84dc2d71c91ab 100644 --- a/vendor/google.golang.org/api/container/v1/container-gen.go +++ b/vendor/google.golang.org/api/container/v1/container-gen.go @@ -1272,6 +1272,10 @@ type Cluster struct { // ResourceUsageExportConfig: Configuration for exporting resource usages. // Resource usage export is disabled when this config is unspecified. ResourceUsageExportConfig *ResourceUsageExportConfig `json:"resourceUsageExportConfig,omitempty"` + // SatisfiesPzi: Output only. Reserved for future use. + SatisfiesPzi bool `json:"satisfiesPzi,omitempty"` + // SatisfiesPzs: Output only. Reserved for future use. + SatisfiesPzs bool `json:"satisfiesPzs,omitempty"` // SecurityPostureConfig: Enable/Disable Security Posture API features for the // cluster. SecurityPostureConfig *SecurityPostureConfig `json:"securityPostureConfig,omitempty"` @@ -1544,6 +1548,12 @@ type ClusterUpdate struct { DesiredMonitoringService string `json:"desiredMonitoringService,omitempty"` // DesiredNetworkPerformanceConfig: The desired network performance config. DesiredNetworkPerformanceConfig *ClusterNetworkPerformanceConfig `json:"desiredNetworkPerformanceConfig,omitempty"` + // DesiredNodeKubeletConfig: The desired node kubelet config for the cluster. + DesiredNodeKubeletConfig *NodeKubeletConfig `json:"desiredNodeKubeletConfig,omitempty"` + // DesiredNodePoolAutoConfigKubeletConfig: The desired node kubelet config for + // all auto-provisioned node pools in autopilot clusters and node + // auto-provisioning enabled clusters. + DesiredNodePoolAutoConfigKubeletConfig *NodeKubeletConfig `json:"desiredNodePoolAutoConfigKubeletConfig,omitempty"` // DesiredNodePoolAutoConfigNetworkTags: The desired network tags that apply to // all auto-provisioned node pools in autopilot clusters and node // auto-provisioning enabled clusters. @@ -3993,6 +4003,10 @@ type NodeConfigDefaults struct { GcfsConfig *GcfsConfig `json:"gcfsConfig,omitempty"` // LoggingConfig: Logging configuration for node pools. LoggingConfig *NodePoolLoggingConfig `json:"loggingConfig,omitempty"` + // NodeKubeletConfig: NodeKubeletConfig controls the defaults for new + // node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be + // set here. + NodeKubeletConfig *NodeKubeletConfig `json:"nodeKubeletConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerdConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See @@ -4319,6 +4333,10 @@ type NodePoolAutoConfig struct { // by the client during cluster creation. Each tag within the list must comply // with RFC1035. NetworkTags *NetworkTags `json:"networkTags,omitempty"` + // NodeKubeletConfig: NodeKubeletConfig controls the defaults for + // autoprovisioned node-pools. Currently only + // `insecure_kubelet_readonly_port_enabled` can be set here. + NodeKubeletConfig *NodeKubeletConfig `json:"nodeKubeletConfig,omitempty"` // ResourceManagerTags: Resource manager tag keys and values to be attached to // the nodes for managing Compute Engine firewalls using Network Firewall // Policies. diff --git a/vendor/google.golang.org/api/internal/version.go b/vendor/google.golang.org/api/internal/version.go index f1792faf32d6c..afc0ad4d7bc2c 100644 --- a/vendor/google.golang.org/api/internal/version.go +++ b/vendor/google.golang.org/api/internal/version.go @@ -5,4 +5,4 @@ package internal // Version is the current tagged release of the library. -const Version = "0.179.0" +const Version = "0.180.0" diff --git a/vendor/modules.txt b/vendor/modules.txt index 6648d1ff0046c..1e4f125ba8ec0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -239,10 +239,10 @@ github.com/aws/aws-sdk-go-v2/internal/timeconv ## explicit; go 1.20 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.27.12 +# github.com/aws/aws-sdk-go-v2/config v1.27.13 ## explicit; go 1.20 github.com/aws/aws-sdk-go-v2/config -# github.com/aws/aws-sdk-go-v2/credentials v1.17.12 +# github.com/aws/aws-sdk-go-v2/credentials v1.17.13 ## explicit; go 1.20 github.com/aws/aws-sdk-go-v2/credentials github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds @@ -274,7 +274,7 @@ github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4 github.com/aws/aws-sdk-go-v2/service/autoscaling github.com/aws/aws-sdk-go-v2/service/autoscaling/internal/endpoints github.com/aws/aws-sdk-go-v2/service/autoscaling/types -# github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.0 +# github.com/aws/aws-sdk-go-v2/service/ec2 v1.161.1 ## explicit; go 1.20 github.com/aws/aws-sdk-go-v2/service/ec2 github.com/aws/aws-sdk-go-v2/service/ec2/internal/endpoints @@ -352,7 +352,7 @@ github.com/aws/aws-sdk-go-v2/service/ssm/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.23.5 +# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.24.0 ## explicit; go 1.20 github.com/aws/aws-sdk-go-v2/service/ssooidc github.com/aws/aws-sdk-go-v2/service/ssooidc/internal/endpoints @@ -1343,7 +1343,7 @@ golang.org/x/tools/internal/versions # gomodules.xyz/jsonpatch/v2 v2.4.0 ## explicit; go 1.20 gomodules.xyz/jsonpatch/v2 -# google.golang.org/api v0.179.0 +# google.golang.org/api v0.180.0 ## explicit; go 1.19 google.golang.org/api/cloudresourcemanager/v1 google.golang.org/api/compute/v0.alpha