mirror of https://github.com/kubernetes/kops.git
Bump AWS SDK to v1.43.11
This commit is contained in:
parent
503b73747d
commit
bd9230a809
6
go.mod
6
go.mod
|
|
@ -46,7 +46,7 @@ require (
|
||||||
github.com/Masterminds/sprig/v3 v3.2.2
|
github.com/Masterminds/sprig/v3 v3.2.2
|
||||||
github.com/apparentlymart/go-cidr v1.1.0
|
github.com/apparentlymart/go-cidr v1.1.0
|
||||||
github.com/aws/amazon-ec2-instance-selector/v2 v2.0.2
|
github.com/aws/amazon-ec2-instance-selector/v2 v2.0.2
|
||||||
github.com/aws/aws-sdk-go v1.42.37
|
github.com/aws/aws-sdk-go v1.43.11
|
||||||
github.com/blang/semver/v4 v4.0.0
|
github.com/blang/semver/v4 v4.0.0
|
||||||
github.com/digitalocean/godo v1.65.0
|
github.com/digitalocean/godo v1.65.0
|
||||||
github.com/go-ini/ini v1.62.0
|
github.com/go-ini/ini v1.62.0
|
||||||
|
|
@ -75,7 +75,7 @@ require (
|
||||||
github.com/weaveworks/mesh v0.0.0-20191105120815-58dbcc3e8e63
|
github.com/weaveworks/mesh v0.0.0-20191105120815-58dbcc3e8e63
|
||||||
github.com/zclconf/go-cty v1.8.2
|
github.com/zclconf/go-cty v1.8.2
|
||||||
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
|
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
|
||||||
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
|
||||||
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
|
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
|
||||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
||||||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
|
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
|
||||||
|
|
@ -217,7 +217,7 @@ require (
|
||||||
go.opencensus.io v0.23.0 // indirect
|
go.opencensus.io v0.23.0 // indirect
|
||||||
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
|
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
|
||||||
golang.org/x/mod v0.5.1 // indirect
|
golang.org/x/mod v0.5.1 // indirect
|
||||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
||||||
golang.org/x/text v0.3.7 // indirect
|
golang.org/x/text v0.3.7 // indirect
|
||||||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
||||||
golang.org/x/tools v0.1.6 // indirect
|
golang.org/x/tools v0.1.6 // indirect
|
||||||
|
|
|
||||||
11
go.sum
11
go.sum
|
|
@ -203,8 +203,8 @@ github.com/aws/aws-sdk-go v1.34.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU
|
||||||
github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
|
github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k=
|
||||||
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
||||||
github.com/aws/aws-sdk-go v1.40.21/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
|
github.com/aws/aws-sdk-go v1.40.21/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
|
||||||
github.com/aws/aws-sdk-go v1.42.37 h1:EIziSq3REaoi1LgUBgxoQr29DQS7GYHnBbZPajtJmXM=
|
github.com/aws/aws-sdk-go v1.43.11 h1:NebCNJ2QvsFCnsKT1ei98bfwTPEoO2qwtWT42tJ3N3Q=
|
||||||
github.com/aws/aws-sdk-go v1.42.37/go.mod h1:OGr6lGMAKGlG9CVrYnWYDKIyb829c6EVBRjxqjmPepc=
|
github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
|
||||||
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
|
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
|
||||||
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
|
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
|
||||||
github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
|
github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
|
||||||
|
|
@ -1519,8 +1519,8 @@ golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qx
|
||||||
golang.org/x/net v0.0.0-20211111160137-58aab5ef257a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211111160137-58aab5ef257a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f h1:hEYJvxw1lSnWIl8X9ofsYMklzaDs90JI2az5YMd4fPM=
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk=
|
||||||
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
|
|
@ -1674,8 +1674,9 @@ golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b h1:9zKuko04nR4gjZ4+DNjHqRlAJqbJETHwiNKDqTfOjfE=
|
|
||||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
|
||||||
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ require (
|
||||||
github.com/Azure/azure-storage-blob-go v0.13.0 // indirect
|
github.com/Azure/azure-storage-blob-go v0.13.0 // indirect
|
||||||
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
|
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
|
||||||
github.com/apparentlymart/go-cidr v1.1.0 // indirect
|
github.com/apparentlymart/go-cidr v1.1.0 // indirect
|
||||||
github.com/aws/aws-sdk-go v1.42.37 // indirect
|
github.com/aws/aws-sdk-go v1.43.11 // indirect
|
||||||
github.com/blang/semver/v4 v4.0.0 // indirect
|
github.com/blang/semver/v4 v4.0.0 // indirect
|
||||||
github.com/cenkalti/backoff/v3 v3.0.0 // indirect
|
github.com/cenkalti/backoff/v3 v3.0.0 // indirect
|
||||||
github.com/containers/image/v5 v5.9.0 // indirect
|
github.com/containers/image/v5 v5.9.0 // indirect
|
||||||
|
|
@ -97,11 +97,11 @@ require (
|
||||||
github.com/xanzy/ssh-agent v0.2.1 // indirect
|
github.com/xanzy/ssh-agent v0.2.1 // indirect
|
||||||
go.opencensus.io v0.23.0 // indirect
|
go.opencensus.io v0.23.0 // indirect
|
||||||
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
|
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
|
||||||
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
|
||||||
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
|
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
|
||||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
||||||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
|
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
|
||||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b // indirect
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
||||||
golang.org/x/text v0.3.7 // indirect
|
golang.org/x/text v0.3.7 // indirect
|
||||||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
||||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
||||||
|
|
|
||||||
|
|
@ -272,8 +272,8 @@ github.com/aws/aws-sdk-go v1.31.12/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZve
|
||||||
github.com/aws/aws-sdk-go v1.34.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
|
github.com/aws/aws-sdk-go v1.34.9/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
|
||||||
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
|
||||||
github.com/aws/aws-sdk-go v1.40.21/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
|
github.com/aws/aws-sdk-go v1.40.21/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
|
||||||
github.com/aws/aws-sdk-go v1.42.37 h1:EIziSq3REaoi1LgUBgxoQr29DQS7GYHnBbZPajtJmXM=
|
github.com/aws/aws-sdk-go v1.43.11 h1:NebCNJ2QvsFCnsKT1ei98bfwTPEoO2qwtWT42tJ3N3Q=
|
||||||
github.com/aws/aws-sdk-go v1.42.37/go.mod h1:OGr6lGMAKGlG9CVrYnWYDKIyb829c6EVBRjxqjmPepc=
|
github.com/aws/aws-sdk-go v1.43.11/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
|
||||||
github.com/bazelbuild/buildtools v0.0.0-20190917191645-69366ca98f89/go.mod h1:5JP0TXzWDHXv8qvxRC4InIazwdyDseBDbzESUMKk1yU=
|
github.com/bazelbuild/buildtools v0.0.0-20190917191645-69366ca98f89/go.mod h1:5JP0TXzWDHXv8qvxRC4InIazwdyDseBDbzESUMKk1yU=
|
||||||
github.com/bazelbuild/rules_go v0.22.1/go.mod h1:MC23Dc/wkXEyk3Wpq6lCqz0ZAYOZDw2DR5y3N1q2i7M=
|
github.com/bazelbuild/rules_go v0.22.1/go.mod h1:MC23Dc/wkXEyk3Wpq6lCqz0ZAYOZDw2DR5y3N1q2i7M=
|
||||||
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
|
github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
|
||||||
|
|
@ -1882,8 +1882,8 @@ golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qx
|
||||||
golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211111160137-58aab5ef257a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211111160137-58aab5ef257a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||||
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f h1:hEYJvxw1lSnWIl8X9ofsYMklzaDs90JI2az5YMd4fPM=
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk=
|
||||||
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
|
||||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
|
||||||
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
|
||||||
|
|
@ -2060,8 +2060,9 @@ golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBc
|
||||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
||||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b h1:9zKuko04nR4gjZ4+DNjHqRlAJqbJETHwiNKDqTfOjfE=
|
|
||||||
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
|
||||||
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
|
||||||
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,9 @@ type Config struct {
|
||||||
//
|
//
|
||||||
// For example S3's X-Amz-Meta prefixed header will be unmarshaled to lower case
|
// For example S3's X-Amz-Meta prefixed header will be unmarshaled to lower case
|
||||||
// Metadata member's map keys. The value of the header in the map is unaffected.
|
// Metadata member's map keys. The value of the header in the map is unaffected.
|
||||||
|
//
|
||||||
|
// The AWS SDK for Go v2, uses lower case header maps by default. The v1
|
||||||
|
// SDK provides this opt-in for this option, for backwards compatibility.
|
||||||
LowerCaseHeaderMaps *bool
|
LowerCaseHeaderMaps *bool
|
||||||
|
|
||||||
// Set this to `true` to disable the EC2Metadata client from overriding the
|
// Set this to `true` to disable the EC2Metadata client from overriding the
|
||||||
|
|
|
||||||
|
|
@ -814,6 +814,61 @@ var awsPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"amplifyuibuilder": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "sa-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"api.detective": service{
|
"api.detective": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
|
|
@ -1669,6 +1724,147 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"api.tunneling.iot": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.{region}.{dnsSuffix}",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.ca-central-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-ca-central-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.ca-central-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-east-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-east-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-east-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-east-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-east-2.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-east-2",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-west-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-west-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-west-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-west-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-west-2.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-west-2",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "sa-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-east-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-east-2.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-west-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-west-2.amazonaws.com",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"apigateway": service{
|
"apigateway": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -2097,15 +2293,60 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-west-1",
|
Region: "eu-west-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-east-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "apprunner-fips.us-east-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-east-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-east-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "apprunner-fips.us-east-2.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-east-2",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-west-2",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "apprunner-fips.us-west-2.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-west-2",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-east-1",
|
Region: "us-east-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "apprunner-fips.us-east-1.amazonaws.com",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-east-2",
|
Region: "us-east-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "apprunner-fips.us-east-2.amazonaws.com",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-west-2",
|
Region: "us-west-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "apprunner-fips.us-west-2.amazonaws.com",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"appstream2": service{
|
"appstream2": service{
|
||||||
|
|
@ -2810,6 +3051,9 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
"braket": service{
|
"braket": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-2",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-east-1",
|
Region: "us-east-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -4888,6 +5132,9 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
"connect": service{
|
"connect": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "af-south-1",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-northeast-1",
|
Region: "ap-northeast-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -7121,6 +7368,15 @@ var awsPartition = partition{
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
Hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com",
|
Hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com",
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "elasticfilesystem-fips.ap-southeast-3.amazonaws.com",
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -7256,6 +7512,15 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
Deprecated: boxedTrue,
|
Deprecated: boxedTrue,
|
||||||
},
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-ap-southeast-3",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "elasticfilesystem-fips.ap-southeast-3.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "fips-ca-central-1",
|
Region: "fips-ca-central-1",
|
||||||
}: endpoint{
|
}: endpoint{
|
||||||
|
|
@ -9659,6 +9924,9 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-central-1",
|
Region: "eu-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -9793,6 +10061,9 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -10808,6 +11079,9 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
"kafka": service{
|
"kafka": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "af-south-1",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-east-1",
|
Region: "ap-east-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -10817,6 +11091,9 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-northeast-2",
|
Region: "ap-northeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-south-1",
|
Region: "ap-south-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -13517,6 +13794,9 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
"mq": service{
|
"mq": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "af-south-1",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-east-1",
|
Region: "ap-east-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -13538,6 +13818,9 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-southeast-2",
|
Region: "ap-southeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -17560,6 +17843,21 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ca-central-1",
|
Region: "ca-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "secretsmanager-fips.ca-central-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1-fips",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "secretsmanager-fips.ca-central-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "eu-central-1",
|
Region: "eu-central-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -20060,6 +20358,76 @@ var awsPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"synthetics": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "af-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-southeast-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ca-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-central-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "eu-west-3",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "me-south-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "sa-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-east-2",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-west-2",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"tagging": service{
|
"tagging": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -20554,6 +20922,9 @@ var awsPartition = partition{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-northeast-2",
|
Region: "ap-northeast-2",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "ap-northeast-3",
|
||||||
|
}: endpoint{},
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "ap-south-1",
|
Region: "ap-south-1",
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
|
|
@ -21839,6 +22210,16 @@ var awscnPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"api.tunneling.iot": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-northwest-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"apigateway": service{
|
"apigateway": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -22057,6 +22438,16 @@ var awscnPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"codepipeline": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-northwest-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"cognito-identity": service{
|
"cognito-identity": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -23120,6 +23511,16 @@ var awscnPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"synthetics": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-north-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "cn-northwest-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"tagging": service{
|
"tagging": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -23327,6 +23728,14 @@ var awsusgovPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"acm": service{
|
"acm": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "acm.{region}.{dnsSuffix}",
|
||||||
|
},
|
||||||
|
},
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-east-1",
|
Region: "us-gov-east-1",
|
||||||
|
|
@ -23617,6 +24026,54 @@ var awsusgovPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"api.tunneling.iot": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.{region}.{dnsSuffix}",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-gov-east-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-gov-east-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "fips-us-gov-west-1",
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-gov-west-1.amazonaws.com",
|
||||||
|
CredentialScope: credentialScope{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
},
|
||||||
|
Deprecated: boxedTrue,
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-gov-east-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "api.tunneling.iot-fips.us-gov-west-1.amazonaws.com",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
"apigateway": service{
|
"apigateway": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -24553,6 +25010,14 @@ var awsusgovPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"ec2": service{
|
"ec2": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "ec2.{region}.{dnsSuffix}",
|
||||||
|
},
|
||||||
|
},
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-east-1",
|
Region: "us-gov-east-1",
|
||||||
|
|
@ -27193,6 +27658,14 @@ var awsusgovPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"sqs": service{
|
"sqs": service{
|
||||||
|
Defaults: endpointDefaults{
|
||||||
|
defaultKey{}: endpoint{},
|
||||||
|
defaultKey{
|
||||||
|
Variant: fipsVariant,
|
||||||
|
}: endpoint{
|
||||||
|
Hostname: "sqs.{region}.{dnsSuffix}",
|
||||||
|
},
|
||||||
|
},
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
Region: "us-gov-east-1",
|
Region: "us-gov-east-1",
|
||||||
|
|
@ -27514,6 +27987,16 @@ var awsusgovPartition = partition{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"synthetics": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-gov-west-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"tagging": service{
|
"tagging": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
@ -28498,6 +28981,13 @@ var awsisoPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"synthetics": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-iso-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"transcribe": service{
|
"transcribe": service{
|
||||||
Defaults: endpointDefaults{
|
Defaults: endpointDefaults{
|
||||||
defaultKey{}: endpoint{
|
defaultKey{}: endpoint{
|
||||||
|
|
@ -29008,6 +29498,13 @@ var awsisobPartition = partition{
|
||||||
}: endpoint{},
|
}: endpoint{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"synthetics": service{
|
||||||
|
Endpoints: serviceEndpoints{
|
||||||
|
endpointKey{
|
||||||
|
Region: "us-isob-east-1",
|
||||||
|
}: endpoint{},
|
||||||
|
},
|
||||||
|
},
|
||||||
"tagging": service{
|
"tagging": service{
|
||||||
Endpoints: serviceEndpoints{
|
Endpoints: serviceEndpoints{
|
||||||
endpointKey{
|
endpointKey{
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
@ -525,6 +526,14 @@ func (r *Request) GetBody() io.ReadSeeker {
|
||||||
// Send will not close the request.Request's body.
|
// Send will not close the request.Request's body.
|
||||||
func (r *Request) Send() error {
|
func (r *Request) Send() error {
|
||||||
defer func() {
|
defer func() {
|
||||||
|
// Ensure a non-nil HTTPResponse parameter is set to ensure handlers
|
||||||
|
// checking for HTTPResponse values, don't fail.
|
||||||
|
if r.HTTPResponse == nil {
|
||||||
|
r.HTTPResponse = &http.Response{
|
||||||
|
Header: http.Header{},
|
||||||
|
Body: ioutil.NopCloser(&bytes.Buffer{}),
|
||||||
|
}
|
||||||
|
}
|
||||||
// Regardless of success or failure of the request trigger the Complete
|
// Regardless of success or failure of the request trigger the Complete
|
||||||
// request handlers.
|
// request handlers.
|
||||||
r.Handlers.Complete.Run(r)
|
r.Handlers.Complete.Run(r)
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,4 @@ package aws
|
||||||
const SDKName = "aws-sdk-go"
|
const SDKName = "aws-sdk-go"
|
||||||
|
|
||||||
// SDKVersion is the version of this SDK
|
// SDKVersion is the version of this SDK
|
||||||
const SDKVersion = "1.42.37"
|
const SDKVersion = "1.43.11"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ go_library(
|
||||||
"shared.go",
|
"shared.go",
|
||||||
"signer.go",
|
"signer.go",
|
||||||
"stream_writer.go",
|
"stream_writer.go",
|
||||||
|
"transport.go",
|
||||||
|
"transport_go1.17.go",
|
||||||
"writer.go",
|
"writer.go",
|
||||||
],
|
],
|
||||||
importmap = "k8s.io/kops/vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi",
|
importmap = "k8s.io/kops/vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi",
|
||||||
|
|
@ -15,6 +17,7 @@ go_library(
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//vendor/github.com/aws/aws-sdk-go/aws:go_default_library",
|
"//vendor/github.com/aws/aws-sdk-go/aws:go_default_library",
|
||||||
|
"//vendor/github.com/aws/aws-sdk-go/aws/request:go_default_library",
|
||||||
"//vendor/github.com/aws/aws-sdk-go/private/protocol:go_default_library",
|
"//vendor/github.com/aws/aws-sdk-go/private/protocol:go_default_library",
|
||||||
"//vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream:go_default_library",
|
"//vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream:go_default_library",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
10
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/transport.go
generated
vendored
Normal file
10
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/transport.go
generated
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
//go:build go1.18
|
||||||
|
// +build go1.18
|
||||||
|
|
||||||
|
package eventstreamapi
|
||||||
|
|
||||||
|
import "github.com/aws/aws-sdk-go/aws/request"
|
||||||
|
|
||||||
|
// This is a no-op for Go 1.18 and above.
|
||||||
|
func ApplyHTTPTransportFixes(r *request.Request) {
|
||||||
|
}
|
||||||
19
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/transport_go1.17.go
generated
vendored
Normal file
19
vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/transport_go1.17.go
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
//go:build !go1.18
|
||||||
|
// +build !go1.18
|
||||||
|
|
||||||
|
package eventstreamapi
|
||||||
|
|
||||||
|
import "github.com/aws/aws-sdk-go/aws/request"
|
||||||
|
|
||||||
|
// ApplyHTTPTransportFixes applies fixes to the HTTP request for proper event
|
||||||
|
// stream functionality. Go 1.15 through 1.17 HTTP client could hang forever
|
||||||
|
// when an HTTP/2 connection failed with an non-200 status code and err. Using
|
||||||
|
// Expect 100-Continue, allows the HTTP client to gracefully handle the non-200
|
||||||
|
// status code, and close the connection.
|
||||||
|
//
|
||||||
|
// This is a no-op for Go 1.18 and above.
|
||||||
|
func ApplyHTTPTransportFixes(r *request.Request) {
|
||||||
|
r.Handlers.Sign.PushBack(func(r *request.Request) {
|
||||||
|
r.HTTPRequest.Header.Set("Expect", "100-Continue")
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -272,6 +272,9 @@ func convertType(v reflect.Value, tag reflect.StructTag) (str string, err error)
|
||||||
|
|
||||||
switch value := v.Interface().(type) {
|
switch value := v.Interface().(type) {
|
||||||
case string:
|
case string:
|
||||||
|
if tag.Get("suppressedJSONValue") == "true" && tag.Get("location") == "header" {
|
||||||
|
value = base64.StdEncoding.EncodeToString([]byte(value))
|
||||||
|
}
|
||||||
str = value
|
str = value
|
||||||
case []byte:
|
case []byte:
|
||||||
str = base64.StdEncoding.EncodeToString(value)
|
str = base64.StdEncoding.EncodeToString(value)
|
||||||
|
|
@ -306,5 +309,6 @@ func convertType(v reflect.Value, tag reflect.StructTag) (str string, err error)
|
||||||
err := fmt.Errorf("unsupported value for param %v (%s)", v.Interface(), v.Type())
|
err := fmt.Errorf("unsupported value for param %v (%s)", v.Interface(), v.Type())
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
return str, nil
|
return str, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,13 @@ func unmarshalHeader(v reflect.Value, header string, tag reflect.StructTag) erro
|
||||||
|
|
||||||
switch v.Interface().(type) {
|
switch v.Interface().(type) {
|
||||||
case *string:
|
case *string:
|
||||||
|
if tag.Get("suppressedJSONValue") == "true" && tag.Get("location") == "header" {
|
||||||
|
b, err := base64.StdEncoding.DecodeString(header)
|
||||||
|
if err != nil {
|
||||||
|
return fmt.Errorf("failed to decode JSONValue, %v", err)
|
||||||
|
}
|
||||||
|
header = string(b)
|
||||||
|
}
|
||||||
v.Set(reflect.ValueOf(&header))
|
v.Set(reflect.ValueOf(&header))
|
||||||
case []byte:
|
case []byte:
|
||||||
b, err := base64.StdEncoding.DecodeString(header)
|
b, err := base64.StdEncoding.DecodeString(header)
|
||||||
|
|
|
||||||
|
|
@ -635,9 +635,13 @@ func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleAct
|
||||||
// This step is a part of the procedure for adding a lifecycle hook to an Auto
|
// This step is a part of the procedure for adding a lifecycle hook to an Auto
|
||||||
// Scaling group:
|
// Scaling group:
|
||||||
//
|
//
|
||||||
|
// (Optional) Create a launch template or launch configuration with a user data
|
||||||
|
// script that runs while an instance is in a wait state due to a lifecycle
|
||||||
|
// hook.
|
||||||
|
//
|
||||||
// (Optional) Create a Lambda function and a rule that allows Amazon EventBridge
|
// (Optional) Create a Lambda function and a rule that allows Amazon EventBridge
|
||||||
// to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
// to invoke your Lambda function when an instance is put into a wait state
|
||||||
// instances.
|
// due to a lifecycle hook.
|
||||||
//
|
//
|
||||||
// (Optional) Create a notification target and an IAM role. The target can be
|
// (Optional) Create a notification target and an IAM role. The target can be
|
||||||
// either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon
|
// either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon
|
||||||
|
|
@ -647,7 +651,7 @@ func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleAct
|
||||||
// launch or terminate.
|
// launch or terminate.
|
||||||
//
|
//
|
||||||
// If you need more time, record the lifecycle action heartbeat to keep the
|
// If you need more time, record the lifecycle action heartbeat to keep the
|
||||||
// instance in a pending state.
|
// instance in a wait state.
|
||||||
//
|
//
|
||||||
// If you finish before the timeout period ends, send a callback by using the
|
// If you finish before the timeout period ends, send a callback by using the
|
||||||
// CompleteLifecycleAction API call.
|
// CompleteLifecycleAction API call.
|
||||||
|
|
@ -4808,16 +4812,20 @@ func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req
|
||||||
//
|
//
|
||||||
// Creates or updates a lifecycle hook for the specified Auto Scaling group.
|
// Creates or updates a lifecycle hook for the specified Auto Scaling group.
|
||||||
//
|
//
|
||||||
// A lifecycle hook enables an Auto Scaling group to be aware of events in the
|
// Lifecycle hooks let you create solutions that are aware of events in the
|
||||||
// Auto Scaling instance lifecycle, and then perform a custom action when the
|
// Auto Scaling instance lifecycle, and then perform a custom action on instances
|
||||||
// corresponding lifecycle event occurs.
|
// when the corresponding lifecycle event occurs.
|
||||||
//
|
//
|
||||||
// This step is a part of the procedure for adding a lifecycle hook to an Auto
|
// This step is a part of the procedure for adding a lifecycle hook to an Auto
|
||||||
// Scaling group:
|
// Scaling group:
|
||||||
//
|
//
|
||||||
|
// (Optional) Create a launch template or launch configuration with a user data
|
||||||
|
// script that runs while an instance is in a wait state due to a lifecycle
|
||||||
|
// hook.
|
||||||
|
//
|
||||||
// (Optional) Create a Lambda function and a rule that allows Amazon EventBridge
|
// (Optional) Create a Lambda function and a rule that allows Amazon EventBridge
|
||||||
// to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
// to invoke your Lambda function when an instance is put into a wait state
|
||||||
// instances.
|
// due to a lifecycle hook.
|
||||||
//
|
//
|
||||||
// (Optional) Create a notification target and an IAM role. The target can be
|
// (Optional) Create a notification target and an IAM role. The target can be
|
||||||
// either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon
|
// either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon
|
||||||
|
|
@ -4827,8 +4835,7 @@ func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req
|
||||||
// launch or terminate.
|
// launch or terminate.
|
||||||
//
|
//
|
||||||
// If you need more time, record the lifecycle action heartbeat to keep the
|
// If you need more time, record the lifecycle action heartbeat to keep the
|
||||||
// instance in a pending state using the RecordLifecycleActionHeartbeat API
|
// instance in a wait state using the RecordLifecycleActionHeartbeat API call.
|
||||||
// call.
|
|
||||||
//
|
//
|
||||||
// If you finish before the timeout period ends, send a callback by using the
|
// If you finish before the timeout period ends, send a callback by using the
|
||||||
// CompleteLifecycleAction API call.
|
// CompleteLifecycleAction API call.
|
||||||
|
|
@ -5341,9 +5348,13 @@ func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecyc
|
||||||
// This step is a part of the procedure for adding a lifecycle hook to an Auto
|
// This step is a part of the procedure for adding a lifecycle hook to an Auto
|
||||||
// Scaling group:
|
// Scaling group:
|
||||||
//
|
//
|
||||||
|
// (Optional) Create a launch template or launch configuration with a user data
|
||||||
|
// script that runs while an instance is in a wait state due to a lifecycle
|
||||||
|
// hook.
|
||||||
|
//
|
||||||
// (Optional) Create a Lambda function and a rule that allows Amazon EventBridge
|
// (Optional) Create a Lambda function and a rule that allows Amazon EventBridge
|
||||||
// to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates
|
// to invoke your Lambda function when an instance is put into a wait state
|
||||||
// instances.
|
// due to a lifecycle hook.
|
||||||
//
|
//
|
||||||
// (Optional) Create a notification target and an IAM role. The target can be
|
// (Optional) Create a notification target and an IAM role. The target can be
|
||||||
// either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon
|
// either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon
|
||||||
|
|
@ -5353,7 +5364,7 @@ func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecyc
|
||||||
// launch or terminate.
|
// launch or terminate.
|
||||||
//
|
//
|
||||||
// If you need more time, record the lifecycle action heartbeat to keep the
|
// If you need more time, record the lifecycle action heartbeat to keep the
|
||||||
// instance in a pending state.
|
// instance in a wait state.
|
||||||
//
|
//
|
||||||
// If you finish before the timeout period ends, send a callback by using the
|
// If you finish before the timeout period ends, send a callback by using the
|
||||||
// CompleteLifecycleAction API call.
|
// CompleteLifecycleAction API call.
|
||||||
|
|
@ -7395,7 +7406,7 @@ type CreateAutoScalingGroupInput struct {
|
||||||
// is 0. For more information, see Health check grace period (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period)
|
// is 0. For more information, see Health check grace period (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period)
|
||||||
// in the Amazon EC2 Auto Scaling User Guide.
|
// in the Amazon EC2 Auto Scaling User Guide.
|
||||||
//
|
//
|
||||||
// Conditional: Required if you are adding an ELB health check.
|
// Required if you are adding an ELB health check.
|
||||||
HealthCheckGracePeriod *int64 `type:"integer"`
|
HealthCheckGracePeriod *int64 `type:"integer"`
|
||||||
|
|
||||||
// The service to use for the health checks. The valid values are EC2 (default)
|
// The service to use for the health checks. The valid values are EC2 (default)
|
||||||
|
|
@ -13573,6 +13584,10 @@ type InstanceRequirements struct {
|
||||||
// as a percentage. To turn off price protection, specify a high value, such
|
// as a percentage. To turn off price protection, specify a high value, such
|
||||||
// as 999999.
|
// as 999999.
|
||||||
//
|
//
|
||||||
|
// If you set DesiredCapacityType to vcpu or memory-mib, the price protection
|
||||||
|
// threshold is applied based on the per vCPU or per memory price instead of
|
||||||
|
// the per instance price.
|
||||||
|
//
|
||||||
// Default: 20
|
// Default: 20
|
||||||
OnDemandMaxPricePercentageOverLowestPrice *int64 `type:"integer"`
|
OnDemandMaxPricePercentageOverLowestPrice *int64 `type:"integer"`
|
||||||
|
|
||||||
|
|
@ -13590,6 +13605,10 @@ type InstanceRequirements struct {
|
||||||
// an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To
|
// an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To
|
||||||
// turn off price protection, specify a high value, such as 999999.
|
// turn off price protection, specify a high value, such as 999999.
|
||||||
//
|
//
|
||||||
|
// If you set DesiredCapacityType to vcpu or memory-mib, the price protection
|
||||||
|
// threshold is applied based on the per vCPU or per memory price instead of
|
||||||
|
// the per instance price.
|
||||||
|
//
|
||||||
// Default: 100
|
// Default: 100
|
||||||
SpotMaxPricePercentageOverLowestPrice *int64 `type:"integer"`
|
SpotMaxPricePercentageOverLowestPrice *int64 `type:"integer"`
|
||||||
|
|
||||||
|
|
@ -13775,6 +13794,42 @@ func (s *InstanceRequirements) SetVCpuCount(v *VCpuCountRequest) *InstanceRequir
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Describes an instance reuse policy for a warm pool.
|
||||||
|
//
|
||||||
|
// For more information, see Warm pools for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html)
|
||||||
|
// in the Amazon EC2 Auto Scaling User Guide.
|
||||||
|
type InstanceReusePolicy struct {
|
||||||
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
|
// Specifies whether instances in the Auto Scaling group can be returned to
|
||||||
|
// the warm pool on scale in.
|
||||||
|
ReuseOnScaleIn *bool `type:"boolean"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// String returns the string representation.
|
||||||
|
//
|
||||||
|
// API parameter values that are decorated as "sensitive" in the API will not
|
||||||
|
// be included in the string output. The member name will be present, but the
|
||||||
|
// value will be replaced with "sensitive".
|
||||||
|
func (s InstanceReusePolicy) String() string {
|
||||||
|
return awsutil.Prettify(s)
|
||||||
|
}
|
||||||
|
|
||||||
|
// GoString returns the string representation.
|
||||||
|
//
|
||||||
|
// API parameter values that are decorated as "sensitive" in the API will not
|
||||||
|
// be included in the string output. The member name will be present, but the
|
||||||
|
// value will be replaced with "sensitive".
|
||||||
|
func (s InstanceReusePolicy) GoString() string {
|
||||||
|
return s.String()
|
||||||
|
}
|
||||||
|
|
||||||
|
// SetReuseOnScaleIn sets the ReuseOnScaleIn field's value.
|
||||||
|
func (s *InstanceReusePolicy) SetReuseOnScaleIn(v bool) *InstanceReusePolicy {
|
||||||
|
s.ReuseOnScaleIn = &v
|
||||||
|
return s
|
||||||
|
}
|
||||||
|
|
||||||
// Describes an instances distribution for an Auto Scaling group.
|
// Describes an instances distribution for an Auto Scaling group.
|
||||||
type InstancesDistribution struct {
|
type InstancesDistribution struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
@ -14260,12 +14315,11 @@ type LaunchTemplateOverrides struct {
|
||||||
// in the Amazon Elastic Compute Cloud User Guide.
|
// in the Amazon Elastic Compute Cloud User Guide.
|
||||||
InstanceType *string `min:"1" type:"string"`
|
InstanceType *string `min:"1" type:"string"`
|
||||||
|
|
||||||
// Provides the launch template to be used when launching the instance type
|
// Provides a launch template for the specified instance type or instance requirements.
|
||||||
// specified in InstanceType. For example, some instance types might require
|
// For example, some instance types might require a launch template with a different
|
||||||
// a launch template with a different AMI. If not provided, Amazon EC2 Auto
|
// AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's
|
||||||
// Scaling uses the launch template that's defined for your mixed instances
|
// defined for your mixed instances policy. For more information, see Specifying
|
||||||
// policy. For more information, see Specifying a different launch template
|
// a different launch template for an instance type (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html)
|
||||||
// for an instance type (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html)
|
|
||||||
// in the Amazon EC2 Auto Scaling User Guide.
|
// in the Amazon EC2 Auto Scaling User Guide.
|
||||||
LaunchTemplateSpecification *LaunchTemplateSpecification `type:"structure"`
|
LaunchTemplateSpecification *LaunchTemplateSpecification `type:"structure"`
|
||||||
|
|
||||||
|
|
@ -14277,8 +14331,8 @@ type LaunchTemplateOverrides struct {
|
||||||
// if this results in an overage. For example, if there are two units remaining
|
// if this results in an overage. For example, if there are two units remaining
|
||||||
// to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance
|
// to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance
|
||||||
// with a WeightedCapacity of five units, the instance is launched, and the
|
// with a WeightedCapacity of five units, the instance is launched, and the
|
||||||
// desired capacity is exceeded by three units. For more information, see Instance
|
// desired capacity is exceeded by three units. For more information, see Configuring
|
||||||
// weighting for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html)
|
// instance weighting for Amazon EC2 Auto Scaling (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html)
|
||||||
// in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of
|
// in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of
|
||||||
// 1–999.
|
// 1–999.
|
||||||
WeightedCapacity *string `min:"1" type:"string"`
|
WeightedCapacity *string `min:"1" type:"string"`
|
||||||
|
|
@ -14443,9 +14497,9 @@ func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecif
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
// Describes a lifecycle hook, which enables an Auto Scaling group to be aware
|
// Describes a lifecycle hook. A lifecycle hook lets you create solutions that
|
||||||
// of events in the Auto Scaling instance lifecycle, and then perform a custom
|
// are aware of events in the Auto Scaling instance lifecycle, and then perform
|
||||||
// action when the corresponding lifecycle event occurs.
|
// a custom action on instances when the corresponding lifecycle event occurs.
|
||||||
type LifecycleHook struct {
|
type LifecycleHook struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
|
|
@ -14488,7 +14542,7 @@ type LifecycleHook struct {
|
||||||
NotificationTargetARN *string `type:"string"`
|
NotificationTargetARN *string `type:"string"`
|
||||||
|
|
||||||
// The ARN of the IAM role that allows the Auto Scaling group to publish to
|
// The ARN of the IAM role that allows the Auto Scaling group to publish to
|
||||||
// the specified notification target.
|
// the specified notification target (an Amazon SNS topic or an Amazon SQS queue).
|
||||||
RoleARN *string `min:"1" type:"string"`
|
RoleARN *string `min:"1" type:"string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14610,8 +14664,11 @@ type LifecycleHookSpecification struct {
|
||||||
NotificationTargetARN *string `type:"string"`
|
NotificationTargetARN *string `type:"string"`
|
||||||
|
|
||||||
// The ARN of the IAM role that allows the Auto Scaling group to publish to
|
// The ARN of the IAM role that allows the Auto Scaling group to publish to
|
||||||
// the specified notification target, for example, an Amazon SNS topic or an
|
// the specified notification target.
|
||||||
// Amazon SQS queue.
|
//
|
||||||
|
// Valid only if the notification target is an Amazon SNS topic or an Amazon
|
||||||
|
// SQS queue. Required for new lifecycle hooks, but optional when updating existing
|
||||||
|
// hooks.
|
||||||
RoleARN *string `min:"1" type:"string"`
|
RoleARN *string `min:"1" type:"string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -15613,14 +15670,14 @@ type PredefinedMetricSpecification struct {
|
||||||
// * ASGAverageCPUUtilization - Average CPU utilization of the Auto Scaling
|
// * ASGAverageCPUUtilization - Average CPU utilization of the Auto Scaling
|
||||||
// group.
|
// group.
|
||||||
//
|
//
|
||||||
// * ASGAverageNetworkIn - Average number of bytes received on all network
|
// * ASGAverageNetworkIn - Average number of bytes received (per instance
|
||||||
// interfaces by the Auto Scaling group.
|
// per minute) for the Auto Scaling group.
|
||||||
//
|
//
|
||||||
// * ASGAverageNetworkOut - Average number of bytes sent out on all network
|
// * ASGAverageNetworkOut - Average number of bytes sent out (per instance
|
||||||
// interfaces by the Auto Scaling group.
|
// per minute) for the Auto Scaling group.
|
||||||
//
|
//
|
||||||
// * ALBRequestCountPerTarget - Number of requests completed per target in
|
// * ALBRequestCountPerTarget - Average Application Load Balancer request
|
||||||
// an Application Load Balancer target group.
|
// count (per target per minute) for your Auto Scaling group.
|
||||||
//
|
//
|
||||||
// PredefinedMetricType is a required field
|
// PredefinedMetricType is a required field
|
||||||
PredefinedMetricType *string `type:"string" required:"true" enum:"MetricType"`
|
PredefinedMetricType *string `type:"string" required:"true" enum:"MetricType"`
|
||||||
|
|
@ -16557,10 +16614,11 @@ type PutLifecycleHookInput struct {
|
||||||
NotificationTargetARN *string `type:"string"`
|
NotificationTargetARN *string `type:"string"`
|
||||||
|
|
||||||
// The ARN of the IAM role that allows the Auto Scaling group to publish to
|
// The ARN of the IAM role that allows the Auto Scaling group to publish to
|
||||||
// the specified notification target, for example, an Amazon SNS topic or an
|
// the specified notification target.
|
||||||
// Amazon SQS queue.
|
|
||||||
//
|
//
|
||||||
// Required for new lifecycle hooks, but optional when updating existing hooks.
|
// Valid only if the notification target is an Amazon SNS topic or an Amazon
|
||||||
|
// SQS queue. Required for new lifecycle hooks, but optional when updating existing
|
||||||
|
// hooks.
|
||||||
RoleARN *string `min:"1" type:"string"`
|
RoleARN *string `min:"1" type:"string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -17305,6 +17363,11 @@ type PutWarmPoolInput struct {
|
||||||
// AutoScalingGroupName is a required field
|
// AutoScalingGroupName is a required field
|
||||||
AutoScalingGroupName *string `min:"1" type:"string" required:"true"`
|
AutoScalingGroupName *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
||||||
|
// Indicates whether instances in the Auto Scaling group can be returned to
|
||||||
|
// the warm pool on scale in. The default is to terminate instances in the Auto
|
||||||
|
// Scaling group when the group scales in.
|
||||||
|
InstanceReusePolicy *InstanceReusePolicy `type:"structure"`
|
||||||
|
|
||||||
// Specifies the maximum number of instances that are allowed to be in the warm
|
// Specifies the maximum number of instances that are allowed to be in the warm
|
||||||
// pool or in any state except Terminated for the Auto Scaling group. This is
|
// pool or in any state except Terminated for the Auto Scaling group. This is
|
||||||
// an optional property. Specify it only if you do not want the warm pool size
|
// an optional property. Specify it only if you do not want the warm pool size
|
||||||
|
|
@ -17380,6 +17443,12 @@ func (s *PutWarmPoolInput) SetAutoScalingGroupName(v string) *PutWarmPoolInput {
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetInstanceReusePolicy sets the InstanceReusePolicy field's value.
|
||||||
|
func (s *PutWarmPoolInput) SetInstanceReusePolicy(v *InstanceReusePolicy) *PutWarmPoolInput {
|
||||||
|
s.InstanceReusePolicy = v
|
||||||
|
return s
|
||||||
|
}
|
||||||
|
|
||||||
// SetMaxGroupPreparedCapacity sets the MaxGroupPreparedCapacity field's value.
|
// SetMaxGroupPreparedCapacity sets the MaxGroupPreparedCapacity field's value.
|
||||||
func (s *PutWarmPoolInput) SetMaxGroupPreparedCapacity(v int64) *PutWarmPoolInput {
|
func (s *PutWarmPoolInput) SetMaxGroupPreparedCapacity(v int64) *PutWarmPoolInput {
|
||||||
s.MaxGroupPreparedCapacity = &v
|
s.MaxGroupPreparedCapacity = &v
|
||||||
|
|
@ -18963,6 +19032,12 @@ type TargetTrackingConfiguration struct {
|
||||||
|
|
||||||
// The target value for the metric.
|
// The target value for the metric.
|
||||||
//
|
//
|
||||||
|
// Some metrics are based on a count instead of a percentage, such as the request
|
||||||
|
// count for an Application Load Balancer or the number of messages in an SQS
|
||||||
|
// queue. If the scaling policy specifies one of these metrics, specify the
|
||||||
|
// target utilization as the optimal average request or message count per instance
|
||||||
|
// during any one-minute interval.
|
||||||
|
//
|
||||||
// TargetValue is a required field
|
// TargetValue is a required field
|
||||||
TargetValue *float64 `type:"double" required:"true"`
|
TargetValue *float64 `type:"double" required:"true"`
|
||||||
}
|
}
|
||||||
|
|
@ -19220,7 +19295,7 @@ type UpdateAutoScalingGroupInput struct {
|
||||||
// is 0. For more information, see Health check grace period (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period)
|
// is 0. For more information, see Health check grace period (https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period)
|
||||||
// in the Amazon EC2 Auto Scaling User Guide.
|
// in the Amazon EC2 Auto Scaling User Guide.
|
||||||
//
|
//
|
||||||
// Conditional: Required if you are adding an ELB health check.
|
// Required if you are adding an ELB health check.
|
||||||
HealthCheckGracePeriod *int64 `type:"integer"`
|
HealthCheckGracePeriod *int64 `type:"integer"`
|
||||||
|
|
||||||
// The service to use for the health checks. The valid values are EC2 and ELB.
|
// The service to use for the health checks. The valid values are EC2 and ELB.
|
||||||
|
|
@ -19561,6 +19636,9 @@ func (s *VCpuCountRequest) SetMin(v int64) *VCpuCountRequest {
|
||||||
type WarmPoolConfiguration struct {
|
type WarmPoolConfiguration struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
|
// The instance reuse policy.
|
||||||
|
InstanceReusePolicy *InstanceReusePolicy `type:"structure"`
|
||||||
|
|
||||||
// The maximum number of instances that are allowed to be in the warm pool or
|
// The maximum number of instances that are allowed to be in the warm pool or
|
||||||
// in any state except Terminated for the Auto Scaling group.
|
// in any state except Terminated for the Auto Scaling group.
|
||||||
MaxGroupPreparedCapacity *int64 `type:"integer"`
|
MaxGroupPreparedCapacity *int64 `type:"integer"`
|
||||||
|
|
@ -19593,6 +19671,12 @@ func (s WarmPoolConfiguration) GoString() string {
|
||||||
return s.String()
|
return s.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// SetInstanceReusePolicy sets the InstanceReusePolicy field's value.
|
||||||
|
func (s *WarmPoolConfiguration) SetInstanceReusePolicy(v *InstanceReusePolicy) *WarmPoolConfiguration {
|
||||||
|
s.InstanceReusePolicy = v
|
||||||
|
return s
|
||||||
|
}
|
||||||
|
|
||||||
// SetMaxGroupPreparedCapacity sets the MaxGroupPreparedCapacity field's value.
|
// SetMaxGroupPreparedCapacity sets the MaxGroupPreparedCapacity field's value.
|
||||||
func (s *WarmPoolConfiguration) SetMaxGroupPreparedCapacity(v int64) *WarmPoolConfiguration {
|
func (s *WarmPoolConfiguration) SetMaxGroupPreparedCapacity(v int64) *WarmPoolConfiguration {
|
||||||
s.MaxGroupPreparedCapacity = &v
|
s.MaxGroupPreparedCapacity = &v
|
||||||
|
|
@ -19903,6 +19987,9 @@ const (
|
||||||
|
|
||||||
// LifecycleStateWarmedRunning is a LifecycleState enum value
|
// LifecycleStateWarmedRunning is a LifecycleState enum value
|
||||||
LifecycleStateWarmedRunning = "Warmed:Running"
|
LifecycleStateWarmedRunning = "Warmed:Running"
|
||||||
|
|
||||||
|
// LifecycleStateWarmedHibernated is a LifecycleState enum value
|
||||||
|
LifecycleStateWarmedHibernated = "Warmed:Hibernated"
|
||||||
)
|
)
|
||||||
|
|
||||||
// LifecycleState_Values returns all elements of the LifecycleState enum
|
// LifecycleState_Values returns all elements of the LifecycleState enum
|
||||||
|
|
@ -19930,6 +20017,7 @@ func LifecycleState_Values() []string {
|
||||||
LifecycleStateWarmedTerminated,
|
LifecycleStateWarmedTerminated,
|
||||||
LifecycleStateWarmedStopped,
|
LifecycleStateWarmedStopped,
|
||||||
LifecycleStateWarmedRunning,
|
LifecycleStateWarmedRunning,
|
||||||
|
LifecycleStateWarmedHibernated,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -20199,6 +20287,9 @@ const (
|
||||||
|
|
||||||
// WarmPoolStateRunning is a WarmPoolState enum value
|
// WarmPoolStateRunning is a WarmPoolState enum value
|
||||||
WarmPoolStateRunning = "Running"
|
WarmPoolStateRunning = "Running"
|
||||||
|
|
||||||
|
// WarmPoolStateHibernated is a WarmPoolState enum value
|
||||||
|
WarmPoolStateHibernated = "Hibernated"
|
||||||
)
|
)
|
||||||
|
|
||||||
// WarmPoolState_Values returns all elements of the WarmPoolState enum
|
// WarmPoolState_Values returns all elements of the WarmPoolState enum
|
||||||
|
|
@ -20206,6 +20297,7 @@ func WarmPoolState_Values() []string {
|
||||||
return []string{
|
return []string{
|
||||||
WarmPoolStateStopped,
|
WarmPoolStateStopped,
|
||||||
WarmPoolStateRunning,
|
WarmPoolStateRunning,
|
||||||
|
WarmPoolStateHibernated,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -7,18 +7,18 @@
|
||||||
// deployments predictably and repeatedly. You can use CloudFormation to leverage
|
// deployments predictably and repeatedly. You can use CloudFormation to leverage
|
||||||
// Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon
|
// Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon
|
||||||
// Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing,
|
// Elastic Block Store, Amazon Simple Notification Service, Elastic Load Balancing,
|
||||||
// and Auto Scaling to build highly-reliable, highly scalable, cost-effective
|
// and Auto Scaling to build highly reliable, highly scalable, cost-effective
|
||||||
// applications without creating or configuring the underlying Amazon Web Services
|
// applications without creating or configuring the underlying Amazon Web Services
|
||||||
// infrastructure.
|
// infrastructure.
|
||||||
//
|
//
|
||||||
// With CloudFormation, you declare all of your resources and dependencies in
|
// With CloudFormation, you declare all your resources and dependencies in a
|
||||||
// a template file. The template defines a collection of resources as a single
|
// template file. The template defines a collection of resources as a single
|
||||||
// unit called a stack. CloudFormation creates and deletes all member resources
|
// unit called a stack. CloudFormation creates and deletes all member resources
|
||||||
// of the stack together and manages all dependencies between the resources
|
// of the stack together and manages all dependencies between the resources
|
||||||
// for you.
|
// for you.
|
||||||
//
|
//
|
||||||
// For more information about CloudFormation, see the CloudFormation Product
|
// For more information about CloudFormation, see the CloudFormation product
|
||||||
// Page (http://aws.amazon.com/cloudformation/).
|
// page (http://aws.amazon.com/cloudformation/).
|
||||||
//
|
//
|
||||||
// CloudFormation makes use of other Amazon Web Services products. If you need
|
// CloudFormation makes use of other Amazon Web Services products. If you need
|
||||||
// additional technical information about a specific Amazon Web Services product,
|
// additional technical information about a specific Amazon Web Services product,
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ const (
|
||||||
// "ChangeSetNotFound".
|
// "ChangeSetNotFound".
|
||||||
//
|
//
|
||||||
// The specified change set name or ID doesn't exit. To view valid change sets
|
// The specified change set name or ID doesn't exit. To view valid change sets
|
||||||
// for a stack, use the ListChangeSets action.
|
// for a stack, use the ListChangeSets operation.
|
||||||
ErrCodeChangeSetNotFoundException = "ChangeSetNotFound"
|
ErrCodeChangeSetNotFoundException = "ChangeSetNotFound"
|
||||||
|
|
||||||
// ErrCodeCreatedButModifiedException for service response error code
|
// ErrCodeCreatedButModifiedException for service response error code
|
||||||
|
|
@ -54,7 +54,7 @@ const (
|
||||||
// "InvalidStateTransition".
|
// "InvalidStateTransition".
|
||||||
//
|
//
|
||||||
// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html).
|
// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html).
|
||||||
// CloudFormation does not return this error to users.
|
// CloudFormation doesn't return this error to users.
|
||||||
ErrCodeInvalidStateTransitionException = "InvalidStateTransition"
|
ErrCodeInvalidStateTransitionException = "InvalidStateTransition"
|
||||||
|
|
||||||
// ErrCodeLimitExceededException for service response error code
|
// ErrCodeLimitExceededException for service response error code
|
||||||
|
|
@ -62,7 +62,8 @@ const (
|
||||||
//
|
//
|
||||||
// The quota for the resource has already been reached.
|
// The quota for the resource has already been reached.
|
||||||
//
|
//
|
||||||
// For information on resource and stack limitations, see Limits (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html)
|
// For information on resource and stack limitations, see CloudFormation quotas
|
||||||
|
// (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html)
|
||||||
// in the CloudFormation User Guide.
|
// in the CloudFormation User Guide.
|
||||||
ErrCodeLimitExceededException = "LimitExceededException"
|
ErrCodeLimitExceededException = "LimitExceededException"
|
||||||
|
|
||||||
|
|
@ -95,7 +96,7 @@ const (
|
||||||
// "ConditionalCheckFailed".
|
// "ConditionalCheckFailed".
|
||||||
//
|
//
|
||||||
// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html).
|
// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html).
|
||||||
// CloudFormation does not return this error to users.
|
// CloudFormation doesn't return this error to users.
|
||||||
ErrCodeOperationStatusCheckFailedException = "ConditionalCheckFailed"
|
ErrCodeOperationStatusCheckFailedException = "ConditionalCheckFailed"
|
||||||
|
|
||||||
// ErrCodeStackInstanceNotFoundException for service response error code
|
// ErrCodeStackInstanceNotFoundException for service response error code
|
||||||
|
|
@ -107,7 +108,7 @@ const (
|
||||||
// ErrCodeStackNotFoundException for service response error code
|
// ErrCodeStackNotFoundException for service response error code
|
||||||
// "StackNotFoundException".
|
// "StackNotFoundException".
|
||||||
//
|
//
|
||||||
// The specified stack ARN doesn’t exist or stack doesn’t exist corresponding
|
// The specified stack ARN doesn't exist or stack doesn't exist corresponding
|
||||||
// to the ARN in input.
|
// to the ARN in input.
|
||||||
ErrCodeStackNotFoundException = "StackNotFoundException"
|
ErrCodeStackNotFoundException = "StackNotFoundException"
|
||||||
|
|
||||||
|
|
@ -141,12 +142,12 @@ const (
|
||||||
// ErrCodeTypeConfigurationNotFoundException for service response error code
|
// ErrCodeTypeConfigurationNotFoundException for service response error code
|
||||||
// "TypeConfigurationNotFoundException".
|
// "TypeConfigurationNotFoundException".
|
||||||
//
|
//
|
||||||
// The specified extension configuration cannot be found.
|
// The specified extension configuration can't be found.
|
||||||
ErrCodeTypeConfigurationNotFoundException = "TypeConfigurationNotFoundException"
|
ErrCodeTypeConfigurationNotFoundException = "TypeConfigurationNotFoundException"
|
||||||
|
|
||||||
// ErrCodeTypeNotFoundException for service response error code
|
// ErrCodeTypeNotFoundException for service response error code
|
||||||
// "TypeNotFoundException".
|
// "TypeNotFoundException".
|
||||||
//
|
//
|
||||||
// The specified extension does not exist in the CloudFormation registry.
|
// The specified extension doesn't exist in the CloudFormation registry.
|
||||||
ErrCodeTypeNotFoundException = "TypeNotFoundException"
|
ErrCodeTypeNotFoundException = "TypeNotFoundException"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -2002,6 +2002,13 @@ type EC2API interface {
|
||||||
ImportVolumeWithContext(aws.Context, *ec2.ImportVolumeInput, ...request.Option) (*ec2.ImportVolumeOutput, error)
|
ImportVolumeWithContext(aws.Context, *ec2.ImportVolumeInput, ...request.Option) (*ec2.ImportVolumeOutput, error)
|
||||||
ImportVolumeRequest(*ec2.ImportVolumeInput) (*request.Request, *ec2.ImportVolumeOutput)
|
ImportVolumeRequest(*ec2.ImportVolumeInput) (*request.Request, *ec2.ImportVolumeOutput)
|
||||||
|
|
||||||
|
ListImagesInRecycleBin(*ec2.ListImagesInRecycleBinInput) (*ec2.ListImagesInRecycleBinOutput, error)
|
||||||
|
ListImagesInRecycleBinWithContext(aws.Context, *ec2.ListImagesInRecycleBinInput, ...request.Option) (*ec2.ListImagesInRecycleBinOutput, error)
|
||||||
|
ListImagesInRecycleBinRequest(*ec2.ListImagesInRecycleBinInput) (*request.Request, *ec2.ListImagesInRecycleBinOutput)
|
||||||
|
|
||||||
|
ListImagesInRecycleBinPages(*ec2.ListImagesInRecycleBinInput, func(*ec2.ListImagesInRecycleBinOutput, bool) bool) error
|
||||||
|
ListImagesInRecycleBinPagesWithContext(aws.Context, *ec2.ListImagesInRecycleBinInput, func(*ec2.ListImagesInRecycleBinOutput, bool) bool, ...request.Option) error
|
||||||
|
|
||||||
ListSnapshotsInRecycleBin(*ec2.ListSnapshotsInRecycleBinInput) (*ec2.ListSnapshotsInRecycleBinOutput, error)
|
ListSnapshotsInRecycleBin(*ec2.ListSnapshotsInRecycleBinInput) (*ec2.ListSnapshotsInRecycleBinOutput, error)
|
||||||
ListSnapshotsInRecycleBinWithContext(aws.Context, *ec2.ListSnapshotsInRecycleBinInput, ...request.Option) (*ec2.ListSnapshotsInRecycleBinOutput, error)
|
ListSnapshotsInRecycleBinWithContext(aws.Context, *ec2.ListSnapshotsInRecycleBinInput, ...request.Option) (*ec2.ListSnapshotsInRecycleBinOutput, error)
|
||||||
ListSnapshotsInRecycleBinRequest(*ec2.ListSnapshotsInRecycleBinInput) (*request.Request, *ec2.ListSnapshotsInRecycleBinOutput)
|
ListSnapshotsInRecycleBinRequest(*ec2.ListSnapshotsInRecycleBinInput) (*request.Request, *ec2.ListSnapshotsInRecycleBinOutput)
|
||||||
|
|
@ -2381,6 +2388,10 @@ type EC2API interface {
|
||||||
RestoreAddressToClassicWithContext(aws.Context, *ec2.RestoreAddressToClassicInput, ...request.Option) (*ec2.RestoreAddressToClassicOutput, error)
|
RestoreAddressToClassicWithContext(aws.Context, *ec2.RestoreAddressToClassicInput, ...request.Option) (*ec2.RestoreAddressToClassicOutput, error)
|
||||||
RestoreAddressToClassicRequest(*ec2.RestoreAddressToClassicInput) (*request.Request, *ec2.RestoreAddressToClassicOutput)
|
RestoreAddressToClassicRequest(*ec2.RestoreAddressToClassicInput) (*request.Request, *ec2.RestoreAddressToClassicOutput)
|
||||||
|
|
||||||
|
RestoreImageFromRecycleBin(*ec2.RestoreImageFromRecycleBinInput) (*ec2.RestoreImageFromRecycleBinOutput, error)
|
||||||
|
RestoreImageFromRecycleBinWithContext(aws.Context, *ec2.RestoreImageFromRecycleBinInput, ...request.Option) (*ec2.RestoreImageFromRecycleBinOutput, error)
|
||||||
|
RestoreImageFromRecycleBinRequest(*ec2.RestoreImageFromRecycleBinInput) (*request.Request, *ec2.RestoreImageFromRecycleBinOutput)
|
||||||
|
|
||||||
RestoreManagedPrefixListVersion(*ec2.RestoreManagedPrefixListVersionInput) (*ec2.RestoreManagedPrefixListVersionOutput, error)
|
RestoreManagedPrefixListVersion(*ec2.RestoreManagedPrefixListVersionInput) (*ec2.RestoreManagedPrefixListVersionOutput, error)
|
||||||
RestoreManagedPrefixListVersionWithContext(aws.Context, *ec2.RestoreManagedPrefixListVersionInput, ...request.Option) (*ec2.RestoreManagedPrefixListVersionOutput, error)
|
RestoreManagedPrefixListVersionWithContext(aws.Context, *ec2.RestoreManagedPrefixListVersionInput, ...request.Option) (*ec2.RestoreManagedPrefixListVersionOutput, error)
|
||||||
RestoreManagedPrefixListVersionRequest(*ec2.RestoreManagedPrefixListVersionInput) (*request.Request, *ec2.RestoreManagedPrefixListVersionOutput)
|
RestoreManagedPrefixListVersionRequest(*ec2.RestoreManagedPrefixListVersionInput) (*request.Request, *ec2.RestoreManagedPrefixListVersionOutput)
|
||||||
|
|
|
||||||
|
|
@ -3773,6 +3773,8 @@ func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Re
|
||||||
//
|
//
|
||||||
// Targets are the resources that are invoked when a rule is triggered.
|
// Targets are the resources that are invoked when a rule is triggered.
|
||||||
//
|
//
|
||||||
|
// Each rule can have up to five (5) targets associated with it at one time.
|
||||||
|
//
|
||||||
// You can configure the following as targets for Events:
|
// You can configure the following as targets for Events:
|
||||||
//
|
//
|
||||||
// * API destination (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html)
|
// * API destination (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html)
|
||||||
|
|
@ -3791,6 +3793,8 @@ func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Re
|
||||||
//
|
//
|
||||||
// * Amazon EC2 CreateSnapshot API call
|
// * Amazon EC2 CreateSnapshot API call
|
||||||
//
|
//
|
||||||
|
// * EC2 Image Builder
|
||||||
|
//
|
||||||
// * Amazon EC2 RebootInstances API call
|
// * Amazon EC2 RebootInstances API call
|
||||||
//
|
//
|
||||||
// * Amazon EC2 StopInstances API call
|
// * Amazon EC2 StopInstances API call
|
||||||
|
|
@ -3815,7 +3819,7 @@ func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Re
|
||||||
//
|
//
|
||||||
// * Amazon SNS topic
|
// * Amazon SNS topic
|
||||||
//
|
//
|
||||||
// * Amazon SQS queues (includes FIFO queues
|
// * Amazon SQS queues (includes FIFO queues)
|
||||||
//
|
//
|
||||||
// * SSM Automation
|
// * SSM Automation
|
||||||
//
|
//
|
||||||
|
|
@ -4089,6 +4093,10 @@ func (c *EventBridge) RemoveTargetsRequest(input *RemoveTargetsInput) (req *requ
|
||||||
// Removes the specified targets from the specified rule. When the rule is triggered,
|
// Removes the specified targets from the specified rule. When the rule is triggered,
|
||||||
// those targets are no longer be invoked.
|
// those targets are no longer be invoked.
|
||||||
//
|
//
|
||||||
|
// A successful execution of RemoveTargets doesn't guarantee all targets are
|
||||||
|
// removed from the rule, it means that the target(s) listed in the request
|
||||||
|
// are removed.
|
||||||
|
//
|
||||||
// When you remove a target, when the associated rule triggers, removed targets
|
// When you remove a target, when the associated rule triggers, removed targets
|
||||||
// might continue to be invoked. Allow a short period of time for changes to
|
// might continue to be invoked. Allow a short period of time for changes to
|
||||||
// take effect.
|
// take effect.
|
||||||
|
|
@ -9279,7 +9287,7 @@ type EcsParameters struct {
|
||||||
// Specifies the launch type on which your task is running. The launch type
|
// Specifies the launch type on which your task is running. The launch type
|
||||||
// that you specify here must match one of the launch type (compatibilities)
|
// that you specify here must match one of the launch type (compatibilities)
|
||||||
// of the target task. The FARGATE value is supported only in the Regions where
|
// of the target task. The FARGATE value is supported only in the Regions where
|
||||||
// Fargate witt Amazon ECS is supported. For more information, see Fargate on
|
// Fargate with Amazon ECS is supported. For more information, see Fargate on
|
||||||
// Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html)
|
// Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS-Fargate.html)
|
||||||
// in the Amazon Elastic Container Service Developer Guide.
|
// in the Amazon Elastic Container Service Developer Guide.
|
||||||
LaunchType *string `type:"string" enum:"LaunchType"`
|
LaunchType *string `type:"string" enum:"LaunchType"`
|
||||||
|
|
@ -12254,7 +12262,7 @@ type PutEventsRequestEntry struct {
|
||||||
// call is used.
|
// call is used.
|
||||||
Time *time.Time `type:"timestamp"`
|
Time *time.Time `type:"timestamp"`
|
||||||
|
|
||||||
// An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains
|
// An X-Ray trace header, which is an http header (X-Amzn-Trace-Id) that contains
|
||||||
// the trace-id associated with the event.
|
// the trace-id associated with the event.
|
||||||
//
|
//
|
||||||
// To learn more about X-Ray trace headers, see Tracing header (https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader)
|
// To learn more about X-Ray trace headers, see Tracing header (https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader)
|
||||||
|
|
@ -12338,7 +12346,8 @@ func (s *PutEventsRequestEntry) SetTraceHeader(v string) *PutEventsRequestEntry
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
// Represents an event that failed to be submitted.
|
// Represents an event that failed to be submitted. For information about the
|
||||||
|
// errors that are common to all actions, see Common Errors (https://docs.aws.amazon.com/eventbridge/latest/APIReference/CommonErrors.html).
|
||||||
type PutEventsResultEntry struct {
|
type PutEventsResultEntry struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
|
|
@ -12664,6 +12673,8 @@ type PutPermissionInput struct {
|
||||||
// An identifier string for the external account that you are granting permissions
|
// An identifier string for the external account that you are granting permissions
|
||||||
// to. If you later want to revoke the permission for this external account,
|
// to. If you later want to revoke the permission for this external account,
|
||||||
// specify this StatementId when you run RemovePermission (https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html).
|
// specify this StatementId when you run RemovePermission (https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_RemovePermission.html).
|
||||||
|
//
|
||||||
|
// Each StatementId must be unique.
|
||||||
StatementId *string `min:"1" type:"string"`
|
StatementId *string `min:"1" type:"string"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -14645,7 +14656,9 @@ type Target struct {
|
||||||
// precedence.
|
// precedence.
|
||||||
HttpParameters *HttpParameters `type:"structure"`
|
HttpParameters *HttpParameters `type:"structure"`
|
||||||
|
|
||||||
// The ID of the target. We recommend using a memorable and unique string.
|
// The ID of the target within the specified rule. Use this ID to reference
|
||||||
|
// the target when updating the rule. We recommend using a memorable and unique
|
||||||
|
// string.
|
||||||
//
|
//
|
||||||
// Id is a required field
|
// Id is a required field
|
||||||
Id *string `min:"1" type:"string" required:"true"`
|
Id *string `min:"1" type:"string" required:"true"`
|
||||||
|
|
|
||||||
|
|
@ -5421,9 +5421,9 @@ func (c *IAM) GenerateServiceLastAccessedDetailsRequest(input *GenerateServiceLa
|
||||||
// Generates a report that includes details about when an IAM resource (user,
|
// Generates a report that includes details about when an IAM resource (user,
|
||||||
// group, role, or policy) was last used in an attempt to access Amazon Web
|
// group, role, or policy) was last used in an attempt to access Amazon Web
|
||||||
// Services services. Recent activity usually appears within four hours. IAM
|
// Services services. Recent activity usually appears within four hours. IAM
|
||||||
// reports activity for the last 365 days, or less if your Region began supporting
|
// reports activity for at least the last 400 days, or less if your Region began
|
||||||
// this feature within the last year. For more information, see Regions where
|
// supporting this feature within the last year. For more information, see Regions
|
||||||
// data is tracked (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period).
|
// where data is tracked (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period).
|
||||||
//
|
//
|
||||||
// The service last accessed data includes all attempts to access an Amazon
|
// The service last accessed data includes all attempts to access an Amazon
|
||||||
// Web Services API, not just the successful ones. This includes all attempts
|
// Web Services API, not just the successful ones. This includes all attempts
|
||||||
|
|
@ -12378,8 +12378,8 @@ func (c *IAM) ListVirtualMFADevicesRequest(input *ListVirtualMFADevicesInput) (r
|
||||||
//
|
//
|
||||||
// IAM resource-listing operations return a subset of the available attributes
|
// IAM resource-listing operations return a subset of the available attributes
|
||||||
// for the resource. For example, this operation does not return tags, even
|
// for the resource. For example, this operation does not return tags, even
|
||||||
// though they are an attribute of the returned object. To view all of the information
|
// though they are an attribute of the returned object. To view tag information
|
||||||
// for a virtual MFA device, see ListVirtualMFADevices.
|
// for a virtual MFA device, see ListMFADeviceTags.
|
||||||
//
|
//
|
||||||
// You can paginate the results using the MaxItems and Marker parameters.
|
// You can paginate the results using the MaxItems and Marker parameters.
|
||||||
//
|
//
|
||||||
|
|
@ -15991,12 +15991,12 @@ func (c *IAM) UpdateAccountPasswordPolicyRequest(input *UpdateAccountPasswordPol
|
||||||
//
|
//
|
||||||
// Updates the password policy settings for the Amazon Web Services account.
|
// Updates the password policy settings for the Amazon Web Services account.
|
||||||
//
|
//
|
||||||
// * This operation does not support partial updates. No parameters are required,
|
// This operation does not support partial updates. No parameters are required,
|
||||||
// but if you do not specify a parameter, that parameter's value reverts
|
// but if you do not specify a parameter, that parameter's value reverts to
|
||||||
// to its default value. See the Request Parameters section for each parameter's
|
// its default value. See the Request Parameters section for each parameter's
|
||||||
// default value. Also note that some parameters do not allow the default
|
// default value. Also note that some parameters do not allow the default parameter
|
||||||
// parameter to be explicitly set. Instead, to invoke the default value,
|
// to be explicitly set. Instead, to invoke the default value, do not include
|
||||||
// do not include that parameter when you invoke the operation.
|
// that parameter when you invoke the operation.
|
||||||
//
|
//
|
||||||
// For more information about using a password policy, see Managing an IAM password
|
// For more information about using a password policy, see Managing an IAM password
|
||||||
// policy (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html)
|
// policy (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_ManagingPasswordPolicies.html)
|
||||||
|
|
@ -32263,7 +32263,11 @@ func (s *OrganizationsDecisionDetail) SetAllowedByOrganizations(v bool) *Organiz
|
||||||
type PasswordPolicy struct {
|
type PasswordPolicy struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Specifies whether IAM users are allowed to change their own password.
|
// Specifies whether IAM users are allowed to change their own password. Gives
|
||||||
|
// IAM users permissions to iam:ChangePassword for only their user and to the
|
||||||
|
// iam:GetAccountPasswordPolicy action. This option does not attach a permissions
|
||||||
|
// policy to each user, rather the permissions are applied at the account-level
|
||||||
|
// for all users by IAM.
|
||||||
AllowUsersToChangePassword *bool `type:"boolean"`
|
AllowUsersToChangePassword *bool `type:"boolean"`
|
||||||
|
|
||||||
// Indicates whether passwords in the account expire. Returns true if MaxPasswordAge
|
// Indicates whether passwords in the account expire. Returns true if MaxPasswordAge
|
||||||
|
|
@ -32271,8 +32275,11 @@ type PasswordPolicy struct {
|
||||||
// not present.
|
// not present.
|
||||||
ExpirePasswords *bool `type:"boolean"`
|
ExpirePasswords *bool `type:"boolean"`
|
||||||
|
|
||||||
// Specifies whether IAM users are prevented from setting a new password after
|
// Specifies whether IAM users are prevented from setting a new password via
|
||||||
// their password has expired.
|
// the Amazon Web Services Management Console after their password has expired.
|
||||||
|
// The IAM user cannot access the console until an administrator resets the
|
||||||
|
// password. IAM users with iam:ChangePassword permission and active access
|
||||||
|
// keys can reset their own expired console password using the CLI or API.
|
||||||
HardExpiry *bool `type:"boolean"`
|
HardExpiry *bool `type:"boolean"`
|
||||||
|
|
||||||
// The number of days that an IAM user password is valid.
|
// The number of days that an IAM user password is valid.
|
||||||
|
|
@ -38115,8 +38122,8 @@ type UpdateAccountPasswordPolicyInput struct {
|
||||||
_ struct{} `type:"structure"`
|
_ struct{} `type:"structure"`
|
||||||
|
|
||||||
// Allows all IAM users in your account to use the Amazon Web Services Management
|
// Allows all IAM users in your account to use the Amazon Web Services Management
|
||||||
// Console to change their own passwords. For more information, see Letting
|
// Console to change their own passwords. For more information, see Permitting
|
||||||
// IAM users change their own passwords (https://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html)
|
// IAM users to change their own passwords (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html)
|
||||||
// in the IAM User Guide.
|
// in the IAM User Guide.
|
||||||
//
|
//
|
||||||
// If you do not specify a value for this parameter, then the operation uses
|
// If you do not specify a value for this parameter, then the operation uses
|
||||||
|
|
@ -38124,12 +38131,22 @@ type UpdateAccountPasswordPolicyInput struct {
|
||||||
// not automatically have permissions to change their own password.
|
// not automatically have permissions to change their own password.
|
||||||
AllowUsersToChangePassword *bool `type:"boolean"`
|
AllowUsersToChangePassword *bool `type:"boolean"`
|
||||||
|
|
||||||
// Prevents IAM users from setting a new password after their password has expired.
|
// Prevents IAM users who are accessing the account via the Amazon Web Services
|
||||||
// The IAM user cannot be accessed until an administrator resets the password.
|
// Management Console from setting a new console password after their password
|
||||||
|
// has expired. The IAM user cannot access the console until an administrator
|
||||||
|
// resets the password.
|
||||||
//
|
//
|
||||||
// If you do not specify a value for this parameter, then the operation uses
|
// If you do not specify a value for this parameter, then the operation uses
|
||||||
// the default value of false. The result is that IAM users can change their
|
// the default value of false. The result is that IAM users can change their
|
||||||
// passwords after they expire and continue to sign in as the user.
|
// passwords after they expire and continue to sign in as the user.
|
||||||
|
//
|
||||||
|
// In the Amazon Web Services Management Console, the custom password policy
|
||||||
|
// option Allow users to change their own password gives IAM users permissions
|
||||||
|
// to iam:ChangePassword for only their user and to the iam:GetAccountPasswordPolicy
|
||||||
|
// action. This option does not attach a permissions policy to each user, rather
|
||||||
|
// the permissions are applied at the account-level for all users by IAM. IAM
|
||||||
|
// users with iam:ChangePassword permission and active access keys can reset
|
||||||
|
// their own expired console password using the CLI or API.
|
||||||
HardExpiry *bool `type:"boolean"`
|
HardExpiry *bool `type:"boolean"`
|
||||||
|
|
||||||
// The number of days that an IAM user password is valid.
|
// The number of days that an IAM user password is valid.
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,21 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste
|
||||||
// the account that created the VPC must submit an AssociateVPCWithHostedZone
|
// the account that created the VPC must submit an AssociateVPCWithHostedZone
|
||||||
// request.
|
// request.
|
||||||
//
|
//
|
||||||
|
// When granting access, the hosted zone and the Amazon VPC must belong to the
|
||||||
|
// same partition. A partition is a group of Amazon Web Services Regions. Each
|
||||||
|
// Amazon Web Services account is scoped to one partition.
|
||||||
|
//
|
||||||
|
// The following are the supported partitions:
|
||||||
|
//
|
||||||
|
// * aws - Amazon Web Services Regions
|
||||||
|
//
|
||||||
|
// * aws-cn - China Regions
|
||||||
|
//
|
||||||
|
// * aws-us-gov - Amazon Web Services GovCloud (US) Region
|
||||||
|
//
|
||||||
|
// For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||||
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
// the error.
|
// the error.
|
||||||
|
|
@ -348,9 +363,8 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet
|
||||||
// * DELETE: Deletes an existing resource record set that has the specified
|
// * DELETE: Deletes an existing resource record set that has the specified
|
||||||
// values.
|
// values.
|
||||||
//
|
//
|
||||||
// * UPSERT: If a resource record set does not already exist, Amazon Web
|
// * UPSERT: If a resource set exists Route 53 updates it with the values
|
||||||
// Services creates it. If a resource set does exist, Route 53 updates it
|
// in the request.
|
||||||
// with the values in the request.
|
|
||||||
//
|
//
|
||||||
// Syntaxes for Creating, Updating, and Deleting Resource Record Sets
|
// Syntaxes for Creating, Updating, and Deleting Resource Record Sets
|
||||||
//
|
//
|
||||||
|
|
@ -753,6 +767,21 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re
|
||||||
// The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs
|
// The CreateHostedZone request requires the caller to have an ec2:DescribeVpcs
|
||||||
// permission.
|
// permission.
|
||||||
//
|
//
|
||||||
|
// When creating private hosted zones, the Amazon VPC must belong to the same
|
||||||
|
// partition where the hosted zone is created. A partition is a group of Amazon
|
||||||
|
// Web Services Regions. Each Amazon Web Services account is scoped to one partition.
|
||||||
|
//
|
||||||
|
// The following are the supported partitions:
|
||||||
|
//
|
||||||
|
// * aws - Amazon Web Services Regions
|
||||||
|
//
|
||||||
|
// * aws-cn - China Regions
|
||||||
|
//
|
||||||
|
// * aws-us-gov - Amazon Web Services GovCloud (US) Region
|
||||||
|
//
|
||||||
|
// For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||||
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
// the error.
|
// the error.
|
||||||
|
|
@ -1052,6 +1081,21 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi
|
||||||
//
|
//
|
||||||
// arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*
|
// arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*
|
||||||
//
|
//
|
||||||
|
// To avoid the confused deputy problem, a security issue where an entity without
|
||||||
|
// a permission for an action can coerce a more-privileged entity to perform
|
||||||
|
// it, you can optionally limit the permissions that a service has to a resource
|
||||||
|
// in a resource-based policy by supplying the following values:
|
||||||
|
//
|
||||||
|
// * For aws:SourceArn, supply the hosted zone ARN used in creating the query
|
||||||
|
// logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted
|
||||||
|
// zone ID.
|
||||||
|
//
|
||||||
|
// * For aws:SourceAccount, supply the account ID for the account that creates
|
||||||
|
// the query logging configuration. For example, aws:SourceAccount:111111111111.
|
||||||
|
//
|
||||||
|
// For more information, see The confused deputy problem (https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html)
|
||||||
|
// in the Amazon Web Services IAM User Guide.
|
||||||
|
//
|
||||||
// You can't use the CloudWatch console to create or edit a resource policy.
|
// You can't use the CloudWatch console to create or edit a resource policy.
|
||||||
// You must use the CloudWatch API, one of the Amazon Web Services SDKs, or
|
// You must use the CloudWatch API, one of the Amazon Web Services SDKs, or
|
||||||
// the CLI.
|
// the CLI.
|
||||||
|
|
@ -2856,6 +2900,21 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro
|
||||||
// if the hosted zone has a value for OwningAccount, you can use DisassociateVPCFromHostedZone.
|
// if the hosted zone has a value for OwningAccount, you can use DisassociateVPCFromHostedZone.
|
||||||
// If the hosted zone has a value for OwningService, you can't use DisassociateVPCFromHostedZone.
|
// If the hosted zone has a value for OwningService, you can't use DisassociateVPCFromHostedZone.
|
||||||
//
|
//
|
||||||
|
// When revoking access, the hosted zone and the Amazon VPC must belong to the
|
||||||
|
// same partition. A partition is a group of Amazon Web Services Regions. Each
|
||||||
|
// Amazon Web Services account is scoped to one partition.
|
||||||
|
//
|
||||||
|
// The following are the supported partitions:
|
||||||
|
//
|
||||||
|
// * aws - Amazon Web Services Regions
|
||||||
|
//
|
||||||
|
// * aws-cn - China Regions
|
||||||
|
//
|
||||||
|
// * aws-us-gov - Amazon Web Services GovCloud (US) Region
|
||||||
|
//
|
||||||
|
// For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||||
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
// the error.
|
// the error.
|
||||||
|
|
@ -5119,6 +5178,22 @@ func (c *Route53) ListHostedZonesByVPCRequest(input *ListHostedZonesByVPCInput)
|
||||||
// created by Amazon Elastic File System (Amazon EFS), the value of Owner
|
// created by Amazon Elastic File System (Amazon EFS), the value of Owner
|
||||||
// is efs.amazonaws.com.
|
// is efs.amazonaws.com.
|
||||||
//
|
//
|
||||||
|
// When listing private hosted zones, the hosted zone and the Amazon VPC must
|
||||||
|
// belong to the same partition where the hosted zones were created. A partition
|
||||||
|
// is a group of Amazon Web Services Regions. Each Amazon Web Services account
|
||||||
|
// is scoped to one partition.
|
||||||
|
//
|
||||||
|
// The following are the supported partitions:
|
||||||
|
//
|
||||||
|
// * aws - Amazon Web Services Regions
|
||||||
|
//
|
||||||
|
// * aws-cn - China Regions
|
||||||
|
//
|
||||||
|
// * aws-us-gov - Amazon Web Services GovCloud (US) Region
|
||||||
|
//
|
||||||
|
// For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
|
||||||
|
// in the Amazon Web Services General Reference.
|
||||||
|
//
|
||||||
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
|
||||||
// with awserr.Error's Code and Message methods to get detailed information about
|
// with awserr.Error's Code and Message methods to get detailed information about
|
||||||
// the error.
|
// the error.
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -2,8 +2,8 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build (arm64 || amd64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && linux
|
//go:build (arm64 || amd64 || loong64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && linux
|
||||||
// +build arm64 amd64 ppc64 ppc64le mips64 mips64le riscv64 s390x
|
// +build arm64 amd64 loong64 ppc64 ppc64le mips64 mips64le riscv64 s390x
|
||||||
// +build linux
|
// +build linux
|
||||||
|
|
||||||
package socket
|
package socket
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
|
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
|
||||||
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
|
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
|
||||||
|
|
||||||
package socket
|
package socket
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,22 +4,8 @@
|
||||||
|
|
||||||
package socket
|
package socket
|
||||||
|
|
||||||
import "syscall"
|
|
||||||
|
|
||||||
func (h *cmsghdr) set(l, lvl, typ int) {
|
func (h *cmsghdr) set(l, lvl, typ int) {
|
||||||
h.Len = int32(l)
|
h.Len = int32(l)
|
||||||
h.Level = int32(lvl)
|
h.Level = int32(lvl)
|
||||||
h.Type = int32(typ)
|
h.Type = int32(typ)
|
||||||
}
|
}
|
||||||
|
|
||||||
func controlHeaderLen() int {
|
|
||||||
return syscall.CmsgLen(0)
|
|
||||||
}
|
|
||||||
|
|
||||||
func controlMessageLen(dataLen int) int {
|
|
||||||
return syscall.CmsgLen(dataLen)
|
|
||||||
}
|
|
||||||
|
|
||||||
func controlMessageSpace(dataLen int) int {
|
|
||||||
return syscall.CmsgSpace(dataLen)
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build (arm64 || amd64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || zos)
|
//go:build (arm64 || amd64 || loong64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || zos)
|
||||||
// +build arm64 amd64 ppc64 ppc64le mips64 mips64le riscv64 s390x
|
// +build arm64 amd64 loong64 ppc64 ppc64le mips64 mips64le riscv64 s390x
|
||||||
// +build aix darwin dragonfly freebsd linux netbsd openbsd zos
|
// +build aix darwin dragonfly freebsd linux netbsd openbsd zos
|
||||||
|
|
||||||
package socket
|
package socket
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ package socket
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net"
|
"net"
|
||||||
|
"os"
|
||||||
"sync"
|
"sync"
|
||||||
|
"syscall"
|
||||||
)
|
)
|
||||||
|
|
||||||
type mmsghdrs []mmsghdr
|
type mmsghdrs []mmsghdr
|
||||||
|
|
@ -93,22 +95,86 @@ func (p *mmsghdrsPacker) pack(ms []Message, parseFn func([]byte, string) (net.Ad
|
||||||
return hs
|
return hs
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultMmsghdrsPool = mmsghdrsPool{
|
// syscaller is a helper to invoke recvmmsg and sendmmsg via the RawConn.Read/Write interface.
|
||||||
|
// It is reusable, to amortize the overhead of allocating a closure for the function passed to
|
||||||
|
// RawConn.Read/Write.
|
||||||
|
type syscaller struct {
|
||||||
|
n int
|
||||||
|
operr error
|
||||||
|
hs mmsghdrs
|
||||||
|
flags int
|
||||||
|
|
||||||
|
boundRecvmmsgF func(uintptr) bool
|
||||||
|
boundSendmmsgF func(uintptr) bool
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r *syscaller) init() {
|
||||||
|
r.boundRecvmmsgF = r.recvmmsgF
|
||||||
|
r.boundSendmmsgF = r.sendmmsgF
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r *syscaller) recvmmsg(c syscall.RawConn, hs mmsghdrs, flags int) (int, error) {
|
||||||
|
r.n = 0
|
||||||
|
r.operr = nil
|
||||||
|
r.hs = hs
|
||||||
|
r.flags = flags
|
||||||
|
if err := c.Read(r.boundRecvmmsgF); err != nil {
|
||||||
|
return r.n, err
|
||||||
|
}
|
||||||
|
if r.operr != nil {
|
||||||
|
return r.n, os.NewSyscallError("recvmmsg", r.operr)
|
||||||
|
}
|
||||||
|
return r.n, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r *syscaller) recvmmsgF(s uintptr) bool {
|
||||||
|
r.n, r.operr = recvmmsg(s, r.hs, r.flags)
|
||||||
|
return ioComplete(r.flags, r.operr)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r *syscaller) sendmmsg(c syscall.RawConn, hs mmsghdrs, flags int) (int, error) {
|
||||||
|
r.n = 0
|
||||||
|
r.operr = nil
|
||||||
|
r.hs = hs
|
||||||
|
r.flags = flags
|
||||||
|
if err := c.Write(r.boundSendmmsgF); err != nil {
|
||||||
|
return r.n, err
|
||||||
|
}
|
||||||
|
if r.operr != nil {
|
||||||
|
return r.n, os.NewSyscallError("sendmmsg", r.operr)
|
||||||
|
}
|
||||||
|
return r.n, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (r *syscaller) sendmmsgF(s uintptr) bool {
|
||||||
|
r.n, r.operr = sendmmsg(s, r.hs, r.flags)
|
||||||
|
return ioComplete(r.flags, r.operr)
|
||||||
|
}
|
||||||
|
|
||||||
|
// mmsgTmps holds reusable temporary helpers for recvmmsg and sendmmsg.
|
||||||
|
type mmsgTmps struct {
|
||||||
|
packer mmsghdrsPacker
|
||||||
|
syscaller syscaller
|
||||||
|
}
|
||||||
|
|
||||||
|
var defaultMmsgTmpsPool = mmsgTmpsPool{
|
||||||
p: sync.Pool{
|
p: sync.Pool{
|
||||||
New: func() interface{} {
|
New: func() interface{} {
|
||||||
return new(mmsghdrsPacker)
|
tmps := new(mmsgTmps)
|
||||||
|
tmps.syscaller.init()
|
||||||
|
return tmps
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
type mmsghdrsPool struct {
|
type mmsgTmpsPool struct {
|
||||||
p sync.Pool
|
p sync.Pool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *mmsghdrsPool) Get() *mmsghdrsPacker {
|
func (p *mmsgTmpsPool) Get() *mmsgTmps {
|
||||||
return p.p.Get().(*mmsghdrsPacker)
|
return p.p.Get().(*mmsgTmps)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *mmsghdrsPool) Put(packer *mmsghdrsPacker) {
|
func (p *mmsgTmpsPool) Put(tmps *mmsgTmps) {
|
||||||
p.p.Put(packer)
|
p.p.Put(tmps)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//go:build (arm64 || amd64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && linux
|
//go:build (arm64 || amd64 || loong64 || ppc64 || ppc64le || mips64 || mips64le || riscv64 || s390x) && linux
|
||||||
// +build arm64 amd64 ppc64 ppc64le mips64 mips64le riscv64 s390x
|
// +build arm64 amd64 loong64 ppc64 ppc64le mips64 mips64le riscv64 s390x
|
||||||
// +build linux
|
// +build linux
|
||||||
|
|
||||||
package socket
|
package socket
|
||||||
|
|
|
||||||
|
|
@ -9,32 +9,23 @@ package socket
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net"
|
"net"
|
||||||
"os"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Conn) recvMsgs(ms []Message, flags int) (int, error) {
|
func (c *Conn) recvMsgs(ms []Message, flags int) (int, error) {
|
||||||
for i := range ms {
|
for i := range ms {
|
||||||
ms[i].raceWrite()
|
ms[i].raceWrite()
|
||||||
}
|
}
|
||||||
packer := defaultMmsghdrsPool.Get()
|
tmps := defaultMmsgTmpsPool.Get()
|
||||||
defer defaultMmsghdrsPool.Put(packer)
|
defer defaultMmsgTmpsPool.Put(tmps)
|
||||||
var parseFn func([]byte, string) (net.Addr, error)
|
var parseFn func([]byte, string) (net.Addr, error)
|
||||||
if c.network != "tcp" {
|
if c.network != "tcp" {
|
||||||
parseFn = parseInetAddr
|
parseFn = parseInetAddr
|
||||||
}
|
}
|
||||||
hs := packer.pack(ms, parseFn, nil)
|
hs := tmps.packer.pack(ms, parseFn, nil)
|
||||||
var operr error
|
n, err := tmps.syscaller.recvmmsg(c.c, hs, flags)
|
||||||
var n int
|
if err != nil {
|
||||||
fn := func(s uintptr) bool {
|
|
||||||
n, operr = recvmmsg(s, hs, flags)
|
|
||||||
return ioComplete(flags, operr)
|
|
||||||
}
|
|
||||||
if err := c.c.Read(fn); err != nil {
|
|
||||||
return n, err
|
return n, err
|
||||||
}
|
}
|
||||||
if operr != nil {
|
|
||||||
return n, os.NewSyscallError("recvmmsg", operr)
|
|
||||||
}
|
|
||||||
if err := hs[:n].unpack(ms[:n], parseFn, c.network); err != nil {
|
if err := hs[:n].unpack(ms[:n], parseFn, c.network); err != nil {
|
||||||
return n, err
|
return n, err
|
||||||
}
|
}
|
||||||
|
|
@ -45,25 +36,17 @@ func (c *Conn) sendMsgs(ms []Message, flags int) (int, error) {
|
||||||
for i := range ms {
|
for i := range ms {
|
||||||
ms[i].raceRead()
|
ms[i].raceRead()
|
||||||
}
|
}
|
||||||
packer := defaultMmsghdrsPool.Get()
|
tmps := defaultMmsgTmpsPool.Get()
|
||||||
defer defaultMmsghdrsPool.Put(packer)
|
defer defaultMmsgTmpsPool.Put(tmps)
|
||||||
var marshalFn func(net.Addr, []byte) int
|
var marshalFn func(net.Addr, []byte) int
|
||||||
if c.network != "tcp" {
|
if c.network != "tcp" {
|
||||||
marshalFn = marshalInetAddr
|
marshalFn = marshalInetAddr
|
||||||
}
|
}
|
||||||
hs := packer.pack(ms, nil, marshalFn)
|
hs := tmps.packer.pack(ms, nil, marshalFn)
|
||||||
var operr error
|
n, err := tmps.syscaller.sendmmsg(c.c, hs, flags)
|
||||||
var n int
|
if err != nil {
|
||||||
fn := func(s uintptr) bool {
|
|
||||||
n, operr = sendmmsg(s, hs, flags)
|
|
||||||
return ioComplete(flags, operr)
|
|
||||||
}
|
|
||||||
if err := c.c.Write(fn); err != nil {
|
|
||||||
return n, err
|
return n, err
|
||||||
}
|
}
|
||||||
if operr != nil {
|
|
||||||
return n, os.NewSyscallError("sendmmsg", operr)
|
|
||||||
}
|
|
||||||
if err := hs[:n].unpack(ms[:n], nil, ""); err != nil {
|
if err := hs[:n].unpack(ms[:n], nil, ""); err != nil {
|
||||||
return n, err
|
return n, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
// Copyright 2021 The Go Authors. All rights reserved.
|
||||||
|
// Use of this source code is governed by a BSD-style
|
||||||
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
|
//go:build loong64
|
||||||
|
// +build loong64
|
||||||
|
|
||||||
|
package socket
|
||||||
|
|
||||||
|
const (
|
||||||
|
sysRECVMMSG = 0xf3
|
||||||
|
sysSENDMMSG = 0x10d
|
||||||
|
)
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||||
|
// cgo -godefs defs_linux.go
|
||||||
|
|
||||||
|
//go:build loong64
|
||||||
|
// +build loong64
|
||||||
|
|
||||||
|
package socket
|
||||||
|
|
||||||
|
type iovec struct {
|
||||||
|
Base *byte
|
||||||
|
Len uint64
|
||||||
|
}
|
||||||
|
|
||||||
|
type msghdr struct {
|
||||||
|
Name *byte
|
||||||
|
Namelen uint32
|
||||||
|
Iov *iovec
|
||||||
|
Iovlen uint64
|
||||||
|
Control *byte
|
||||||
|
Controllen uint64
|
||||||
|
Flags int32
|
||||||
|
Pad_cgo_0 [4]byte
|
||||||
|
}
|
||||||
|
|
||||||
|
type mmsghdr struct {
|
||||||
|
Hdr msghdr
|
||||||
|
Len uint32
|
||||||
|
Pad_cgo_0 [4]byte
|
||||||
|
}
|
||||||
|
|
||||||
|
type cmsghdr struct {
|
||||||
|
Len uint64
|
||||||
|
Level int32
|
||||||
|
Type int32
|
||||||
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
sizeofIovec = 0x10
|
||||||
|
sizeofMsghdr = 0x38
|
||||||
|
)
|
||||||
|
|
@ -0,0 +1,77 @@
|
||||||
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||||
|
// cgo -godefs defs_linux.go
|
||||||
|
|
||||||
|
//go:build loong64
|
||||||
|
// +build loong64
|
||||||
|
|
||||||
|
package ipv4
|
||||||
|
|
||||||
|
const (
|
||||||
|
sizeofKernelSockaddrStorage = 0x80
|
||||||
|
sizeofSockaddrInet = 0x10
|
||||||
|
sizeofInetPktinfo = 0xc
|
||||||
|
sizeofSockExtendedErr = 0x10
|
||||||
|
|
||||||
|
sizeofIPMreq = 0x8
|
||||||
|
sizeofIPMreqSource = 0xc
|
||||||
|
sizeofGroupReq = 0x88
|
||||||
|
sizeofGroupSourceReq = 0x108
|
||||||
|
|
||||||
|
sizeofICMPFilter = 0x4
|
||||||
|
)
|
||||||
|
|
||||||
|
type kernelSockaddrStorage struct {
|
||||||
|
Family uint16
|
||||||
|
X__data [126]int8
|
||||||
|
}
|
||||||
|
|
||||||
|
type sockaddrInet struct {
|
||||||
|
Family uint16
|
||||||
|
Port uint16
|
||||||
|
Addr [4]byte /* in_addr */
|
||||||
|
X__pad [8]uint8
|
||||||
|
}
|
||||||
|
|
||||||
|
type inetPktinfo struct {
|
||||||
|
Ifindex int32
|
||||||
|
Spec_dst [4]byte /* in_addr */
|
||||||
|
Addr [4]byte /* in_addr */
|
||||||
|
}
|
||||||
|
|
||||||
|
type sockExtendedErr struct {
|
||||||
|
Errno uint32
|
||||||
|
Origin uint8
|
||||||
|
Type uint8
|
||||||
|
Code uint8
|
||||||
|
Pad uint8
|
||||||
|
Info uint32
|
||||||
|
Data uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
type ipMreq struct {
|
||||||
|
Multiaddr [4]byte /* in_addr */
|
||||||
|
Interface [4]byte /* in_addr */
|
||||||
|
}
|
||||||
|
|
||||||
|
type ipMreqSource struct {
|
||||||
|
Multiaddr uint32
|
||||||
|
Interface uint32
|
||||||
|
Sourceaddr uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
type groupReq struct {
|
||||||
|
Interface uint32
|
||||||
|
Pad_cgo_0 [4]byte
|
||||||
|
Group kernelSockaddrStorage
|
||||||
|
}
|
||||||
|
|
||||||
|
type groupSourceReq struct {
|
||||||
|
Interface uint32
|
||||||
|
Pad_cgo_0 [4]byte
|
||||||
|
Group kernelSockaddrStorage
|
||||||
|
Source kernelSockaddrStorage
|
||||||
|
}
|
||||||
|
|
||||||
|
type icmpFilter struct {
|
||||||
|
Data uint32
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,77 @@
|
||||||
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||||||
|
// cgo -godefs defs_linux.go
|
||||||
|
|
||||||
|
//go:build loong64
|
||||||
|
// +build loong64
|
||||||
|
|
||||||
|
package ipv6
|
||||||
|
|
||||||
|
const (
|
||||||
|
sizeofKernelSockaddrStorage = 0x80
|
||||||
|
sizeofSockaddrInet6 = 0x1c
|
||||||
|
sizeofInet6Pktinfo = 0x14
|
||||||
|
sizeofIPv6Mtuinfo = 0x20
|
||||||
|
sizeofIPv6FlowlabelReq = 0x20
|
||||||
|
|
||||||
|
sizeofIPv6Mreq = 0x14
|
||||||
|
sizeofGroupReq = 0x88
|
||||||
|
sizeofGroupSourceReq = 0x108
|
||||||
|
|
||||||
|
sizeofICMPv6Filter = 0x20
|
||||||
|
)
|
||||||
|
|
||||||
|
type kernelSockaddrStorage struct {
|
||||||
|
Family uint16
|
||||||
|
X__data [126]int8
|
||||||
|
}
|
||||||
|
|
||||||
|
type sockaddrInet6 struct {
|
||||||
|
Family uint16
|
||||||
|
Port uint16
|
||||||
|
Flowinfo uint32
|
||||||
|
Addr [16]byte /* in6_addr */
|
||||||
|
Scope_id uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
type inet6Pktinfo struct {
|
||||||
|
Addr [16]byte /* in6_addr */
|
||||||
|
Ifindex int32
|
||||||
|
}
|
||||||
|
|
||||||
|
type ipv6Mtuinfo struct {
|
||||||
|
Addr sockaddrInet6
|
||||||
|
Mtu uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
type ipv6FlowlabelReq struct {
|
||||||
|
Dst [16]byte /* in6_addr */
|
||||||
|
Label uint32
|
||||||
|
Action uint8
|
||||||
|
Share uint8
|
||||||
|
Flags uint16
|
||||||
|
Expires uint16
|
||||||
|
Linger uint16
|
||||||
|
X__flr_pad uint32
|
||||||
|
}
|
||||||
|
|
||||||
|
type ipv6Mreq struct {
|
||||||
|
Multiaddr [16]byte /* in6_addr */
|
||||||
|
Ifindex int32
|
||||||
|
}
|
||||||
|
|
||||||
|
type groupReq struct {
|
||||||
|
Interface uint32
|
||||||
|
Pad_cgo_0 [4]byte
|
||||||
|
Group kernelSockaddrStorage
|
||||||
|
}
|
||||||
|
|
||||||
|
type groupSourceReq struct {
|
||||||
|
Interface uint32
|
||||||
|
Pad_cgo_0 [4]byte
|
||||||
|
Group kernelSockaddrStorage
|
||||||
|
Source kernelSockaddrStorage
|
||||||
|
}
|
||||||
|
|
||||||
|
type icmpv6Filter struct {
|
||||||
|
Data [8]uint32
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
issuerepo: golang/go
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
// panic(err)
|
// panic(err)
|
||||||
// }
|
// }
|
||||||
// defer term.Restore(int(os.Stdin.Fd()), oldState)
|
// defer term.Restore(int(os.Stdin.Fd()), oldState)
|
||||||
|
//
|
||||||
|
// Note that on non-Unix systems os.Stdin.Fd() may not be 0.
|
||||||
package term
|
package term
|
||||||
|
|
||||||
// State contains the state of a terminal.
|
// State contains the state of a terminal.
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ github.com/aws/amazon-ec2-instance-selector/v2/pkg/bytequantity
|
||||||
github.com/aws/amazon-ec2-instance-selector/v2/pkg/cli
|
github.com/aws/amazon-ec2-instance-selector/v2/pkg/cli
|
||||||
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector
|
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector
|
||||||
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector/outputs
|
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector/outputs
|
||||||
# github.com/aws/aws-sdk-go v1.42.37
|
# github.com/aws/aws-sdk-go v1.43.11
|
||||||
## explicit; go 1.11
|
## explicit; go 1.11
|
||||||
github.com/aws/aws-sdk-go/aws
|
github.com/aws/aws-sdk-go/aws
|
||||||
github.com/aws/aws-sdk-go/aws/arn
|
github.com/aws/aws-sdk-go/aws/arn
|
||||||
|
|
@ -804,7 +804,7 @@ golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
|
||||||
golang.org/x/mod/internal/lazyregexp
|
golang.org/x/mod/internal/lazyregexp
|
||||||
golang.org/x/mod/module
|
golang.org/x/mod/module
|
||||||
golang.org/x/mod/semver
|
golang.org/x/mod/semver
|
||||||
# golang.org/x/net v0.0.0-20211216030914-fe4d6282115f
|
# golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/net/bpf
|
golang.org/x/net/bpf
|
||||||
golang.org/x/net/context
|
golang.org/x/net/context
|
||||||
|
|
@ -842,7 +842,7 @@ golang.org/x/sys/plan9
|
||||||
golang.org/x/sys/unix
|
golang.org/x/sys/unix
|
||||||
golang.org/x/sys/windows
|
golang.org/x/sys/windows
|
||||||
golang.org/x/sys/windows/registry
|
golang.org/x/sys/windows/registry
|
||||||
# golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b
|
# golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
|
||||||
## explicit; go 1.17
|
## explicit; go 1.17
|
||||||
golang.org/x/term
|
golang.org/x/term
|
||||||
# golang.org/x/text v0.3.7
|
# golang.org/x/text v0.3.7
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue