From 8d5e4144167bcd8d6bd98383d285025145099382 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Wed, 20 Dec 2023 14:43:32 -0500 Subject: [PATCH] Release v1.49.7 (2023-12-20) (#5120) Release v1.49.7 (2023-12-20) === ### Service Client Updates * `service/appstream`: Updates service API and documentation * This release introduces configurable clipboard, allowing admins to specify the maximum length of text that can be copied by the users from their device to the remote session and vice-versa. * `service/eks`: Updates service API, documentation, and paginators * `service/guardduty`: Updates service API and documentation * This release 1) introduces a new API: GetOrganizationStatistics , and 2) adds a new UsageStatisticType TOP_ACCOUNTS_BY_FEATURE for GetUsageStatistics API * `service/managedblockchain-query`: Updates service API and documentation * `service/mediatailor`: Updates service API and documentation * `service/route53`: Updates service API and documentation * Amazon Route 53 now supports the Canada West (Calgary) Region (ca-west-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region. --- CHANGELOG.md | 14 + aws/endpoints/defaults.go | 472 +++++++ aws/version.go | 2 +- models/apis/appstream/2016-12-01/api-2.json | 6 +- models/apis/appstream/2016-12-01/docs-2.json | 3 +- models/apis/eks/2017-11-01/api-2.json | 201 +++ models/apis/eks/2017-11-01/docs-2.json | 172 ++- models/apis/eks/2017-11-01/paginators-1.json | 6 + models/apis/guardduty/2017-11-28/api-2.json | 139 ++- models/apis/guardduty/2017-11-28/docs-2.json | 106 +- .../2023-05-04/api-2.json | 26 +- .../2023-05-04/docs-2.json | 14 +- models/apis/mediatailor/2018-04-23/api-2.json | 22 +- .../apis/mediatailor/2018-04-23/docs-2.json | 13 +- models/apis/route53/2013-04-01/api-2.json | 9 +- models/apis/route53/2013-04-01/docs-2.json | 2 +- .../route53/2013-04-01/endpoint-tests-1.json | 55 +- models/endpoints/endpoints.json | 287 +++++ service/appstream/api.go | 25 + service/eks/api.go | 1108 ++++++++++++++++- service/eks/eksiface/interface.go | 11 + service/guardduty/api.go | 484 ++++++- service/guardduty/guarddutyiface/interface.go | 4 + service/managedblockchainquery/api.go | 68 +- service/mediatailor/api.go | 104 ++ service/route53/api.go | 17 +- 26 files changed, 3270 insertions(+), 100 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fc9c38ec24..6db30071820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.49.7 (2023-12-20) +=== + +### Service Client Updates +* `service/appstream`: Updates service API and documentation + * This release introduces configurable clipboard, allowing admins to specify the maximum length of text that can be copied by the users from their device to the remote session and vice-versa. +* `service/eks`: Updates service API, documentation, and paginators +* `service/guardduty`: Updates service API and documentation + * This release 1) introduces a new API: GetOrganizationStatistics , and 2) adds a new UsageStatisticType TOP_ACCOUNTS_BY_FEATURE for GetUsageStatistics API +* `service/managedblockchain-query`: Updates service API and documentation +* `service/mediatailor`: Updates service API and documentation +* `service/route53`: Updates service API and documentation + * Amazon Route 53 now supports the Canada West (Calgary) Region (ca-west-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region. + Release v1.49.6 (2023-12-19) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index ecb0d1d507e..fc015bdca47 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -31,6 +31,7 @@ const ( ApSoutheast3RegionID = "ap-southeast-3" // Asia Pacific (Jakarta). ApSoutheast4RegionID = "ap-southeast-4" // Asia Pacific (Melbourne). CaCentral1RegionID = "ca-central-1" // Canada (Central). + CaWest1RegionID = "ca-west-1" // Canada West (Calgary). EuCentral1RegionID = "eu-central-1" // Europe (Frankfurt). EuCentral2RegionID = "eu-central-2" // Europe (Zurich). EuNorth1RegionID = "eu-north-1" // Europe (Stockholm). @@ -190,6 +191,9 @@ var awsPartition = partition{ "ca-central-1": region{ Description: "Canada (Central)", }, + "ca-west-1": region{ + Description: "Canada West (Calgary)", + }, "eu-central-1": region{ Description: "Europe (Frankfurt)", }, @@ -291,6 +295,9 @@ var awsPartition = partition{ }: endpoint{ Hostname: "access-analyzer-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -477,6 +484,24 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "acm-fips.ca-west-1.amazonaws.com", + }, + endpointKey{ + Region: "ca-west-1-fips", + }: endpoint{ + Hostname: "acm-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -1269,6 +1294,14 @@ var awsPartition = partition{ Region: "ca-central-1", }, }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "api.ecr.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + }, endpointKey{ Region: "dkr-us-east-1", }: endpoint{ @@ -2251,6 +2284,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "apigateway-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "apigateway-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -2284,6 +2326,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "apigateway-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -2442,6 +2493,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -2530,6 +2584,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -2735,6 +2792,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -4005,6 +4065,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "autoscaling-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "autoscaling-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -4038,6 +4107,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "autoscaling-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -4485,6 +4563,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -5095,6 +5176,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "cloudcontrolapi-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "cloudcontrolapi-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -5128,6 +5218,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "cloudcontrolapi-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -5283,6 +5382,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -5576,6 +5678,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -6159,6 +6264,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -7345,6 +7453,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -8316,6 +8427,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "datasync-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "datasync-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -8349,6 +8469,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "datasync-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -8514,6 +8643,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "datazone-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "datazone.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{ @@ -8834,6 +8968,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -9007,6 +9144,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -9095,6 +9235,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "dms", }: endpoint{ @@ -9480,6 +9623,9 @@ var awsPartition = partition{ }: endpoint{ Hostname: "ds-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -9657,6 +9803,24 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "dynamodb-fips.ca-west-1.amazonaws.com", + }, + endpointKey{ + Region: "ca-west-1-fips", + }: endpoint{ + Hostname: "dynamodb-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -9820,6 +9984,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "ebs-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ebs-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -9853,6 +10026,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "ebs-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -10181,6 +10363,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -10362,6 +10547,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -10545,6 +10733,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "eks-auth.ca-central-1.api.aws", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "eks-auth.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{ @@ -10665,6 +10858,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -11468,6 +11664,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -11628,6 +11827,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "elasticmapreduce-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "elasticmapreduce-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{ @@ -11663,6 +11871,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "elasticmapreduce-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -12351,6 +12568,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "aos.ca-central-1.api.aws", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "aos.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -12604,6 +12830,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -12854,6 +13083,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -15332,6 +15564,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "internetmonitor-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "internetmonitor.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{ @@ -16880,6 +17117,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "kendra-ranking-fips.ca-central-1.api.aws", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "kendra-ranking.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-2", }: endpoint{ @@ -17008,6 +17250,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -17485,6 +17730,24 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "kms-fips.ca-west-1.amazonaws.com", + }, + endpointKey{ + Region: "ca-west-1-fips", + }: endpoint{ + Hostname: "kms-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -18033,6 +18296,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "lambda.ca-central-1.api.aws", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "lambda.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -18425,6 +18697,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -18767,6 +19042,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -20484,6 +20762,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -21173,6 +21454,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -21960,6 +22244,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -22765,6 +23052,11 @@ var awsPartition = partition{ }: endpoint{ Hostname: "qbusiness.ca-central-1.api.aws", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{ + Hostname: "qbusiness.ca-west-1.api.aws", + }, endpointKey{ Region: "eu-central-1", }: endpoint{ @@ -23037,6 +23329,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "ram-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ram-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -23070,6 +23371,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "ram-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -23200,6 +23510,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "rbin-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rbin-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -23233,6 +23552,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "rbin-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -23770,6 +24098,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "redshift-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "redshift-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -23803,6 +24140,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "redshift-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -24446,6 +24792,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -24805,6 +25154,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -25322,6 +25674,27 @@ var awsPartition = partition{ }: endpoint{ Hostname: "s3-fips.dualstack.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3.dualstack.ca-west-1.amazonaws.com", + }, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "s3-fips.ca-west-1.amazonaws.com", + }, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{ + Hostname: "s3-fips.dualstack.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -25407,6 +25780,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "s3-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -26651,6 +27033,27 @@ var awsPartition = partition{ Deprecated: boxedTrue, }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: dualStackVariant, + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{}, + endpointKey{ + Region: "ca-west-1-fips", + }: endpoint{ + + Deprecated: boxedTrue, + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -26859,6 +27262,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -27315,6 +27721,9 @@ var awsPartition = partition{ }: endpoint{ Hostname: "servicecatalog-appregistry-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -27838,6 +28247,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -28806,6 +29218,15 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "sns-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -28830,6 +29251,15 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "sns-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -28960,6 +29390,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -29117,6 +29550,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "ssm-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "ssm-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -29150,6 +29592,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "ssm-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-us-east-1", }: endpoint{ @@ -29734,6 +30185,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -30053,6 +30507,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -30159,6 +30616,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -30333,6 +30793,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -30481,6 +30944,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -30629,6 +31095,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -33555,6 +34024,9 @@ var awsPartition = partition{ endpointKey{ Region: "ca-central-1", }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index c6ac5c43abb..5edfe433c3d 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.49.6" +const SDKVersion = "1.49.7" diff --git a/models/apis/appstream/2016-12-01/api-2.json b/models/apis/appstream/2016-12-01/api-2.json index 48c98b7ff14..ac33cfa6e4f 100644 --- a/models/apis/appstream/2016-12-01/api-2.json +++ b/models/apis/appstream/2016-12-01/api-2.json @@ -290,7 +290,8 @@ {"shape":"ConcurrentModificationException"}, {"shape":"InvalidRoleException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"InvalidParameterCombinationException"} + {"shape":"InvalidParameterCombinationException"}, + {"shape":"OperationNotPermittedException"} ] }, "CreateStreamingURL":{ @@ -3597,7 +3598,8 @@ ], "members":{ "Action":{"shape":"Action"}, - "Permission":{"shape":"Permission"} + "Permission":{"shape":"Permission"}, + "MaximumLength":{"shape":"Integer"} } }, "UserSettingList":{ diff --git a/models/apis/appstream/2016-12-01/docs-2.json b/models/apis/appstream/2016-12-01/docs-2.json index 018893bf58f..4bc66152809 100644 --- a/models/apis/appstream/2016-12-01/docs-2.json +++ b/models/apis/appstream/2016-12-01/docs-2.json @@ -1355,7 +1355,8 @@ "UpdateFleetRequest$DisconnectTimeoutInSeconds": "

The amount of time that a streaming session remains active after users disconnect. If users try to reconnect to the streaming session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new streaming instance.

Specify a value between 60 and 360000.

", "UpdateFleetRequest$IdleDisconnectTimeoutInSeconds": "

The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the DisconnectTimeoutInSeconds time interval begins. Users are notified before they are disconnected due to inactivity. If users try to reconnect to the streaming session before the time interval specified in DisconnectTimeoutInSeconds elapses, they are connected to their previous session. Users are considered idle when they stop providing keyboard or mouse input during their streaming session. File uploads and downloads, audio in, audio out, and pixels changing do not qualify as user activity. If users continue to be idle after the time interval in IdleDisconnectTimeoutInSeconds elapses, they are disconnected.

To prevent users from being disconnected due to inactivity, specify a value of 0. Otherwise, specify a value between 60 and 3600. The default value is 0.

If you enable this feature, we recommend that you specify a value that corresponds exactly to a whole number of minutes (for example, 60, 120, and 180). If you don't do this, the value is rounded to the nearest minute. For example, if you specify a value of 70, users are disconnected after 1 minute of inactivity. If you specify a value that is at the midpoint between two different minutes, the value is rounded up. For example, if you specify a value of 90, users are disconnected after 2 minutes of inactivity.

", "UpdateFleetRequest$MaxConcurrentSessions": "

The maximum number of concurrent sessions for a fleet.

", - "UpdateFleetRequest$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

" + "UpdateFleetRequest$MaxSessionsPerInstance": "

The maximum number of user sessions on an instance. This only applies to multi-session fleets.

", + "UserSetting$MaximumLength": "

Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.

This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED. This can't be specified when the permission is DISABLED.

This can only be specified for AlwaysOn and OnDemand fleets. The attribute is not supported on Elastic fleets.

The value can be between 1 and 20,971,520 (20 MB).

" } }, "InvalidAccountStatusException": { diff --git a/models/apis/eks/2017-11-01/api-2.json b/models/apis/eks/2017-11-01/api-2.json index 6901b39b41d..3afff8cb1f5 100644 --- a/models/apis/eks/2017-11-01/api-2.json +++ b/models/apis/eks/2017-11-01/api-2.json @@ -426,6 +426,21 @@ {"shape":"ServiceUnavailableException"} ] }, + "DescribeInsight":{ + "name":"DescribeInsight", + "http":{ + "method":"GET", + "requestUri":"/clusters/{name}/insights/{id}" + }, + "input":{"shape":"DescribeInsightRequest"}, + "output":{"shape":"DescribeInsightResponse"}, + "errors":[ + {"shape":"ServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"} + ] + }, "DescribeNodegroup":{ "name":"DescribeNodegroup", "http":{ @@ -621,6 +636,21 @@ {"shape":"ResourceNotFoundException"} ] }, + "ListInsights":{ + "name":"ListInsights", + "http":{ + "method":"POST", + "requestUri":"/clusters/{name}/insights" + }, + "input":{"shape":"ListInsightsRequest"}, + "output":{"shape":"ListInsightsResponse"}, + "errors":[ + {"shape":"ServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"} + ] + }, "ListNodegroups":{ "name":"ListNodegroups", "http":{ @@ -929,6 +959,11 @@ "namespace" ] }, + "AdditionalInfoMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, "Addon":{ "type":"structure", "members":{ @@ -1163,6 +1198,14 @@ "SPOT" ] }, + "Category":{ + "type":"string", + "enum":["UPGRADE_READINESS"] + }, + "CategoryList":{ + "type":"list", + "member":{"shape":"Category"} + }, "Certificate":{ "type":"structure", "members":{ @@ -1181,6 +1224,18 @@ "error":{"httpStatusCode":400}, "exception":true }, + "ClientStat":{ + "type":"structure", + "members":{ + "userAgent":{"shape":"String"}, + "numberOfRequestsLast30Days":{"shape":"Integer"}, + "lastRequestTime":{"shape":"Timestamp"} + } + }, + "ClientStats":{ + "type":"list", + "member":{"shape":"ClientStat"} + }, "Cluster":{ "type":"structure", "members":{ @@ -1711,6 +1766,20 @@ "association":{"shape":"PodIdentityAssociation"} } }, + "DeprecationDetail":{ + "type":"structure", + "members":{ + "usage":{"shape":"String"}, + "replacedWith":{"shape":"String"}, + "stopServingVersion":{"shape":"String"}, + "startServingReplacementVersion":{"shape":"String"}, + "clientStats":{"shape":"ClientStats"} + } + }, + "DeprecationDetails":{ + "type":"list", + "member":{"shape":"DeprecationDetail"} + }, "DeregisterClusterRequest":{ "type":"structure", "required":["name"], @@ -1938,6 +2007,31 @@ "identityProviderConfig":{"shape":"IdentityProviderConfigResponse"} } }, + "DescribeInsightRequest":{ + "type":"structure", + "required":[ + "clusterName", + "id" + ], + "members":{ + "clusterName":{ + "shape":"String", + "location":"uri", + "locationName":"name" + }, + "id":{ + "shape":"String", + "location":"uri", + "locationName":"id" + } + } + }, + "DescribeInsightResponse":{ + "type":"structure", + "members":{ + "insight":{"shape":"Insight"} + } + }, "DescribeNodegroupRequest":{ "type":"structure", "required":[ @@ -2258,6 +2352,86 @@ "type":"list", "member":{"shape":"String"} }, + "Insight":{ + "type":"structure", + "members":{ + "id":{"shape":"String"}, + "name":{"shape":"String"}, + "category":{"shape":"Category"}, + "kubernetesVersion":{"shape":"String"}, + "lastRefreshTime":{"shape":"Timestamp"}, + "lastTransitionTime":{"shape":"Timestamp"}, + "description":{"shape":"String"}, + "insightStatus":{"shape":"InsightStatus"}, + "recommendation":{"shape":"String"}, + "additionalInfo":{"shape":"AdditionalInfoMap"}, + "resources":{"shape":"InsightResourceDetails"}, + "categorySpecificSummary":{"shape":"InsightCategorySpecificSummary"} + } + }, + "InsightCategorySpecificSummary":{ + "type":"structure", + "members":{ + "deprecationDetails":{"shape":"DeprecationDetails"} + } + }, + "InsightResourceDetail":{ + "type":"structure", + "members":{ + "insightStatus":{"shape":"InsightStatus"}, + "kubernetesResourceUri":{"shape":"String"}, + "arn":{"shape":"String"} + } + }, + "InsightResourceDetails":{ + "type":"list", + "member":{"shape":"InsightResourceDetail"} + }, + "InsightStatus":{ + "type":"structure", + "members":{ + "status":{"shape":"InsightStatusValue"}, + "reason":{"shape":"String"} + } + }, + "InsightStatusValue":{ + "type":"string", + "enum":[ + "PASSING", + "WARNING", + "ERROR", + "UNKNOWN" + ] + }, + "InsightStatusValueList":{ + "type":"list", + "member":{"shape":"InsightStatusValue"} + }, + "InsightSummaries":{ + "type":"list", + "member":{"shape":"InsightSummary"} + }, + "InsightSummary":{ + "type":"structure", + "members":{ + "id":{"shape":"String"}, + "name":{"shape":"String"}, + "category":{"shape":"Category"}, + "kubernetesVersion":{"shape":"String"}, + "lastRefreshTime":{"shape":"Timestamp"}, + "lastTransitionTime":{"shape":"Timestamp"}, + "description":{"shape":"String"}, + "insightStatus":{"shape":"InsightStatus"} + } + }, + "InsightsFilter":{ + "type":"structure", + "members":{ + "categories":{"shape":"CategoryList"}, + "kubernetesVersions":{"shape":"StringList"}, + "statuses":{"shape":"InsightStatusValueList"} + } + }, "Integer":{"type":"integer"}, "InvalidParameterException":{ "type":"structure", @@ -2599,6 +2773,33 @@ "nextToken":{"shape":"String"} } }, + "ListInsightsMaxResults":{ + "type":"integer", + "box":true, + "max":100, + "min":1 + }, + "ListInsightsRequest":{ + "type":"structure", + "required":["clusterName"], + "members":{ + "clusterName":{ + "shape":"String", + "location":"uri", + "locationName":"name" + }, + "filter":{"shape":"InsightsFilter"}, + "maxResults":{"shape":"ListInsightsMaxResults"}, + "nextToken":{"shape":"String"} + } + }, + "ListInsightsResponse":{ + "type":"structure", + "members":{ + "insights":{"shape":"InsightSummaries"}, + "nextToken":{"shape":"String"} + } + }, "ListNodegroupsRequest":{ "type":"structure", "required":["clusterName"], diff --git a/models/apis/eks/2017-11-01/docs-2.json b/models/apis/eks/2017-11-01/docs-2.json index d0ca41aef26..329e8557542 100644 --- a/models/apis/eks/2017-11-01/docs-2.json +++ b/models/apis/eks/2017-11-01/docs-2.json @@ -28,6 +28,7 @@ "DescribeEksAnywhereSubscription": "

Returns descriptive information about a subscription.

", "DescribeFargateProfile": "

Describes an Fargate profile.

", "DescribeIdentityProviderConfig": "

Describes an identity provider configuration.

", + "DescribeInsight": "

Returns details about an insight that you specify using its ID.

", "DescribeNodegroup": "

Describes a managed node group.

", "DescribePodIdentityAssociation": "

Returns descriptive information about an EKS Pod Identity association.

This action requires the ID of the association. You can get the ID from the response to the CreatePodIdentityAssocation for newly created associations. Or, you can list the IDs for associations with ListPodIdentityAssociations and filter the list by namespace or service account.

", "DescribeUpdate": "

Describes an update to an Amazon EKS resource.

When the status of the update is Succeeded, the update is complete. If an update fails, the status is Failed, and an error detail explains the reason for the failure.

", @@ -41,6 +42,7 @@ "ListEksAnywhereSubscriptions": "

Displays the full description of the subscription.

", "ListFargateProfiles": "

Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services account in the specified Amazon Web Services Region.

", "ListIdentityProviderConfigs": "

Lists the identity provider configurations for your cluster.

", + "ListInsights": "

Returns a list of all insights checked for against the specified cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.

", "ListNodegroups": "

Lists the managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Amazon Web Services Region. Self-managed node groups aren't listed.

", "ListPodIdentityAssociations": "

List the EKS Pod Identity associations in a cluster. You can filter the list by the namespace that the association is in or the service account that the association uses.

", "ListTagsForResource": "

List the tags for an Amazon EKS resource.

", @@ -109,6 +111,12 @@ "AccessScope$type": "

The scope type of an access policy.

" } }, + "AdditionalInfoMap": { + "base": null, + "refs": { + "Insight$additionalInfo": "

Links to sources that provide additional context on the insight.

" + } + }, "Addon": { "base": "

An Amazon EKS add-on. For more information, see Amazon EKS add-ons in the Amazon EKS User Guide.

", "refs": { @@ -283,6 +291,20 @@ "Nodegroup$capacityType": "

The capacity type of your managed node group.

" } }, + "Category": { + "base": null, + "refs": { + "CategoryList$member": null, + "Insight$category": "

The category of the insight.

", + "InsightSummary$category": "

The category of the insight.

" + } + }, + "CategoryList": { + "base": null, + "refs": { + "InsightsFilter$categories": "

The categories to use to filter insights.

" + } + }, "Certificate": { "base": "

An object representing the certificate-authority-data for your cluster.

", "refs": { @@ -294,6 +316,18 @@ "refs": { } }, + "ClientStat": { + "base": "

Details about clients using the deprecated resources.

", + "refs": { + "ClientStats$member": null + } + }, + "ClientStats": { + "base": null, + "refs": { + "DeprecationDetail$clientStats": "

Details about Kubernetes clients using the deprecated resources.

" + } + }, "Cluster": { "base": "

An object representing an Amazon EKS cluster.

", "refs": { @@ -535,6 +569,18 @@ "refs": { } }, + "DeprecationDetail": { + "base": "

The summary information about deprecated resource usage for an insight check in the UPGRADE_READINESS category.

", + "refs": { + "DeprecationDetails$member": null + } + }, + "DeprecationDetails": { + "base": null, + "refs": { + "InsightCategorySpecificSummary$deprecationDetails": "

The summary information about deprecated resource usage for an insight check in the UPGRADE_READINESS category.

" + } + }, "DeregisterClusterRequest": { "base": null, "refs": { @@ -631,6 +677,16 @@ "refs": { } }, + "DescribeInsightRequest": { + "base": null, + "refs": { + } + }, + "DescribeInsightResponse": { + "base": null, + "refs": { + } + }, "DescribeNodegroupRequest": { "base": null, "refs": { @@ -838,9 +894,73 @@ "ListClustersRequest$include": "

Indicates whether external clusters are included in the returned list. Use 'all' to return https://docs.aws.amazon.com/eks/latest/userguide/eks-connector.htmlconnected clusters, or blank to return only Amazon EKS clusters. 'all' must be in lowercase otherwise an error occurs.

" } }, + "Insight": { + "base": "

A check that provides recommendations to remedy potential upgrade-impacting issues.

", + "refs": { + "DescribeInsightResponse$insight": "

The full description of the insight.

" + } + }, + "InsightCategorySpecificSummary": { + "base": "

Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS.

", + "refs": { + "Insight$categorySpecificSummary": "

Summary information that relates to the category of the insight. Currently only returned with certain insights having category UPGRADE_READINESS.

" + } + }, + "InsightResourceDetail": { + "base": "

Returns information about the resource being evaluated.

", + "refs": { + "InsightResourceDetails$member": null + } + }, + "InsightResourceDetails": { + "base": null, + "refs": { + "Insight$resources": "

The details about each resource listed in the insight check result.

" + } + }, + "InsightStatus": { + "base": "

The status of the insight.

", + "refs": { + "Insight$insightStatus": "

An object containing more detail on the status of the insight resource.

", + "InsightResourceDetail$insightStatus": "

An object containing more detail on the status of the insight resource.

", + "InsightSummary$insightStatus": "

An object containing more detail on the status of the insight.

" + } + }, + "InsightStatusValue": { + "base": null, + "refs": { + "InsightStatus$status": "

The status of the resource.

", + "InsightStatusValueList$member": null + } + }, + "InsightStatusValueList": { + "base": null, + "refs": { + "InsightsFilter$statuses": "

The statuses to use to filter the insights.

" + } + }, + "InsightSummaries": { + "base": null, + "refs": { + "ListInsightsResponse$insights": "

The returned list of insights.

" + } + }, + "InsightSummary": { + "base": "

The summarized description of the insight.

", + "refs": { + "InsightSummaries$member": null + } + }, + "InsightsFilter": { + "base": "

The criteria to use for the insights.

", + "refs": { + "ListInsightsRequest$filter": "

The criteria to filter your list of insights for your cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.

" + } + }, "Integer": { "base": null, "refs": { + "ClientStat$numberOfRequestsLast30Days": "

The number of requests from the Kubernetes client seen over the last 30 days.

", "CreateEksAnywhereSubscriptionRequest$licenseQuantity": "

The number of licenses to purchase with the subscription. Valid values are between 1 and 100. This value can't be changed after creating the subscription.

", "EksAnywhereSubscription$licenseQuantity": "

The number of licenses included in a subscription. Valid values are between 1 and 100.

", "EksAnywhereSubscriptionTerm$duration": "

The duration of the subscription term. Valid values are 12 and 36, indicating a 12 month or 36 month subscription.

" @@ -1017,6 +1137,22 @@ "refs": { } }, + "ListInsightsMaxResults": { + "base": null, + "refs": { + "ListInsightsRequest$maxResults": "

The maximum number of identity provider configurations returned by ListInsights in paginated output. When you use this parameter, ListInsights returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListInsights request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListInsights returns up to 100 results and a nextToken value, if applicable.

" + } + }, + "ListInsightsRequest": { + "base": null, + "refs": { + } + }, + "ListInsightsResponse": { + "base": null, + "refs": { + } + }, "ListNodegroupsRequest": { "base": null, "refs": { @@ -1308,6 +1444,8 @@ "AccessEntry$type": "

The type of the access entry.

", "AccessPolicy$name": "

The name of the access policy.

", "AccessPolicy$arn": "

The ARN of the access policy.

", + "AdditionalInfoMap$key": null, + "AdditionalInfoMap$value": null, "Addon$addonName": "

The name of the add-on.

", "Addon$addonVersion": "

The version of the add-on.

", "Addon$addonArn": "

The Amazon Resource Name (ARN) of the add-on.

", @@ -1339,6 +1477,7 @@ "ClientException$addonName": "

The Amazon EKS add-on name associated with the exception.

", "ClientException$subscriptionId": "

The Amazon EKS subscription ID with the exception.

", "ClientException$message": "

These errors are usually caused by a client action. Actions can include using an action or resource on behalf of an IAM principal that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.

", + "ClientStat$userAgent": "

The user agent of the Kubernetes client using the deprecated resource.

", "Cluster$name": "

The name of your cluster.

", "Cluster$arn": "

The Amazon Resource Name (ARN) of the cluster.

", "Cluster$version": "

The Kubernetes server version for the cluster.

", @@ -1357,10 +1496,10 @@ "ControlPlanePlacementRequest$groupName": "

The name of the placement group for the Kubernetes control plane instances. This setting can't be changed after cluster creation.

", "ControlPlanePlacementResponse$groupName": "

The name of the placement group for the Kubernetes control plane instances.

", "CreateAccessEntryRequest$clusterName": "

The name of your cluster.

", - "CreateAccessEntryRequest$principalArn": "

The ARN of the IAM principal for the AccessEntry. You can specify one ARN for each access entry. You can't specify the same ARN in more than one access entry. This value can't be changed after access entry creation.

IAM best practices recommend using IAM roles with temporary credentials, rather than IAM users with long-term credentials.

", + "CreateAccessEntryRequest$principalArn": "

The ARN of the IAM principal for the AccessEntry. You can specify one ARN for each access entry. You can't specify the same ARN in more than one access entry. This value can't be changed after access entry creation.

The valid principals differ depending on the type of the access entry in the type field. The only valid ARN is IAM roles for the types of access entries for nodes: . You can use every IAM principal type for STANDARD access entries. You can't use the STS session principal type with access entries because this is a temporary principal for each session and not a permanent identity that can be assigned permissions.

IAM best practices recommend using IAM roles with temporary credentials, rather than IAM users with long-term credentials.

", "CreateAccessEntryRequest$clientRequestToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateAccessEntryRequest$username": "

The username to authenticate to Kubernetes with. We recommend not specifying a username and letting Amazon EKS specify it for you. For more information about the value Amazon EKS specifies for you, or constraints before specifying your own username, see Creating access entries in the Amazon EKS User Guide.

", - "CreateAccessEntryRequest$type": "

If the principalArn is for an IAM role that's used for self-managed Amazon EC2 nodes, specify EC2_LINUX or EC2_WINDOWS. Amazon EKS grants the necessary permissions to the node for you. If the principalArn is for any other purpose, specify STANDARD. If you don't specify a value, Amazon EKS sets the value to STANDARD. It's unnecessary to create access entries for IAM roles used with Fargate profiles or managed Amazon EC2 nodes, because Amazon EKS creates entries in the aws-auth ConfigMap for the roles. You can't change this value once you've created the access entry.

If you set the value to EC2_LINUX or EC2_WINDOWS, you can't specify values for kubernetesGroups, or associate an AccessPolicy to the access entry.

", + "CreateAccessEntryRequest$type": "

The type of the new access entry. Valid values are Standard, FARGATE_LINUX, EC2_LINUX, and EC2_WINDOWS.

If the principalArn is for an IAM role that's used for self-managed Amazon EC2 nodes, specify EC2_LINUX or EC2_WINDOWS. Amazon EKS grants the necessary permissions to the node for you. If the principalArn is for any other purpose, specify STANDARD. If you don't specify a value, Amazon EKS sets the value to STANDARD. It's unnecessary to create access entries for IAM roles used with Fargate profiles or managed Amazon EC2 nodes, because Amazon EKS creates entries in the aws-auth ConfigMap for the roles. You can't change this value once you've created the access entry.

If you set the value to EC2_LINUX or EC2_WINDOWS, you can't specify values for kubernetesGroups, or associate an AccessPolicy to the access entry.

", "CreateAddonRequest$addonName": "

The name of the add-on. The name must match one of the names returned by DescribeAddonVersions.

", "CreateAddonRequest$addonVersion": "

The version of the add-on. The version must match one of the versions returned by DescribeAddonVersions .

", "CreateAddonRequest$clientRequestToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", @@ -1395,6 +1534,10 @@ "DeleteNodegroupRequest$nodegroupName": "

The name of the node group to delete.

", "DeletePodIdentityAssociationRequest$clusterName": "

The cluster name that

", "DeletePodIdentityAssociationRequest$associationId": "

The ID of the association to be deleted.

", + "DeprecationDetail$usage": "

The deprecated version of the resource.

", + "DeprecationDetail$replacedWith": "

The newer version of the resource to migrate to if applicable.

", + "DeprecationDetail$stopServingVersion": "

The version of the software where the deprecated resource version will stop being served.

", + "DeprecationDetail$startServingReplacementVersion": "

The version of the software where the newer resource version became available to migrate to if applicable.

", "DeregisterClusterRequest$name": "

The name of the connected cluster to deregister.

", "DescribeAccessEntryRequest$clusterName": "

The name of your cluster.

", "DescribeAccessEntryRequest$principalArn": "

The ARN of the IAM principal for the AccessEntry.

", @@ -1413,6 +1556,8 @@ "DescribeFargateProfileRequest$clusterName": "

The name of your cluster.

", "DescribeFargateProfileRequest$fargateProfileName": "

The name of the Fargate profile to describe.

", "DescribeIdentityProviderConfigRequest$clusterName": "

The name of your cluster.

", + "DescribeInsightRequest$clusterName": "

The name of the cluster to describe the insight for.

", + "DescribeInsightRequest$id": "

The identity of the insight to describe.

", "DescribeNodegroupRequest$clusterName": "

The name of your cluster.

", "DescribeNodegroupRequest$nodegroupName": "

The name of the node group to describe.

", "DescribePodIdentityAssociationRequest$clusterName": "

The name of the cluster that the association is in.

", @@ -1440,6 +1585,18 @@ "IdentityProviderConfig$type": "

The type of the identity provider configuration. The only type available is oidc.

", "IdentityProviderConfig$name": "

The name of the identity provider configuration.

", "IncludeClustersList$member": null, + "Insight$id": "

The ID of the insight.

", + "Insight$name": "

The name of the insight.

", + "Insight$kubernetesVersion": "

The Kubernetes minor version associated with an insight if applicable.

", + "Insight$description": "

The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).

", + "Insight$recommendation": "

A summary of how to remediate the finding of this insight if applicable.

", + "InsightResourceDetail$kubernetesResourceUri": "

The Kubernetes resource URI if applicable.

", + "InsightResourceDetail$arn": "

The Amazon Resource Name (ARN) if applicable.

", + "InsightStatus$reason": "

Explanation on the reasoning for the status of the resource.

", + "InsightSummary$id": "

The ID of the insight.

", + "InsightSummary$name": "

The name of the insight.

", + "InsightSummary$kubernetesVersion": "

The Kubernetes minor version associated with an insight if applicable.

", + "InsightSummary$description": "

The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).

", "InvalidParameterException$clusterName": "

The Amazon EKS cluster associated with the exception.

", "InvalidParameterException$nodegroupName": "

The Amazon EKS managed node group associated with the exception.

", "InvalidParameterException$fargateProfileName": "

The Fargate profile associated with the exception.

", @@ -1481,7 +1638,10 @@ "ListFargateProfilesResponse$nextToken": "

The nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", "ListIdentityProviderConfigsRequest$clusterName": "

The name of your cluster.

", "ListIdentityProviderConfigsRequest$nextToken": "

The nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", - "ListIdentityProviderConfigsResponse$nextToken": "

The nextToken value to include in a future ListIdentityProviderConfigsResponse request. When the results of a ListIdentityProviderConfigsResponse request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListIdentityProviderConfigsResponse$nextToken": "

The nextToken value to include in a future ListIdentityProviderConfigsResponse request. When the results of a ListIdentityProviderConfigsResponse request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", + "ListInsightsRequest$clusterName": "

The name of the Amazon EKS cluster associated with the insights.

", + "ListInsightsRequest$nextToken": "

The nextToken value returned from a previous paginated ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListInsightsResponse$nextToken": "

The nextToken value to include in a future ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

", "ListNodegroupsRequest$clusterName": "

The name of your cluster.

", "ListNodegroupsRequest$nextToken": "

The nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", "ListNodegroupsResponse$nextToken": "

The nextToken value returned from a previous paginated request, where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

", @@ -1620,6 +1780,7 @@ "EncryptionConfig$resources": "

Specifies the resources to be encrypted. The only supported value is secrets.

", "ErrorDetail$resourceIds": "

An optional field that contains the resource IDs associated with the error.

", "FargateProfile$subnets": "

The IDs of subnets to launch a Pod into.

", + "InsightsFilter$kubernetesVersions": "

The Kubernetes versions to use to filter the insights.

", "Issue$resourceIds": "

The Amazon Web Services resources that are afflicted by this issue.

", "ListAccessEntriesResponse$accessEntries": "

The list of access entries that exist for the cluster.

", "ListAddonsResponse$addons": "

A list of installed add-ons.

", @@ -1717,12 +1878,17 @@ "Addon$modifiedAt": "

The Unix epoch timestamp for the last modification to the object.

", "AssociatedAccessPolicy$associatedAt": "

The date and time the AccessPolicy was associated with an AccessEntry.

", "AssociatedAccessPolicy$modifiedAt": "

The Unix epoch timestamp for the last modification to the object.

", + "ClientStat$lastRequestTime": "

The timestamp of the last request seen from the Kubernetes client.

", "Cluster$createdAt": "

The Unix epoch timestamp at object creation.

", "ConnectorConfigResponse$activationExpiry": "

The expiration time of the connected cluster. The cluster's YAML file must be applied through the native provider.

", "EksAnywhereSubscription$createdAt": "

The Unix timestamp in seconds for when the subscription was created.

", "EksAnywhereSubscription$effectiveDate": "

The Unix timestamp in seconds for when the subscription is effective.

", "EksAnywhereSubscription$expirationDate": "

The Unix timestamp in seconds for when the subscription will expire or auto renew, depending on the auto renew configuration of the subscription object.

", "FargateProfile$createdAt": "

The Unix epoch timestamp at object creation.

", + "Insight$lastRefreshTime": "

The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.

", + "Insight$lastTransitionTime": "

The time the status of the insight last changed.

", + "InsightSummary$lastRefreshTime": "

The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.

", + "InsightSummary$lastTransitionTime": "

The time the status of the insight last changed.

", "Nodegroup$createdAt": "

The Unix epoch timestamp at object creation.

", "Nodegroup$modifiedAt": "

The Unix epoch timestamp for the last modification to the object.

", "PodIdentityAssociation$createdAt": "

The timestamp that the association was created at.

", diff --git a/models/apis/eks/2017-11-01/paginators-1.json b/models/apis/eks/2017-11-01/paginators-1.json index 9dfd7e4edde..c207f174fb5 100644 --- a/models/apis/eks/2017-11-01/paginators-1.json +++ b/models/apis/eks/2017-11-01/paginators-1.json @@ -58,6 +58,12 @@ "output_token": "nextToken", "result_key": "identityProviderConfigs" }, + "ListInsights": { + "input_token": "nextToken", + "limit_key": "maxResults", + "output_token": "nextToken", + "result_key": "insights" + }, "ListNodegroups": { "input_token": "nextToken", "limit_key": "maxResults", diff --git a/models/apis/guardduty/2017-11-28/api-2.json b/models/apis/guardduty/2017-11-28/api-2.json index d270a8e1730..3609fa6b161 100644 --- a/models/apis/guardduty/2017-11-28/api-2.json +++ b/models/apis/guardduty/2017-11-28/api-2.json @@ -550,6 +550,19 @@ {"shape":"InternalServerErrorException"} ] }, + "GetOrganizationStatistics":{ + "name":"GetOrganizationStatistics", + "http":{ + "method":"GET", + "requestUri":"/organization/statistics", + "responseCode":200 + }, + "output":{"shape":"GetOrganizationStatisticsResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"InternalServerErrorException"} + ] + }, "GetRemainingFreeTrialDays":{ "name":"GetRemainingFreeTrialDays", "http":{ @@ -3890,6 +3903,15 @@ } } }, + "GetOrganizationStatisticsResponse":{ + "type":"structure", + "members":{ + "OrganizationDetails":{ + "shape":"OrganizationDetails", + "locationName":"organizationDetails" + } + } + }, "GetRemainingFreeTrialDaysRequest":{ "type":"structure", "required":["DetectorId"], @@ -5484,6 +5506,19 @@ } } }, + "OrganizationDetails":{ + "type":"structure", + "members":{ + "UpdatedAt":{ + "shape":"Timestamp", + "locationName":"updatedAt" + }, + "OrganizationStatistics":{ + "shape":"OrganizationStatistics", + "locationName":"organizationStatistics" + } + } + }, "OrganizationEbsVolumes":{ "type":"structure", "members":{ @@ -5536,6 +5571,44 @@ } } }, + "OrganizationFeatureStatistics":{ + "type":"structure", + "members":{ + "Name":{ + "shape":"OrgFeature", + "locationName":"name" + }, + "EnabledAccountsCount":{ + "shape":"Integer", + "locationName":"enabledAccountsCount" + }, + "AdditionalConfiguration":{ + "shape":"OrganizationFeatureStatisticsAdditionalConfigurations", + "locationName":"additionalConfiguration" + } + } + }, + "OrganizationFeatureStatisticsAdditionalConfiguration":{ + "type":"structure", + "members":{ + "Name":{ + "shape":"OrgFeatureAdditionalConfiguration", + "locationName":"name" + }, + "EnabledAccountsCount":{ + "shape":"Integer", + "locationName":"enabledAccountsCount" + } + } + }, + "OrganizationFeatureStatisticsAdditionalConfigurations":{ + "type":"list", + "member":{"shape":"OrganizationFeatureStatisticsAdditionalConfiguration"} + }, + "OrganizationFeatureStatisticsResults":{ + "type":"list", + "member":{"shape":"OrganizationFeatureStatistics"} + }, "OrganizationFeaturesConfigurations":{ "type":"list", "member":{"shape":"OrganizationFeatureConfiguration"} @@ -5640,6 +5713,31 @@ } } }, + "OrganizationStatistics":{ + "type":"structure", + "members":{ + "TotalAccountsCount":{ + "shape":"Integer", + "locationName":"totalAccountsCount" + }, + "MemberAccountsCount":{ + "shape":"Integer", + "locationName":"memberAccountsCount" + }, + "ActiveAccountsCount":{ + "shape":"Integer", + "locationName":"activeAccountsCount" + }, + "EnabledAccountsCount":{ + "shape":"Integer", + "locationName":"enabledAccountsCount" + }, + "CountByFeature":{ + "shape":"OrganizationFeatureStatisticsResults", + "locationName":"countByFeature" + } + } + }, "Owner":{ "type":"structure", "members":{ @@ -7322,7 +7420,8 @@ "SUM_BY_DATA_SOURCE", "SUM_BY_RESOURCE", "TOP_RESOURCES", - "SUM_BY_FEATURES" + "SUM_BY_FEATURES", + "TOP_ACCOUNTS_BY_FEATURE" ] }, "UsageStatistics":{ @@ -7332,6 +7431,10 @@ "shape":"UsageAccountResultList", "locationName":"sumByAccount" }, + "TopAccountsByFeature":{ + "shape":"UsageTopAccountsResultList", + "locationName":"topAccountsByFeature" + }, "SumByDataSource":{ "shape":"UsageDataSourceResultList", "locationName":"sumByDataSource" @@ -7350,6 +7453,40 @@ } } }, + "UsageTopAccountResult":{ + "type":"structure", + "members":{ + "AccountId":{ + "shape":"AccountId", + "locationName":"accountId" + }, + "Total":{ + "shape":"Total", + "locationName":"total" + } + } + }, + "UsageTopAccountsByFeatureList":{ + "type":"list", + "member":{"shape":"UsageTopAccountResult"} + }, + "UsageTopAccountsResult":{ + "type":"structure", + "members":{ + "Feature":{ + "shape":"UsageFeature", + "locationName":"feature" + }, + "Accounts":{ + "shape":"UsageTopAccountsByFeatureList", + "locationName":"accounts" + } + } + }, + "UsageTopAccountsResultList":{ + "type":"list", + "member":{"shape":"UsageTopAccountsResult"} + }, "Volume":{ "type":"structure", "members":{ diff --git a/models/apis/guardduty/2017-11-28/docs-2.json b/models/apis/guardduty/2017-11-28/docs-2.json index e1a9f8cf4f0..af7bd28e224 100644 --- a/models/apis/guardduty/2017-11-28/docs-2.json +++ b/models/apis/guardduty/2017-11-28/docs-2.json @@ -8,7 +8,7 @@ "CreateDetector": "

Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "CreateFilter": "

Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web Services account per Region is 100. For more information, see Quotas for GuardDuty.

", "CreateIPSet": "

Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.

", - "CreateMembers": "

Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.

As a delegated administrator, using CreateMembers will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member.

If you are adding accounts by invitation, before using InviteMembers, use CreateMembers after GuardDuty has been enabled in potential member accounts.

If you disassociate a member from a GuardDuty delegated administrator, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

", + "CreateMembers": "

Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.

As a delegated administrator, using CreateMembers will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member.

When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration.

If you are adding accounts by invitation, before using InviteMembers, use CreateMembers after GuardDuty has been enabled in potential member accounts.

If you disassociate a member from a GuardDuty delegated administrator, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

", "CreatePublishingDestination": "

Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.

", "CreateSampleFindings": "

Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes, the API generates sample findings of all supported finding types.

", "CreateThreatIntelSet": "

Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.

", @@ -29,7 +29,7 @@ "DisassociateMembers": "

Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs.

When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.

With autoEnableOrganizationMembers configuration for your organization set to ALL, you'll receive an error if you attempt to disassociate a member account before removing them from your organization.

", "EnableOrganizationAdminAccount": "

Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.

", "GetAdministratorAccount": "

Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.

If the organization's management account or a delegated administrator runs this API, it will return success (HTTP 200) but no content.

", - "GetCoverageStatistics": "

Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled EKS Runtime Monitoring and have the GuardDuty agent running on their EKS nodes.

", + "GetCoverageStatistics": "

Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled Runtime Monitoring and have the GuardDuty security agent running on their resources.

", "GetDetector": "

Retrieves an Amazon GuardDuty detector specified by the detectorId.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "GetFilter": "

Returns the details of the filter specified by the filter name.

", "GetFindings": "

Describes Amazon GuardDuty findings specified by finding IDs.

", @@ -40,11 +40,12 @@ "GetMasterAccount": "

Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.

", "GetMemberDetectors": "

Describes which data sources are enabled for the member account's detector.

There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.

", "GetMembers": "

Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.

", + "GetOrganizationStatistics": "

Retrieves how many active member accounts in your Amazon Web Services organization have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API.

When you create a new Amazon Web Services organization, it might take up to 24 hours to generate the statistics for the entire organization.

", "GetRemainingFreeTrialDays": "

Provides the number of days left for each data source used in the free trial period.

", "GetThreatIntelSet": "

Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.

", "GetUsageStatistics": "

Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.

", "InviteMembers": "

Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty environment, this step is not needed. For more information, see Managing accounts with organizations.

To invite Amazon Web Services accounts, the first step is to ensure that GuardDuty has been enabled in the potential member accounts. You can now invoke this API to add accounts by invitation. The invited accounts can either accept or decline the invitation from their GuardDuty accounts. Each invited Amazon Web Services account can choose to accept the invitation from only one Amazon Web Services account. For more information, see Managing GuardDuty accounts by invitation.

After the invite has been accepted and you choose to disassociate a member account (by using DisassociateMembers) from your account, the details of the member account obtained by invoking CreateMembers, including the associated email addresses, will be retained. This is done so that you can invoke InviteMembers without the need to invoke CreateMembers again. To remove the details associated with a member account, you must also invoke DeleteMembers.

", - "ListCoverage": "

Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.

Make sure the accounts have EKS Runtime Monitoring enabled and GuardDuty agent running on their EKS nodes.

", + "ListCoverage": "

Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.

Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources.

", "ListDetectors": "

Lists detectorIds of all the existing Amazon GuardDuty detector resources.

", "ListFilters": "

Returns a paginated list of the current filters.

", "ListFindings": "

Lists Amazon GuardDuty findings for the specified detector ID.

", @@ -146,7 +147,8 @@ "MemberDataSourceConfiguration$AccountId": "

The account ID for the member account.

", "Scan$AccountId": "

The ID for the account that belongs to the scan.

", "UnprocessedAccount$AccountId": "

The Amazon Web Services account ID.

", - "UsageAccountResult$AccountId": "

The Account ID that generated usage.

" + "UsageAccountResult$AccountId": "

The Account ID that generated usage.

", + "UsageTopAccountResult$AccountId": "

The unique account ID.

" } }, "AccountIds": { @@ -438,9 +440,9 @@ } }, "CoverageEc2InstanceDetails": { - "base": "

This API is also used when you use GuardDuty Runtime Monitoring for your Amazon EC2 instances (currently in preview release) and is subject to change.

Contains information about the Amazon EC2 instance runtime coverage details.

", + "base": "

This API is also used when you use GuardDuty Runtime Monitoring for your Amazon EC2 instances (currently in preview release) and is subject to change. The use of this API is subject to Section 2 of the Amazon Web Services Service Terms (\"Betas and Previews\").

Contains information about the Amazon EC2 instance runtime coverage details.

", "refs": { - "CoverageResourceDetails$Ec2InstanceDetails": "

This API is also used when you use GuardDuty Runtime Monitoring for your Amazon EC2 instances (currently in preview release) and is subject to change.

Information about the Amazon EC2 instance assessed for runtime coverage.

" + "CoverageResourceDetails$Ec2InstanceDetails": "

This API is also used when you use GuardDuty Runtime Monitoring for your Amazon EC2 instances (currently in preview release) and is subject to change. The use of this API is subject to Section 2 of the Amazon Web Services Service Terms (\"Betas and Previews\").

Information about the Amazon EC2 instance assessed for runtime coverage.

" } }, "CoverageEcsClusterDetails": { @@ -1116,7 +1118,7 @@ } }, "FargateDetails": { - "base": "

Contains information about AWS Fargate details associated with an Amazon ECS cluster.

", + "base": "

Contains information about Amazon Web Services Fargate details associated with an Amazon ECS cluster.

", "refs": { "CoverageEcsClusterDetails$FargateDetails": "

Information about the Fargate details associated with the Amazon ECS cluster.

" } @@ -1450,6 +1452,11 @@ "refs": { } }, + "GetOrganizationStatisticsResponse": { + "base": null, + "refs": { + } + }, "GetRemainingFreeTrialDaysRequest": { "base": null, "refs": { @@ -1554,6 +1561,12 @@ "LocalPortDetails$Port": "

The port number of the local connection.

", "LoginAttribute$FailedLoginAttempts": "

Represents the sum of failed (unsuccessful) login attempts made to establish a connection to the database instance.

", "LoginAttribute$SuccessfulLoginAttempts": "

Represents the sum of successful connections (a correct combination of login attributes) made to the database instance by the actor.

", + "OrganizationFeatureStatistics$EnabledAccountsCount": "

Total number of accounts that have enabled a specific feature.

", + "OrganizationFeatureStatisticsAdditionalConfiguration$EnabledAccountsCount": "

Total number of accounts that have enabled the additional configuration.

", + "OrganizationStatistics$TotalAccountsCount": "

Total number of accounts in your Amazon Web Services organization.

", + "OrganizationStatistics$MemberAccountsCount": "

Total number of accounts in your Amazon Web Services organization that are associated with GuardDuty.

", + "OrganizationStatistics$ActiveAccountsCount": "

Total number of active accounts in your Amazon Web Services organization that are associated with GuardDuty.

", + "OrganizationStatistics$EnabledAccountsCount": "

Total number of accounts that have enabled GuardDuty.

", "ProcessDetails$NamespacePid": "

The ID of the child process.

", "ProcessDetails$Pid": "

The ID of the process.

", "ProcessDetails$UserId": "

The unique ID of the user that executed the process.

", @@ -1632,7 +1645,7 @@ "Issues": { "base": null, "refs": { - "FargateDetails$Issues": "

Runtime coverage issues identified for the resource running on AWS Fargate.

" + "FargateDetails$Issues": "

Runtime coverage issues identified for the resource running on Amazon Web Services Fargate.

" } }, "KubernetesApiCallAction": { @@ -1917,9 +1930,9 @@ "ManagementType": { "base": null, "refs": { - "CoverageEc2InstanceDetails$ManagementType": "

Indicates how the GuardDuty security agent is managed for this resource.

The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS clusters that run on Amazon EC2 instances.

", + "CoverageEc2InstanceDetails$ManagementType": "

Indicates how the GuardDuty security agent is managed for this resource.

The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS clusters.

", "CoverageEksClusterDetails$ManagementType": "

Indicates how the Amazon EKS add-on GuardDuty agent is managed for this EKS cluster.

AUTO_MANAGED indicates GuardDuty deploys and manages updates for this resource.

MANUAL indicates that you are responsible to deploy, update, and manage the Amazon EKS add-on GuardDuty agent for this resource.

", - "FargateDetails$ManagementType": "

Indicates how the GuardDuty security agent is managed for this resource.

" + "FargateDetails$ManagementType": "

Indicates how the GuardDuty security agent is managed for this resource.

The MANUAL status doesn't apply to the Amazon Web Services Fargate (Amazon ECS only) woprkloads.

" } }, "MapEquals": { @@ -2108,7 +2121,8 @@ "MemberFeaturesConfiguration$Name": "

The name of the feature.

", "MemberFeaturesConfigurationResult$Name": "

Indicates the name of the feature that is enabled for the detector.

", "OrganizationFeatureConfiguration$Name": "

The name of the feature that will be configured for the organization.

", - "OrganizationFeatureConfigurationResult$Name": "

The name of the feature that is configured for the member accounts within the organization.

" + "OrganizationFeatureConfigurationResult$Name": "

The name of the feature that is configured for the member accounts within the organization.

", + "OrganizationFeatureStatistics$Name": "

Name of the feature.

" } }, "OrgFeatureAdditionalConfiguration": { @@ -2117,7 +2131,8 @@ "MemberAdditionalConfiguration$Name": "

Name of the additional configuration.

", "MemberAdditionalConfigurationResult$Name": "

Indicates the name of the additional configuration that is set for the member account.

", "OrganizationAdditionalConfiguration$Name": "

The name of the additional configuration that will be configured for the organization.

", - "OrganizationAdditionalConfigurationResult$Name": "

The name of the additional configuration that is configured for the member accounts within the organization.

" + "OrganizationAdditionalConfigurationResult$Name": "

The name of the additional configuration that is configured for the member accounts within the organization.

", + "OrganizationFeatureStatisticsAdditionalConfiguration$Name": "

Name of the additional configuration within a feature.

" } }, "OrgFeatureStatus": { @@ -2171,6 +2186,12 @@ "DescribeOrganizationConfigurationResponse$DataSources": "

Describes which data sources are enabled automatically for member accounts.

" } }, + "OrganizationDetails": { + "base": "

Information about GuardDuty coverage statistics for members in your Amazon Web Services organization.

", + "refs": { + "GetOrganizationStatisticsResponse$OrganizationDetails": "

Information about the statistics report for your organization.

" + } + }, "OrganizationEbsVolumes": { "base": "

Organization-wide EBS volumes scan configuration.

", "refs": { @@ -2195,6 +2216,30 @@ "OrganizationFeaturesConfigurationsResults$member": null } }, + "OrganizationFeatureStatistics": { + "base": "

Information about the number of accounts that have enabled a specific feature.

", + "refs": { + "OrganizationFeatureStatisticsResults$member": null + } + }, + "OrganizationFeatureStatisticsAdditionalConfiguration": { + "base": "

Information about the coverage statistic for the additional configuration of the feature.

", + "refs": { + "OrganizationFeatureStatisticsAdditionalConfigurations$member": null + } + }, + "OrganizationFeatureStatisticsAdditionalConfigurations": { + "base": null, + "refs": { + "OrganizationFeatureStatistics$AdditionalConfiguration": "

Name of the additional configuration.

" + } + }, + "OrganizationFeatureStatisticsResults": { + "base": null, + "refs": { + "OrganizationStatistics$CountByFeature": "

Retrieves the coverage statistics for each feature.

" + } + }, "OrganizationFeaturesConfigurations": { "base": null, "refs": { @@ -2267,6 +2312,12 @@ "OrganizationMalwareProtectionConfigurationResult$ScanEc2InstanceWithFindings": "

Describes the configuration for scanning EC2 instances with findings for an organization.

" } }, + "OrganizationStatistics": { + "base": "

Information about the coverage statistics of the features for the entire Amazon Web Services organization.

When you create a new Amazon Web Services organization, it might take up to 24 hours to generate the statistics summary for this organization.

", + "refs": { + "OrganizationDetails$OrganizationStatistics": "

Information about the GuardDuty coverage statistics for members in your Amazon Web Services organization.

" + } + }, "Owner": { "base": "

Contains information on the owner of the bucket.

", "refs": { @@ -3119,6 +3170,7 @@ "LineageObject$StartTime": "

The time when the process started. This is in UTC format.

", "MemberAdditionalConfigurationResult$UpdatedAt": "

The timestamp at which the additional configuration was set for the member account. This is in UTC format.

", "MemberFeaturesConfigurationResult$UpdatedAt": "

The timestamp at which the feature object was updated.

", + "OrganizationDetails$UpdatedAt": "

The timestamp at which the organization statistics was last updated. This is in UTC format.

", "ProcessDetails$StartTime": "

The time when the process started. This is in UTC format.

", "RuntimeContext$ModifiedAt": "

The timestamp at which the process modified the current process. The timestamp is in UTC date string format.

", "S3BucketDetail$CreatedAt": "

The date and time the bucket was created at.

", @@ -3132,7 +3184,8 @@ "UsageAccountResult$Total": "

Represents the total of usage for the Account ID.

", "UsageDataSourceResult$Total": "

Represents the total of usage for the specified data source.

", "UsageFeatureResult$Total": null, - "UsageResourceResult$Total": "

Represents the sum total of usage for the specified resource type.

" + "UsageResourceResult$Total": "

Represents the sum total of usage for the specified resource type.

", + "UsageTopAccountResult$Total": null } }, "TriggerDetails": { @@ -3314,7 +3367,8 @@ "base": null, "refs": { "UsageFeatureList$member": null, - "UsageFeatureResult$Feature": "

The feature that generated the usage cost.

" + "UsageFeatureResult$Feature": "

The feature that generated the usage cost.

", + "UsageTopAccountsResult$Feature": "

Features by which you can generate the usage statistics.

RDS_LOGIN_EVENTS is currently not supported with topAccountsByFeature.

" } }, "UsageFeatureList": { @@ -3360,6 +3414,30 @@ "GetUsageStatisticsResponse$UsageStatistics": "

The usage statistics object. If a UsageStatisticType was provided, the objects representing other types will be null.

" } }, + "UsageTopAccountResult": { + "base": "

Contains information on the total of usage based on the topmost 50 account IDs.

", + "refs": { + "UsageTopAccountsByFeatureList$member": null + } + }, + "UsageTopAccountsByFeatureList": { + "base": null, + "refs": { + "UsageTopAccountsResult$Accounts": "

The accounts that contributed to the total usage cost.

" + } + }, + "UsageTopAccountsResult": { + "base": "

Information about the usage statistics, calculated by top accounts by feature.

", + "refs": { + "UsageTopAccountsResultList$member": null + } + }, + "UsageTopAccountsResultList": { + "base": null, + "refs": { + "UsageStatistics$TopAccountsByFeature": "

Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.

Currently, this doesn't support RDS_LOGIN_EVENTS.

" + } + }, "Volume": { "base": "

Volume used by the Kubernetes workload.

", "refs": { diff --git a/models/apis/managedblockchain-query/2023-05-04/api-2.json b/models/apis/managedblockchain-query/2023-05-04/api-2.json index 420aa4a84cf..109a3e5b661 100644 --- a/models/apis/managedblockchain-query/2023-05-04/api-2.json +++ b/models/apis/managedblockchain-query/2023-05-04/api-2.json @@ -271,6 +271,10 @@ "type":"string", "pattern":"[-A-Za-z0-9]{13,74}" }, + "ConfirmationStatus":{ + "type":"string", + "enum":["FINAL"] + }, "ContractFilter":{ "type":"structure", "required":[ @@ -314,6 +318,13 @@ "type":"string", "min":1 }, + "ExecutionStatus":{ + "type":"string", + "enum":[ + "FAILED", + "SUCCEEDED" + ] + }, "GetAssetContractInput":{ "type":"structure", "required":["contractIdentifier"], @@ -547,9 +558,9 @@ "type":"string", "enum":[ "ETHEREUM_MAINNET", + "ETHEREUM_SEPOLIA_TESTNET", "BITCOIN_MAINNET", - "BITCOIN_TESTNET", - "ETHEREUM_SEPOLIA_TESTNET" + "BITCOIN_TESTNET" ] }, "QueryTokenId":{ @@ -717,7 +728,6 @@ "transactionTimestamp", "transactionIndex", "numberOfTransactions", - "status", "to" ], "members":{ @@ -728,7 +738,11 @@ "transactionTimestamp":{"shape":"Timestamp"}, "transactionIndex":{"shape":"Long"}, "numberOfTransactions":{"shape":"Long"}, - "status":{"shape":"QueryTransactionStatus"}, + "status":{ + "shape":"QueryTransactionStatus", + "deprecated":true, + "deprecatedMessage":"The status field in the GetTransaction response is deprecated and is replaced with the confirmationStatus and executionStatus fields." + }, "to":{"shape":"ChainAddress"}, "from":{"shape":"ChainAddress"}, "contractAddress":{"shape":"ChainAddress"}, @@ -739,7 +753,9 @@ "signatureR":{"shape":"String"}, "signatureS":{"shape":"String"}, "transactionFee":{"shape":"String"}, - "transactionId":{"shape":"String"} + "transactionId":{"shape":"String"}, + "confirmationStatus":{"shape":"ConfirmationStatus"}, + "executionStatus":{"shape":"ExecutionStatus"} } }, "TransactionEvent":{ diff --git a/models/apis/managedblockchain-query/2023-05-04/docs-2.json b/models/apis/managedblockchain-query/2023-05-04/docs-2.json index 938d8be74f0..0eda840e2c4 100644 --- a/models/apis/managedblockchain-query/2023-05-04/docs-2.json +++ b/models/apis/managedblockchain-query/2023-05-04/docs-2.json @@ -111,6 +111,12 @@ "TransactionEvent$contractAddress": "

The blockchain address. for the contract

" } }, + "ConfirmationStatus": { + "base": null, + "refs": { + "Transaction$confirmationStatus": "

Specifies whether the transaction has reached Finality.

" + } + }, "ContractFilter": { "base": "

The contract or wallet address by which to filter the request.

", "refs": { @@ -148,6 +154,12 @@ "ValidationException$message": "

The container for the exception message.

" } }, + "ExecutionStatus": { + "base": null, + "refs": { + "Transaction$executionStatus": "

Identifies whether the transaction has succeeded or failed.

" + } + }, "GetAssetContractInput": { "base": null, "refs": { @@ -362,7 +374,7 @@ "QueryTransactionStatus": { "base": null, "refs": { - "Transaction$status": "

The status of the transaction.

" + "Transaction$status": "

The status of the transaction.

This property is deprecated. You must use the confirmationStatus and the executionStatus properties to determine if the status of the transaction is FINAL or FAILED.

  • Transactions with a status of FINAL will now have the confirmationStatus set to FINAL and the executionStatus set to SUCCEEDED.

  • Transactions with a status of FAILED will now have the confirmationStatus set to FINAL and the executionStatus set to FAILED.

" } }, "QuotaCode": { diff --git a/models/apis/mediatailor/2018-04-23/api-2.json b/models/apis/mediatailor/2018-04-23/api-2.json index b4ca164f21d..1d3334409fa 100644 --- a/models/apis/mediatailor/2018-04-23/api-2.json +++ b/models/apis/mediatailor/2018-04-23/api-2.json @@ -720,7 +720,8 @@ "shape":"__mapOf__string", "locationName":"tags" }, - "Tier":{"shape":"Tier"} + "Tier":{"shape":"Tier"}, + "TimeShiftConfiguration":{"shape":"TimeShiftConfiguration"} } }, "CreateChannelResponse":{ @@ -738,7 +739,8 @@ "shape":"__mapOf__string", "locationName":"tags" }, - "Tier":{"shape":"__string"} + "Tier":{"shape":"__string"}, + "TimeShiftConfiguration":{"shape":"TimeShiftConfiguration"} } }, "CreateLiveSourceRequest":{ @@ -1155,7 +1157,8 @@ "shape":"__mapOf__string", "locationName":"tags" }, - "Tier":{"shape":"__string"} + "Tier":{"shape":"__string"}, + "TimeShiftConfiguration":{"shape":"TimeShiftConfiguration"} } }, "DescribeLiveSourceRequest":{ @@ -2105,6 +2108,13 @@ "STANDARD" ] }, + "TimeShiftConfiguration":{ + "type":"structure", + "required":["MaxTimeDelaySeconds"], + "members":{ + "MaxTimeDelaySeconds":{"shape":"__integer"} + } + }, "TimeSignalMessage":{ "type":"structure", "members":{ @@ -2164,7 +2174,8 @@ "locationName":"ChannelName" }, "FillerSlate":{"shape":"SlateSource"}, - "Outputs":{"shape":"RequestOutputs"} + "Outputs":{"shape":"RequestOutputs"}, + "TimeShiftConfiguration":{"shape":"TimeShiftConfiguration"} } }, "UpdateChannelResponse":{ @@ -2182,7 +2193,8 @@ "shape":"__mapOf__string", "locationName":"tags" }, - "Tier":{"shape":"__string"} + "Tier":{"shape":"__string"}, + "TimeShiftConfiguration":{"shape":"TimeShiftConfiguration"} } }, "UpdateLiveSourceRequest":{ diff --git a/models/apis/mediatailor/2018-04-23/docs-2.json b/models/apis/mediatailor/2018-04-23/docs-2.json index 2b915d37f35..b4f6457d56f 100644 --- a/models/apis/mediatailor/2018-04-23/docs-2.json +++ b/models/apis/mediatailor/2018-04-23/docs-2.json @@ -921,6 +921,16 @@ "CreateChannelRequest$Tier": "

The tier of the channel.

" } }, + "TimeShiftConfiguration": { + "base": "

The configuration for time-shifted viewing.

", + "refs": { + "CreateChannelRequest$TimeShiftConfiguration": "

The time-shifted viewing configuration you want to associate to the channel.

", + "CreateChannelResponse$TimeShiftConfiguration": "

The time-shifted viewing configuration assigned to the channel.

", + "DescribeChannelResponse$TimeShiftConfiguration": "

The time-shifted viewing configuration for the channel.

", + "UpdateChannelRequest$TimeShiftConfiguration": "

The time-shifted viewing configuration you want to associate to the channel.

", + "UpdateChannelResponse$TimeShiftConfiguration": "

The time-shifted viewing configuration for the channel.

" + } + }, "TimeSignalMessage": { "base": "

The SCTE-35 time_signal message can be sent with one or more segmentation_descriptor messages. A time_signal message can be sent only if a single segmentation_descriptor message is sent.

The time_signal message contains only the splice_time field which is constructed using a given presentation timestamp. When sending a time_signal message, the splice_command_type field in the splice_info_section message is set to 6 (0x06).

See the time_signal() table of the 2022 SCTE-35 specification for more information.

", "refs": { @@ -1033,7 +1043,8 @@ "SpliceInsertMessage$AvailNum": "

This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

", "SpliceInsertMessage$AvailsExpected": "

This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

", "SpliceInsertMessage$SpliceEventId": "

This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.

", - "SpliceInsertMessage$UniqueProgramId": "

This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

" + "SpliceInsertMessage$UniqueProgramId": "

This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

", + "TimeShiftConfiguration$MaxTimeDelaySeconds": "

The maximum time delay for time-shifted viewing. The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).

" } }, "__integerMin1": { diff --git a/models/apis/route53/2013-04-01/api-2.json b/models/apis/route53/2013-04-01/api-2.json index a12abd61698..a72a8088fb2 100644 --- a/models/apis/route53/2013-04-01/api-2.json +++ b/models/apis/route53/2013-04-01/api-2.json @@ -1552,7 +1552,8 @@ "us-iso-west-1", "us-isob-east-1", "ap-southeast-4", - "il-central-1" + "il-central-1", + "ca-west-1" ], "max":64, "min":1 @@ -4160,7 +4161,8 @@ "eu-south-1", "eu-south-2", "ap-southeast-4", - "il-central-1" + "il-central-1", + "ca-west-1" ], "max":64, "min":1 @@ -4780,7 +4782,8 @@ "eu-south-1", "eu-south-2", "ap-southeast-4", - "il-central-1" + "il-central-1", + "ca-west-1" ], "max":64, "min":1 diff --git a/models/apis/route53/2013-04-01/docs-2.json b/models/apis/route53/2013-04-01/docs-2.json index 89eefa79536..87df689ded2 100644 --- a/models/apis/route53/2013-04-01/docs-2.json +++ b/models/apis/route53/2013-04-01/docs-2.json @@ -532,7 +532,7 @@ "ListTrafficPolicyInstancesByPolicyResponse$TrafficPolicyInstanceNameMarker": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

", "ListTrafficPolicyInstancesRequest$TrafficPolicyInstanceNameMarker": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", "ListTrafficPolicyInstancesResponse$TrafficPolicyInstanceNameMarker": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

", - "ResourceRecordSet$Name": "

For ChangeResourceRecordSets requests, the name of the record that you want to create, update, or delete. For ListResourceRecordSets responses, the name of a record in the specified hosted zone.

ChangeResourceRecordSets Only

Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.

You can use the asterisk (*) wildcard to replace the leftmost label in a domain name, for example, *.example.com. Note the following:

You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com. You can't use an * for one of the middle labels, for example, marketing.*.example.com. In addition, the * must replace the entire label; for example, you can't specify prod*.example.com.

", + "ResourceRecordSet$Name": "

For ChangeResourceRecordSets requests, the name of the record that you want to create, update, or delete. For ListResourceRecordSets responses, the name of a record in the specified hosted zone.

ChangeResourceRecordSets Only

Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.

You can use the asterisk (*) wildcard to replace the leftmost label in a domain name, for example, *.example.com. Note the following:

", "TestDNSAnswerRequest$RecordName": "

The name of the resource record set that you want Amazon Route 53 to simulate a query for.

", "TestDNSAnswerResponse$RecordName": "

The name of the resource record set that you submitted a request for.

", "TrafficPolicyInstance$Name": "

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

" diff --git a/models/apis/route53/2013-04-01/endpoint-tests-1.json b/models/apis/route53/2013-04-01/endpoint-tests-1.json index b14b05eb81e..42145ddb1cb 100644 --- a/models/apis/route53/2013-04-01/endpoint-tests-1.json +++ b/models/apis/route53/2013-04-01/endpoint-tests-1.json @@ -469,6 +469,50 @@ "UseDualStack": false } }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://route53.cloud.adc-e.uk" + } + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "route53", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://route53.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, { "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { @@ -525,17 +569,6 @@ "expect": { "error": "Invalid Configuration: Missing Region" } - }, - { - "documentation": "Partition doesn't support DualStack", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } } ], "version": "1.0" diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 87f0bce447c..ab02f3bc6b3 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -59,6 +59,9 @@ "ca-central-1" : { "description" : "Canada (Central)" }, + "ca-west-1" : { + "description" : "Canada West (Calgary)" + }, "eu-central-1" : { "description" : "Europe (Frankfurt)" }, @@ -133,6 +136,7 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -244,6 +248,19 @@ "deprecated" : true, "hostname" : "acm-fips.ca-central-1.amazonaws.com" }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "acm-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "ca-west-1-fips" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "acm-fips.ca-west-1.amazonaws.com" + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -676,6 +693,12 @@ }, "hostname" : "api.ecr.ca-central-1.amazonaws.com" }, + "ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "hostname" : "api.ecr.ca-west-1.amazonaws.com" + }, "dkr-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -1290,6 +1313,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "apigateway-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -1305,6 +1334,13 @@ "deprecated" : true, "hostname" : "apigateway-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "apigateway-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -1391,6 +1427,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -1423,6 +1460,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -1526,6 +1564,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -2231,6 +2270,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "autoscaling-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -2246,6 +2291,13 @@ "deprecated" : true, "hostname" : "autoscaling-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "autoscaling-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -2441,6 +2493,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -2796,6 +2849,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "cloudcontrolapi-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -2811,6 +2870,13 @@ "deprecated" : true, "hostname" : "cloudcontrolapi-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "cloudcontrolapi-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -2896,6 +2962,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -3043,6 +3110,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -3351,6 +3419,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -4034,6 +4103,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -4679,6 +4749,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "datasync-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -4694,6 +4770,13 @@ "deprecated" : true, "hostname" : "datasync-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "datasync-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -4802,6 +4885,9 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "hostname" : "datazone.ca-west-1.api.aws" + }, "eu-central-1" : { "hostname" : "datazone.eu-central-1.api.aws" }, @@ -4983,6 +5069,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5074,6 +5161,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5106,6 +5194,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "dms" : { "credentialScope" : { "region" : "us-west-1" @@ -5328,6 +5417,7 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5430,6 +5520,19 @@ "deprecated" : true, "hostname" : "dynamodb-fips.ca-central-1.amazonaws.com" }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "dynamodb-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "ca-west-1-fips" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "dynamodb-fips.ca-west-1.amazonaws.com" + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5522,6 +5625,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "ebs-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5537,6 +5646,13 @@ "deprecated" : true, "hostname" : "ebs-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "ebs-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -5728,6 +5844,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5825,6 +5942,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -5937,6 +6055,9 @@ "ca-central-1" : { "hostname" : "eks-auth.ca-central-1.api.aws" }, + "ca-west-1" : { + "hostname" : "eks-auth.ca-west-1.api.aws" + }, "eu-central-1" : { "hostname" : "eks-auth.eu-central-1.api.aws" }, @@ -6001,6 +6122,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -6534,6 +6656,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -6623,6 +6746,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "elasticmapreduce-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { "sslCommonName" : "{service}.{region}.{dnsSuffix}" }, @@ -6640,6 +6769,13 @@ "deprecated" : true, "hostname" : "elasticmapreduce-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "elasticmapreduce-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -7058,6 +7194,12 @@ "tags" : [ "dualstack" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "aos.ca-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "eu-central-1" : { "variants" : [ { "hostname" : "aos.eu-central-1.api.aws", @@ -7217,6 +7359,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -7351,6 +7494,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -8848,6 +8992,9 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "hostname" : "internetmonitor.ca-west-1.api.aws" + }, "eu-central-1" : { "hostname" : "internetmonitor.eu-central-1.api.aws" }, @@ -9804,6 +9951,9 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "hostname" : "kendra-ranking.ca-west-1.api.aws" + }, "eu-central-2" : { "hostname" : "kendra-ranking.eu-central-2.api.aws" }, @@ -9874,6 +10024,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -10157,6 +10308,19 @@ "deprecated" : true, "hostname" : "kms-fips.ca-central-1.amazonaws.com" }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "kms-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "ca-west-1-fips" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "kms-fips.ca-west-1.amazonaws.com" + }, "eu-central-1" : { "variants" : [ { "hostname" : "kms-fips.eu-central-1.amazonaws.com", @@ -10521,6 +10685,12 @@ "tags" : [ "dualstack" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "lambda.ca-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, "eu-central-1" : { "variants" : [ { "hostname" : "lambda.eu-central-1.api.aws", @@ -10753,6 +10923,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -10931,6 +11102,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -11802,6 +11974,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -12213,6 +12386,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -12674,6 +12848,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -13149,6 +13324,9 @@ "ca-central-1" : { "hostname" : "qbusiness.ca-central-1.api.aws" }, + "ca-west-1" : { + "hostname" : "qbusiness.ca-west-1.api.aws" + }, "eu-central-1" : { "hostname" : "qbusiness.eu-central-1.api.aws" }, @@ -13300,6 +13478,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "ram-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -13315,6 +13499,13 @@ "deprecated" : true, "hostname" : "ram-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "ram-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -13392,6 +13583,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "rbin-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -13407,6 +13604,13 @@ "deprecated" : true, "hostname" : "rbin-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "rbin-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -13728,6 +13932,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "redshift-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -13743,6 +13953,13 @@ "deprecated" : true, "hostname" : "redshift-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "redshift-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -14114,6 +14331,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -14320,6 +14538,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -14604,6 +14823,18 @@ "tags" : [ "dualstack" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "s3-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + }, { + "hostname" : "s3-fips.dualstack.ca-west-1.amazonaws.com", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "s3.dualstack.ca-west-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "eu-central-1" : { "variants" : [ { "hostname" : "s3.dualstack.eu-central-1.amazonaws.com", @@ -14661,6 +14892,13 @@ "deprecated" : true, "hostname" : "s3-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "s3-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -15372,6 +15610,18 @@ "ca-central-1-fips" : { "deprecated" : true }, + "ca-west-1" : { + "variants" : [ { + "tags" : [ "dualstack" ] + }, { + "tags" : [ "dualstack", "fips" ] + }, { + "tags" : [ "fips" ] + } ] + }, + "ca-west-1-fips" : { + "deprecated" : true + }, "eu-central-1" : { "variants" : [ { "tags" : [ "dualstack" ] @@ -15496,6 +15746,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -15743,6 +15994,7 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -16070,6 +16322,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -16696,6 +16949,12 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "sns-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -16704,6 +16963,13 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "sns-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -16780,6 +17046,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -16866,6 +17133,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "ssm-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -16881,6 +17154,13 @@ "deprecated" : true, "hostname" : "ssm-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "ssm-fips.ca-west-1.amazonaws.com" + }, "fips-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -17215,6 +17495,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -17393,6 +17674,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -17438,6 +17720,7 @@ "hostname" : "sts.amazonaws.com" }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -17537,6 +17820,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -17617,6 +17901,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -17697,6 +17982,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -19454,6 +19740,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ca-central-1" : { }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, diff --git a/service/appstream/api.go b/service/appstream/api.go index 5e3d131c1fa..938382cff6d 100644 --- a/service/appstream/api.go +++ b/service/appstream/api.go @@ -1611,6 +1611,9 @@ func (c *AppStream) CreateStackRequest(input *CreateStackInput) (req *request.Re // - InvalidParameterCombinationException // Indicates an incorrect combination of parameters, or a missing parameter. // +// - OperationNotPermittedException +// The attempted operation is not permitted. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack func (c *AppStream) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) { req, out := c.CreateStackRequest(input) @@ -20231,6 +20234,22 @@ type UserSetting struct { // Action is a required field Action *string `type:"string" required:"true" enum:"Action"` + // Specifies the number of characters that can be copied by end users from the + // local device to the remote session, and to the local device from the remote + // session. + // + // This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE + // actions. + // + // This defaults to 20,971,520 (20 MB) when unspecified and the permission is + // ENABLED. This can't be specified when the permission is DISABLED. + // + // This can only be specified for AlwaysOn and OnDemand fleets. The attribute + // is not supported on Elastic fleets. + // + // The value can be between 1 and 20,971,520 (20 MB). + MaximumLength *int64 `type:"integer"` + // Indicates whether the action is enabled or disabled. // // Permission is a required field @@ -20277,6 +20296,12 @@ func (s *UserSetting) SetAction(v string) *UserSetting { return s } +// SetMaximumLength sets the MaximumLength field's value. +func (s *UserSetting) SetMaximumLength(v int64) *UserSetting { + s.MaximumLength = &v + return s +} + // SetPermission sets the Permission field's value. func (s *UserSetting) SetPermission(v string) *UserSetting { s.Permission = &v diff --git a/service/eks/api.go b/service/eks/api.go index cd482ddc616..48faf266f20 100644 --- a/service/eks/api.go +++ b/service/eks/api.go @@ -2761,6 +2761,98 @@ func (c *EKS) DescribeIdentityProviderConfigWithContext(ctx aws.Context, input * return out, req.Send() } +const opDescribeInsight = "DescribeInsight" + +// DescribeInsightRequest generates a "aws/request.Request" representing the +// client's request for the DescribeInsight operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeInsight for more information on using the DescribeInsight +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the DescribeInsightRequest method. +// req, resp := client.DescribeInsightRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsight +func (c *EKS) DescribeInsightRequest(input *DescribeInsightInput) (req *request.Request, output *DescribeInsightOutput) { + op := &request.Operation{ + Name: opDescribeInsight, + HTTPMethod: "GET", + HTTPPath: "/clusters/{name}/insights/{id}", + } + + if input == nil { + input = &DescribeInsightInput{} + } + + output = &DescribeInsightOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeInsight API operation for Amazon Elastic Kubernetes Service. +// +// Returns details about an insight that you specify using its ID. +// +// 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 +// the error. +// +// See the AWS API reference guide for Amazon Elastic Kubernetes Service's +// API operation DescribeInsight for usage and error information. +// +// Returned Error Types: +// +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Amazon Web Services Region specific. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsight +func (c *EKS) DescribeInsight(input *DescribeInsightInput) (*DescribeInsightOutput, error) { + req, out := c.DescribeInsightRequest(input) + return out, req.Send() +} + +// DescribeInsightWithContext is the same as DescribeInsight with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeInsight for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EKS) DescribeInsightWithContext(ctx aws.Context, input *DescribeInsightInput, opts ...request.Option) (*DescribeInsightOutput, error) { + req, out := c.DescribeInsightRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeNodegroup = "DescribeNodegroup" // DescribeNodegroupRequest generates a "aws/request.Request" representing the @@ -4436,6 +4528,157 @@ func (c *EKS) ListIdentityProviderConfigsPagesWithContext(ctx aws.Context, input return p.Err() } +const opListInsights = "ListInsights" + +// ListInsightsRequest generates a "aws/request.Request" representing the +// client's request for the ListInsights operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListInsights for more information on using the ListInsights +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ListInsightsRequest method. +// req, resp := client.ListInsightsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListInsights +func (c *EKS) ListInsightsRequest(input *ListInsightsInput) (req *request.Request, output *ListInsightsOutput) { + op := &request.Operation{ + Name: opListInsights, + HTTPMethod: "POST", + HTTPPath: "/clusters/{name}/insights", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListInsightsInput{} + } + + output = &ListInsightsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListInsights API operation for Amazon Elastic Kubernetes Service. +// +// Returns a list of all insights checked for against the specified cluster. +// You can filter which insights are returned by category, associated Kubernetes +// version, and status. +// +// 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 +// the error. +// +// See the AWS API reference guide for Amazon Elastic Kubernetes Service's +// API operation ListInsights for usage and error information. +// +// Returned Error Types: +// +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Amazon Web Services Region specific. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListInsights +func (c *EKS) ListInsights(input *ListInsightsInput) (*ListInsightsOutput, error) { + req, out := c.ListInsightsRequest(input) + return out, req.Send() +} + +// ListInsightsWithContext is the same as ListInsights with the addition of +// the ability to pass a context and additional request options. +// +// See ListInsights for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EKS) ListInsightsWithContext(ctx aws.Context, input *ListInsightsInput, opts ...request.Option) (*ListInsightsOutput, error) { + req, out := c.ListInsightsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListInsightsPages iterates over the pages of a ListInsights operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInsights method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInsights operation. +// pageNum := 0 +// err := client.ListInsightsPages(params, +// func(page *eks.ListInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *EKS) ListInsightsPages(input *ListInsightsInput, fn func(*ListInsightsOutput, bool) bool) error { + return c.ListInsightsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInsightsPagesWithContext same as ListInsightsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EKS) ListInsightsPagesWithContext(ctx aws.Context, input *ListInsightsInput, fn func(*ListInsightsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInsightsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInsightsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListInsightsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListNodegroups = "ListNodegroups" // ListNodegroupsRequest generates a "aws/request.Request" representing the @@ -7499,6 +7742,56 @@ func (s *ClientException) RequestID() string { return s.RespMetadata.RequestID } +// Details about clients using the deprecated resources. +type ClientStat struct { + _ struct{} `type:"structure"` + + // The timestamp of the last request seen from the Kubernetes client. + LastRequestTime *time.Time `locationName:"lastRequestTime" type:"timestamp"` + + // The number of requests from the Kubernetes client seen over the last 30 days. + NumberOfRequestsLast30Days *int64 `locationName:"numberOfRequestsLast30Days" type:"integer"` + + // The user agent of the Kubernetes client using the deprecated resource. + UserAgent *string `locationName:"userAgent" type:"string"` +} + +// 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 ClientStat) 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 ClientStat) GoString() string { + return s.String() +} + +// SetLastRequestTime sets the LastRequestTime field's value. +func (s *ClientStat) SetLastRequestTime(v time.Time) *ClientStat { + s.LastRequestTime = &v + return s +} + +// SetNumberOfRequestsLast30Days sets the NumberOfRequestsLast30Days field's value. +func (s *ClientStat) SetNumberOfRequestsLast30Days(v int64) *ClientStat { + s.NumberOfRequestsLast30Days = &v + return s +} + +// SetUserAgent sets the UserAgent field's value. +func (s *ClientStat) SetUserAgent(v string) *ClientStat { + s.UserAgent = &v + return s +} + // An object representing an Amazon EKS cluster. type Cluster struct { _ struct{} `type:"structure"` @@ -8151,6 +8444,13 @@ type CreateAccessEntryInput struct { // for each access entry. You can't specify the same ARN in more than one access // entry. This value can't be changed after access entry creation. // + // The valid principals differ depending on the type of the access entry in + // the type field. The only valid ARN is IAM roles for the types of access entries + // for nodes: . You can use every IAM principal type for STANDARD access entries. + // You can't use the STS session principal type with access entries because + // this is a temporary principal for each session and not a permanent identity + // that can be assigned permissions. + // // IAM best practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-users-federation-idp) // recommend using IAM roles with temporary credentials, rather than IAM users // with long-term credentials. @@ -8163,6 +8463,9 @@ type CreateAccessEntryInput struct { // any other cluster or Amazon Web Services resources. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` + // The type of the new access entry. Valid values are Standard, FARGATE_LINUX, + // EC2_LINUX, and EC2_WINDOWS. + // // If the principalArn is for an IAM role that's used for self-managed Amazon // EC2 nodes, specify EC2_LINUX or EC2_WINDOWS. Amazon EKS grants the necessary // permissions to the node for you. If the principalArn is for any other purpose, @@ -10193,13 +10496,27 @@ func (s *DeletePodIdentityAssociationOutput) SetAssociation(v *PodIdentityAssoci return s } -type DeregisterClusterInput struct { - _ struct{} `type:"structure" nopayload:"true"` +// The summary information about deprecated resource usage for an insight check +// in the UPGRADE_READINESS category. +type DeprecationDetail struct { + _ struct{} `type:"structure"` - // The name of the connected cluster to deregister. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` + // Details about Kubernetes clients using the deprecated resources. + ClientStats []*ClientStat `locationName:"clientStats" type:"list"` + + // The newer version of the resource to migrate to if applicable. + ReplacedWith *string `locationName:"replacedWith" type:"string"` + + // The version of the software where the newer resource version became available + // to migrate to if applicable. + StartServingReplacementVersion *string `locationName:"startServingReplacementVersion" type:"string"` + + // The version of the software where the deprecated resource version will stop + // being served. + StopServingVersion *string `locationName:"stopServingVersion" type:"string"` + + // The deprecated version of the resource. + Usage *string `locationName:"usage" type:"string"` } // String returns the string representation. @@ -10207,7 +10524,7 @@ type DeregisterClusterInput struct { // 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 DeregisterClusterInput) String() string { +func (s DeprecationDetail) String() string { return awsutil.Prettify(s) } @@ -10216,37 +10533,94 @@ func (s DeregisterClusterInput) String() string { // 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 DeregisterClusterInput) GoString() string { +func (s DeprecationDetail) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeregisterClusterInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeregisterClusterInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetClientStats sets the ClientStats field's value. +func (s *DeprecationDetail) SetClientStats(v []*ClientStat) *DeprecationDetail { + s.ClientStats = v + return s } -// SetName sets the Name field's value. -func (s *DeregisterClusterInput) SetName(v string) *DeregisterClusterInput { - s.Name = &v +// SetReplacedWith sets the ReplacedWith field's value. +func (s *DeprecationDetail) SetReplacedWith(v string) *DeprecationDetail { + s.ReplacedWith = &v return s } -type DeregisterClusterOutput struct { - _ struct{} `type:"structure"` +// SetStartServingReplacementVersion sets the StartServingReplacementVersion field's value. +func (s *DeprecationDetail) SetStartServingReplacementVersion(v string) *DeprecationDetail { + s.StartServingReplacementVersion = &v + return s +} - // An object representing an Amazon EKS cluster. - Cluster *Cluster `locationName:"cluster" type:"structure"` +// SetStopServingVersion sets the StopServingVersion field's value. +func (s *DeprecationDetail) SetStopServingVersion(v string) *DeprecationDetail { + s.StopServingVersion = &v + return s +} + +// SetUsage sets the Usage field's value. +func (s *DeprecationDetail) SetUsage(v string) *DeprecationDetail { + s.Usage = &v + return s +} + +type DeregisterClusterInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the connected cluster to deregister. + // + // Name is a required field + Name *string `location:"uri" locationName:"name" type:"string" required:"true"` +} + +// 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 DeregisterClusterInput) 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 DeregisterClusterInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeregisterClusterInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeregisterClusterInput"} + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetName sets the Name field's value. +func (s *DeregisterClusterInput) SetName(v string) *DeregisterClusterInput { + s.Name = &v + return s +} + +type DeregisterClusterOutput struct { + _ struct{} `type:"structure"` + + // An object representing an Amazon EKS cluster. + Cluster *Cluster `locationName:"cluster" type:"structure"` } // String returns the string representation. @@ -11097,6 +11471,103 @@ func (s *DescribeIdentityProviderConfigOutput) SetIdentityProviderConfig(v *Iden return s } +type DescribeInsightInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The name of the cluster to describe the insight for. + // + // ClusterName is a required field + ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The identity of the insight to describe. + // + // Id is a required field + Id *string `location:"uri" locationName:"id" type:"string" required:"true"` +} + +// 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 DescribeInsightInput) 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 DescribeInsightInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeInsightInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeInsightInput"} + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + if s.ClusterName != nil && len(*s.ClusterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) + } + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClusterName sets the ClusterName field's value. +func (s *DescribeInsightInput) SetClusterName(v string) *DescribeInsightInput { + s.ClusterName = &v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeInsightInput) SetId(v string) *DescribeInsightInput { + s.Id = &v + return s +} + +type DescribeInsightOutput struct { + _ struct{} `type:"structure"` + + // The full description of the insight. + Insight *Insight `locationName:"insight" type:"structure"` +} + +// 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 DescribeInsightOutput) 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 DescribeInsightOutput) GoString() string { + return s.String() +} + +// SetInsight sets the Insight field's value. +func (s *DescribeInsightOutput) SetInsight(v *Insight) *DescribeInsightOutput { + s.Insight = v + return s +} + type DescribeNodegroupInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -12198,6 +12669,413 @@ func (s *IdentityProviderConfigResponse) SetOidc(v *OidcIdentityProviderConfig) return s } +// A check that provides recommendations to remedy potential upgrade-impacting +// issues. +type Insight struct { + _ struct{} `type:"structure"` + + // Links to sources that provide additional context on the insight. + AdditionalInfo map[string]*string `locationName:"additionalInfo" type:"map"` + + // The category of the insight. + Category *string `locationName:"category" type:"string" enum:"Category"` + + // Summary information that relates to the category of the insight. Currently + // only returned with certain insights having category UPGRADE_READINESS. + CategorySpecificSummary *InsightCategorySpecificSummary `locationName:"categorySpecificSummary" type:"structure"` + + // The description of the insight which includes alert criteria, remediation + // recommendation, and additional resources (contains Markdown). + Description *string `locationName:"description" type:"string"` + + // The ID of the insight. + Id *string `locationName:"id" type:"string"` + + // An object containing more detail on the status of the insight resource. + InsightStatus *InsightStatus `locationName:"insightStatus" type:"structure"` + + // The Kubernetes minor version associated with an insight if applicable. + KubernetesVersion *string `locationName:"kubernetesVersion" type:"string"` + + // The time Amazon EKS last successfully completed a refresh of this insight + // check on the cluster. + LastRefreshTime *time.Time `locationName:"lastRefreshTime" type:"timestamp"` + + // The time the status of the insight last changed. + LastTransitionTime *time.Time `locationName:"lastTransitionTime" type:"timestamp"` + + // The name of the insight. + Name *string `locationName:"name" type:"string"` + + // A summary of how to remediate the finding of this insight if applicable. + Recommendation *string `locationName:"recommendation" type:"string"` + + // The details about each resource listed in the insight check result. + Resources []*InsightResourceDetail `locationName:"resources" type:"list"` +} + +// 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 Insight) 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 Insight) GoString() string { + return s.String() +} + +// SetAdditionalInfo sets the AdditionalInfo field's value. +func (s *Insight) SetAdditionalInfo(v map[string]*string) *Insight { + s.AdditionalInfo = v + return s +} + +// SetCategory sets the Category field's value. +func (s *Insight) SetCategory(v string) *Insight { + s.Category = &v + return s +} + +// SetCategorySpecificSummary sets the CategorySpecificSummary field's value. +func (s *Insight) SetCategorySpecificSummary(v *InsightCategorySpecificSummary) *Insight { + s.CategorySpecificSummary = v + return s +} + +// SetDescription sets the Description field's value. +func (s *Insight) SetDescription(v string) *Insight { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *Insight) SetId(v string) *Insight { + s.Id = &v + return s +} + +// SetInsightStatus sets the InsightStatus field's value. +func (s *Insight) SetInsightStatus(v *InsightStatus) *Insight { + s.InsightStatus = v + return s +} + +// SetKubernetesVersion sets the KubernetesVersion field's value. +func (s *Insight) SetKubernetesVersion(v string) *Insight { + s.KubernetesVersion = &v + return s +} + +// SetLastRefreshTime sets the LastRefreshTime field's value. +func (s *Insight) SetLastRefreshTime(v time.Time) *Insight { + s.LastRefreshTime = &v + return s +} + +// SetLastTransitionTime sets the LastTransitionTime field's value. +func (s *Insight) SetLastTransitionTime(v time.Time) *Insight { + s.LastTransitionTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *Insight) SetName(v string) *Insight { + s.Name = &v + return s +} + +// SetRecommendation sets the Recommendation field's value. +func (s *Insight) SetRecommendation(v string) *Insight { + s.Recommendation = &v + return s +} + +// SetResources sets the Resources field's value. +func (s *Insight) SetResources(v []*InsightResourceDetail) *Insight { + s.Resources = v + return s +} + +// Summary information that relates to the category of the insight. Currently +// only returned with certain insights having category UPGRADE_READINESS. +type InsightCategorySpecificSummary struct { + _ struct{} `type:"structure"` + + // The summary information about deprecated resource usage for an insight check + // in the UPGRADE_READINESS category. + DeprecationDetails []*DeprecationDetail `locationName:"deprecationDetails" type:"list"` +} + +// 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 InsightCategorySpecificSummary) 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 InsightCategorySpecificSummary) GoString() string { + return s.String() +} + +// SetDeprecationDetails sets the DeprecationDetails field's value. +func (s *InsightCategorySpecificSummary) SetDeprecationDetails(v []*DeprecationDetail) *InsightCategorySpecificSummary { + s.DeprecationDetails = v + return s +} + +// Returns information about the resource being evaluated. +type InsightResourceDetail struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) if applicable. + Arn *string `locationName:"arn" type:"string"` + + // An object containing more detail on the status of the insight resource. + InsightStatus *InsightStatus `locationName:"insightStatus" type:"structure"` + + // The Kubernetes resource URI if applicable. + KubernetesResourceUri *string `locationName:"kubernetesResourceUri" type:"string"` +} + +// 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 InsightResourceDetail) 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 InsightResourceDetail) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *InsightResourceDetail) SetArn(v string) *InsightResourceDetail { + s.Arn = &v + return s +} + +// SetInsightStatus sets the InsightStatus field's value. +func (s *InsightResourceDetail) SetInsightStatus(v *InsightStatus) *InsightResourceDetail { + s.InsightStatus = v + return s +} + +// SetKubernetesResourceUri sets the KubernetesResourceUri field's value. +func (s *InsightResourceDetail) SetKubernetesResourceUri(v string) *InsightResourceDetail { + s.KubernetesResourceUri = &v + return s +} + +// The status of the insight. +type InsightStatus struct { + _ struct{} `type:"structure"` + + // Explanation on the reasoning for the status of the resource. + Reason *string `locationName:"reason" type:"string"` + + // The status of the resource. + Status *string `locationName:"status" type:"string" enum:"InsightStatusValue"` +} + +// 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 InsightStatus) 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 InsightStatus) GoString() string { + return s.String() +} + +// SetReason sets the Reason field's value. +func (s *InsightStatus) SetReason(v string) *InsightStatus { + s.Reason = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *InsightStatus) SetStatus(v string) *InsightStatus { + s.Status = &v + return s +} + +// The summarized description of the insight. +type InsightSummary struct { + _ struct{} `type:"structure"` + + // The category of the insight. + Category *string `locationName:"category" type:"string" enum:"Category"` + + // The description of the insight which includes alert criteria, remediation + // recommendation, and additional resources (contains Markdown). + Description *string `locationName:"description" type:"string"` + + // The ID of the insight. + Id *string `locationName:"id" type:"string"` + + // An object containing more detail on the status of the insight. + InsightStatus *InsightStatus `locationName:"insightStatus" type:"structure"` + + // The Kubernetes minor version associated with an insight if applicable. + KubernetesVersion *string `locationName:"kubernetesVersion" type:"string"` + + // The time Amazon EKS last successfully completed a refresh of this insight + // check on the cluster. + LastRefreshTime *time.Time `locationName:"lastRefreshTime" type:"timestamp"` + + // The time the status of the insight last changed. + LastTransitionTime *time.Time `locationName:"lastTransitionTime" type:"timestamp"` + + // The name of the insight. + Name *string `locationName:"name" type:"string"` +} + +// 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 InsightSummary) 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 InsightSummary) GoString() string { + return s.String() +} + +// SetCategory sets the Category field's value. +func (s *InsightSummary) SetCategory(v string) *InsightSummary { + s.Category = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *InsightSummary) SetDescription(v string) *InsightSummary { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *InsightSummary) SetId(v string) *InsightSummary { + s.Id = &v + return s +} + +// SetInsightStatus sets the InsightStatus field's value. +func (s *InsightSummary) SetInsightStatus(v *InsightStatus) *InsightSummary { + s.InsightStatus = v + return s +} + +// SetKubernetesVersion sets the KubernetesVersion field's value. +func (s *InsightSummary) SetKubernetesVersion(v string) *InsightSummary { + s.KubernetesVersion = &v + return s +} + +// SetLastRefreshTime sets the LastRefreshTime field's value. +func (s *InsightSummary) SetLastRefreshTime(v time.Time) *InsightSummary { + s.LastRefreshTime = &v + return s +} + +// SetLastTransitionTime sets the LastTransitionTime field's value. +func (s *InsightSummary) SetLastTransitionTime(v time.Time) *InsightSummary { + s.LastTransitionTime = &v + return s +} + +// SetName sets the Name field's value. +func (s *InsightSummary) SetName(v string) *InsightSummary { + s.Name = &v + return s +} + +// The criteria to use for the insights. +type InsightsFilter struct { + _ struct{} `type:"structure"` + + // The categories to use to filter insights. + Categories []*string `locationName:"categories" type:"list" enum:"Category"` + + // The Kubernetes versions to use to filter the insights. + KubernetesVersions []*string `locationName:"kubernetesVersions" type:"list"` + + // The statuses to use to filter the insights. + Statuses []*string `locationName:"statuses" type:"list" enum:"InsightStatusValue"` +} + +// 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 InsightsFilter) 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 InsightsFilter) GoString() string { + return s.String() +} + +// SetCategories sets the Categories field's value. +func (s *InsightsFilter) SetCategories(v []*string) *InsightsFilter { + s.Categories = v + return s +} + +// SetKubernetesVersions sets the KubernetesVersions field's value. +func (s *InsightsFilter) SetKubernetesVersions(v []*string) *InsightsFilter { + s.KubernetesVersions = v + return s +} + +// SetStatuses sets the Statuses field's value. +func (s *InsightsFilter) SetStatuses(v []*string) *InsightsFilter { + s.Statuses = v + return s +} + // The specified parameter is invalid. Review the available parameters for the // API request. type InvalidParameterException struct { @@ -13675,6 +14553,9 @@ type ListIdentityProviderConfigsOutput struct { // request. When the results of a ListIdentityProviderConfigsResponse request // exceed maxResults, you can use this value to retrieve the next page of results. // This value is null when there are no more results to return. + // + // This token should be treated as an opaque identifier that is used only to + // retrieve the next items in a list and not for other programmatic purposes. NextToken *string `locationName:"nextToken" type:"string"` } @@ -13708,6 +14589,139 @@ func (s *ListIdentityProviderConfigsOutput) SetNextToken(v string) *ListIdentity return s } +type ListInsightsInput struct { + _ struct{} `type:"structure"` + + // The name of the Amazon EKS cluster associated with the insights. + // + // ClusterName is a required field + ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` + + // The criteria to filter your list of insights for your cluster. You can filter + // which insights are returned by category, associated Kubernetes version, and + // status. + Filter *InsightsFilter `locationName:"filter" type:"structure"` + + // The maximum number of identity provider configurations returned by ListInsights + // in paginated output. When you use this parameter, ListInsights returns only + // maxResults results in a single page along with a nextToken response element. + // You can see the remaining results of the initial request by sending another + // ListInsights request with the returned nextToken value. This value can be + // between 1 and 100. If you don't use this parameter, ListInsights returns + // up to 100 results and a nextToken value, if applicable. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The nextToken value returned from a previous paginated ListInsights request. + // When the results of a ListInsights request exceed maxResults, you can use + // this value to retrieve the next page of results. This value is null when + // there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// 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 ListInsightsInput) 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 ListInsightsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListInsightsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListInsightsInput"} + if s.ClusterName == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterName")) + } + if s.ClusterName != nil && len(*s.ClusterName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClusterName sets the ClusterName field's value. +func (s *ListInsightsInput) SetClusterName(v string) *ListInsightsInput { + s.ClusterName = &v + return s +} + +// SetFilter sets the Filter field's value. +func (s *ListInsightsInput) SetFilter(v *InsightsFilter) *ListInsightsInput { + s.Filter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListInsightsInput) SetMaxResults(v int64) *ListInsightsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInsightsInput) SetNextToken(v string) *ListInsightsInput { + s.NextToken = &v + return s +} + +type ListInsightsOutput struct { + _ struct{} `type:"structure"` + + // The returned list of insights. + Insights []*InsightSummary `locationName:"insights" type:"list"` + + // The nextToken value to include in a future ListInsights request. When the + // results of a ListInsights request exceed maxResults, you can use this value + // to retrieve the next page of results. This value is null when there are no + // more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// 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 ListInsightsOutput) 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 ListInsightsOutput) GoString() string { + return s.String() +} + +// SetInsights sets the Insights field's value. +func (s *ListInsightsOutput) SetInsights(v []*InsightSummary) *ListInsightsOutput { + s.Insights = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListInsightsOutput) SetNextToken(v string) *ListInsightsOutput { + s.NextToken = &v + return s +} + type ListNodegroupsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -18285,6 +19299,18 @@ func CapacityTypes_Values() []string { } } +const ( + // CategoryUpgradeReadiness is a Category enum value + CategoryUpgradeReadiness = "UPGRADE_READINESS" +) + +// Category_Values returns all elements of the Category enum +func Category_Values() []string { + return []string{ + CategoryUpgradeReadiness, + } +} + const ( // ClusterIssueCodeAccessDenied is a ClusterIssueCode enum value ClusterIssueCodeAccessDenied = "AccessDenied" @@ -18625,6 +19651,30 @@ func FargateProfileStatus_Values() []string { } } +const ( + // InsightStatusValuePassing is a InsightStatusValue enum value + InsightStatusValuePassing = "PASSING" + + // InsightStatusValueWarning is a InsightStatusValue enum value + InsightStatusValueWarning = "WARNING" + + // InsightStatusValueError is a InsightStatusValue enum value + InsightStatusValueError = "ERROR" + + // InsightStatusValueUnknown is a InsightStatusValue enum value + InsightStatusValueUnknown = "UNKNOWN" +) + +// InsightStatusValue_Values returns all elements of the InsightStatusValue enum +func InsightStatusValue_Values() []string { + return []string{ + InsightStatusValuePassing, + InsightStatusValueWarning, + InsightStatusValueError, + InsightStatusValueUnknown, + } +} + const ( // IpFamilyIpv4 is a IpFamily enum value IpFamilyIpv4 = "ipv4" diff --git a/service/eks/eksiface/interface.go b/service/eks/eksiface/interface.go index 283f5ffcc26..fc373fe0b72 100644 --- a/service/eks/eksiface/interface.go +++ b/service/eks/eksiface/interface.go @@ -167,6 +167,10 @@ type EKSAPI interface { DescribeIdentityProviderConfigWithContext(aws.Context, *eks.DescribeIdentityProviderConfigInput, ...request.Option) (*eks.DescribeIdentityProviderConfigOutput, error) DescribeIdentityProviderConfigRequest(*eks.DescribeIdentityProviderConfigInput) (*request.Request, *eks.DescribeIdentityProviderConfigOutput) + DescribeInsight(*eks.DescribeInsightInput) (*eks.DescribeInsightOutput, error) + DescribeInsightWithContext(aws.Context, *eks.DescribeInsightInput, ...request.Option) (*eks.DescribeInsightOutput, error) + DescribeInsightRequest(*eks.DescribeInsightInput) (*request.Request, *eks.DescribeInsightOutput) + DescribeNodegroup(*eks.DescribeNodegroupInput) (*eks.DescribeNodegroupOutput, error) DescribeNodegroupWithContext(aws.Context, *eks.DescribeNodegroupInput, ...request.Option) (*eks.DescribeNodegroupOutput, error) DescribeNodegroupRequest(*eks.DescribeNodegroupInput) (*request.Request, *eks.DescribeNodegroupOutput) @@ -243,6 +247,13 @@ type EKSAPI interface { ListIdentityProviderConfigsPages(*eks.ListIdentityProviderConfigsInput, func(*eks.ListIdentityProviderConfigsOutput, bool) bool) error ListIdentityProviderConfigsPagesWithContext(aws.Context, *eks.ListIdentityProviderConfigsInput, func(*eks.ListIdentityProviderConfigsOutput, bool) bool, ...request.Option) error + ListInsights(*eks.ListInsightsInput) (*eks.ListInsightsOutput, error) + ListInsightsWithContext(aws.Context, *eks.ListInsightsInput, ...request.Option) (*eks.ListInsightsOutput, error) + ListInsightsRequest(*eks.ListInsightsInput) (*request.Request, *eks.ListInsightsOutput) + + ListInsightsPages(*eks.ListInsightsInput, func(*eks.ListInsightsOutput, bool) bool) error + ListInsightsPagesWithContext(aws.Context, *eks.ListInsightsInput, func(*eks.ListInsightsOutput, bool) bool, ...request.Option) error + ListNodegroups(*eks.ListNodegroupsInput) (*eks.ListNodegroupsOutput, error) ListNodegroupsWithContext(aws.Context, *eks.ListNodegroupsInput, ...request.Option) (*eks.ListNodegroupsOutput, error) ListNodegroupsRequest(*eks.ListNodegroupsInput) (*request.Request, *eks.ListNodegroupsOutput) diff --git a/service/guardduty/api.go b/service/guardduty/api.go index d8323b6b863..722715de6a4 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -588,6 +588,12 @@ func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *reques // administrator account. A delegated administrator must enable GuardDuty prior // to being added as a member. // +// When you use CreateMembers as an Organizations delegated administrator, GuardDuty +// applies your organization's auto-enable settings to the member accounts in +// this request, irrespective of the accounts being new or existing members. +// For more information about the existing auto-enable settings for your organization, +// see DescribeOrganizationConfiguration (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DescribeOrganizationConfiguration.html). +// // If you are adding accounts by invitation, before using InviteMembers (https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html), // use CreateMembers after GuardDuty has been enabled in potential member accounts. // @@ -2525,8 +2531,8 @@ func (c *GuardDuty) GetCoverageStatisticsRequest(input *GetCoverageStatisticsInp // // Retrieves aggregated statistics for your account. If you are a GuardDuty // administrator, you can retrieve the statistics for all the resources associated -// with the active member accounts in your organization who have enabled EKS -// Runtime Monitoring and have the GuardDuty agent running on their EKS nodes. +// with the active member accounts in your organization who have enabled Runtime +// Monitoring and have the GuardDuty security agent running on their resources. // // 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 @@ -3409,6 +3415,93 @@ func (c *GuardDuty) GetMembersWithContext(ctx aws.Context, input *GetMembersInpu return out, req.Send() } +const opGetOrganizationStatistics = "GetOrganizationStatistics" + +// GetOrganizationStatisticsRequest generates a "aws/request.Request" representing the +// client's request for the GetOrganizationStatistics operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetOrganizationStatistics for more information on using the GetOrganizationStatistics +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetOrganizationStatisticsRequest method. +// req, resp := client.GetOrganizationStatisticsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetOrganizationStatistics +func (c *GuardDuty) GetOrganizationStatisticsRequest(input *GetOrganizationStatisticsInput) (req *request.Request, output *GetOrganizationStatisticsOutput) { + op := &request.Operation{ + Name: opGetOrganizationStatistics, + HTTPMethod: "GET", + HTTPPath: "/organization/statistics", + } + + if input == nil { + input = &GetOrganizationStatisticsInput{} + } + + output = &GetOrganizationStatisticsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetOrganizationStatistics API operation for Amazon GuardDuty. +// +// Retrieves how many active member accounts in your Amazon Web Services organization +// have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator +// of an organization can run this API. +// +// When you create a new Amazon Web Services organization, it might take up +// to 24 hours to generate the statistics for the entire organization. +// +// 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 +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation GetOrganizationStatistics for usage and error information. +// +// Returned Error Types: +// +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetOrganizationStatistics +func (c *GuardDuty) GetOrganizationStatistics(input *GetOrganizationStatisticsInput) (*GetOrganizationStatisticsOutput, error) { + req, out := c.GetOrganizationStatisticsRequest(input) + return out, req.Send() +} + +// GetOrganizationStatisticsWithContext is the same as GetOrganizationStatistics with the addition of +// the ability to pass a context and additional request options. +// +// See GetOrganizationStatistics for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) GetOrganizationStatisticsWithContext(ctx aws.Context, input *GetOrganizationStatisticsInput, opts ...request.Option) (*GetOrganizationStatisticsOutput, error) { + req, out := c.GetOrganizationStatisticsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetRemainingFreeTrialDays = "GetRemainingFreeTrialDays" // GetRemainingFreeTrialDaysRequest generates a "aws/request.Request" representing the @@ -3875,8 +3968,8 @@ func (c *GuardDuty) ListCoverageRequest(input *ListCoverageInput) (req *request. // administrator, you can retrieve all resources associated with the active // member accounts in your organization. // -// Make sure the accounts have EKS Runtime Monitoring enabled and GuardDuty -// agent running on their EKS nodes. +// Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent +// running on their resources. // // 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 @@ -8408,6 +8501,8 @@ func (s *Country) SetCountryName(v string) *Country { // This API is also used when you use GuardDuty Runtime Monitoring for your // Amazon EC2 instances (currently in preview release) and is subject to change. +// The use of this API is subject to Section 2 of the Amazon Web Services Service +// Terms (http://aws.amazon.com/service-terms/) ("Betas and Previews"). // // Contains information about the Amazon EC2 instance runtime coverage details. type CoverageEc2InstanceDetails struct { @@ -8434,7 +8529,7 @@ type CoverageEc2InstanceDetails struct { // the GuardDuty security agent updates for this resource. // // The DISABLED status doesn't apply to Amazon EC2 instances and Amazon EKS - // clusters that run on Amazon EC2 instances. + // clusters. ManagementType *string `locationName:"managementType" type:"string" enum:"ManagementType"` } @@ -8827,6 +8922,8 @@ type CoverageResourceDetails struct { // // This API is also used when you use GuardDuty Runtime Monitoring for your // Amazon EC2 instances (currently in preview release) and is subject to change. + // The use of this API is subject to Section 2 of the Amazon Web Services Service + // Terms (http://aws.amazon.com/service-terms/) ("Betas and Previews"). // // Information about the Amazon EC2 instance assessed for runtime coverage. Ec2InstanceDetails *CoverageEc2InstanceDetails `locationName:"ec2InstanceDetails" type:"structure"` @@ -12944,12 +13041,13 @@ func (s *Evidence) SetThreatIntelligenceDetails(v []*ThreatIntelligenceDetail) * return s } -// Contains information about AWS Fargate details associated with an Amazon -// ECS cluster. +// Contains information about Amazon Web Services Fargate details associated +// with an Amazon ECS cluster. type FargateDetails struct { _ struct{} `type:"structure"` - // Runtime coverage issues identified for the resource running on AWS Fargate. + // Runtime coverage issues identified for the resource running on Amazon Web + // Services Fargate. Issues []*string `locationName:"issues" type:"list"` // Indicates how the GuardDuty security agent is managed for this resource. @@ -12957,11 +13055,11 @@ type FargateDetails struct { // * AUTO_MANAGED indicates that GuardDuty deploys and manages updates for // this resource. // - // * MANUAL indicates that you are responsible to deploy, update, and manage - // the GuardDuty security agent updates for this resource. - // // * DISABLED indicates that the deployment of the GuardDuty security agent // is disabled for this resource. + // + // The MANUAL status doesn't apply to the Amazon Web Services Fargate (Amazon + // ECS only) woprkloads. ManagementType *string `locationName:"managementType" type:"string" enum:"ManagementType"` } @@ -14824,6 +14922,59 @@ func (s *GetMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *GetM return s } +type GetOrganizationStatisticsInput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// 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 GetOrganizationStatisticsInput) 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 GetOrganizationStatisticsInput) GoString() string { + return s.String() +} + +type GetOrganizationStatisticsOutput struct { + _ struct{} `type:"structure"` + + // Information about the statistics report for your organization. + OrganizationDetails *OrganizationDetails `locationName:"organizationDetails" type:"structure"` +} + +// 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 GetOrganizationStatisticsOutput) 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 GetOrganizationStatisticsOutput) GoString() string { + return s.String() +} + +// SetOrganizationDetails sets the OrganizationDetails field's value. +func (s *GetOrganizationStatisticsOutput) SetOrganizationDetails(v *OrganizationDetails) *GetOrganizationStatisticsOutput { + s.OrganizationDetails = v + return s +} + type GetRemainingFreeTrialDaysInput struct { _ struct{} `type:"structure"` @@ -19270,6 +19421,50 @@ func (s *OrganizationDataSourceConfigurationsResult) SetS3Logs(v *OrganizationS3 return s } +// Information about GuardDuty coverage statistics for members in your Amazon +// Web Services organization. +type OrganizationDetails struct { + _ struct{} `type:"structure"` + + // Information about the GuardDuty coverage statistics for members in your Amazon + // Web Services organization. + OrganizationStatistics *OrganizationStatistics `locationName:"organizationStatistics" type:"structure"` + + // The timestamp at which the organization statistics was last updated. This + // is in UTC format. + UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` +} + +// 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 OrganizationDetails) 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 OrganizationDetails) GoString() string { + return s.String() +} + +// SetOrganizationStatistics sets the OrganizationStatistics field's value. +func (s *OrganizationDetails) SetOrganizationStatistics(v *OrganizationStatistics) *OrganizationDetails { + s.OrganizationStatistics = v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *OrganizationDetails) SetUpdatedAt(v time.Time) *OrganizationDetails { + s.UpdatedAt = &v + return s +} + // Organization-wide EBS volumes scan configuration. type OrganizationEbsVolumes struct { _ struct{} `type:"structure"` @@ -19467,6 +19662,98 @@ func (s *OrganizationFeatureConfigurationResult) SetName(v string) *Organization return s } +// Information about the number of accounts that have enabled a specific feature. +type OrganizationFeatureStatistics struct { + _ struct{} `type:"structure"` + + // Name of the additional configuration. + AdditionalConfiguration []*OrganizationFeatureStatisticsAdditionalConfiguration `locationName:"additionalConfiguration" type:"list"` + + // Total number of accounts that have enabled a specific feature. + EnabledAccountsCount *int64 `locationName:"enabledAccountsCount" type:"integer"` + + // Name of the feature. + Name *string `locationName:"name" type:"string" enum:"OrgFeature"` +} + +// 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 OrganizationFeatureStatistics) 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 OrganizationFeatureStatistics) GoString() string { + return s.String() +} + +// SetAdditionalConfiguration sets the AdditionalConfiguration field's value. +func (s *OrganizationFeatureStatistics) SetAdditionalConfiguration(v []*OrganizationFeatureStatisticsAdditionalConfiguration) *OrganizationFeatureStatistics { + s.AdditionalConfiguration = v + return s +} + +// SetEnabledAccountsCount sets the EnabledAccountsCount field's value. +func (s *OrganizationFeatureStatistics) SetEnabledAccountsCount(v int64) *OrganizationFeatureStatistics { + s.EnabledAccountsCount = &v + return s +} + +// SetName sets the Name field's value. +func (s *OrganizationFeatureStatistics) SetName(v string) *OrganizationFeatureStatistics { + s.Name = &v + return s +} + +// Information about the coverage statistic for the additional configuration +// of the feature. +type OrganizationFeatureStatisticsAdditionalConfiguration struct { + _ struct{} `type:"structure"` + + // Total number of accounts that have enabled the additional configuration. + EnabledAccountsCount *int64 `locationName:"enabledAccountsCount" type:"integer"` + + // Name of the additional configuration within a feature. + Name *string `locationName:"name" type:"string" enum:"OrgFeatureAdditionalConfiguration"` +} + +// 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 OrganizationFeatureStatisticsAdditionalConfiguration) 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 OrganizationFeatureStatisticsAdditionalConfiguration) GoString() string { + return s.String() +} + +// SetEnabledAccountsCount sets the EnabledAccountsCount field's value. +func (s *OrganizationFeatureStatisticsAdditionalConfiguration) SetEnabledAccountsCount(v int64) *OrganizationFeatureStatisticsAdditionalConfiguration { + s.EnabledAccountsCount = &v + return s +} + +// SetName sets the Name field's value. +func (s *OrganizationFeatureStatisticsAdditionalConfiguration) SetName(v string) *OrganizationFeatureStatisticsAdditionalConfiguration { + s.Name = &v + return s +} + // Organization-wide Kubernetes audit logs configuration. type OrganizationKubernetesAuditLogsConfiguration struct { _ struct{} `type:"structure"` @@ -19857,6 +20144,80 @@ func (s *OrganizationScanEc2InstanceWithFindingsResult) SetEbsVolumes(v *Organiz return s } +// Information about the coverage statistics of the features for the entire +// Amazon Web Services organization. +// +// When you create a new Amazon Web Services organization, it might take up +// to 24 hours to generate the statistics summary for this organization. +type OrganizationStatistics struct { + _ struct{} `type:"structure"` + + // Total number of active accounts in your Amazon Web Services organization + // that are associated with GuardDuty. + ActiveAccountsCount *int64 `locationName:"activeAccountsCount" type:"integer"` + + // Retrieves the coverage statistics for each feature. + CountByFeature []*OrganizationFeatureStatistics `locationName:"countByFeature" type:"list"` + + // Total number of accounts that have enabled GuardDuty. + EnabledAccountsCount *int64 `locationName:"enabledAccountsCount" type:"integer"` + + // Total number of accounts in your Amazon Web Services organization that are + // associated with GuardDuty. + MemberAccountsCount *int64 `locationName:"memberAccountsCount" type:"integer"` + + // Total number of accounts in your Amazon Web Services organization. + TotalAccountsCount *int64 `locationName:"totalAccountsCount" type:"integer"` +} + +// 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 OrganizationStatistics) 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 OrganizationStatistics) GoString() string { + return s.String() +} + +// SetActiveAccountsCount sets the ActiveAccountsCount field's value. +func (s *OrganizationStatistics) SetActiveAccountsCount(v int64) *OrganizationStatistics { + s.ActiveAccountsCount = &v + return s +} + +// SetCountByFeature sets the CountByFeature field's value. +func (s *OrganizationStatistics) SetCountByFeature(v []*OrganizationFeatureStatistics) *OrganizationStatistics { + s.CountByFeature = v + return s +} + +// SetEnabledAccountsCount sets the EnabledAccountsCount field's value. +func (s *OrganizationStatistics) SetEnabledAccountsCount(v int64) *OrganizationStatistics { + s.EnabledAccountsCount = &v + return s +} + +// SetMemberAccountsCount sets the MemberAccountsCount field's value. +func (s *OrganizationStatistics) SetMemberAccountsCount(v int64) *OrganizationStatistics { + s.MemberAccountsCount = &v + return s +} + +// SetTotalAccountsCount sets the TotalAccountsCount field's value. +func (s *OrganizationStatistics) SetTotalAccountsCount(v int64) *OrganizationStatistics { + s.TotalAccountsCount = &v + return s +} + // Contains information on the owner of the bucket. type Owner struct { _ struct{} `type:"structure"` @@ -24451,6 +24812,12 @@ type UsageStatistics struct { // The usage statistic sum organized by resource. SumByResource []*UsageResourceResult `locationName:"sumByResource" type:"list"` + // Lists the top 50 accounts by feature that have generated the most GuardDuty + // usage, in the order from most to least expensive. + // + // Currently, this doesn't support RDS_LOGIN_EVENTS. + TopAccountsByFeature []*UsageTopAccountsResult `locationName:"topAccountsByFeature" type:"list"` + // Lists the top 50 resources that have generated the most GuardDuty usage, // in order from most to least expensive. TopResources []*UsageResourceResult `locationName:"topResources" type:"list"` @@ -24498,12 +24865,103 @@ func (s *UsageStatistics) SetSumByResource(v []*UsageResourceResult) *UsageStati return s } +// SetTopAccountsByFeature sets the TopAccountsByFeature field's value. +func (s *UsageStatistics) SetTopAccountsByFeature(v []*UsageTopAccountsResult) *UsageStatistics { + s.TopAccountsByFeature = v + return s +} + // SetTopResources sets the TopResources field's value. func (s *UsageStatistics) SetTopResources(v []*UsageResourceResult) *UsageStatistics { s.TopResources = v return s } +// Contains information on the total of usage based on the topmost 50 account +// IDs. +type UsageTopAccountResult struct { + _ struct{} `type:"structure"` + + // The unique account ID. + AccountId *string `locationName:"accountId" min:"12" type:"string"` + + // Contains the total usage with the corresponding currency unit for that value. + Total *Total `locationName:"total" type:"structure"` +} + +// 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 UsageTopAccountResult) 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 UsageTopAccountResult) GoString() string { + return s.String() +} + +// SetAccountId sets the AccountId field's value. +func (s *UsageTopAccountResult) SetAccountId(v string) *UsageTopAccountResult { + s.AccountId = &v + return s +} + +// SetTotal sets the Total field's value. +func (s *UsageTopAccountResult) SetTotal(v *Total) *UsageTopAccountResult { + s.Total = v + return s +} + +// Information about the usage statistics, calculated by top accounts by feature. +type UsageTopAccountsResult struct { + _ struct{} `type:"structure"` + + // The accounts that contributed to the total usage cost. + Accounts []*UsageTopAccountResult `locationName:"accounts" type:"list"` + + // Features by which you can generate the usage statistics. + // + // RDS_LOGIN_EVENTS is currently not supported with topAccountsByFeature. + Feature *string `locationName:"feature" type:"string" enum:"UsageFeature"` +} + +// 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 UsageTopAccountsResult) 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 UsageTopAccountsResult) GoString() string { + return s.String() +} + +// SetAccounts sets the Accounts field's value. +func (s *UsageTopAccountsResult) SetAccounts(v []*UsageTopAccountResult) *UsageTopAccountsResult { + s.Accounts = v + return s +} + +// SetFeature sets the Feature field's value. +func (s *UsageTopAccountsResult) SetFeature(v string) *UsageTopAccountsResult { + s.Feature = &v + return s +} + // Volume used by the Kubernetes workload. type Volume struct { _ struct{} `type:"structure"` @@ -25709,6 +26167,9 @@ const ( // UsageStatisticTypeSumByFeatures is a UsageStatisticType enum value UsageStatisticTypeSumByFeatures = "SUM_BY_FEATURES" + + // UsageStatisticTypeTopAccountsByFeature is a UsageStatisticType enum value + UsageStatisticTypeTopAccountsByFeature = "TOP_ACCOUNTS_BY_FEATURE" ) // UsageStatisticType_Values returns all elements of the UsageStatisticType enum @@ -25719,5 +26180,6 @@ func UsageStatisticType_Values() []string { UsageStatisticTypeSumByResource, UsageStatisticTypeTopResources, UsageStatisticTypeSumByFeatures, + UsageStatisticTypeTopAccountsByFeature, } } diff --git a/service/guardduty/guarddutyiface/interface.go b/service/guardduty/guarddutyiface/interface.go index b7c1c75242e..cd842f27fce 100644 --- a/service/guardduty/guarddutyiface/interface.go +++ b/service/guardduty/guarddutyiface/interface.go @@ -218,6 +218,10 @@ type GuardDutyAPI interface { GetMembersWithContext(aws.Context, *guardduty.GetMembersInput, ...request.Option) (*guardduty.GetMembersOutput, error) GetMembersRequest(*guardduty.GetMembersInput) (*request.Request, *guardduty.GetMembersOutput) + GetOrganizationStatistics(*guardduty.GetOrganizationStatisticsInput) (*guardduty.GetOrganizationStatisticsOutput, error) + GetOrganizationStatisticsWithContext(aws.Context, *guardduty.GetOrganizationStatisticsInput, ...request.Option) (*guardduty.GetOrganizationStatisticsOutput, error) + GetOrganizationStatisticsRequest(*guardduty.GetOrganizationStatisticsInput) (*request.Request, *guardduty.GetOrganizationStatisticsOutput) + GetRemainingFreeTrialDays(*guardduty.GetRemainingFreeTrialDaysInput) (*guardduty.GetRemainingFreeTrialDaysOutput, error) GetRemainingFreeTrialDaysWithContext(aws.Context, *guardduty.GetRemainingFreeTrialDaysInput, ...request.Option) (*guardduty.GetRemainingFreeTrialDaysOutput, error) GetRemainingFreeTrialDaysRequest(*guardduty.GetRemainingFreeTrialDaysInput) (*request.Request, *guardduty.GetRemainingFreeTrialDaysOutput) diff --git a/service/managedblockchainquery/api.go b/service/managedblockchainquery/api.go index a4fb290b2fd..53824e208ab 100644 --- a/service/managedblockchainquery/api.go +++ b/service/managedblockchainquery/api.go @@ -3311,6 +3311,9 @@ type Transaction struct { // The block number in which the transaction is recorded. BlockNumber *string `locationName:"blockNumber" type:"string"` + // Specifies whether the transaction has reached Finality. + ConfirmationStatus *string `locationName:"confirmationStatus" type:"string" enum:"ConfirmationStatus"` + // The blockchain address for the contract. ContractAddress *string `locationName:"contractAddress" type:"string"` @@ -3320,6 +3323,9 @@ type Transaction struct { // The effective gas price. EffectiveGasPrice *string `locationName:"effectiveGasPrice" type:"string"` + // Identifies whether the transaction has succeeded or failed. + ExecutionStatus *string `locationName:"executionStatus" type:"string" enum:"ExecutionStatus"` + // The initiator of the transaction. It is either in the form a public key or // a contract address. From *string `locationName:"from" type:"string"` @@ -3348,8 +3354,18 @@ type Transaction struct { // The status of the transaction. // - // Status is a required field - Status *string `locationName:"status" type:"string" required:"true" enum:"QueryTransactionStatus"` + // This property is deprecated. You must use the confirmationStatus and the + // executionStatus properties to determine if the status of the transaction + // is FINAL or FAILED. + // + // * Transactions with a status of FINAL will now have the confirmationStatus + // set to FINAL and the executionStatus set to SUCCEEDED. + // + // * Transactions with a status of FAILED will now have the confirmationStatus + // set to FINAL and the executionStatus set to FAILED. + // + // Deprecated: The status field in the GetTransaction response is deprecated and is replaced with the confirmationStatus and executionStatus fields. + Status *string `locationName:"status" deprecated:"true" type:"string" enum:"QueryTransactionStatus"` // The identifier of the transaction. It is generated whenever a transaction // is verified and added to the blockchain. @@ -3411,6 +3427,12 @@ func (s *Transaction) SetBlockNumber(v string) *Transaction { return s } +// SetConfirmationStatus sets the ConfirmationStatus field's value. +func (s *Transaction) SetConfirmationStatus(v string) *Transaction { + s.ConfirmationStatus = &v + return s +} + // SetContractAddress sets the ContractAddress field's value. func (s *Transaction) SetContractAddress(v string) *Transaction { s.ContractAddress = &v @@ -3429,6 +3451,12 @@ func (s *Transaction) SetEffectiveGasPrice(v string) *Transaction { return s } +// SetExecutionStatus sets the ExecutionStatus field's value. +func (s *Transaction) SetExecutionStatus(v string) *Transaction { + s.ExecutionStatus = &v + return s +} + // SetFrom sets the From field's value. func (s *Transaction) SetFrom(v string) *Transaction { s.From = &v @@ -3811,6 +3839,18 @@ func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField { return s } +const ( + // ConfirmationStatusFinal is a ConfirmationStatus enum value + ConfirmationStatusFinal = "FINAL" +) + +// ConfirmationStatus_Values returns all elements of the ConfirmationStatus enum +func ConfirmationStatus_Values() []string { + return []string{ + ConfirmationStatusFinal, + } +} + const ( // ErrorTypeValidationException is a ErrorType enum value ErrorTypeValidationException = "VALIDATION_EXCEPTION" @@ -3827,6 +3867,22 @@ func ErrorType_Values() []string { } } +const ( + // ExecutionStatusFailed is a ExecutionStatus enum value + ExecutionStatusFailed = "FAILED" + + // ExecutionStatusSucceeded is a ExecutionStatus enum value + ExecutionStatusSucceeded = "SUCCEEDED" +) + +// ExecutionStatus_Values returns all elements of the ExecutionStatus enum +func ExecutionStatus_Values() []string { + return []string{ + ExecutionStatusFailed, + ExecutionStatusSucceeded, + } +} + const ( // ListTransactionsSortByTransactionTimestamp is a ListTransactionsSortBy enum value ListTransactionsSortByTransactionTimestamp = "TRANSACTION_TIMESTAMP" @@ -3843,23 +3899,23 @@ const ( // QueryNetworkEthereumMainnet is a QueryNetwork enum value QueryNetworkEthereumMainnet = "ETHEREUM_MAINNET" + // QueryNetworkEthereumSepoliaTestnet is a QueryNetwork enum value + QueryNetworkEthereumSepoliaTestnet = "ETHEREUM_SEPOLIA_TESTNET" + // QueryNetworkBitcoinMainnet is a QueryNetwork enum value QueryNetworkBitcoinMainnet = "BITCOIN_MAINNET" // QueryNetworkBitcoinTestnet is a QueryNetwork enum value QueryNetworkBitcoinTestnet = "BITCOIN_TESTNET" - - // QueryNetworkEthereumSepoliaTestnet is a QueryNetwork enum value - QueryNetworkEthereumSepoliaTestnet = "ETHEREUM_SEPOLIA_TESTNET" ) // QueryNetwork_Values returns all elements of the QueryNetwork enum func QueryNetwork_Values() []string { return []string{ QueryNetworkEthereumMainnet, + QueryNetworkEthereumSepoliaTestnet, QueryNetworkBitcoinMainnet, QueryNetworkBitcoinTestnet, - QueryNetworkEthereumSepoliaTestnet, } } diff --git a/service/mediatailor/api.go b/service/mediatailor/api.go index 16354b2574c..b1cd3b0b1f6 100644 --- a/service/mediatailor/api.go +++ b/service/mediatailor/api.go @@ -4884,6 +4884,9 @@ type CreateChannelInput struct { // The tier of the channel. Tier *string `type:"string" enum:"Tier"` + + // The time-shifted viewing configuration you want to associate to the channel. + TimeShiftConfiguration *TimeShiftConfiguration `type:"structure"` } // String returns the string representation. @@ -4929,6 +4932,11 @@ func (s *CreateChannelInput) Validate() error { } } } + if s.TimeShiftConfiguration != nil { + if err := s.TimeShiftConfiguration.Validate(); err != nil { + invalidParams.AddNested("TimeShiftConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4972,6 +4980,12 @@ func (s *CreateChannelInput) SetTier(v string) *CreateChannelInput { return s } +// SetTimeShiftConfiguration sets the TimeShiftConfiguration field's value. +func (s *CreateChannelInput) SetTimeShiftConfiguration(v *TimeShiftConfiguration) *CreateChannelInput { + s.TimeShiftConfiguration = v + return s +} + type CreateChannelOutput struct { _ struct{} `type:"structure"` @@ -5008,6 +5022,9 @@ type CreateChannelOutput struct { // The tier of the channel. Tier *string `type:"string"` + + // The time-shifted viewing configuration assigned to the channel. + TimeShiftConfiguration *TimeShiftConfiguration `type:"structure"` } // String returns the string representation. @@ -5088,6 +5105,12 @@ func (s *CreateChannelOutput) SetTier(v string) *CreateChannelOutput { return s } +// SetTimeShiftConfiguration sets the TimeShiftConfiguration field's value. +func (s *CreateChannelOutput) SetTimeShiftConfiguration(v *TimeShiftConfiguration) *CreateChannelOutput { + s.TimeShiftConfiguration = v + return s +} + type CreateLiveSourceInput struct { _ struct{} `type:"structure"` @@ -7093,6 +7116,9 @@ type DescribeChannelOutput struct { // The channel's tier. Tier *string `type:"string"` + + // The time-shifted viewing configuration for the channel. + TimeShiftConfiguration *TimeShiftConfiguration `type:"structure"` } // String returns the string representation. @@ -7179,6 +7205,12 @@ func (s *DescribeChannelOutput) SetTier(v string) *DescribeChannelOutput { return s } +// SetTimeShiftConfiguration sets the TimeShiftConfiguration field's value. +func (s *DescribeChannelOutput) SetTimeShiftConfiguration(v *TimeShiftConfiguration) *DescribeChannelOutput { + s.TimeShiftConfiguration = v + return s +} + type DescribeLiveSourceInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -11910,6 +11942,55 @@ func (s TagResourceOutput) GoString() string { return s.String() } +// The configuration for time-shifted viewing. +type TimeShiftConfiguration struct { + _ struct{} `type:"structure"` + + // The maximum time delay for time-shifted viewing. The minimum allowed maximum + // time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 + // seconds (6 hours). + // + // MaxTimeDelaySeconds is a required field + MaxTimeDelaySeconds *int64 `type:"integer" required:"true"` +} + +// 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 TimeShiftConfiguration) 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 TimeShiftConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TimeShiftConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TimeShiftConfiguration"} + if s.MaxTimeDelaySeconds == nil { + invalidParams.Add(request.NewErrParamRequired("MaxTimeDelaySeconds")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxTimeDelaySeconds sets the MaxTimeDelaySeconds field's value. +func (s *TimeShiftConfiguration) SetMaxTimeDelaySeconds(v int64) *TimeShiftConfiguration { + s.MaxTimeDelaySeconds = &v + return s +} + // The SCTE-35 time_signal message can be sent with one or more segmentation_descriptor // messages. A time_signal message can be sent only if a single segmentation_descriptor // message is sent. @@ -12159,6 +12240,9 @@ type UpdateChannelInput struct { // // Outputs is a required field Outputs []*RequestOutputItem `type:"list" required:"true"` + + // The time-shifted viewing configuration you want to associate to the channel. + TimeShiftConfiguration *TimeShiftConfiguration `type:"structure"` } // String returns the string representation. @@ -12201,6 +12285,11 @@ func (s *UpdateChannelInput) Validate() error { } } } + if s.TimeShiftConfiguration != nil { + if err := s.TimeShiftConfiguration.Validate(); err != nil { + invalidParams.AddNested("TimeShiftConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -12226,6 +12315,12 @@ func (s *UpdateChannelInput) SetOutputs(v []*RequestOutputItem) *UpdateChannelIn return s } +// SetTimeShiftConfiguration sets the TimeShiftConfiguration field's value. +func (s *UpdateChannelInput) SetTimeShiftConfiguration(v *TimeShiftConfiguration) *UpdateChannelInput { + s.TimeShiftConfiguration = v + return s +} + type UpdateChannelOutput struct { _ struct{} `type:"structure"` @@ -12268,6 +12363,9 @@ type UpdateChannelOutput struct { // The tier associated with this Channel. Tier *string `type:"string"` + + // The time-shifted viewing configuration for the channel. + TimeShiftConfiguration *TimeShiftConfiguration `type:"structure"` } // String returns the string representation. @@ -12348,6 +12446,12 @@ func (s *UpdateChannelOutput) SetTier(v string) *UpdateChannelOutput { return s } +// SetTimeShiftConfiguration sets the TimeShiftConfiguration field's value. +func (s *UpdateChannelOutput) SetTimeShiftConfiguration(v *TimeShiftConfiguration) *UpdateChannelOutput { + s.TimeShiftConfiguration = v + return s +} + type UpdateLiveSourceInput struct { _ struct{} `type:"structure"` diff --git a/service/route53/api.go b/service/route53/api.go index c7e98c2c3d7..af72699ef9e 100644 --- a/service/route53/api.go +++ b/service/route53/api.go @@ -18342,11 +18342,6 @@ type ResourceRecordSet struct { // You can't use the * wildcard for resource records sets that have a type // of NS. // - // You can use the * wildcard as the leftmost label in a domain name, for example, - // *.example.com. You can't use an * for one of the middle labels, for example, - // marketing.*.example.com. In addition, the * must replace the entire label; - // for example, you can't specify prod*.example.com. - // // Name is a required field Name *string `type:"string" required:"true"` @@ -20470,6 +20465,9 @@ const ( // CloudWatchRegionIlCentral1 is a CloudWatchRegion enum value CloudWatchRegionIlCentral1 = "il-central-1" + + // CloudWatchRegionCaWest1 is a CloudWatchRegion enum value + CloudWatchRegionCaWest1 = "ca-west-1" ) // CloudWatchRegion_Values returns all elements of the CloudWatchRegion enum @@ -20510,6 +20508,7 @@ func CloudWatchRegion_Values() []string { CloudWatchRegionUsIsobEast1, CloudWatchRegionApSoutheast4, CloudWatchRegionIlCentral1, + CloudWatchRegionCaWest1, } } @@ -20855,6 +20854,9 @@ const ( // ResourceRecordSetRegionIlCentral1 is a ResourceRecordSetRegion enum value ResourceRecordSetRegionIlCentral1 = "il-central-1" + + // ResourceRecordSetRegionCaWest1 is a ResourceRecordSetRegion enum value + ResourceRecordSetRegionCaWest1 = "ca-west-1" ) // ResourceRecordSetRegion_Values returns all elements of the ResourceRecordSetRegion enum @@ -20890,6 +20892,7 @@ func ResourceRecordSetRegion_Values() []string { ResourceRecordSetRegionEuSouth2, ResourceRecordSetRegionApSoutheast4, ResourceRecordSetRegionIlCentral1, + ResourceRecordSetRegionCaWest1, } } @@ -21051,6 +21054,9 @@ const ( // VPCRegionIlCentral1 is a VPCRegion enum value VPCRegionIlCentral1 = "il-central-1" + + // VPCRegionCaWest1 is a VPCRegion enum value + VPCRegionCaWest1 = "ca-west-1" ) // VPCRegion_Values returns all elements of the VPCRegion enum @@ -21090,5 +21096,6 @@ func VPCRegion_Values() []string { VPCRegionEuSouth2, VPCRegionApSoutheast4, VPCRegionIlCentral1, + VPCRegionCaWest1, } }