diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b14e3729ab..ae8de0b37cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +Release v1.51.24 (2024-04-18) +=== + +### Service Client Updates +* `service/drs`: Updates service API and documentation +* `service/emr-serverless`: Updates service API and documentation +* `service/guardduty`: Updates service API and documentation + * Added IPv6Address fields for local and remote IP addresses +* `service/quicksight`: Updates service API and documentation + * This release adds support for the Cross Sheet Filter and Control features, and support for warnings in asset imports for any permitted errors encountered during execution +* `service/rolesanywhere`: Updates service API and documentation +* `service/sagemaker`: Updates service API and documentation + * Removed deprecated enum values and updated API documentation. +* `service/workspaces`: Updates service API, documentation, and paginators + * Adds new APIs for managing and sharing WorkSpaces BYOL configuration across accounts. + Release v1.51.23 (2024-04-17) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 36a346d266f..2344c96d6f9 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -26822,6 +26822,44 @@ var awsPartition = partition{ }, }, Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{ + Hostname: "s3-control.af-south-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "af-south-1", + }, + }, + endpointKey{ + Region: "af-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.af-south-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "af-south-1", + }, + }, + endpointKey{ + Region: "ap-east-1", + }: endpoint{ + Hostname: "s3-control.ap-east-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-east-1", + }, + }, + endpointKey{ + Region: "ap-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.ap-east-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-east-1", + }, + }, endpointKey{ Region: "ap-northeast-1", }: endpoint{ @@ -26898,6 +26936,25 @@ var awsPartition = partition{ Region: "ap-south-1", }, }, + endpointKey{ + Region: "ap-south-2", + }: endpoint{ + Hostname: "s3-control.ap-south-2.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-south-2", + }, + }, + endpointKey{ + Region: "ap-south-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.ap-south-2.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-south-2", + }, + }, endpointKey{ Region: "ap-southeast-1", }: endpoint{ @@ -26936,6 +26993,44 @@ var awsPartition = partition{ Region: "ap-southeast-2", }, }, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{ + Hostname: "s3-control.ap-southeast-3.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-southeast-3", + }, + }, + endpointKey{ + Region: "ap-southeast-3", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.ap-southeast-3.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-southeast-3", + }, + }, + endpointKey{ + Region: "ap-southeast-4", + }: endpoint{ + Hostname: "s3-control.ap-southeast-4.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-southeast-4", + }, + }, + endpointKey{ + Region: "ap-southeast-4", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.ap-southeast-4.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "ap-southeast-4", + }, + }, endpointKey{ Region: "ca-central-1", }: endpoint{ @@ -27004,6 +27099,25 @@ var awsPartition = partition{ Region: "eu-central-1", }, }, + endpointKey{ + Region: "eu-central-2", + }: endpoint{ + Hostname: "s3-control.eu-central-2.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "eu-central-2", + }, + }, + endpointKey{ + Region: "eu-central-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.eu-central-2.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "eu-central-2", + }, + }, endpointKey{ Region: "eu-north-1", }: endpoint{ @@ -27023,6 +27137,44 @@ var awsPartition = partition{ Region: "eu-north-1", }, }, + endpointKey{ + Region: "eu-south-1", + }: endpoint{ + Hostname: "s3-control.eu-south-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "eu-south-1", + }, + }, + endpointKey{ + Region: "eu-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.eu-south-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "eu-south-1", + }, + }, + endpointKey{ + Region: "eu-south-2", + }: endpoint{ + Hostname: "s3-control.eu-south-2.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "eu-south-2", + }, + }, + endpointKey{ + Region: "eu-south-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.eu-south-2.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "eu-south-2", + }, + }, endpointKey{ Region: "eu-west-1", }: endpoint{ @@ -27080,6 +27232,63 @@ var awsPartition = partition{ Region: "eu-west-3", }, }, + endpointKey{ + Region: "il-central-1", + }: endpoint{ + Hostname: "s3-control.il-central-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "il-central-1", + }, + }, + endpointKey{ + Region: "il-central-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.il-central-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "il-central-1", + }, + }, + endpointKey{ + Region: "me-central-1", + }: endpoint{ + Hostname: "s3-control.me-central-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, + endpointKey{ + Region: "me-central-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.me-central-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "me-central-1", + }, + }, + endpointKey{ + Region: "me-south-1", + }: endpoint{ + Hostname: "s3-control.me-south-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "me-south-1", + }, + }, + endpointKey{ + Region: "me-south-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.me-south-1.amazonaws.com", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "me-south-1", + }, + }, endpointKey{ Region: "sa-east-1", }: endpoint{ @@ -38338,13 +38547,45 @@ var awsusgovPartition = partition{ endpointKey{ Region: "us-gov-east-1", }: endpoint{ + Hostname: "autoscaling-plans.us-gov-east-1.amazonaws.com", + Protocols: []string{"http", "https"}, + }, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "autoscaling-plans.us-gov-east-1.amazonaws.com", Protocols: []string{"http", "https"}, }, + endpointKey{ + Region: "us-gov-east-1-fips", + }: endpoint{ + Hostname: "autoscaling-plans.us-gov-east-1.amazonaws.com", + Protocols: []string{"http", "https"}, + + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-gov-west-1", }: endpoint{ + Hostname: "autoscaling-plans.us-gov-west-1.amazonaws.com", + Protocols: []string{"http", "https"}, + }, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "autoscaling-plans.us-gov-west-1.amazonaws.com", Protocols: []string{"http", "https"}, }, + endpointKey{ + Region: "us-gov-west-1-fips", + }: endpoint{ + Hostname: "autoscaling-plans.us-gov-west-1.amazonaws.com", + Protocols: []string{"http", "https"}, + + Deprecated: boxedTrue, + }, }, }, "backup": service{ @@ -45422,6 +45663,114 @@ var awsisoPartition = partition{ }, }, }, + "s3-control": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{ + Protocols: []string{"https"}, + SignatureVersions: []string{"s3v4"}, + }, + }, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-iso-east-1", + }: endpoint{ + Hostname: "s3-control.us-iso-east-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-east-1", + }, + }, + endpointKey{ + Region: "us-iso-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.us-iso-east-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-east-1", + }, + }, + endpointKey{ + Region: "us-iso-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "s3-control-fips.us-iso-east-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-east-1", + }, + }, + endpointKey{ + Region: "us-iso-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{ + Hostname: "s3-control-fips.dualstack.us-iso-east-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-east-1", + }, + }, + endpointKey{ + Region: "us-iso-east-1-fips", + }: endpoint{ + Hostname: "s3-control-fips.us-iso-east-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "us-iso-west-1", + }: endpoint{ + Hostname: "s3-control.us-iso-west-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-west-1", + }, + }, + endpointKey{ + Region: "us-iso-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.us-iso-west-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-west-1", + }, + }, + endpointKey{ + Region: "us-iso-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "s3-control-fips.us-iso-west-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-west-1", + }, + }, + endpointKey{ + Region: "us-iso-west-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{ + Hostname: "s3-control-fips.dualstack.us-iso-west-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-west-1", + }, + }, + endpointKey{ + Region: "us-iso-west-1-fips", + }: endpoint{ + Hostname: "s3-control-fips.us-iso-west-1.c2s.ic.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-iso-west-1", + }, + Deprecated: boxedTrue, + }, + }, + }, "s3-outposts": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -46302,6 +46651,65 @@ var awsisobPartition = partition{ }, }, }, + "s3-control": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{ + Protocols: []string{"https"}, + SignatureVersions: []string{"s3v4"}, + }, + }, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-isob-east-1", + }: endpoint{ + Hostname: "s3-control.us-isob-east-1.sc2s.sgov.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-isob-east-1", + }, + }, + endpointKey{ + Region: "us-isob-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "s3-control.dualstack.us-isob-east-1.sc2s.sgov.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-isob-east-1", + }, + }, + endpointKey{ + Region: "us-isob-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "s3-control-fips.us-isob-east-1.sc2s.sgov.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-isob-east-1", + }, + }, + endpointKey{ + Region: "us-isob-east-1", + Variant: fipsVariant | dualStackVariant, + }: endpoint{ + Hostname: "s3-control-fips.dualstack.us-isob-east-1.sc2s.sgov.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-isob-east-1", + }, + }, + endpointKey{ + Region: "us-isob-east-1-fips", + }: endpoint{ + Hostname: "s3-control-fips.us-isob-east-1.sc2s.sgov.gov", + SignatureVersions: []string{"s3v4"}, + CredentialScope: credentialScope{ + Region: "us-isob-east-1", + }, + Deprecated: boxedTrue, + }, + }, + }, "s3-outposts": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 6b91f680de5..d12a3c9fbbe 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.51.23" +const SDKVersion = "1.51.24" diff --git a/models/apis/drs/2020-02-26/api-2.json b/models/apis/drs/2020-02-26/api-2.json index a6bd6bc41fc..b77165c63ca 100644 --- a/models/apis/drs/2020-02-26/api-2.json +++ b/models/apis/drs/2020-02-26/api-2.json @@ -1139,7 +1139,8 @@ "etaDateTime":{"shape":"ISO8601DatetimeString"}, "lagDuration":{"shape":"ISO8601DurationString"}, "replicatedDisks":{"shape":"DataReplicationInfoReplicatedDisks"}, - "stagingAvailabilityZone":{"shape":"AwsAvailabilityZone"} + "stagingAvailabilityZone":{"shape":"AwsAvailabilityZone"}, + "stagingOutpostArn":{"shape":"OutpostARN"} } }, "DataReplicationInfoReplicatedDisk":{ @@ -2213,6 +2214,12 @@ "AWS" ] }, + "OutpostARN":{ + "type":"string", + "max":255, + "min":20, + "pattern":"^arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/op-[a-f0-9]{17}$" + }, "PITPolicy":{ "type":"list", "member":{"shape":"PITPolicyRule"}, @@ -2367,6 +2374,7 @@ "pointInTimeSnapshotDateTime":{"shape":"ISO8601DatetimeString"}, "recoveryInstanceID":{"shape":"RecoveryInstanceID"}, "recoveryInstanceProperties":{"shape":"RecoveryInstanceProperties"}, + "sourceOutpostArn":{"shape":"OutpostARN"}, "sourceServerID":{"shape":"SourceServerID"}, "tags":{"shape":"TagsMap"} } @@ -2387,7 +2395,8 @@ "etaDateTime":{"shape":"ISO8601DatetimeString"}, "lagDuration":{"shape":"ISO8601DatetimeString"}, "replicatedDisks":{"shape":"RecoveryInstanceDataReplicationInfoReplicatedDisks"}, - "stagingAvailabilityZone":{"shape":"AwsAvailabilityZone"} + "stagingAvailabilityZone":{"shape":"AwsAvailabilityZone"}, + "stagingOutpostArn":{"shape":"OutpostARN"} } }, "RecoveryInstanceDataReplicationInfoReplicatedDisk":{ @@ -2795,7 +2804,8 @@ "members":{ "originAccountID":{"shape":"AccountID"}, "originAvailabilityZone":{"shape":"AwsAvailabilityZone"}, - "originRegion":{"shape":"AwsRegion"} + "originRegion":{"shape":"AwsRegion"}, + "sourceOutpostArn":{"shape":"OutpostARN"} } }, "SourceNetwork":{ @@ -3303,7 +3313,8 @@ "REGULAR", "CONTAINS_MARKETPLACE_PRODUCT_CODES", "MISSING_VOLUME_ATTRIBUTES", - "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE" + "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE", + "PENDING" ] }, "VolumeToConversionMap":{ diff --git a/models/apis/drs/2020-02-26/docs-2.json b/models/apis/drs/2020-02-26/docs-2.json index db3db46a702..ba5cdccecc9 100644 --- a/models/apis/drs/2020-02-26/docs-2.json +++ b/models/apis/drs/2020-02-26/docs-2.json @@ -1226,6 +1226,15 @@ "RecoveryInstance$originEnvironment": "

Environment (On Premises / AWS) of the instance that the recovery instance originated from.

" } }, + "OutpostARN": { + "base": null, + "refs": { + "DataReplicationInfo$stagingOutpostArn": "

The ARN of the staging Outpost

", + "RecoveryInstance$sourceOutpostArn": "

The ARN of the source Outpost

", + "RecoveryInstanceDataReplicationInfo$stagingOutpostArn": "

The ARN of the staging Outpost

", + "SourceCloudProperties$sourceOutpostArn": "

The ARN of the source Outpost

" + } + }, "PITPolicy": { "base": null, "refs": { diff --git a/models/apis/emr-serverless/2021-07-13/api-2.json b/models/apis/emr-serverless/2021-07-13/api-2.json index 2b64a347e8c..4853469f422 100644 --- a/models/apis/emr-serverless/2021-07-13/api-2.json +++ b/models/apis/emr-serverless/2021-07-13/api-2.json @@ -444,6 +444,18 @@ "monitoringConfiguration":{"shape":"MonitoringConfiguration"} } }, + "ConfigurationPropertyKey":{ + "type":"string", + "max":1024, + "min":1, + "pattern":".*\\S.*" + }, + "ConfigurationPropertyValue":{ + "type":"string", + "max":1024, + "min":0, + "pattern":".*\\S.*" + }, "ConflictException":{ "type":"structure", "required":["message"], @@ -993,7 +1005,8 @@ "members":{ "s3MonitoringConfiguration":{"shape":"S3MonitoringConfiguration"}, "managedPersistenceMonitoringConfiguration":{"shape":"ManagedPersistenceMonitoringConfiguration"}, - "cloudWatchLoggingConfiguration":{"shape":"CloudWatchLoggingConfiguration"} + "cloudWatchLoggingConfiguration":{"shape":"CloudWatchLoggingConfiguration"}, + "prometheusMonitoringConfiguration":{"shape":"PrometheusMonitoringConfiguration"} } }, "NetworkConfiguration":{ @@ -1009,6 +1022,18 @@ "min":1, "pattern":"[A-Za-z0-9_=-]+" }, + "PrometheusMonitoringConfiguration":{ + "type":"structure", + "members":{ + "remoteWriteUrl":{"shape":"PrometheusUrlString"} + } + }, + "PrometheusUrlString":{ + "type":"string", + "max":10280, + "min":1, + "pattern":"https://aps-workspaces.([a-z]{2}-[a-z-]{1,20}-[1-9]).amazonaws(.[0-9A-Za-z]{2,4})+/workspaces/[-_.0-9A-Za-z]{1,100}/api/v1/remote_write" + }, "Query":{ "type":"string", "max":10280, @@ -1075,8 +1100,8 @@ }, "SensitivePropertiesMap":{ "type":"map", - "key":{"shape":"String1024"}, - "value":{"shape":"String1024"}, + "key":{"shape":"ConfigurationPropertyKey"}, + "value":{"shape":"ConfigurationPropertyValue"}, "max":100, "min":0, "sensitive":true diff --git a/models/apis/emr-serverless/2021-07-13/docs-2.json b/models/apis/emr-serverless/2021-07-13/docs-2.json index 876534c6936..31c135107c4 100644 --- a/models/apis/emr-serverless/2021-07-13/docs-2.json +++ b/models/apis/emr-serverless/2021-07-13/docs-2.json @@ -178,6 +178,18 @@ "StartJobRunRequest$configurationOverrides": "

The configuration overrides for the job run.

" } }, + "ConfigurationPropertyKey": { + "base": null, + "refs": { + "SensitivePropertiesMap$key": null + } + }, + "ConfigurationPropertyValue": { + "base": null, + "refs": { + "SensitivePropertiesMap$value": null + } + }, "ConflictException": { "base": "

The request could not be processed because of conflict in the current state of the resource.

", "refs": { @@ -584,6 +596,18 @@ "ListJobRunsResponse$nextToken": "

The output displays the token for the next set of job run results. This is required for pagination and is available as a response of the previous request.

" } }, + "PrometheusMonitoringConfiguration": { + "base": "

The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.

", + "refs": { + "MonitoringConfiguration$prometheusMonitoringConfiguration": "

The monitoring configuration object you can configure to send metrics to Amazon Managed Service for Prometheus for a job run.

" + } + }, + "PrometheusUrlString": { + "base": null, + "refs": { + "PrometheusMonitoringConfiguration$remoteWriteUrl": "

The remote write URL in the Amazon Managed Service for Prometheus workspace to send metrics to.

" + } + }, "Query": { "base": null, "refs": { @@ -705,8 +729,6 @@ "ConflictException$message": null, "InternalServerException$message": null, "ResourceNotFoundException$message": null, - "SensitivePropertiesMap$key": null, - "SensitivePropertiesMap$value": null, "ServiceQuotaExceededException$message": null, "ValidationException$message": null } diff --git a/models/apis/guardduty/2017-11-28/api-2.json b/models/apis/guardduty/2017-11-28/api-2.json index 110fc68101b..d7dc937ac21 100644 --- a/models/apis/guardduty/2017-11-28/api-2.json +++ b/models/apis/guardduty/2017-11-28/api-2.json @@ -4990,6 +4990,10 @@ "IpAddressV4":{ "shape":"SensitiveString", "locationName":"ipAddressV4" + }, + "IpAddressV6":{ + "shape":"SensitiveString", + "locationName":"ipAddressV6" } } }, @@ -6025,6 +6029,10 @@ "shape":"SensitiveString", "locationName":"ipAddressV4" }, + "IpAddressV6":{ + "shape":"SensitiveString", + "locationName":"ipAddressV6" + }, "Organization":{ "shape":"Organization", "locationName":"organization" diff --git a/models/apis/guardduty/2017-11-28/docs-2.json b/models/apis/guardduty/2017-11-28/docs-2.json index 6ab681fbfcb..c8f0fbd8c30 100644 --- a/models/apis/guardduty/2017-11-28/docs-2.json +++ b/models/apis/guardduty/2017-11-28/docs-2.json @@ -1228,7 +1228,7 @@ "FindingCriteria": { "base": "

Contains information about the criteria used for querying findings.

", "refs": { - "CreateFilterRequest$FindingCriteria": "

Represents the criteria to be used in the filter for querying findings.

You can only use the following attributes to query findings:

", + "CreateFilterRequest$FindingCriteria": "

Represents the criteria to be used in the filter for querying findings.

You can only use the following attributes to query findings:

", "GetFilterResponse$FindingCriteria": "

Represents the criteria to be used in the filter for querying findings.

", "GetFindingsStatisticsRequest$FindingCriteria": "

Represents the criteria that is used for querying findings.

", "ListFindingsRequest$FindingCriteria": "

Represents the criteria used for querying findings. Valid values include:

", @@ -2653,9 +2653,11 @@ "base": null, "refs": { "LocalIpDetails$IpAddressV4": "

The IPv4 local address of the connection.

", + "LocalIpDetails$IpAddressV6": "

The IPv6 local address of the connection.

", "NetworkInterface$PrivateIpAddress": "

The private IP address of the EC2 instance.

", "PrivateIpAddressDetails$PrivateIpAddress": "

The private IP address of the EC2 instance.

", - "RemoteIpDetails$IpAddressV4": "

The IPv4 remote address of the connection.

" + "RemoteIpDetails$IpAddressV4": "

The IPv4 remote address of the connection.

", + "RemoteIpDetails$IpAddressV6": "

The IPv6 remote address of the connection.

" } }, "Service": { diff --git a/models/apis/quicksight/2018-04-01/api-2.json b/models/apis/quicksight/2018-04-01/api-2.json index 2cef7e39b65..e02f56f60c3 100644 --- a/models/apis/quicksight/2018-04-01/api-2.json +++ b/models/apis/quicksight/2018-04-01/api-2.json @@ -3551,7 +3551,8 @@ "ClusterId", "ManifestFileLocation", "Warehouse", - "RoleArn" + "RoleArn", + "ProductType" ] }, "AssetBundleExportJobDataSourcePropertyToOverrideList":{ @@ -4117,6 +4118,17 @@ "max":5, "min":1 }, + "AssetBundleImportJobWarning":{ + "type":"structure", + "members":{ + "Arn":{"shape":"Arn"}, + "Message":{"shape":"NonEmptyString"} + } + }, + "AssetBundleImportJobWarningList":{ + "type":"list", + "member":{"shape":"AssetBundleImportJobWarning"} + }, "AssetBundleImportSource":{ "type":"structure", "members":{ @@ -4824,7 +4836,8 @@ "members":{ "FilterId":{"shape":"ShortRestrictiveResourceId"}, "Column":{"shape":"ColumnIdentifier"}, - "Configuration":{"shape":"CategoryFilterConfiguration"} + "Configuration":{"shape":"CategoryFilterConfiguration"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "CategoryFilterConfiguration":{ @@ -7577,6 +7590,52 @@ "VARP" ] }, + "DefaultDateTimePickerControlOptions":{ + "type":"structure", + "members":{ + "Type":{"shape":"SheetControlDateTimePickerType"}, + "DisplayOptions":{"shape":"DateTimePickerControlDisplayOptions"} + } + }, + "DefaultFilterControlConfiguration":{ + "type":"structure", + "required":[ + "Title", + "ControlOptions" + ], + "members":{ + "Title":{"shape":"SheetControlTitle"}, + "ControlOptions":{"shape":"DefaultFilterControlOptions"} + } + }, + "DefaultFilterControlOptions":{ + "type":"structure", + "members":{ + "DefaultDateTimePickerOptions":{"shape":"DefaultDateTimePickerControlOptions"}, + "DefaultListOptions":{"shape":"DefaultFilterListControlOptions"}, + "DefaultDropdownOptions":{"shape":"DefaultFilterDropDownControlOptions"}, + "DefaultTextFieldOptions":{"shape":"DefaultTextFieldControlOptions"}, + "DefaultTextAreaOptions":{"shape":"DefaultTextAreaControlOptions"}, + "DefaultSliderOptions":{"shape":"DefaultSliderControlOptions"}, + "DefaultRelativeDateTimeOptions":{"shape":"DefaultRelativeDateTimeControlOptions"} + } + }, + "DefaultFilterDropDownControlOptions":{ + "type":"structure", + "members":{ + "DisplayOptions":{"shape":"DropDownControlDisplayOptions"}, + "Type":{"shape":"SheetControlListType"}, + "SelectableValues":{"shape":"FilterSelectableValues"} + } + }, + "DefaultFilterListControlOptions":{ + "type":"structure", + "members":{ + "DisplayOptions":{"shape":"ListControlDisplayOptions"}, + "Type":{"shape":"SheetControlListType"}, + "SelectableValues":{"shape":"FilterSelectableValues"} + } + }, "DefaultFormatting":{ "type":"structure", "members":{ @@ -7619,6 +7678,12 @@ "SectionBased":{"shape":"DefaultSectionBasedLayoutConfiguration"} } }, + "DefaultRelativeDateTimeControlOptions":{ + "type":"structure", + "members":{ + "DisplayOptions":{"shape":"RelativeDateTimeControlDisplayOptions"} + } + }, "DefaultSectionBasedLayoutConfiguration":{ "type":"structure", "required":["CanvasSizeOptions"], @@ -7626,6 +7691,34 @@ "CanvasSizeOptions":{"shape":"SectionBasedLayoutCanvasSizeOptions"} } }, + "DefaultSliderControlOptions":{ + "type":"structure", + "required":[ + "MaximumValue", + "MinimumValue", + "StepSize" + ], + "members":{ + "DisplayOptions":{"shape":"SliderControlDisplayOptions"}, + "Type":{"shape":"SheetControlSliderType"}, + "MaximumValue":{"shape":"Double"}, + "MinimumValue":{"shape":"Double"}, + "StepSize":{"shape":"Double"} + } + }, + "DefaultTextAreaControlOptions":{ + "type":"structure", + "members":{ + "Delimiter":{"shape":"TextAreaControlDelimiter"}, + "DisplayOptions":{"shape":"TextAreaControlDisplayOptions"} + } + }, + "DefaultTextFieldControlOptions":{ + "type":"structure", + "members":{ + "DisplayOptions":{"shape":"TextFieldControlDisplayOptions"} + } + }, "DeleteAccountCustomizationRequest":{ "type":"structure", "required":["AwsAccountId"], @@ -8775,7 +8868,8 @@ }, "OverridePermissions":{"shape":"AssetBundleImportJobOverridePermissions"}, "OverrideTags":{"shape":"AssetBundleImportJobOverrideTags"}, - "OverrideValidationStrategy":{"shape":"AssetBundleImportJobOverrideValidationStrategy"} + "OverrideValidationStrategy":{"shape":"AssetBundleImportJobOverrideValidationStrategy"}, + "Warnings":{"shape":"AssetBundleImportJobWarningList"} } }, "DescribeDashboardDefinitionRequest":{ @@ -10473,7 +10567,8 @@ "TextField":{"shape":"FilterTextFieldControl"}, "TextArea":{"shape":"FilterTextAreaControl"}, "Slider":{"shape":"FilterSliderControl"}, - "RelativeDateTime":{"shape":"FilterRelativeDateTimeControl"} + "RelativeDateTime":{"shape":"FilterRelativeDateTimeControl"}, + "CrossSheet":{"shape":"FilterCrossSheetControl"} } }, "FilterControlList":{ @@ -10481,6 +10576,18 @@ "member":{"shape":"FilterControl"}, "max":200 }, + "FilterCrossSheetControl":{ + "type":"structure", + "required":[ + "FilterControlId", + "SourceFilterId" + ], + "members":{ + "FilterControlId":{"shape":"ShortRestrictiveResourceId"}, + "SourceFilterId":{"shape":"ShortRestrictiveResourceId"}, + "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"} + } + }, "FilterDateTimePickerControl":{ "type":"structure", "required":[ @@ -14340,7 +14447,8 @@ "MatchOperator":{"shape":"NumericEqualityMatchOperator"}, "AggregationFunction":{"shape":"AggregationFunction"}, "ParameterName":{"shape":"ParameterName"}, - "NullOption":{"shape":"FilterNullOption"} + "NullOption":{"shape":"FilterNullOption"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "NumericEqualityMatchOperator":{ @@ -14390,7 +14498,8 @@ }, "SelectAllOptions":{"shape":"NumericFilterSelectAllOptions"}, "AggregationFunction":{"shape":"AggregationFunction"}, - "NullOption":{"shape":"FilterNullOption"} + "NullOption":{"shape":"FilterNullOption"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "NumericRangeFilterValue":{ @@ -15848,7 +15957,8 @@ }, "ParameterName":{"shape":"ParameterName"}, "NullOption":{"shape":"FilterNullOption"}, - "ExcludePeriodConfiguration":{"shape":"ExcludePeriodConfiguration"} + "ExcludePeriodConfiguration":{"shape":"ExcludePeriodConfiguration"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "RelativeFontSize":{ @@ -18390,7 +18500,8 @@ "Value":{"shape":"Timestamp"}, "ParameterName":{"shape":"ParameterName"}, "TimeGranularity":{"shape":"TimeGranularity"}, - "RollingDate":{"shape":"RollingDateConfiguration"} + "RollingDate":{"shape":"RollingDateConfiguration"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "TimeGranularity":{ @@ -18444,7 +18555,8 @@ "RangeMaximumValue":{"shape":"TimeRangeFilterValue"}, "NullOption":{"shape":"FilterNullOption"}, "ExcludePeriodConfiguration":{"shape":"ExcludePeriodConfiguration"}, - "TimeGranularity":{"shape":"TimeGranularity"} + "TimeGranularity":{"shape":"TimeGranularity"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "TimeRangeFilterValue":{ @@ -18514,7 +18626,8 @@ }, "AggregationSortConfigurations":{"shape":"AggregationSortConfigurationList"}, "TimeGranularity":{"shape":"TimeGranularity"}, - "ParameterName":{"shape":"ParameterName"} + "ParameterName":{"shape":"ParameterName"}, + "DefaultFilterControlConfiguration":{"shape":"DefaultFilterControlConfiguration"} } }, "TopBottomMoversComputation":{ diff --git a/models/apis/quicksight/2018-04-01/docs-2.json b/models/apis/quicksight/2018-04-01/docs-2.json index 0d26690057d..5c6c584a655 100644 --- a/models/apis/quicksight/2018-04-01/docs-2.json +++ b/models/apis/quicksight/2018-04-01/docs-2.json @@ -138,7 +138,7 @@ "SearchGroups": "

Use the SearchGroups operation to search groups in a specified Amazon QuickSight namespace using the supplied filters.

", "StartAssetBundleExportJob": "

Starts an Asset Bundle export job.

An Asset Bundle export job exports specified Amazon QuickSight assets. You can also choose to export any asset dependencies in the same job. Export jobs run asynchronously and can be polled with a DescribeAssetBundleExportJob API call. When a job is successfully completed, a download URL that contains the exported assets is returned. The URL is valid for 5 minutes and can be refreshed with a DescribeAssetBundleExportJob API call. Each Amazon QuickSight account can run up to 5 export jobs concurrently.

The API caller must have the necessary permissions in their IAM role to access each resource before the resources can be exported.

", "StartAssetBundleImportJob": "

Starts an Asset Bundle import job.

An Asset Bundle import job imports specified Amazon QuickSight assets into an Amazon QuickSight account. You can also choose to import a naming prefix and specified configuration overrides. The assets that are contained in the bundle file that you provide are used to create or update a new or existing asset in your Amazon QuickSight account. Each Amazon QuickSight account can run up to 5 import jobs concurrently.

The API caller must have the necessary \"create\", \"describe\", and \"update\" permissions in their IAM role to access each resource type that is contained in the bundle file before the resources can be imported.

", - "StartDashboardSnapshotJob": "

Starts an asynchronous job that generates a dashboard snapshot. You can request one of the following format configurations per API call.

Poll job descriptions with a DescribeDashboardSnapshotJob API call. Once the job succeeds, use the DescribeDashboardSnapshotJobResult API to obtain the download URIs that the job generates.

", + "StartDashboardSnapshotJob": "

Starts an asynchronous job that generates a snapshot of a dashboard's output. You can request one or several of the following format configurations in each API call.

The status of a submitted job can be polled with the DescribeDashboardSnapshotJob API. When you call the DescribeDashboardSnapshotJob API, check the JobStatus field in the response. Once the job reaches a COMPLETED or FAILED status, use the DescribeDashboardSnapshotJobResult API to obtain the URLs for the generated files. If the job fails, the DescribeDashboardSnapshotJobResult API returns detailed information about the error that occurred.

StartDashboardSnapshotJob API throttling

Amazon QuickSight utilizes API throttling to create a more consistent user experience within a time span for customers when they call the StartDashboardSnapshotJob. By default, 12 jobs can run simlutaneously in one Amazon Web Services account and users can submit up 10 API requests per second before an account is throttled. If an overwhelming number of API requests are made by the same user in a short period of time, Amazon QuickSight throttles the API calls to maintin an optimal experience and reliability for all Amazon QuickSight users.

Common throttling scenarios

The following list provides information about the most commin throttling scenarios that can occur.

If your use case requires a higher throttling limit, contact your account admin or Amazon Web ServicesSupport to explore options to tailor a more optimal expereince for your account.

Best practices to handle throttling

If your use case projects high levels of API traffic, try to reduce the degree of frequency and parallelism of API calls as much as you can to avoid throttling. You can also perform a timing test to calculate an estimate for the total processing time of your projected load that stays within the throttling limits of the Amazon QuickSight APIs. For example, if your projected traffic is 100 snapshot jobs before 12:00 PM per day, start 12 jobs in parallel and measure the amount of time it takes to proccess all 12 jobs. Once you obtain the result, multiply the duration by 9, for example (12 minutes * 9 = 108 minutes). Use the new result to determine the latest time at which the jobs need to be started to meet your target deadline.

The time that it takes to process a job can be impacted by the following factors:

", "TagResource": "

Assigns one or more tags (key-value pairs) to the specified Amazon QuickSight resource.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values. You can use the TagResource operation with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource. Amazon QuickSight supports tagging on data set, data source, dashboard, template, topic, and user.

Tagging for Amazon QuickSight works in a similar way to tagging for other Amazon Web Services services, except for the following:

", "UntagResource": "

Removes a tag or tags from a resource.

", "UpdateAccountCustomization": "

Updates Amazon QuickSight customizations for the current Amazon Web Services Region. Currently, the only customization that you can use is a theme.

You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a Amazon QuickSight namespace instead. Customizations that apply to a namespace override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the DescribeAccountCustomization API operation.

", @@ -510,6 +510,7 @@ "AssetBundleExportJobWarning$Arn": "

The ARN of the resource whose processing caused a warning.

", "AssetBundleImportJobError$Arn": "

The ARN of the resource whose processing caused an error.

", "AssetBundleImportJobSummary$Arn": "

The ARN of the import job.

", + "AssetBundleImportJobWarning$Arn": "

The ARN of the resource that the warning occurred for.

", "AssetBundleResourceArns$member": null, "CancelIngestionResponse$Arn": "

The Amazon Resource Name (ARN) for the data ingestion.

", "CreateAccountCustomizationResponse$Arn": "

The Amazon Resource Name (ARN) for the customization that you created for this Amazon Web Services account.

", @@ -898,7 +899,7 @@ } }, "AssetBundleExportJobValidationStrategy": { - "base": "

The option to relax the validation that is required to export each asset. When StrictModeForAllResource is set to true, validation is skipped for specific UI errors.

", + "base": "

The option to relax the validation that is required to export each asset. When StrictModeForAllResource is set to false, validation is skipped for specific UI errors.

", "refs": { "DescribeAssetBundleExportJobResponse$ValidationStrategy": "

The validation strategy that is used to export the analysis or dashboard.

", "StartAssetBundleExportJobRequest$ValidationStrategy": "

An optional parameter that determines which validation strategy to use for the export job. If StrictModeForAllResources is set to TRUE, strict validation for every error is enforced. If it is set to FALSE, validation is skipped for specific UI errors that are shown as warnings. The default value for StrictModeForAllResources is FALSE.

" @@ -1224,6 +1225,18 @@ "AssetBundleImportJobOverrideTags$VPCConnections": "

A list of tag overrides for any VPCConnection resources that are present in the asset bundle that is imported.

" } }, + "AssetBundleImportJobWarning": { + "base": "

Describes a warning that occurred during an Asset Bundle import job.

", + "refs": { + "AssetBundleImportJobWarningList$member": null + } + }, + "AssetBundleImportJobWarningList": { + "base": null, + "refs": { + "DescribeAssetBundleImportJobResponse$Warnings": "

An array of warning records that describe all permitted errors that are encountered during the import job.

" + } + }, "AssetBundleImportSource": { "base": "

The source of the asset bundle zip file that contains the data that you want to import. The file must be in QUICKSIGHT_JSON format.

", "refs": { @@ -1956,6 +1969,7 @@ "CascadingControlConfiguration": { "base": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", "refs": { + "FilterCrossSheetControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", "FilterDropDownControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", "FilterListControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", "ParameterDropDownControl$CascadingControlConfiguration": "

The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.

", @@ -2008,7 +2022,7 @@ } }, "CategoryDrillDownFilter": { - "base": "

The numeric equality type drill down filter.

", + "base": "

The category drill down filter.

", "refs": { "DrillDownFilter$CategoryFilter": "

The category type drill down filter. This filter is used for string type columns.

" } @@ -3711,6 +3725,7 @@ "DateTimePickerControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultDateTimePickerControlOptions$DisplayOptions": "

The display options of a control.

", "FilterDateTimePickerControl$DisplayOptions": "

The display options of a control.

", "ParameterDateTimePickerControl$DisplayOptions": "

The display options of a control.

" } @@ -3829,6 +3844,42 @@ "TopicColumn$Aggregation": "

The type of aggregation that is performed on the column data when it's queried.

" } }, + "DefaultDateTimePickerControlOptions": { + "base": "

The default options that correspond to the filter control type of a DateTimePicker.

", + "refs": { + "DefaultFilterControlOptions$DefaultDateTimePickerOptions": "

The default options that correspond to the filter control type of a DateTimePicker.

" + } + }, + "DefaultFilterControlConfiguration": { + "base": "

The default configuration for all dependent controls of the filter.

", + "refs": { + "CategoryFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

", + "NumericEqualityFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

", + "NumericRangeFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

", + "RelativeDatesFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

", + "TimeEqualityFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

", + "TimeRangeFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

", + "TopBottomFilter$DefaultFilterControlConfiguration": "

The default configurations for the associated controls. This applies only for filters that are scoped to multiple sheets.

" + } + }, + "DefaultFilterControlOptions": { + "base": "

The option that corresponds to the control type of the filter.

", + "refs": { + "DefaultFilterControlConfiguration$ControlOptions": "

The control option for the DefaultFilterControlConfiguration.

" + } + }, + "DefaultFilterDropDownControlOptions": { + "base": "

The default options that correspond to the Dropdown filter control type.

", + "refs": { + "DefaultFilterControlOptions$DefaultDropdownOptions": "

The default options that correspond to the Dropdown filter control type.

" + } + }, + "DefaultFilterListControlOptions": { + "base": "

The default options that correspond to the List filter control type.

", + "refs": { + "DefaultFilterControlOptions$DefaultListOptions": "

The default options that correspond to the List filter control type.

" + } + }, "DefaultFormatting": { "base": "

A structure that represents a default formatting definition.

", "refs": { @@ -3866,12 +3917,36 @@ "DefaultNewSheetConfiguration$PaginatedLayoutConfiguration": "

The options that determine the default settings for a paginated layout configuration.

" } }, + "DefaultRelativeDateTimeControlOptions": { + "base": "

The default options that correspond to the RelativeDateTime filter control type.

", + "refs": { + "DefaultFilterControlOptions$DefaultRelativeDateTimeOptions": "

The default options that correspond to the RelativeDateTime filter control type.

" + } + }, "DefaultSectionBasedLayoutConfiguration": { "base": "

The options that determine the default settings for a section-based layout configuration.

", "refs": { "DefaultPaginatedLayoutConfiguration$SectionBased": "

The options that determine the default settings for a section-based layout configuration.

" } }, + "DefaultSliderControlOptions": { + "base": "

The default options that correspond to the Slider filter control type.

", + "refs": { + "DefaultFilterControlOptions$DefaultSliderOptions": "

The default options that correspond to the Slider filter control type.

" + } + }, + "DefaultTextAreaControlOptions": { + "base": "

The default options that correspond to the TextArea filter control type.

", + "refs": { + "DefaultFilterControlOptions$DefaultTextAreaOptions": "

The default options that correspond to the TextArea filter control type.

" + } + }, + "DefaultTextFieldControlOptions": { + "base": "

The default options that correspond to the TextField filter control type.

", + "refs": { + "DefaultFilterControlOptions$DefaultTextFieldOptions": "

The default options that correspond to the TextField filter control type.

" + } + }, "DeleteAccountCustomizationRequest": { "base": null, "refs": { @@ -4672,8 +4747,11 @@ "AxisLogarithmicScale$Base": "

The base setup of a logarithmic axis scale.

", "AxisTickLabelOptions$RotationAngle": "

The rotation angle of the axis tick labels.

", "DataColor$DataValue": "

The data value that the color is applied to.

", - "FilterSliderControl$MaximumValue": "

The smaller value that is displayed at the left of the slider.

", - "FilterSliderControl$MinimumValue": "

The larger value that is displayed at the right of the slider.

", + "DefaultSliderControlOptions$MaximumValue": "

The larger value that is displayed at the right of the slider.

", + "DefaultSliderControlOptions$MinimumValue": "

The smaller value that is displayed at the left of the slider.

", + "DefaultSliderControlOptions$StepSize": "

The number of increments that the slider bar is divided into.

", + "FilterSliderControl$MaximumValue": "

The larger value that is displayed at the right of the slider.

", + "FilterSliderControl$MinimumValue": "

The smaller value that is displayed at the left of the slider.

", "FilterSliderControl$StepSize": "

The number of increments that the slider bar is divided into.

", "ForecastComputation$UpperBoundary": "

The upper boundary setup of a forecast computation.

", "ForecastComputation$LowerBoundary": "

The lower boundary setup of a forecast computation.

", @@ -4683,8 +4761,8 @@ "NumericEqualityDrillDownFilter$Value": "

The value of the double input numeric drill down filter.

", "NumericEqualityFilter$Value": "

The input value.

", "NumericRangeFilterValue$StaticValue": "

The static value of the numeric range filter.

", - "ParameterSliderControl$MaximumValue": "

The smaller value that is displayed at the left of the slider.

", - "ParameterSliderControl$MinimumValue": "

The larger value that is displayed at the right of the slider.

", + "ParameterSliderControl$MaximumValue": "

The larger value that is displayed at the right of the slider.

", + "ParameterSliderControl$MinimumValue": "

The smaller value that is displayed at the left of the slider.

", "ParameterSliderControl$StepSize": "

The number of increments that the slider bar is divided into.

", "TimeBasedForecastProperties$UpperBoundary": "

The upper boundary setup of a forecast computation.

", "TimeBasedForecastProperties$LowerBoundary": "

The lower boundary setup of a forecast computation.

", @@ -4709,6 +4787,7 @@ "DropDownControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultFilterDropDownControlOptions$DisplayOptions": "

The display options of a control.

", "FilterDropDownControl$DisplayOptions": "

The display options of the FilterDropDownControl.

", "ParameterDropDownControl$DisplayOptions": "

The display options of a control.

" } @@ -5085,6 +5164,12 @@ "SheetDefinition$FilterControls": "

The list of filter controls that are on a sheet.

For more information, see Adding filter controls to analysis sheets in the Amazon QuickSight User Guide.

" } }, + "FilterCrossSheetControl": { + "base": "

A control from a filter that is scoped across more than one sheet. This represents your filter control on a sheet

", + "refs": { + "FilterControl$CrossSheet": "

A control from a filter that is scoped across more than one sheet. This represents your filter control on a sheet

" + } + }, "FilterDateTimePickerControl": { "base": "

A control from a date filter that is used to specify date and time.

", "refs": { @@ -5184,6 +5269,8 @@ "FilterSelectableValues": { "base": "

A list of selectable values that are used in a control.

", "refs": { + "DefaultFilterDropDownControlOptions$SelectableValues": "

A list of selectable values that are used in a control.

", + "DefaultFilterListControlOptions$SelectableValues": "

A list of selectable values that are used in a control.

", "FilterDropDownControl$SelectableValues": "

A list of selectable values that are used in a control.

", "FilterListControl$SelectableValues": "

A list of selectable values that are used in a control.

" } @@ -6819,6 +6906,7 @@ "ListControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultFilterListControlOptions$DisplayOptions": "

The display options of a control.

", "FilterListControl$DisplayOptions": "

The display options of a control.

", "ParameterListControl$DisplayOptions": "

The display options of a control.

" } @@ -7588,6 +7676,7 @@ "AssetBundleExportJobWarning$Message": "

A description of the warning.

", "AssetBundleImportJobError$Type": "

The specific error type or the error that occurred.

", "AssetBundleImportJobError$Message": "

A description of the error.

", + "AssetBundleImportJobWarning$Message": "

A description of the warning that occurred during an Asset Bundle import job.

", "DashboardError$Message": "

Message.

", "DataSetReference$DataSetPlaceholder": "

Dataset placeholder.

", "DateTimeParameter$Name": "

A display name for the date-time parameter.

", @@ -7670,7 +7759,7 @@ } }, "NumericEqualityDrillDownFilter": { - "base": "

The category drill down filter.

", + "base": "

The numeric equality type drill down filter.

", "refs": { "DrillDownFilter$NumericEqualityFilter": "

The numeric equality type drill down filter. This filter is used for number type columns.

" } @@ -8801,6 +8890,7 @@ "RelativeDateTimeControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultRelativeDateTimeControlOptions$DisplayOptions": "

The display options of a control.

", "FilterRelativeDateTimeControl$DisplayOptions": "

The display options of a control.

" } }, @@ -9674,7 +9764,8 @@ "SheetControlDateTimePickerType": { "base": null, "refs": { - "FilterDateTimePickerControl$Type": "

The date time picker type of a FilterDateTimePickerControl. Choose one of the following options:

" + "DefaultDateTimePickerControlOptions$Type": "

The date time picker type of the DefaultDateTimePickerControlOptions. Choose one of the following options:

", + "FilterDateTimePickerControl$Type": "

The type of the FilterDropDownControl. Choose one of the following options:

" } }, "SheetControlInfoIconLabelOptions": { @@ -9716,8 +9807,10 @@ "SheetControlListType": { "base": null, "refs": { + "DefaultFilterDropDownControlOptions$Type": "

The type of the FilterDropDownControl. Choose one of the following options:

", + "DefaultFilterListControlOptions$Type": "

The type of the DefaultFilterListControlOptions. Choose one of the following options:

", "FilterDropDownControl$Type": "

The type of the FilterDropDownControl. Choose one of the following options:

", - "FilterListControl$Type": "

The type of FilterListControl. Choose one of the following options:

", + "FilterListControl$Type": "

The type of the FilterListControl. Choose one of the following options:

", "ParameterDropDownControl$Type": "

The type parameter name of the ParameterDropDownControl.

", "ParameterListControl$Type": "

The type of ParameterListControl.

" } @@ -9725,12 +9818,14 @@ "SheetControlSliderType": { "base": null, "refs": { - "FilterSliderControl$Type": "

The type of FilterSliderControl. Choose one of the following options:

" + "DefaultSliderControlOptions$Type": "

The type of the DefaultSliderControlOptions. Choose one of the following options:

", + "FilterSliderControl$Type": "

The type of the FilterSliderControl. Choose one of the following options:

" } }, "SheetControlTitle": { "base": null, "refs": { + "DefaultFilterControlConfiguration$Title": "

The title of the DefaultFilterControlConfiguration. This title is shared by all controls that are tied to this filter.

", "FilterDateTimePickerControl$Title": "

The title of the FilterDateTimePickerControl.

", "FilterDropDownControl$Title": "

The title of the FilterDropDownControl.

", "FilterListControl$Title": "

The title of the FilterListControl.

", @@ -9940,6 +10035,8 @@ "DescribeThemeRequest$ThemeId": "

The ID for the theme.

", "EmptyVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers.

", "FilledMapVisual$VisualId": "

The unique identifier of a visual. This identifier must be unique within the context of a dashboard, template, or analysis. Two dashboards, analyses, or templates can have visuals with the same identifiers..

", + "FilterCrossSheetControl$FilterControlId": "

The ID of the FilterCrossSheetControl.

", + "FilterCrossSheetControl$SourceFilterId": "

The source filter ID of the FilterCrossSheetControl.

", "FilterDateTimePickerControl$FilterControlId": "

The ID of the FilterDateTimePickerControl.

", "FilterDateTimePickerControl$SourceFilterId": "

The source filter ID of the FilterDateTimePickerControl.

", "FilterDropDownControl$FilterControlId": "

The ID of the FilterDropDownControl.

", @@ -10111,6 +10208,7 @@ "SliderControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultSliderControlOptions$DisplayOptions": "

The display options of a control.

", "FilterSliderControl$DisplayOptions": "

The display options of a control.

", "ParameterSliderControl$DisplayOptions": "

The display options of a control.

" } @@ -11595,6 +11693,7 @@ "TextAreaControlDelimiter": { "base": null, "refs": { + "DefaultTextAreaControlOptions$Delimiter": "

The delimiter that is used to separate the lines in text.

", "FilterTextAreaControl$Delimiter": "

The delimiter that is used to separate the lines in text.

", "ParameterTextAreaControl$Delimiter": "

The delimiter that is used to separate the lines in text.

" } @@ -11602,6 +11701,7 @@ "TextAreaControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultTextAreaControlOptions$DisplayOptions": "

The display options of a control.

", "FilterTextAreaControl$DisplayOptions": "

The display options of a control.

", "ParameterTextAreaControl$DisplayOptions": "

The display options of a control.

" } @@ -11623,6 +11723,7 @@ "TextFieldControlDisplayOptions": { "base": "

The display options of a control.

", "refs": { + "DefaultTextFieldControlOptions$DisplayOptions": "

The display options of a control.

", "FilterTextFieldControl$DisplayOptions": "

The display options of a control.

", "ParameterTextFieldControl$DisplayOptions": "

The display options of a control.

" } diff --git a/models/apis/rolesanywhere/2018-05-10/api-2.json b/models/apis/rolesanywhere/2018-05-10/api-2.json index 07ab8a533da..2580b345117 100644 --- a/models/apis/rolesanywhere/2018-05-10/api-2.json +++ b/models/apis/rolesanywhere/2018-05-10/api-2.json @@ -40,6 +40,22 @@ {"shape":"AccessDeniedException"} ] }, + "DeleteAttributeMapping":{ + "name":"DeleteAttributeMapping", + "http":{ + "method":"DELETE", + "requestUri":"/profiles/{profileId}/mappings", + "responseCode":200 + }, + "input":{"shape":"DeleteAttributeMappingRequest"}, + "output":{"shape":"DeleteAttributeMappingResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, "DeleteCrl":{ "name":"DeleteCrl", "http":{ @@ -310,6 +326,22 @@ {"shape":"AccessDeniedException"} ] }, + "PutAttributeMapping":{ + "name":"PutAttributeMapping", + "http":{ + "method":"PUT", + "requestUri":"/profiles/{profileId}/mappings", + "responseCode":200 + }, + "input":{"shape":"PutAttributeMappingRequest"}, + "output":{"shape":"PutAttributeMappingResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, "PutNotificationSettings":{ "name":"PutNotificationSettings", "http":{ @@ -436,11 +468,30 @@ "max":1011, "min":1 }, + "AttributeMapping":{ + "type":"structure", + "members":{ + "certificateField":{"shape":"CertificateField"}, + "mappingRules":{"shape":"MappingRules"} + } + }, + "AttributeMappings":{ + "type":"list", + "member":{"shape":"AttributeMapping"} + }, "Blob":{"type":"blob"}, "Boolean":{ "type":"boolean", "box":true }, + "CertificateField":{ + "type":"string", + "enum":[ + "x509Subject", + "x509Issuer", + "x509SAN" + ] + }, "CreateProfileRequest":{ "type":"structure", "required":[ @@ -517,6 +568,37 @@ "type":"list", "member":{"shape":"CrlDetail"} }, + "DeleteAttributeMappingRequest":{ + "type":"structure", + "required":[ + "certificateField", + "profileId" + ], + "members":{ + "certificateField":{ + "shape":"CertificateField", + "location":"querystring", + "locationName":"certificateField" + }, + "profileId":{ + "shape":"Uuid", + "location":"uri", + "locationName":"profileId" + }, + "specifiers":{ + "shape":"SpecifierList", + "location":"querystring", + "locationName":"specifiers" + } + } + }, + "DeleteAttributeMappingResponse":{ + "type":"structure", + "required":["profile"], + "members":{ + "profile":{"shape":"ProfileDetail"} + } + }, "ImportCrlRequest":{ "type":"structure", "required":[ @@ -646,6 +728,22 @@ "max":200, "min":1 }, + "MappingRule":{ + "type":"structure", + "required":["specifier"], + "members":{ + "specifier":{"shape":"MappingRuleSpecifierString"} + } + }, + "MappingRuleSpecifierString":{ + "type":"string", + "max":60, + "min":0 + }, + "MappingRules":{ + "type":"list", + "member":{"shape":"MappingRule"} + }, "NotificationChannel":{ "type":"string", "enum":["ALL"] @@ -736,6 +834,7 @@ "ProfileDetail":{ "type":"structure", "members":{ + "attributeMappings":{"shape":"AttributeMappings"}, "createdAt":{"shape":"SyntheticTimestamp_date_time"}, "createdBy":{"shape":"String"}, "durationSeconds":{"shape":"Integer"}, @@ -760,6 +859,30 @@ "type":"list", "member":{"shape":"ProfileDetail"} }, + "PutAttributeMappingRequest":{ + "type":"structure", + "required":[ + "certificateField", + "mappingRules", + "profileId" + ], + "members":{ + "certificateField":{"shape":"CertificateField"}, + "mappingRules":{"shape":"MappingRules"}, + "profileId":{ + "shape":"Uuid", + "location":"uri", + "locationName":"profileId" + } + } + }, + "PutAttributeMappingResponse":{ + "type":"structure", + "required":["profile"], + "members":{ + "profile":{"shape":"ProfileDetail"} + } + }, "PutNotificationSettingsRequest":{ "type":"structure", "required":[ @@ -889,6 +1012,10 @@ "max":8000, "min":1 }, + "SpecifierList":{ + "type":"list", + "member":{"shape":"String"} + }, "String":{"type":"string"}, "SubjectDetail":{ "type":"structure", diff --git a/models/apis/rolesanywhere/2018-05-10/docs-2.json b/models/apis/rolesanywhere/2018-05-10/docs-2.json index 3f11e0446d8..c44b65a8666 100644 --- a/models/apis/rolesanywhere/2018-05-10/docs-2.json +++ b/models/apis/rolesanywhere/2018-05-10/docs-2.json @@ -4,6 +4,7 @@ "operations": { "CreateProfile": "

Creates a profile, a list of the roles that Roles Anywhere service is trusted to assume. You use profiles to intersect permissions with IAM managed policies.

Required permissions: rolesanywhere:CreateProfile.

", "CreateTrustAnchor": "

Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA). You can define a trust anchor as a reference to an Private Certificate Authority (Private CA) or by uploading a CA certificate. Your Amazon Web Services workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary Amazon Web Services credentials.

Required permissions: rolesanywhere:CreateTrustAnchor.

", + "DeleteAttributeMapping": "

Delete an entry from the attribute mapping rules enforced by a given profile.

", "DeleteCrl": "

Deletes a certificate revocation list (CRL).

Required permissions: rolesanywhere:DeleteCrl.

", "DeleteProfile": "

Deletes a profile.

Required permissions: rolesanywhere:DeleteProfile.

", "DeleteTrustAnchor": "

Deletes a trust anchor.

Required permissions: rolesanywhere:DeleteTrustAnchor.

", @@ -23,6 +24,7 @@ "ListSubjects": "

Lists the subjects in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListSubjects.

", "ListTagsForResource": "

Lists the tags attached to the resource.

Required permissions: rolesanywhere:ListTagsForResource.

", "ListTrustAnchors": "

Lists the trust anchors in the authenticated account and Amazon Web Services Region.

Required permissions: rolesanywhere:ListTrustAnchors.

", + "PutAttributeMapping": "

Put an entry in the attribute mapping rules that will be enforced by a given profile. A mapping specifies a certificate field and one or more specifiers that have contextual meanings.

", "PutNotificationSettings": "

Attaches a list of notification settings to a trust anchor.

A notification setting includes information such as event name, threshold, status of the notification setting, and the channel to notify.

Required permissions: rolesanywhere:PutNotificationSettings.

", "ResetNotificationSettings": "

Resets the custom notification setting to IAM Roles Anywhere default setting.

Required permissions: rolesanywhere:ResetNotificationSettings.

", "TagResource": "

Attaches tags to a resource.

Required permissions: rolesanywhere:TagResource.

", @@ -45,6 +47,18 @@ "UntagResourceRequest$resourceArn": "

The ARN of the resource.

" } }, + "AttributeMapping": { + "base": "

A mapping applied to the authenticating end-entity certificate.

", + "refs": { + "AttributeMappings$member": null + } + }, + "AttributeMappings": { + "base": null, + "refs": { + "ProfileDetail$attributeMappings": "

A mapping applied to the authenticating end-entity certificate.

" + } + }, "Blob": { "base": null, "refs": { @@ -71,6 +85,14 @@ "TrustAnchorDetail$enabled": "

Indicates whether the trust anchor is enabled.

" } }, + "CertificateField": { + "base": null, + "refs": { + "AttributeMapping$certificateField": "

Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

", + "DeleteAttributeMappingRequest$certificateField": "

Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

", + "PutAttributeMappingRequest$certificateField": "

Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.

" + } + }, "CreateProfileRequest": { "base": null, "refs": { @@ -117,6 +139,16 @@ "ListCrlsResponse$crls": "

A list of certificate revocation lists (CRL).

" } }, + "DeleteAttributeMappingRequest": { + "base": null, + "refs": { + } + }, + "DeleteAttributeMappingResponse": { + "base": null, + "refs": { + } + }, "ImportCrlRequest": { "base": null, "refs": { @@ -220,6 +252,25 @@ "ManagedPolicyList$member": null } }, + "MappingRule": { + "base": "

A single mapping entry for each supported specifier or sub-field.

", + "refs": { + "MappingRules$member": null + } + }, + "MappingRuleSpecifierString": { + "base": null, + "refs": { + "MappingRule$specifier": "

Specifier within a certificate field, such as CN, OU, or UID from the Subject field.

" + } + }, + "MappingRules": { + "base": null, + "refs": { + "AttributeMapping$mappingRules": "

A list of mapping entries for every supported specifier or sub-field.

", + "PutAttributeMappingRequest$mappingRules": "

A list of mapping entries for every supported specifier or sub-field.

" + } + }, "NotificationChannel": { "base": null, "refs": { @@ -300,8 +351,10 @@ "ProfileDetail": { "base": "

The state of the profile after a read or write operation.

", "refs": { + "DeleteAttributeMappingResponse$profile": "

The state of the profile after a read or write operation.

", "ProfileDetailResponse$profile": "

The state of the profile after a read or write operation.

", - "ProfileDetails$member": null + "ProfileDetails$member": null, + "PutAttributeMappingResponse$profile": "

The state of the profile after a read or write operation.

" } }, "ProfileDetailResponse": { @@ -315,6 +368,16 @@ "ListProfilesResponse$profiles": "

A list of profiles.

" } }, + "PutAttributeMappingRequest": { + "base": null, + "refs": { + } + }, + "PutAttributeMappingResponse": { + "base": null, + "refs": { + } + }, "PutNotificationSettingsRequest": { "base": null, "refs": { @@ -407,6 +470,12 @@ "SourceData$x509CertificateData": "

The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.

" } }, + "SpecifierList": { + "base": null, + "refs": { + "DeleteAttributeMappingRequest$specifiers": "

A list of specifiers of a certificate field; for example, CN, OU, UID from a Subject.

" + } + }, "String": { "base": null, "refs": { @@ -426,6 +495,7 @@ "ProfileDetail$sessionPolicy": "

A session policy that applies to the trust boundary of the vended session credentials.

", "ResourceNotFoundException$message": null, "SourceData$acmPcaArn": "

The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type AWS_ACM_PCA.

", + "SpecifierList$member": null, "SubjectDetail$subjectArn": "

The ARN of the resource.

", "SubjectDetail$x509Subject": "

The x509 principal identifier of the authenticating certificate.

", "SubjectSummary$subjectArn": "

The ARN of the resource.

", @@ -606,7 +676,9 @@ "base": null, "refs": { "CrlDetail$crlId": "

The unique identifier of the certificate revocation list (CRL).

", + "DeleteAttributeMappingRequest$profileId": "

The unique identifier of the profile.

", "ProfileDetail$profileId": "

The unique identifier of the profile.

", + "PutAttributeMappingRequest$profileId": "

The unique identifier of the profile.

", "PutNotificationSettingsRequest$trustAnchorId": "

The unique identifier of the trust anchor.

", "ResetNotificationSettingsRequest$trustAnchorId": "

The unique identifier of the trust anchor.

", "ScalarCrlRequest$crlId": "

The unique identifier of the certificate revocation list (CRL).

", diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 973eaea8061..2ded92a6870 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -4932,10 +4932,7 @@ "type":"string", "enum":[ "AWS/Rekognition/DetectModerationLabels/Image/V3", - "AWS/Textract/AnalyzeDocument/Forms/V1", - "AWS/Textract/AnalyzeExpense", - "AWS/Handshake/VerifyIdentity", - "AWS/Bedrock/ModelEvaluation" + "AWS/Textract/AnalyzeDocument/Forms/V1" ] }, "BacktestResultsLocation":{ diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 7a97d6a34fa..0f5a9adb3f3 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -2049,7 +2049,7 @@ } }, "ClusterLifeCycleConfig": { - "base": "

The LifeCycle configuration for a SageMaker HyperPod cluster.

", + "base": "

The lifecycle configuration for a SageMaker HyperPod cluster.

", "refs": { "ClusterInstanceGroupDetails$LifeCycleConfig": "

Details of LifeCycle configuration for the instance group.

", "ClusterInstanceGroupSpecification$LifeCycleConfig": "

Specifies the LifeCycle configuration for the instance group.

", @@ -2059,7 +2059,7 @@ "ClusterLifeCycleConfigFileName": { "base": null, "refs": { - "ClusterLifeCycleConfig$OnCreate": "

The directory of the LifeCycle script under SourceS3Uri. This LifeCycle script runs during cluster creation.

" + "ClusterLifeCycleConfig$OnCreate": "

The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

" } }, "ClusterName": { @@ -5845,7 +5845,7 @@ "FeatureGroupName": { "base": null, "refs": { - "CreateFeatureGroupRequest$FeatureGroupName": "

The name of the FeatureGroup. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

The name:

", + "CreateFeatureGroupRequest$FeatureGroupName": "

The name of the FeatureGroup. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

The name:

", "DeleteFeatureGroupRequest$FeatureGroupName": "

The name of the FeatureGroup you want to delete. The name must be unique within an Amazon Web Services Region in an Amazon Web Services account.

", "DescribeFeatureGroupResponse$FeatureGroupName": "

he name of the FeatureGroup.

", "DescribeFeatureMetadataResponse$FeatureGroupName": "

The name of the feature group that you've specified.

", @@ -5912,13 +5912,13 @@ "FeatureName": { "base": null, "refs": { - "CreateFeatureGroupRequest$RecordIdentifierFeatureName": "

The name of the Feature whose value uniquely identifies a Record defined in the FeatureStore. Only the latest record per identifier value will be stored in the OnlineStore. RecordIdentifierFeatureName must be one of feature definitions' names.

You use the RecordIdentifierFeatureName to access data in a FeatureStore.

This name:

", + "CreateFeatureGroupRequest$RecordIdentifierFeatureName": "

The name of the Feature whose value uniquely identifies a Record defined in the FeatureStore. Only the latest record per identifier value will be stored in the OnlineStore. RecordIdentifierFeatureName must be one of feature definitions' names.

You use the RecordIdentifierFeatureName to access data in a FeatureStore.

This name:

", "CreateFeatureGroupRequest$EventTimeFeatureName": "

The name of the feature that stores the EventTime of a Record in a FeatureGroup.

An EventTime is a point in time when a new event occurs that corresponds to the creation or update of a Record in a FeatureGroup. All Records in the FeatureGroup must have a corresponding EventTime.

An EventTime can be a String or Fractional.

", "DescribeFeatureGroupResponse$RecordIdentifierFeatureName": "

The name of the Feature used for RecordIdentifier, whose value uniquely identifies a record stored in the feature store.

", "DescribeFeatureGroupResponse$EventTimeFeatureName": "

The name of the feature that stores the EventTime of a Record in a FeatureGroup.

An EventTime is a point in time when a new event occurs that corresponds to the creation or update of a Record in a FeatureGroup. All Records in the FeatureGroup have a corresponding EventTime.

", "DescribeFeatureMetadataRequest$FeatureName": "

The name of the feature.

", "DescribeFeatureMetadataResponse$FeatureName": "

The name of the feature that you've specified.

", - "FeatureDefinition$FeatureName": "

The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.

The name:

", + "FeatureDefinition$FeatureName": "

The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.

The name:

", "FeatureGroup$RecordIdentifierFeatureName": "

The name of the Feature whose value uniquely identifies a Record defined in the FeatureGroup FeatureDefinitions.

", "FeatureGroup$EventTimeFeatureName": "

The name of the feature that stores the EventTime of a Record in a FeatureGroup.

A EventTime is point in time when a new event occurs that corresponds to the creation or update of a Record in FeatureGroup. All Records in the FeatureGroup must have a corresponding EventTime.

", "FeatureMetadata$FeatureName": "

The name of feature.

", @@ -13080,7 +13080,7 @@ "AutoMLS3DataSource$S3Uri": "

The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.

", "BatchDataCaptureConfig$DestinationS3Uri": "

The Amazon S3 location being used to capture the data.

", "CheckpointConfig$S3Uri": "

Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix.

", - "ClusterLifeCycleConfig$SourceS3Uri": "

An Amazon S3 bucket path where your LifeCycle scripts are stored.

", + "ClusterLifeCycleConfig$SourceS3Uri": "

An Amazon S3 bucket path where your lifecycle scripts are stored.

Make sure that the S3 bucket path starts with s3://sagemaker-. The IAM role for SageMaker HyperPod has the managed AmazonSageMakerClusterInstanceRolePolicy attached, which allows access to S3 buckets with the specific prefix sagemaker-.

", "CreateLabelingJobRequest$LabelCategoryConfigS3Uri": "

The S3 URI of the file, referred to as a label category configuration file, that defines the categories used to label the data objects.

For 3D point cloud and video frame task types, you can add label category attributes and frame attributes to your label category configuration file. To learn how, see Create a Labeling Category Configuration File for 3D Point Cloud Labeling Jobs.

For named entity recognition jobs, in addition to \"labels\", you must provide worker instructions in the label category configuration file using the \"instructions\" parameter: \"instructions\": {\"shortInstruction\":\"<h1>Add header</h1><p>Add Instructions</p>\", \"fullInstruction\":\"<p>Add additional instructions.</p>\"}. For details and an example, see Create a Named Entity Recognition Labeling Job (API) .

For all other built-in task types and custom tasks, your label category configuration file must be a JSON file in the following format. Identify the labels you want to use by replacing label_1, label_2,...,label_n with your label categories.

{

\"document-version\": \"2018-11-28\",

\"labels\": [{\"label\": \"label_1\"},{\"label\": \"label_2\"},...{\"label\": \"label_n\"}]

}

Note the following about the label category configuration file:

", "CreateModelPackageInput$SamplePayloadUrl": "

The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the InvokeEndpoint call.

", "DataQualityAppSpecification$RecordPreprocessorSourceUri": "

An Amazon S3 URI to a script that is called per row prior to running analysis. It can base64 decode the payload and convert it into a flattened JSON so that the built-in container can use the converted data. Applicable only for the built-in (first party) containers.

", diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index 0023b0c5e5f..77a73599b4c 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -12,6 +12,22 @@ "uid":"workspaces-2015-04-08" }, "operations":{ + "AcceptAccountLinkInvitation":{ + "name":"AcceptAccountLinkInvitation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AcceptAccountLinkInvitationRequest"}, + "output":{"shape":"AcceptAccountLinkInvitationResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, "AssociateConnectionAlias":{ "name":"AssociateConnectionAlias", "http":{ @@ -101,6 +117,21 @@ {"shape":"InvalidParameterValuesException"} ] }, + "CreateAccountLinkInvitation":{ + "name":"CreateAccountLinkInvitation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateAccountLinkInvitationRequest"}, + "output":{"shape":"CreateAccountLinkInvitationResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, "CreateConnectClientAddIn":{ "name":"CreateConnectClientAddIn", "http":{ @@ -246,6 +277,22 @@ {"shape":"InvalidParameterValuesException"} ] }, + "DeleteAccountLinkInvitation":{ + "name":"DeleteAccountLinkInvitation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteAccountLinkInvitationRequest"}, + "output":{"shape":"DeleteAccountLinkInvitationResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, "DeleteClientBranding":{ "name":"DeleteClientBranding", "http":{ @@ -712,6 +759,21 @@ {"shape":"ResourceNotFoundException"} ] }, + "GetAccountLink":{ + "name":"GetAccountLink", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetAccountLinkRequest"}, + "output":{"shape":"GetAccountLinkResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} + ] + }, "ImportClientBranding":{ "name":"ImportClientBranding", "http":{ @@ -744,6 +806,20 @@ {"shape":"InvalidParameterValuesException"} ] }, + "ListAccountLinks":{ + "name":"ListAccountLinks", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListAccountLinksRequest"}, + "output":{"shape":"ListAccountLinksResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ] + }, "ListAvailableManagementCidrRanges":{ "name":"ListAvailableManagementCidrRanges", "http":{ @@ -952,6 +1028,22 @@ {"shape":"OperationNotSupportedException"} ] }, + "RejectAccountLinkInvitation":{ + "name":"RejectAccountLinkInvitation", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RejectAccountLinkInvitationRequest"}, + "output":{"shape":"RejectAccountLinkInvitationResult"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] + }, "RestoreWorkspace":{ "name":"RestoreWorkspace", "http":{ @@ -1095,6 +1187,20 @@ "type":"string", "pattern":"^arn:aws:[A-Za-z0-9][A-za-z0-9_/.-]{0,62}:[A-za-z0-9_/.-]{0,63}:[A-za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-za-z0-9_/.-]{0,127}$" }, + "AcceptAccountLinkInvitationRequest":{ + "type":"structure", + "required":["LinkId"], + "members":{ + "LinkId":{"shape":"LinkId"}, + "ClientToken":{"shape":"ClientToken"} + } + }, + "AcceptAccountLinkInvitationResult":{ + "type":"structure", + "members":{ + "AccountLink":{"shape":"AccountLink"} + } + }, "AccessDeniedException":{ "type":"structure", "members":{ @@ -1109,6 +1215,29 @@ "DENY" ] }, + "AccountLink":{ + "type":"structure", + "members":{ + "AccountLinkId":{"shape":"LinkId"}, + "AccountLinkStatus":{"shape":"AccountLinkStatusEnum"}, + "SourceAccountId":{"shape":"AwsAccount"}, + "TargetAccountId":{"shape":"AwsAccount"} + } + }, + "AccountLinkList":{ + "type":"list", + "member":{"shape":"AccountLink"} + }, + "AccountLinkStatusEnum":{ + "type":"string", + "enum":[ + "LINKED", + "LINKING_FAILED", + "LINK_NOT_FOUND", + "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT", + "REJECTED" + ] + }, "AccountModification":{ "type":"structure", "members":{ @@ -1421,6 +1550,10 @@ "ClientProperties":{"shape":"ClientProperties"} } }, + "ClientToken":{ + "type":"string", + "pattern":"^.{1,64}$" + }, "ClientUrl":{ "type":"string", "max":200, @@ -1458,6 +1591,13 @@ } }, "ComputerName":{"type":"string"}, + "ConflictException":{ + "type":"structure", + "members":{ + "message":{"shape":"ExceptionMessage"} + }, + "exception":true + }, "ConnectClientAddIn":{ "type":"structure", "members":{ @@ -1580,6 +1720,20 @@ "ImageId":{"shape":"WorkspaceImageId"} } }, + "CreateAccountLinkInvitationRequest":{ + "type":"structure", + "required":["TargetAccountId"], + "members":{ + "TargetAccountId":{"shape":"AwsAccount"}, + "ClientToken":{"shape":"ClientToken"} + } + }, + "CreateAccountLinkInvitationResult":{ + "type":"structure", + "members":{ + "AccountLink":{"shape":"AccountLink"} + } + }, "CreateConnectClientAddInRequest":{ "type":"structure", "required":[ @@ -1763,6 +1917,13 @@ "RecoverySnapshotTime":{"shape":"Timestamp"} } }, + "DedicatedTenancyAccountType":{ + "type":"string", + "enum":[ + "SOURCE_ACCOUNT", + "TARGET_ACCOUNT" + ] + }, "DedicatedTenancyCidrRangeList":{ "type":"list", "member":{"shape":"DedicatedTenancyManagementCidrRange"} @@ -1846,6 +2007,20 @@ "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME" ] }, + "DeleteAccountLinkInvitationRequest":{ + "type":"structure", + "required":["LinkId"], + "members":{ + "LinkId":{"shape":"LinkId"}, + "ClientToken":{"shape":"ClientToken"} + } + }, + "DeleteAccountLinkInvitationResult":{ + "type":"structure", + "members":{ + "AccountLink":{"shape":"AccountLink"} + } + }, "DeleteClientBrandingRequest":{ "type":"structure", "required":[ @@ -1989,7 +2164,8 @@ "type":"structure", "members":{ "DedicatedTenancySupport":{"shape":"DedicatedTenancySupportResultEnum"}, - "DedicatedTenancyManagementCidrRange":{"shape":"DedicatedTenancyManagementCidrRange"} + "DedicatedTenancyManagementCidrRange":{"shape":"DedicatedTenancyManagementCidrRange"}, + "DedicatedTenancyAccountType":{"shape":"DedicatedTenancyAccountType"} } }, "DescribeApplicationAssociationsRequest":{ @@ -2437,6 +2613,19 @@ "ErrorMessage":{"shape":"Description"} } }, + "GetAccountLinkRequest":{ + "type":"structure", + "members":{ + "LinkId":{"shape":"LinkId"}, + "LinkedAccountId":{"shape":"AwsAccount"} + } + }, + "GetAccountLinkResult":{ + "type":"structure", + "members":{ + "AccountLink":{"shape":"AccountLink"} + } + }, "ImageAssociatedResourceType":{ "type":"string", "enum":["APPLICATION"] @@ -2531,6 +2720,13 @@ }, "exception":true }, + "InternalServerException":{ + "type":"structure", + "members":{ + "message":{"shape":"ExceptionMessage"} + }, + "exception":true + }, "InvalidParameterValuesException":{ "type":"structure", "members":{ @@ -2617,6 +2813,29 @@ "max":25, "min":1 }, + "LinkId":{ + "type":"string", + "pattern":"^link-.{8,24}$" + }, + "LinkStatusFilterList":{ + "type":"list", + "member":{"shape":"AccountLinkStatusEnum"} + }, + "ListAccountLinksRequest":{ + "type":"structure", + "members":{ + "LinkStatusFilter":{"shape":"LinkStatusFilterList"}, + "NextToken":{"shape":"PaginationToken"}, + "MaxResults":{"shape":"Limit"} + } + }, + "ListAccountLinksResult":{ + "type":"structure", + "members":{ + "AccountLinks":{"shape":"AccountLinkList"}, + "NextToken":{"shape":"PaginationToken"} + } + }, "ListAvailableManagementCidrRangesRequest":{ "type":"structure", "required":["ManagementCidrRangeConstraint"], @@ -3009,6 +3228,20 @@ "max":20, "min":1 }, + "RejectAccountLinkInvitationRequest":{ + "type":"structure", + "required":["LinkId"], + "members":{ + "LinkId":{"shape":"LinkId"}, + "ClientToken":{"shape":"ClientToken"} + } + }, + "RejectAccountLinkInvitationResult":{ + "type":"structure", + "members":{ + "AccountLink":{"shape":"AccountLink"} + } + }, "RelatedWorkspaceProperties":{ "type":"structure", "members":{ @@ -3460,6 +3693,13 @@ } }, "UserVolumeSizeGib":{"type":"integer"}, + "ValidationException":{ + "type":"structure", + "members":{ + "message":{"shape":"ExceptionMessage"} + }, + "exception":true + }, "VolumeEncryptionKey":{"type":"string"}, "WorkSpaceApplication":{ "type":"structure", diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index 15c5394f4e5..ed13df0aad1 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -2,11 +2,13 @@ "version": "2.0", "service": "Amazon WorkSpaces Service

Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows or Amazon Linux desktops for your users, known as WorkSpaces. WorkSpaces eliminates the need to procure and deploy hardware or install complex software. You can quickly add or remove users as your needs change. Users can access their virtual desktops from multiple devices or web browsers.

This API Reference provides detailed information about the actions, data types, parameters, and errors of the WorkSpaces service. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas of the Amazon WorkSpaces service, see WorkSpaces endpoints and quotas in the Amazon Web Services General Reference.

You can also manage your WorkSpaces resources using the WorkSpaces console, Command Line Interface (CLI), and SDKs. For more information about administering WorkSpaces, see the Amazon WorkSpaces Administration Guide. For more information about using the Amazon WorkSpaces client application or web browser to access provisioned WorkSpaces, see the Amazon WorkSpaces User Guide. For more information about using the CLI to manage your WorkSpaces resources, see the WorkSpaces section of the CLI Reference.

", "operations": { + "AcceptAccountLinkInvitation": "

Accepts the account link invitation.

There's currently no unlinking capability after you accept the account linking invitation.

", "AssociateConnectionAlias": "

Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

", "AssociateIpGroups": "

Associates the specified IP access control group with the specified directory.

", "AssociateWorkspaceApplication": "

Associates the specified application to the specified WorkSpace.

", "AuthorizeIpRules": "

Adds one or more rules to the specified IP access control group.

This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.

", "CopyWorkspaceImage": "

Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.

", + "CreateAccountLinkInvitation": "

Creates the account link invitation.

", "CreateConnectClientAddIn": "

Creates a client-add-in for Amazon Connect within a directory. You can create only one Amazon Connect client add-in within a directory.

This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.

", "CreateConnectionAlias": "

Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "CreateIpGroup": "

Creates an IP access control group.

An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.

There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.

", @@ -16,6 +18,7 @@ "CreateWorkspaceBundle": "

Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.

", "CreateWorkspaceImage": "

Creates a new WorkSpace image from an existing WorkSpace.

", "CreateWorkspaces": "

Creates one or more WorkSpaces.

This operation is asynchronous and returns before the WorkSpaces are created.

", + "DeleteAccountLinkInvitation": "

Deletes the account link invitation.

", "DeleteClientBranding": "

Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you delete your customized client branding, your login portal reverts to the default client branding.

", "DeleteConnectClientAddIn": "

Deletes a client-add-in for Amazon Connect that is configured within a directory.

", "DeleteConnectionAlias": "

Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.

To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.

", @@ -49,8 +52,10 @@ "DisassociateConnectionAlias": "

Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

", "DisassociateIpGroups": "

Disassociates the specified IP access control group from the specified directory.

", "DisassociateWorkspaceApplication": "

Disassociates the specified application from a WorkSpace.

", + "GetAccountLink": "

Retrieves account link information.

", "ImportClientBranding": "

Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.

After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience

", "ImportWorkspaceImage": "

Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.

", + "ListAccountLinks": "

Lists all account links.

", "ListAvailableManagementCidrRanges": "

Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).

This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an AccessDeniedException error.

The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.

", "MigrateWorkspace": "

Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\\Users\\%USERNAME% user profile folder is renamed to D:\\Users\\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new D:\\Users\\%USERNAME%\\ folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.

For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.

", "ModifyAccount": "

Modifies the configuration of Bring Your Own License (BYOL) for the specified account.

", @@ -65,6 +70,7 @@ "RebootWorkspaces": "

Reboots the specified WorkSpaces.

You cannot reboot a WorkSpace unless its state is AVAILABLE, UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING state only if your WorkSpace has been stuck in the REBOOTING state for over 20 minutes.

This operation is asynchronous and returns before the WorkSpaces have rebooted.

", "RebuildWorkspaces": "

Rebuilds the specified WorkSpace.

You cannot rebuild a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, STOPPED, or REBOOTING.

Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.

This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.

", "RegisterWorkspaceDirectory": "

Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.

", + "RejectAccountLinkInvitation": "

Rejects the account link invitation.

", "RestoreWorkspace": "

Restores the specified WorkSpace to its last known healthy state.

You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.

This operation is asynchronous and returns before the WorkSpace is completely restored.

", "RevokeIpRules": "

Removes one or more rules from the specified IP access control group.

", "StartWorkspaces": "

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

", @@ -83,6 +89,16 @@ "WorkspaceDirectory$IamRoleId": "

The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

" } }, + "AcceptAccountLinkInvitationRequest": { + "base": null, + "refs": { + } + }, + "AcceptAccountLinkInvitationResult": { + "base": null, + "refs": { + } + }, "AccessDeniedException": { "base": "

The user is not authorized to access a resource.

", "refs": { @@ -101,6 +117,30 @@ "WorkspaceAccessProperties$DeviceTypeLinux": "

Indicates whether users can use Linux clients to access their WorkSpaces.

" } }, + "AccountLink": { + "base": "

Information about about the account link.

", + "refs": { + "AcceptAccountLinkInvitationResult$AccountLink": "

Information about the account link.

", + "AccountLinkList$member": null, + "CreateAccountLinkInvitationResult$AccountLink": "

Information about the account link.

", + "DeleteAccountLinkInvitationResult$AccountLink": "

Information about the account link.

", + "GetAccountLinkResult$AccountLink": "

The account link of the account link to retrieve.

", + "RejectAccountLinkInvitationResult$AccountLink": "

Information about the account link.

" + } + }, + "AccountLinkList": { + "base": null, + "refs": { + "ListAccountLinksResult$AccountLinks": "

Information about the account links.

" + } + }, + "AccountLinkStatusEnum": { + "base": null, + "refs": { + "AccountLink$AccountLinkStatus": "

The status of the account link.

", + "LinkStatusFilterList$member": null + } + }, "AccountModification": { "base": "

Describes a modification to the configuration of Bring Your Own License (BYOL) for the specified account.

", "refs": { @@ -259,10 +299,14 @@ "AwsAccount": { "base": null, "refs": { + "AccountLink$SourceAccountId": "

The identifier of the source account.

", + "AccountLink$TargetAccountId": "

The identifier of the target account.

", "ConnectionAlias$OwnerAccountId": "

The identifier of the Amazon Web Services account that owns the connection alias.

", "ConnectionAliasAssociation$AssociatedAccountId": "

The identifier of the Amazon Web Services account that associated the connection alias with a directory.

", "ConnectionAliasPermission$SharedAccountId": "

The identifier of the Amazon Web Services account that the connection alias is shared with.

", + "CreateAccountLinkInvitationRequest$TargetAccountId": "

The identifier of the target account.

", "CreateWorkspaceImageResult$OwnerAccountId": "

The identifier of the Amazon Web Services account that owns the image.

", + "GetAccountLinkRequest$LinkedAccountId": "

The identifier of the account link

", "ImagePermission$SharedAccountId": "

The identifier of the Amazon Web Services account that an image has been shared with.

", "UpdateWorkspaceImagePermissionRequest$SharedAccountId": "

The identifier of the Amazon Web Services account to share or unshare the image with.

Before sharing the image, confirm that you are sharing to the correct Amazon Web Services account ID.

", "WorkspaceImage$OwnerAccountId": "

The identifier of the Amazon Web Services account that owns the image.

" @@ -427,6 +471,15 @@ "ClientPropertiesList$member": null } }, + "ClientToken": { + "base": null, + "refs": { + "AcceptAccountLinkInvitationRequest$ClientToken": "

A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

", + "CreateAccountLinkInvitationRequest$ClientToken": "

A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

", + "DeleteAccountLinkInvitationRequest$ClientToken": "

A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

", + "RejectAccountLinkInvitationRequest$ClientToken": "

The client token of the account link invitation to reject.

" + } + }, "ClientUrl": { "base": null, "refs": { @@ -477,6 +530,11 @@ "Workspace$ComputerName": "

The name of the WorkSpace, as seen by the operating system. The format of this name varies. For more information, see Launch a WorkSpace.

" } }, + "ConflictException": { + "base": "

The TargetAccountId is already linked or invited.

", + "refs": { + } + }, "ConnectClientAddIn": { "base": "

Describes an Amazon Connect client add-in.

", "refs": { @@ -582,6 +640,16 @@ "refs": { } }, + "CreateAccountLinkInvitationRequest": { + "base": null, + "refs": { + } + }, + "CreateAccountLinkInvitationResult": { + "base": null, + "refs": { + } + }, "CreateConnectClientAddInRequest": { "base": null, "refs": { @@ -687,6 +755,12 @@ "Workspace$DataReplicationSettings": "

Indicates the settings of the data replication.

" } }, + "DedicatedTenancyAccountType": { + "base": null, + "refs": { + "DescribeAccountResult$DedicatedTenancyAccountType": "

The type of linked account.

" + } + }, "DedicatedTenancyCidrRangeList": { "base": null, "refs": { @@ -789,6 +863,16 @@ "DeletableSamlPropertiesList$member": null } }, + "DeleteAccountLinkInvitationRequest": { + "base": null, + "refs": { + } + }, + "DeleteAccountLinkInvitationResult": { + "base": null, + "refs": { + } + }, "DeleteClientBrandingRequest": { "base": null, "refs": { @@ -1220,6 +1304,8 @@ "base": null, "refs": { "AccessDeniedException$message": null, + "ConflictException$message": null, + "InternalServerException$message": null, "InvalidParameterValuesException$message": "

The exception error message.

", "InvalidResourceStateException$message": null, "OperationInProgressException$message": null, @@ -1233,6 +1319,7 @@ "ResourceUnavailableException$message": "

The exception error message.

", "UnsupportedNetworkConfigurationException$message": null, "UnsupportedWorkspaceConfigurationException$message": null, + "ValidationException$message": null, "WorkspacesDefaultRoleNotFoundException$message": null } }, @@ -1300,6 +1387,16 @@ "FailedTerminateWorkspaceRequests$member": null } }, + "GetAccountLinkRequest": { + "base": null, + "refs": { + } + }, + "GetAccountLinkResult": { + "base": null, + "refs": { + } + }, "ImageAssociatedResourceType": { "base": null, "refs": { @@ -1368,6 +1465,11 @@ "refs": { } }, + "InternalServerException": { + "base": "

Unexpected server error occured.

", + "refs": { + } + }, "InvalidParameterValuesException": { "base": "

One or more parameter values are not valid.

", "refs": { @@ -1497,7 +1599,34 @@ "DescribeWorkspaceDirectoriesRequest$Limit": "

The maximum number of directories to return.

", "DescribeWorkspaceImagePermissionsRequest$MaxResults": "

The maximum number of items to return.

", "DescribeWorkspaceImagesRequest$MaxResults": "

The maximum number of items to return.

", - "DescribeWorkspacesRequest$Limit": "

The maximum number of items to return.

" + "DescribeWorkspacesRequest$Limit": "

The maximum number of items to return.

", + "ListAccountLinksRequest$MaxResults": "

The maximum number of accounts to return.

" + } + }, + "LinkId": { + "base": null, + "refs": { + "AcceptAccountLinkInvitationRequest$LinkId": "

The identifier of the account link.

", + "AccountLink$AccountLinkId": "

The identifier of the account link.

", + "DeleteAccountLinkInvitationRequest$LinkId": "

The identifier of the account link.

", + "GetAccountLinkRequest$LinkId": "

The identifier of the account to link.

", + "RejectAccountLinkInvitationRequest$LinkId": "

The identifier of the account link

" + } + }, + "LinkStatusFilterList": { + "base": null, + "refs": { + "ListAccountLinksRequest$LinkStatusFilter": "

Filters the account based on their link status.

" + } + }, + "ListAccountLinksRequest": { + "base": null, + "refs": { + } + }, + "ListAccountLinksResult": { + "base": null, + "refs": { } }, "ListAvailableManagementCidrRangesRequest": { @@ -1759,6 +1888,8 @@ "DescribeWorkspacesConnectionStatusResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeWorkspacesRequest$NextToken": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

", "DescribeWorkspacesResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListAccountLinksRequest$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "ListAccountLinksResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "ListAvailableManagementCidrRangesRequest$NextToken": "

If you received a NextToken from a previous call that was paginated, provide this token to receive the next set of results.

", "ListAvailableManagementCidrRangesResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

" } @@ -1866,6 +1997,16 @@ "WorkspaceDirectory$RegistrationCode": "

The registration code for the directory. This is the code that users enter in their Amazon WorkSpaces client application to connect to the directory.

" } }, + "RejectAccountLinkInvitationRequest": { + "base": null, + "refs": { + } + }, + "RejectAccountLinkInvitationResult": { + "base": null, + "refs": { + } + }, "RelatedWorkspaceProperties": { "base": "

Describes the related WorkSpace. The related WorkSpace could be a standby WorkSpace or primary WorkSpace related to the specified WorkSpace.

", "refs": { @@ -2302,6 +2443,11 @@ "WorkspaceProperties$UserVolumeSizeGib": "

The size of the user storage. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.

" } }, + "ValidationException": { + "base": "

You either haven't provided a TargetAccountId or are using the same value for TargetAccountId and SourceAccountId.

", + "refs": { + } + }, "VolumeEncryptionKey": { "base": null, "refs": { diff --git a/models/apis/workspaces/2015-04-08/paginators-1.json b/models/apis/workspaces/2015-04-08/paginators-1.json index 93b49cb1e0f..035f38873dd 100644 --- a/models/apis/workspaces/2015-04-08/paginators-1.json +++ b/models/apis/workspaces/2015-04-08/paginators-1.json @@ -25,6 +25,12 @@ "limit_key": "Limit", "output_token": "NextToken", "result_key": "Workspaces" + }, + "ListAccountLinks": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "AccountLinks" } } } \ No newline at end of file diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index f862505cd9e..f95a23a901c 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -15546,6 +15546,28 @@ } ] }, "endpoints" : { + "af-south-1" : { + "credentialScope" : { + "region" : "af-south-1" + }, + "hostname" : "s3-control.af-south-1.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.af-south-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "credentialScope" : { + "region" : "ap-east-1" + }, + "hostname" : "s3-control.ap-east-1.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.ap-east-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "ap-northeast-1" : { "credentialScope" : { "region" : "ap-northeast-1" @@ -15590,6 +15612,17 @@ "tags" : [ "dualstack" ] } ] }, + "ap-south-2" : { + "credentialScope" : { + "region" : "ap-south-2" + }, + "hostname" : "s3-control.ap-south-2.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.ap-south-2.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "ap-southeast-1" : { "credentialScope" : { "region" : "ap-southeast-1" @@ -15612,6 +15645,28 @@ "tags" : [ "dualstack" ] } ] }, + "ap-southeast-3" : { + "credentialScope" : { + "region" : "ap-southeast-3" + }, + "hostname" : "s3-control.ap-southeast-3.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.ap-southeast-3.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-4" : { + "credentialScope" : { + "region" : "ap-southeast-4" + }, + "hostname" : "s3-control.ap-southeast-4.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.ap-southeast-4.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "ca-central-1" : { "credentialScope" : { "region" : "ca-central-1" @@ -15648,6 +15703,17 @@ "tags" : [ "dualstack" ] } ] }, + "eu-central-2" : { + "credentialScope" : { + "region" : "eu-central-2" + }, + "hostname" : "s3-control.eu-central-2.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.eu-central-2.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "eu-north-1" : { "credentialScope" : { "region" : "eu-north-1" @@ -15659,6 +15725,28 @@ "tags" : [ "dualstack" ] } ] }, + "eu-south-1" : { + "credentialScope" : { + "region" : "eu-south-1" + }, + "hostname" : "s3-control.eu-south-1.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.eu-south-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-2" : { + "credentialScope" : { + "region" : "eu-south-2" + }, + "hostname" : "s3-control.eu-south-2.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.eu-south-2.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "eu-west-1" : { "credentialScope" : { "region" : "eu-west-1" @@ -15692,6 +15780,39 @@ "tags" : [ "dualstack" ] } ] }, + "il-central-1" : { + "credentialScope" : { + "region" : "il-central-1" + }, + "hostname" : "s3-control.il-central-1.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.il-central-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, + "me-central-1" : { + "credentialScope" : { + "region" : "me-central-1" + }, + "hostname" : "s3-control.me-central-1.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.me-central-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, + "me-south-1" : { + "credentialScope" : { + "region" : "me-south-1" + }, + "hostname" : "s3-control.me-south-1.amazonaws.com", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control.dualstack.me-south-1.amazonaws.com", + "tags" : [ "dualstack" ] + } ] + }, "sa-east-1" : { "credentialScope" : { "region" : "sa-east-1" @@ -22608,9 +22729,29 @@ }, "endpoints" : { "us-gov-east-1" : { + "hostname" : "autoscaling-plans.us-gov-east-1.amazonaws.com", + "protocols" : [ "http", "https" ], + "variants" : [ { + "hostname" : "autoscaling-plans.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-east-1-fips" : { + "deprecated" : true, + "hostname" : "autoscaling-plans.us-gov-east-1.amazonaws.com", "protocols" : [ "http", "https" ] }, "us-gov-west-1" : { + "hostname" : "autoscaling-plans.us-gov-west-1.amazonaws.com", + "protocols" : [ "http", "https" ], + "variants" : [ { + "hostname" : "autoscaling-plans.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1-fips" : { + "deprecated" : true, + "hostname" : "autoscaling-plans.us-gov-west-1.amazonaws.com", "protocols" : [ "http", "https" ] } } @@ -27689,6 +27830,64 @@ } } }, + "s3-control" : { + "defaults" : { + "protocols" : [ "https" ], + "signatureVersions" : [ "s3v4" ] + }, + "endpoints" : { + "us-iso-east-1" : { + "credentialScope" : { + "region" : "us-iso-east-1" + }, + "hostname" : "s3-control.us-iso-east-1.c2s.ic.gov", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control-fips.dualstack.us-iso-east-1.c2s.ic.gov", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "s3-control-fips.us-iso-east-1.c2s.ic.gov", + "tags" : [ "fips" ] + }, { + "hostname" : "s3-control.dualstack.us-iso-east-1.c2s.ic.gov", + "tags" : [ "dualstack" ] + } ] + }, + "us-iso-east-1-fips" : { + "credentialScope" : { + "region" : "us-iso-east-1" + }, + "deprecated" : true, + "hostname" : "s3-control-fips.us-iso-east-1.c2s.ic.gov", + "signatureVersions" : [ "s3v4" ] + }, + "us-iso-west-1" : { + "credentialScope" : { + "region" : "us-iso-west-1" + }, + "hostname" : "s3-control.us-iso-west-1.c2s.ic.gov", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control-fips.dualstack.us-iso-west-1.c2s.ic.gov", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "s3-control-fips.us-iso-west-1.c2s.ic.gov", + "tags" : [ "fips" ] + }, { + "hostname" : "s3-control.dualstack.us-iso-west-1.c2s.ic.gov", + "tags" : [ "dualstack" ] + } ] + }, + "us-iso-west-1-fips" : { + "credentialScope" : { + "region" : "us-iso-west-1" + }, + "deprecated" : true, + "hostname" : "s3-control-fips.us-iso-west-1.c2s.ic.gov", + "signatureVersions" : [ "s3v4" ] + } + } + }, "s3-outposts" : { "endpoints" : { "fips-us-iso-east-1" : { @@ -28309,6 +28508,39 @@ } } }, + "s3-control" : { + "defaults" : { + "protocols" : [ "https" ], + "signatureVersions" : [ "s3v4" ] + }, + "endpoints" : { + "us-isob-east-1" : { + "credentialScope" : { + "region" : "us-isob-east-1" + }, + "hostname" : "s3-control.us-isob-east-1.sc2s.sgov.gov", + "signatureVersions" : [ "s3v4" ], + "variants" : [ { + "hostname" : "s3-control-fips.dualstack.us-isob-east-1.sc2s.sgov.gov", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "s3-control-fips.us-isob-east-1.sc2s.sgov.gov", + "tags" : [ "fips" ] + }, { + "hostname" : "s3-control.dualstack.us-isob-east-1.sc2s.sgov.gov", + "tags" : [ "dualstack" ] + } ] + }, + "us-isob-east-1-fips" : { + "credentialScope" : { + "region" : "us-isob-east-1" + }, + "deprecated" : true, + "hostname" : "s3-control-fips.us-isob-east-1.sc2s.sgov.gov", + "signatureVersions" : [ "s3v4" ] + } + } + }, "s3-outposts" : { "endpoints" : { "fips-us-isob-east-1" : { diff --git a/service/drs/api.go b/service/drs/api.go index 488e459cd26..8bf5c37c6da 100644 --- a/service/drs/api.go +++ b/service/drs/api.go @@ -6659,6 +6659,9 @@ type DataReplicationInfo struct { // AWS Availability zone into which data is being replicated. StagingAvailabilityZone *string `locationName:"stagingAvailabilityZone" type:"string"` + + // The ARN of the staging Outpost + StagingOutpostArn *string `locationName:"stagingOutpostArn" min:"20" type:"string"` } // String returns the string representation. @@ -6721,6 +6724,12 @@ func (s *DataReplicationInfo) SetStagingAvailabilityZone(v string) *DataReplicat return s } +// SetStagingOutpostArn sets the StagingOutpostArn field's value. +func (s *DataReplicationInfo) SetStagingOutpostArn(v string) *DataReplicationInfo { + s.StagingOutpostArn = &v + return s +} + // A disk that should be replicated. type DataReplicationInfoReplicatedDisk struct { _ struct{} `type:"structure"` @@ -11708,6 +11717,9 @@ type RecoveryInstance struct { // Properties of the Recovery Instance machine. RecoveryInstanceProperties *RecoveryInstanceProperties `locationName:"recoveryInstanceProperties" type:"structure"` + // The ARN of the source Outpost + SourceOutpostArn *string `locationName:"sourceOutpostArn" min:"20" type:"string"` + // The Source Server ID that this Recovery Instance is associated with. SourceServerID *string `locationName:"sourceServerID" min:"19" type:"string"` @@ -11815,6 +11827,12 @@ func (s *RecoveryInstance) SetRecoveryInstanceProperties(v *RecoveryInstanceProp return s } +// SetSourceOutpostArn sets the SourceOutpostArn field's value. +func (s *RecoveryInstance) SetSourceOutpostArn(v string) *RecoveryInstance { + s.SourceOutpostArn = &v + return s +} + // SetSourceServerID sets the SourceServerID field's value. func (s *RecoveryInstance) SetSourceServerID(v string) *RecoveryInstance { s.SourceServerID = &v @@ -11892,6 +11910,9 @@ type RecoveryInstanceDataReplicationInfo struct { // AWS Availability zone into which data is being replicated. StagingAvailabilityZone *string `locationName:"stagingAvailabilityZone" type:"string"` + + // The ARN of the staging Outpost + StagingOutpostArn *string `locationName:"stagingOutpostArn" min:"20" type:"string"` } // String returns the string representation. @@ -11954,6 +11975,12 @@ func (s *RecoveryInstanceDataReplicationInfo) SetStagingAvailabilityZone(v strin return s } +// SetStagingOutpostArn sets the StagingOutpostArn field's value. +func (s *RecoveryInstanceDataReplicationInfo) SetStagingOutpostArn(v string) *RecoveryInstanceDataReplicationInfo { + s.StagingOutpostArn = &v + return s +} + // A disk that should be replicated. type RecoveryInstanceDataReplicationInfoReplicatedDisk struct { _ struct{} `type:"structure"` @@ -13198,6 +13225,9 @@ type SourceCloudProperties struct { // AWS Region for an EC2-originated Source Server. OriginRegion *string `locationName:"originRegion" type:"string"` + + // The ARN of the source Outpost + SourceOutpostArn *string `locationName:"sourceOutpostArn" min:"20" type:"string"` } // String returns the string representation. @@ -13236,6 +13266,12 @@ func (s *SourceCloudProperties) SetOriginRegion(v string) *SourceCloudProperties return s } +// SetSourceOutpostArn sets the SourceOutpostArn field's value. +func (s *SourceCloudProperties) SetSourceOutpostArn(v string) *SourceCloudProperties { + s.SourceOutpostArn = &v + return s +} + // The ARN of the Source Network. type SourceNetwork struct { _ struct{} `type:"structure"` @@ -17685,6 +17721,9 @@ const ( // VolumeStatusMissingVolumeAttributesAndPrecheckUnavailable is a VolumeStatus enum value VolumeStatusMissingVolumeAttributesAndPrecheckUnavailable = "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE" + + // VolumeStatusPending is a VolumeStatus enum value + VolumeStatusPending = "PENDING" ) // VolumeStatus_Values returns all elements of the VolumeStatus enum @@ -17694,5 +17733,6 @@ func VolumeStatus_Values() []string { VolumeStatusContainsMarketplaceProductCodes, VolumeStatusMissingVolumeAttributes, VolumeStatusMissingVolumeAttributesAndPrecheckUnavailable, + VolumeStatusPending, } } diff --git a/service/emrserverless/api.go b/service/emrserverless/api.go index 13c3999a391..2a451d65c0d 100644 --- a/service/emrserverless/api.go +++ b/service/emrserverless/api.go @@ -4205,6 +4205,10 @@ type MonitoringConfiguration struct { // The managed log persistence configuration for a job run. ManagedPersistenceMonitoringConfiguration *ManagedPersistenceMonitoringConfiguration `locationName:"managedPersistenceMonitoringConfiguration" type:"structure"` + // The monitoring configuration object you can configure to send metrics to + // Amazon Managed Service for Prometheus for a job run. + PrometheusMonitoringConfiguration *PrometheusMonitoringConfiguration `locationName:"prometheusMonitoringConfiguration" type:"structure"` + // The Amazon S3 configuration for monitoring log publishing. S3MonitoringConfiguration *S3MonitoringConfiguration `locationName:"s3MonitoringConfiguration" type:"structure"` } @@ -4240,6 +4244,11 @@ func (s *MonitoringConfiguration) Validate() error { invalidParams.AddNested("ManagedPersistenceMonitoringConfiguration", err.(request.ErrInvalidParams)) } } + if s.PrometheusMonitoringConfiguration != nil { + if err := s.PrometheusMonitoringConfiguration.Validate(); err != nil { + invalidParams.AddNested("PrometheusMonitoringConfiguration", err.(request.ErrInvalidParams)) + } + } if s.S3MonitoringConfiguration != nil { if err := s.S3MonitoringConfiguration.Validate(); err != nil { invalidParams.AddNested("S3MonitoringConfiguration", err.(request.ErrInvalidParams)) @@ -4264,6 +4273,12 @@ func (s *MonitoringConfiguration) SetManagedPersistenceMonitoringConfiguration(v return s } +// SetPrometheusMonitoringConfiguration sets the PrometheusMonitoringConfiguration field's value. +func (s *MonitoringConfiguration) SetPrometheusMonitoringConfiguration(v *PrometheusMonitoringConfiguration) *MonitoringConfiguration { + s.PrometheusMonitoringConfiguration = v + return s +} + // SetS3MonitoringConfiguration sets the S3MonitoringConfiguration field's value. func (s *MonitoringConfiguration) SetS3MonitoringConfiguration(v *S3MonitoringConfiguration) *MonitoringConfiguration { s.S3MonitoringConfiguration = v @@ -4311,6 +4326,53 @@ func (s *NetworkConfiguration) SetSubnetIds(v []*string) *NetworkConfiguration { return s } +// The monitoring configuration object you can configure to send metrics to +// Amazon Managed Service for Prometheus for a job run. +type PrometheusMonitoringConfiguration struct { + _ struct{} `type:"structure"` + + // The remote write URL in the Amazon Managed Service for Prometheus workspace + // to send metrics to. + RemoteWriteUrl *string `locationName:"remoteWriteUrl" min:"1" 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 PrometheusMonitoringConfiguration) 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 PrometheusMonitoringConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PrometheusMonitoringConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PrometheusMonitoringConfiguration"} + if s.RemoteWriteUrl != nil && len(*s.RemoteWriteUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RemoteWriteUrl", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetRemoteWriteUrl sets the RemoteWriteUrl field's value. +func (s *PrometheusMonitoringConfiguration) SetRemoteWriteUrl(v string) *PrometheusMonitoringConfiguration { + s.RemoteWriteUrl = &v + return s +} + // The specified resource was not found. type ResourceNotFoundException struct { _ struct{} `type:"structure"` diff --git a/service/guardduty/api.go b/service/guardduty/api.go index 4739085a551..787a803a49a 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -9380,6 +9380,8 @@ type CreateFilterInput struct { // // * service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 // + // * service.action.awsApiCallAction.remoteIpDetails.ipAddressV6 + // // * service.action.awsApiCallAction.remoteIpDetails.organization.asn // // * service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg @@ -9404,6 +9406,8 @@ type CreateFilterInput struct { // // * service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 // + // * service.action.networkConnectionAction.remoteIpDetails.ipAddressV6 + // // * service.action.networkConnectionAction.remoteIpDetails.organization.asn // // * service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg @@ -9414,6 +9418,8 @@ type CreateFilterInput struct { // // * service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4 // + // * service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6 + // // * service.action.kubernetesApiCallAction.namespace // // * service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn @@ -9424,6 +9430,8 @@ type CreateFilterInput struct { // // * service.action.networkConnectionAction.localIpDetails.ipAddressV4 // + // * service.action.networkConnectionAction.localIpDetails.ipAddressV6 + // // * service.action.networkConnectionAction.protocol // // * service.action.awsApiCallAction.serviceName @@ -18317,6 +18325,13 @@ type LocalIpDetails struct { // replaced with "sensitive" in string returned by LocalIpDetails's // String and GoString methods. IpAddressV4 *string `locationName:"ipAddressV4" type:"string" sensitive:"true"` + + // The IPv6 local address of the connection. + // + // IpAddressV6 is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by LocalIpDetails's + // String and GoString methods. + IpAddressV6 *string `locationName:"ipAddressV6" type:"string" sensitive:"true"` } // String returns the string representation. @@ -18343,6 +18358,12 @@ func (s *LocalIpDetails) SetIpAddressV4(v string) *LocalIpDetails { return s } +// SetIpAddressV6 sets the IpAddressV6 field's value. +func (s *LocalIpDetails) SetIpAddressV6(v string) *LocalIpDetails { + s.IpAddressV6 = &v + return s +} + // Contains information about the port for the local connection. type LocalPortDetails struct { _ struct{} `type:"structure"` @@ -21005,6 +21026,13 @@ type RemoteIpDetails struct { // String and GoString methods. IpAddressV4 *string `locationName:"ipAddressV4" type:"string" sensitive:"true"` + // The IPv6 remote address of the connection. + // + // IpAddressV6 is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by RemoteIpDetails's + // String and GoString methods. + IpAddressV6 *string `locationName:"ipAddressV6" type:"string" sensitive:"true"` + // The ISP organization information of the remote IP address. Organization *Organization `locationName:"organization" type:"structure"` } @@ -21051,6 +21079,12 @@ func (s *RemoteIpDetails) SetIpAddressV4(v string) *RemoteIpDetails { return s } +// SetIpAddressV6 sets the IpAddressV6 field's value. +func (s *RemoteIpDetails) SetIpAddressV6(v string) *RemoteIpDetails { + s.IpAddressV6 = &v + return s +} + // SetOrganization sets the Organization field's value. func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails { s.Organization = v diff --git a/service/quicksight/api.go b/service/quicksight/api.go index 072187e4611..cdb14c3c014 100644 --- a/service/quicksight/api.go +++ b/service/quicksight/api.go @@ -16061,18 +16061,81 @@ func (c *QuickSight) StartDashboardSnapshotJobRequest(input *StartDashboardSnaps // StartDashboardSnapshotJob API operation for Amazon QuickSight. // -// Starts an asynchronous job that generates a dashboard snapshot. You can request -// one of the following format configurations per API call. +// Starts an asynchronous job that generates a snapshot of a dashboard's output. +// You can request one or several of the following format configurations in +// each API call. // -// - 1 paginated PDF +// - 1 Paginated PDF // -// - 1 Excel workbook +// - 1 Excel workbook that includes up to 5 table or pivot table visuals // -// - 5 CSVs +// - 5 CSVs from table or pivot table visuals // -// Poll job descriptions with a DescribeDashboardSnapshotJob API call. Once -// the job succeeds, use the DescribeDashboardSnapshotJobResult API to obtain -// the download URIs that the job generates. +// The status of a submitted job can be polled with the DescribeDashboardSnapshotJob +// API. When you call the DescribeDashboardSnapshotJob API, check the JobStatus +// field in the response. Once the job reaches a COMPLETED or FAILED status, +// use the DescribeDashboardSnapshotJobResult API to obtain the URLs for the +// generated files. If the job fails, the DescribeDashboardSnapshotJobResult +// API returns detailed information about the error that occurred. +// +// # StartDashboardSnapshotJob API throttling +// +// Amazon QuickSight utilizes API throttling to create a more consistent user +// experience within a time span for customers when they call the StartDashboardSnapshotJob. +// By default, 12 jobs can run simlutaneously in one Amazon Web Services account +// and users can submit up 10 API requests per second before an account is throttled. +// If an overwhelming number of API requests are made by the same user in a +// short period of time, Amazon QuickSight throttles the API calls to maintin +// an optimal experience and reliability for all Amazon QuickSight users. +// +// # Common throttling scenarios +// +// The following list provides information about the most commin throttling +// scenarios that can occur. +// +// - A large number of SnapshotExport API jobs are running simultaneously +// on an Amazon Web Services account. When a new StartDashboardSnapshotJob +// is created and there are already 12 jobs with the RUNNING status, the +// new job request fails and returns a LimitExceededException error. Wait +// for a current job to comlpete before you resubmit the new job. +// +// - A large number of API requests are submitted on an Amazon Web Services +// account. When a user makes more than 10 API calls to the Amazon QuickSight +// API in one second, a ThrottlingException is returned. +// +// If your use case requires a higher throttling limit, contact your account +// admin or Amazon Web ServicesSupport (http://aws.amazon.com/contact-us/) to +// explore options to tailor a more optimal expereince for your account. +// +// # Best practices to handle throttling +// +// If your use case projects high levels of API traffic, try to reduce the degree +// of frequency and parallelism of API calls as much as you can to avoid throttling. +// You can also perform a timing test to calculate an estimate for the total +// processing time of your projected load that stays within the throttling limits +// of the Amazon QuickSight APIs. For example, if your projected traffic is +// 100 snapshot jobs before 12:00 PM per day, start 12 jobs in parallel and +// measure the amount of time it takes to proccess all 12 jobs. Once you obtain +// the result, multiply the duration by 9, for example (12 minutes * 9 = 108 +// minutes). Use the new result to determine the latest time at which the jobs +// need to be started to meet your target deadline. +// +// The time that it takes to process a job can be impacted by the following +// factors: +// +// - The dataset type (Direct Query or SPICE). +// +// - The size of the dataset. +// +// - The complexity of the calculated fields that are used in the dashboard. +// +// - The number of visuals that are on a sheet. +// +// - The types of visuals that are on the sheet. +// +// - The number of formats and snapshots that are requested in the job configuration. +// +// - The size of the generated snapshots. // // 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 @@ -22353,8 +22416,8 @@ func (s *AssetBundleExportJobVPCConnectionOverrideProperties) SetProperties(v [] } // The option to relax the validation that is required to export each asset. -// When StrictModeForAllResource is set to true, validation is skipped for specific -// UI errors. +// When StrictModeForAllResource is set to false, validation is skipped for +// specific UI errors. type AssetBundleExportJobValidationStrategy struct { _ struct{} `type:"structure"` @@ -24653,6 +24716,48 @@ func (s *AssetBundleImportJobVPCConnectionOverrideTags) SetVPCConnectionIds(v [] return s } +// Describes a warning that occurred during an Asset Bundle import job. +type AssetBundleImportJobWarning struct { + _ struct{} `type:"structure"` + + // The ARN of the resource that the warning occurred for. + Arn *string `type:"string"` + + // A description of the warning that occurred during an Asset Bundle import + // job. + Message *string `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 AssetBundleImportJobWarning) 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 AssetBundleImportJobWarning) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *AssetBundleImportJobWarning) SetArn(v string) *AssetBundleImportJobWarning { + s.Arn = &v + return s +} + +// SetMessage sets the Message field's value. +func (s *AssetBundleImportJobWarning) SetMessage(v string) *AssetBundleImportJobWarning { + s.Message = &v + return s +} + // The source of the asset bundle zip file that contains the data that you want // to import. The file must be in QUICKSIGHT_JSON format. type AssetBundleImportSource struct { @@ -28218,7 +28323,7 @@ func (s *CategoricalMeasureField) SetFormatConfiguration(v *StringFormatConfigur return s } -// The numeric equality type drill down filter. +// The category drill down filter. type CategoryDrillDownFilter struct { _ struct{} `type:"structure"` @@ -28302,6 +28407,10 @@ type CategoryFilter struct { // Configuration is a required field Configuration *CategoryFilterConfiguration `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, // or template. // @@ -28352,6 +28461,11 @@ func (s *CategoryFilter) Validate() error { invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -28371,6 +28485,12 @@ func (s *CategoryFilter) SetConfiguration(v *CategoryFilterConfiguration) *Categ return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *CategoryFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *CategoryFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetFilterId sets the FilterId field's value. func (s *CategoryFilter) SetFilterId(v string) *CategoryFilter { s.FilterId = &v @@ -42587,6 +42707,408 @@ func (s *DecimalValueWhenUnsetConfiguration) SetValueWhenUnsetOption(v string) * return s } +// The default options that correspond to the filter control type of a DateTimePicker. +type DefaultDateTimePickerControlOptions struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *DateTimePickerControlDisplayOptions `type:"structure"` + + // The date time picker type of the DefaultDateTimePickerControlOptions. Choose + // one of the following options: + // + // * SINGLE_VALUED: The filter condition is a fixed date. + // + // * DATE_RANGE: The filter condition is a date time range. + Type *string `type:"string" enum:"SheetControlDateTimePickerType"` +} + +// 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 DefaultDateTimePickerControlOptions) 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 DefaultDateTimePickerControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultDateTimePickerControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultDateTimePickerControlOptions"} + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultDateTimePickerControlOptions) SetDisplayOptions(v *DateTimePickerControlDisplayOptions) *DefaultDateTimePickerControlOptions { + s.DisplayOptions = v + return s +} + +// SetType sets the Type field's value. +func (s *DefaultDateTimePickerControlOptions) SetType(v string) *DefaultDateTimePickerControlOptions { + s.Type = &v + return s +} + +// The default configuration for all dependent controls of the filter. +type DefaultFilterControlConfiguration struct { + _ struct{} `type:"structure"` + + // The control option for the DefaultFilterControlConfiguration. + // + // ControlOptions is a required field + ControlOptions *DefaultFilterControlOptions `type:"structure" required:"true"` + + // The title of the DefaultFilterControlConfiguration. This title is shared + // by all controls that are tied to this filter. + // + // Title is a required field + Title *string `min:"1" 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 DefaultFilterControlConfiguration) 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 DefaultFilterControlConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultFilterControlConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultFilterControlConfiguration"} + if s.ControlOptions == nil { + invalidParams.Add(request.NewErrParamRequired("ControlOptions")) + } + if s.Title == nil { + invalidParams.Add(request.NewErrParamRequired("Title")) + } + if s.Title != nil && len(*s.Title) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Title", 1)) + } + if s.ControlOptions != nil { + if err := s.ControlOptions.Validate(); err != nil { + invalidParams.AddNested("ControlOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetControlOptions sets the ControlOptions field's value. +func (s *DefaultFilterControlConfiguration) SetControlOptions(v *DefaultFilterControlOptions) *DefaultFilterControlConfiguration { + s.ControlOptions = v + return s +} + +// SetTitle sets the Title field's value. +func (s *DefaultFilterControlConfiguration) SetTitle(v string) *DefaultFilterControlConfiguration { + s.Title = &v + return s +} + +// The option that corresponds to the control type of the filter. +type DefaultFilterControlOptions struct { + _ struct{} `type:"structure"` + + // The default options that correspond to the filter control type of a DateTimePicker. + DefaultDateTimePickerOptions *DefaultDateTimePickerControlOptions `type:"structure"` + + // The default options that correspond to the Dropdown filter control type. + DefaultDropdownOptions *DefaultFilterDropDownControlOptions `type:"structure"` + + // The default options that correspond to the List filter control type. + DefaultListOptions *DefaultFilterListControlOptions `type:"structure"` + + // The default options that correspond to the RelativeDateTime filter control + // type. + DefaultRelativeDateTimeOptions *DefaultRelativeDateTimeControlOptions `type:"structure"` + + // The default options that correspond to the Slider filter control type. + DefaultSliderOptions *DefaultSliderControlOptions `type:"structure"` + + // The default options that correspond to the TextArea filter control type. + DefaultTextAreaOptions *DefaultTextAreaControlOptions `type:"structure"` + + // The default options that correspond to the TextField filter control type. + DefaultTextFieldOptions *DefaultTextFieldControlOptions `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 DefaultFilterControlOptions) 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 DefaultFilterControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultFilterControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultFilterControlOptions"} + if s.DefaultDateTimePickerOptions != nil { + if err := s.DefaultDateTimePickerOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultDateTimePickerOptions", err.(request.ErrInvalidParams)) + } + } + if s.DefaultDropdownOptions != nil { + if err := s.DefaultDropdownOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultDropdownOptions", err.(request.ErrInvalidParams)) + } + } + if s.DefaultListOptions != nil { + if err := s.DefaultListOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultListOptions", err.(request.ErrInvalidParams)) + } + } + if s.DefaultRelativeDateTimeOptions != nil { + if err := s.DefaultRelativeDateTimeOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultRelativeDateTimeOptions", err.(request.ErrInvalidParams)) + } + } + if s.DefaultSliderOptions != nil { + if err := s.DefaultSliderOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultSliderOptions", err.(request.ErrInvalidParams)) + } + } + if s.DefaultTextAreaOptions != nil { + if err := s.DefaultTextAreaOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultTextAreaOptions", err.(request.ErrInvalidParams)) + } + } + if s.DefaultTextFieldOptions != nil { + if err := s.DefaultTextFieldOptions.Validate(); err != nil { + invalidParams.AddNested("DefaultTextFieldOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDefaultDateTimePickerOptions sets the DefaultDateTimePickerOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultDateTimePickerOptions(v *DefaultDateTimePickerControlOptions) *DefaultFilterControlOptions { + s.DefaultDateTimePickerOptions = v + return s +} + +// SetDefaultDropdownOptions sets the DefaultDropdownOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultDropdownOptions(v *DefaultFilterDropDownControlOptions) *DefaultFilterControlOptions { + s.DefaultDropdownOptions = v + return s +} + +// SetDefaultListOptions sets the DefaultListOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultListOptions(v *DefaultFilterListControlOptions) *DefaultFilterControlOptions { + s.DefaultListOptions = v + return s +} + +// SetDefaultRelativeDateTimeOptions sets the DefaultRelativeDateTimeOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultRelativeDateTimeOptions(v *DefaultRelativeDateTimeControlOptions) *DefaultFilterControlOptions { + s.DefaultRelativeDateTimeOptions = v + return s +} + +// SetDefaultSliderOptions sets the DefaultSliderOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultSliderOptions(v *DefaultSliderControlOptions) *DefaultFilterControlOptions { + s.DefaultSliderOptions = v + return s +} + +// SetDefaultTextAreaOptions sets the DefaultTextAreaOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultTextAreaOptions(v *DefaultTextAreaControlOptions) *DefaultFilterControlOptions { + s.DefaultTextAreaOptions = v + return s +} + +// SetDefaultTextFieldOptions sets the DefaultTextFieldOptions field's value. +func (s *DefaultFilterControlOptions) SetDefaultTextFieldOptions(v *DefaultTextFieldControlOptions) *DefaultFilterControlOptions { + s.DefaultTextFieldOptions = v + return s +} + +// The default options that correspond to the Dropdown filter control type. +type DefaultFilterDropDownControlOptions struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *DropDownControlDisplayOptions `type:"structure"` + + // A list of selectable values that are used in a control. + SelectableValues *FilterSelectableValues `type:"structure"` + + // The type of the FilterDropDownControl. Choose one of the following options: + // + // * MULTI_SELECT: The user can select multiple entries from a dropdown menu. + // + // * SINGLE_SELECT: The user can select a single entry from a dropdown menu. + Type *string `type:"string" enum:"SheetControlListType"` +} + +// 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 DefaultFilterDropDownControlOptions) 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 DefaultFilterDropDownControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultFilterDropDownControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultFilterDropDownControlOptions"} + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultFilterDropDownControlOptions) SetDisplayOptions(v *DropDownControlDisplayOptions) *DefaultFilterDropDownControlOptions { + s.DisplayOptions = v + return s +} + +// SetSelectableValues sets the SelectableValues field's value. +func (s *DefaultFilterDropDownControlOptions) SetSelectableValues(v *FilterSelectableValues) *DefaultFilterDropDownControlOptions { + s.SelectableValues = v + return s +} + +// SetType sets the Type field's value. +func (s *DefaultFilterDropDownControlOptions) SetType(v string) *DefaultFilterDropDownControlOptions { + s.Type = &v + return s +} + +// The default options that correspond to the List filter control type. +type DefaultFilterListControlOptions struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *ListControlDisplayOptions `type:"structure"` + + // A list of selectable values that are used in a control. + SelectableValues *FilterSelectableValues `type:"structure"` + + // The type of the DefaultFilterListControlOptions. Choose one of the following + // options: + // + // * MULTI_SELECT: The user can select multiple entries from the list. + // + // * SINGLE_SELECT: The user can select a single entry from the list. + Type *string `type:"string" enum:"SheetControlListType"` +} + +// 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 DefaultFilterListControlOptions) 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 DefaultFilterListControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultFilterListControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultFilterListControlOptions"} + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultFilterListControlOptions) SetDisplayOptions(v *ListControlDisplayOptions) *DefaultFilterListControlOptions { + s.DisplayOptions = v + return s +} + +// SetSelectableValues sets the SelectableValues field's value. +func (s *DefaultFilterListControlOptions) SetSelectableValues(v *FilterSelectableValues) *DefaultFilterListControlOptions { + s.SelectableValues = v + return s +} + +// SetType sets the Type field's value. +func (s *DefaultFilterListControlOptions) SetType(v string) *DefaultFilterListControlOptions { + s.Type = &v + return s +} + // A structure that represents a default formatting definition. type DefaultFormatting struct { _ struct{} `type:"structure"` @@ -42912,6 +43434,54 @@ func (s *DefaultPaginatedLayoutConfiguration) SetSectionBased(v *DefaultSectionB return s } +// The default options that correspond to the RelativeDateTime filter control +// type. +type DefaultRelativeDateTimeControlOptions struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *RelativeDateTimeControlDisplayOptions `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 DefaultRelativeDateTimeControlOptions) 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 DefaultRelativeDateTimeControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultRelativeDateTimeControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultRelativeDateTimeControlOptions"} + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultRelativeDateTimeControlOptions) SetDisplayOptions(v *RelativeDateTimeControlDisplayOptions) *DefaultRelativeDateTimeControlOptions { + s.DisplayOptions = v + return s +} + // The options that determine the default settings for a section-based layout // configuration. type DefaultSectionBasedLayoutConfiguration struct { @@ -42960,6 +43530,215 @@ func (s *DefaultSectionBasedLayoutConfiguration) SetCanvasSizeOptions(v *Section return s } +// The default options that correspond to the Slider filter control type. +type DefaultSliderControlOptions struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *SliderControlDisplayOptions `type:"structure"` + + // The larger value that is displayed at the right of the slider. + // + // MaximumValue is a required field + MaximumValue *float64 `type:"double" required:"true"` + + // The smaller value that is displayed at the left of the slider. + // + // MinimumValue is a required field + MinimumValue *float64 `type:"double" required:"true"` + + // The number of increments that the slider bar is divided into. + // + // StepSize is a required field + StepSize *float64 `type:"double" required:"true"` + + // The type of the DefaultSliderControlOptions. Choose one of the following + // options: + // + // * SINGLE_POINT: Filter against(equals) a single data point. + // + // * RANGE: Filter data that is in a specified range. + Type *string `type:"string" enum:"SheetControlSliderType"` +} + +// 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 DefaultSliderControlOptions) 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 DefaultSliderControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultSliderControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultSliderControlOptions"} + if s.MaximumValue == nil { + invalidParams.Add(request.NewErrParamRequired("MaximumValue")) + } + if s.MinimumValue == nil { + invalidParams.Add(request.NewErrParamRequired("MinimumValue")) + } + if s.StepSize == nil { + invalidParams.Add(request.NewErrParamRequired("StepSize")) + } + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultSliderControlOptions) SetDisplayOptions(v *SliderControlDisplayOptions) *DefaultSliderControlOptions { + s.DisplayOptions = v + return s +} + +// SetMaximumValue sets the MaximumValue field's value. +func (s *DefaultSliderControlOptions) SetMaximumValue(v float64) *DefaultSliderControlOptions { + s.MaximumValue = &v + return s +} + +// SetMinimumValue sets the MinimumValue field's value. +func (s *DefaultSliderControlOptions) SetMinimumValue(v float64) *DefaultSliderControlOptions { + s.MinimumValue = &v + return s +} + +// SetStepSize sets the StepSize field's value. +func (s *DefaultSliderControlOptions) SetStepSize(v float64) *DefaultSliderControlOptions { + s.StepSize = &v + return s +} + +// SetType sets the Type field's value. +func (s *DefaultSliderControlOptions) SetType(v string) *DefaultSliderControlOptions { + s.Type = &v + return s +} + +// The default options that correspond to the TextArea filter control type. +type DefaultTextAreaControlOptions struct { + _ struct{} `type:"structure"` + + // The delimiter that is used to separate the lines in text. + Delimiter *string `min:"1" type:"string"` + + // The display options of a control. + DisplayOptions *TextAreaControlDisplayOptions `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 DefaultTextAreaControlOptions) 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 DefaultTextAreaControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultTextAreaControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultTextAreaControlOptions"} + if s.Delimiter != nil && len(*s.Delimiter) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Delimiter", 1)) + } + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDelimiter sets the Delimiter field's value. +func (s *DefaultTextAreaControlOptions) SetDelimiter(v string) *DefaultTextAreaControlOptions { + s.Delimiter = &v + return s +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultTextAreaControlOptions) SetDisplayOptions(v *TextAreaControlDisplayOptions) *DefaultTextAreaControlOptions { + s.DisplayOptions = v + return s +} + +// The default options that correspond to the TextField filter control type. +type DefaultTextFieldControlOptions struct { + _ struct{} `type:"structure"` + + // The display options of a control. + DisplayOptions *TextFieldControlDisplayOptions `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 DefaultTextFieldControlOptions) 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 DefaultTextFieldControlOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DefaultTextFieldControlOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DefaultTextFieldControlOptions"} + if s.DisplayOptions != nil { + if err := s.DisplayOptions.Validate(); err != nil { + invalidParams.AddNested("DisplayOptions", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDisplayOptions sets the DisplayOptions field's value. +func (s *DefaultTextFieldControlOptions) SetDisplayOptions(v *TextFieldControlDisplayOptions) *DefaultTextFieldControlOptions { + s.DisplayOptions = v + return s +} + type DeleteAccountCustomizationInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -47561,6 +48340,10 @@ type DescribeAssetBundleImportJobOutput struct { // The HTTP status of the response. Status *int64 `location:"statusCode" type:"integer"` + + // An array of warning records that describe all permitted errors that are encountered + // during the import job. + Warnings []*AssetBundleImportJobWarning `type:"list"` } // String returns the string representation. @@ -47671,6 +48454,12 @@ func (s *DescribeAssetBundleImportJobOutput) SetStatus(v int64) *DescribeAssetBu return s } +// SetWarnings sets the Warnings field's value. +func (s *DescribeAssetBundleImportJobOutput) SetWarnings(v []*AssetBundleImportJobWarning) *DescribeAssetBundleImportJobOutput { + s.Warnings = v + return s +} + type DescribeDashboardDefinitionInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -54984,6 +55773,10 @@ func (s *Filter) SetTopBottomFilter(v *TopBottomFilter) *Filter { type FilterControl struct { _ struct{} `type:"structure"` + // A control from a filter that is scoped across more than one sheet. This represents + // your filter control on a sheet + CrossSheet *FilterCrossSheetControl `type:"structure"` + // A control from a date filter that is used to specify date and time. DateTimePicker *FilterDateTimePickerControl `type:"structure"` @@ -55030,6 +55823,11 @@ func (s FilterControl) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *FilterControl) Validate() error { invalidParams := request.ErrInvalidParams{Context: "FilterControl"} + if s.CrossSheet != nil { + if err := s.CrossSheet.Validate(); err != nil { + invalidParams.AddNested("CrossSheet", err.(request.ErrInvalidParams)) + } + } if s.DateTimePicker != nil { if err := s.DateTimePicker.Validate(); err != nil { invalidParams.AddNested("DateTimePicker", err.(request.ErrInvalidParams)) @@ -55072,6 +55870,12 @@ func (s *FilterControl) Validate() error { return nil } +// SetCrossSheet sets the CrossSheet field's value. +func (s *FilterControl) SetCrossSheet(v *FilterCrossSheetControl) *FilterControl { + s.CrossSheet = v + return s +} + // SetDateTimePicker sets the DateTimePicker field's value. func (s *FilterControl) SetDateTimePicker(v *FilterDateTimePickerControl) *FilterControl { s.DateTimePicker = v @@ -55114,6 +55918,89 @@ func (s *FilterControl) SetTextField(v *FilterTextFieldControl) *FilterControl { return s } +// A control from a filter that is scoped across more than one sheet. This represents +// your filter control on a sheet +type FilterCrossSheetControl struct { + _ struct{} `type:"structure"` + + // The values that are displayed in a control can be configured to only show + // values that are valid based on what's selected in other controls. + CascadingControlConfiguration *CascadingControlConfiguration `type:"structure"` + + // The ID of the FilterCrossSheetControl. + // + // FilterControlId is a required field + FilterControlId *string `min:"1" type:"string" required:"true"` + + // The source filter ID of the FilterCrossSheetControl. + // + // SourceFilterId is a required field + SourceFilterId *string `min:"1" 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 FilterCrossSheetControl) 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 FilterCrossSheetControl) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FilterCrossSheetControl) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FilterCrossSheetControl"} + if s.FilterControlId == nil { + invalidParams.Add(request.NewErrParamRequired("FilterControlId")) + } + if s.FilterControlId != nil && len(*s.FilterControlId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FilterControlId", 1)) + } + if s.SourceFilterId == nil { + invalidParams.Add(request.NewErrParamRequired("SourceFilterId")) + } + if s.SourceFilterId != nil && len(*s.SourceFilterId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceFilterId", 1)) + } + if s.CascadingControlConfiguration != nil { + if err := s.CascadingControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("CascadingControlConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCascadingControlConfiguration sets the CascadingControlConfiguration field's value. +func (s *FilterCrossSheetControl) SetCascadingControlConfiguration(v *CascadingControlConfiguration) *FilterCrossSheetControl { + s.CascadingControlConfiguration = v + return s +} + +// SetFilterControlId sets the FilterControlId field's value. +func (s *FilterCrossSheetControl) SetFilterControlId(v string) *FilterCrossSheetControl { + s.FilterControlId = &v + return s +} + +// SetSourceFilterId sets the SourceFilterId field's value. +func (s *FilterCrossSheetControl) SetSourceFilterId(v string) *FilterCrossSheetControl { + s.SourceFilterId = &v + return s +} + // A control from a date filter that is used to specify date and time. type FilterDateTimePickerControl struct { _ struct{} `type:"structure"` @@ -55136,12 +56023,11 @@ type FilterDateTimePickerControl struct { // Title is a required field Title *string `min:"1" type:"string" required:"true"` - // The date time picker type of a FilterDateTimePickerControl. Choose one of - // the following options: + // The type of the FilterDropDownControl. Choose one of the following options: // - // * SINGLE_VALUED: The filter condition is a fixed date. + // * MULTI_SELECT: The user can select multiple entries from a dropdown menu. // - // * DATE_RANGE: The filter condition is a date time range. + // * SINGLE_SELECT: The user can select a single entry from a dropdown menu. Type *string `type:"string" enum:"SheetControlDateTimePickerType"` } @@ -55604,7 +56490,7 @@ type FilterListControl struct { // Title is a required field Title *string `min:"1" type:"string" required:"true"` - // The type of FilterListControl. Choose one of the following options: + // The type of the FilterListControl. Choose one of the following options: // // * MULTI_SELECT: The user can select multiple entries from the list. // @@ -56101,12 +56987,12 @@ type FilterSliderControl struct { // FilterControlId is a required field FilterControlId *string `min:"1" type:"string" required:"true"` - // The smaller value that is displayed at the left of the slider. + // The larger value that is displayed at the right of the slider. // // MaximumValue is a required field MaximumValue *float64 `type:"double" required:"true"` - // The larger value that is displayed at the right of the slider. + // The smaller value that is displayed at the left of the slider. // // MinimumValue is a required field MinimumValue *float64 `type:"double" required:"true"` @@ -56126,7 +57012,7 @@ type FilterSliderControl struct { // Title is a required field Title *string `min:"1" type:"string" required:"true"` - // The type of FilterSliderControl. Choose one of the following options: + // The type of the FilterSliderControl. Choose one of the following options: // // * SINGLE_POINT: Filter against(equals) a single data point. // @@ -72689,7 +73575,7 @@ func (s *NumericAxisOptions) SetScale(v *AxisScale) *NumericAxisOptions { return s } -// The category drill down filter. +// The numeric equality type drill down filter. type NumericEqualityDrillDownFilter struct { _ struct{} `type:"structure"` @@ -72767,6 +73653,10 @@ type NumericEqualityFilter struct { // Column is a required field Column *ColumnIdentifier `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, // or template. // @@ -72845,6 +73735,11 @@ func (s *NumericEqualityFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -72864,6 +73759,12 @@ func (s *NumericEqualityFilter) SetColumn(v *ColumnIdentifier) *NumericEqualityF return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *NumericEqualityFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *NumericEqualityFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetFilterId sets the FilterId field's value. func (s *NumericEqualityFilter) SetFilterId(v string) *NumericEqualityFilter { s.FilterId = &v @@ -72990,6 +73891,10 @@ type NumericRangeFilter struct { // Column is a required field Column *ColumnIdentifier `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, // or template. // @@ -73065,6 +73970,11 @@ func (s *NumericRangeFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if s.RangeMaximum != nil { if err := s.RangeMaximum.Validate(); err != nil { invalidParams.AddNested("RangeMaximum", err.(request.ErrInvalidParams)) @@ -73094,6 +74004,12 @@ func (s *NumericRangeFilter) SetColumn(v *ColumnIdentifier) *NumericRangeFilter return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *NumericRangeFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *NumericRangeFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetFilterId sets the FilterId field's value. func (s *NumericRangeFilter) SetFilterId(v string) *NumericRangeFilter { s.FilterId = &v @@ -74573,12 +75489,12 @@ type ParameterSliderControl struct { // The display options of a control. DisplayOptions *SliderControlDisplayOptions `type:"structure"` - // The smaller value that is displayed at the left of the slider. + // The larger value that is displayed at the right of the slider. // // MaximumValue is a required field MaximumValue *float64 `type:"double" required:"true"` - // The larger value that is displayed at the right of the slider. + // The smaller value that is displayed at the left of the slider. // // MinimumValue is a required field MinimumValue *float64 `type:"double" required:"true"` @@ -81149,6 +82065,10 @@ type RelativeDatesFilter struct { // Column is a required field Column *ColumnIdentifier `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // The configuration for the exclude period of the filter. ExcludePeriodConfiguration *ExcludePeriodConfiguration `type:"structure"` @@ -81254,6 +82174,11 @@ func (s *RelativeDatesFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if s.ExcludePeriodConfiguration != nil { if err := s.ExcludePeriodConfiguration.Validate(); err != nil { invalidParams.AddNested("ExcludePeriodConfiguration", err.(request.ErrInvalidParams)) @@ -81278,6 +82203,12 @@ func (s *RelativeDatesFilter) SetColumn(v *ColumnIdentifier) *RelativeDatesFilte return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *RelativeDatesFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *RelativeDatesFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetExcludePeriodConfiguration sets the ExcludePeriodConfiguration field's value. func (s *RelativeDatesFilter) SetExcludePeriodConfiguration(v *ExcludePeriodConfiguration) *RelativeDatesFilter { s.ExcludePeriodConfiguration = v @@ -93338,6 +94269,10 @@ type TimeEqualityFilter struct { // Column is a required field Column *ColumnIdentifier `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, // or template. // @@ -93401,6 +94336,11 @@ func (s *TimeEqualityFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if s.RollingDate != nil { if err := s.RollingDate.Validate(); err != nil { invalidParams.AddNested("RollingDate", err.(request.ErrInvalidParams)) @@ -93419,6 +94359,12 @@ func (s *TimeEqualityFilter) SetColumn(v *ColumnIdentifier) *TimeEqualityFilter return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *TimeEqualityFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *TimeEqualityFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetFilterId sets the FilterId field's value. func (s *TimeEqualityFilter) SetFilterId(v string) *TimeEqualityFilter { s.FilterId = &v @@ -93552,6 +94498,10 @@ type TimeRangeFilter struct { // Column is a required field Column *ColumnIdentifier `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // The exclude period of the time range filter. ExcludePeriodConfiguration *ExcludePeriodConfiguration `type:"structure"` @@ -93628,6 +94578,11 @@ func (s *TimeRangeFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if s.ExcludePeriodConfiguration != nil { if err := s.ExcludePeriodConfiguration.Validate(); err != nil { invalidParams.AddNested("ExcludePeriodConfiguration", err.(request.ErrInvalidParams)) @@ -93656,6 +94611,12 @@ func (s *TimeRangeFilter) SetColumn(v *ColumnIdentifier) *TimeRangeFilter { return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *TimeRangeFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *TimeRangeFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetExcludePeriodConfiguration sets the ExcludePeriodConfiguration field's value. func (s *TimeRangeFilter) SetExcludePeriodConfiguration(v *ExcludePeriodConfiguration) *TimeRangeFilter { s.ExcludePeriodConfiguration = v @@ -93923,6 +94884,10 @@ type TopBottomFilter struct { // Column is a required field Column *ColumnIdentifier `type:"structure" required:"true"` + // The default configurations for the associated controls. This applies only + // for filters that are scoped to multiple sheets. + DefaultFilterControlConfiguration *DefaultFilterControlConfiguration `type:"structure"` + // An identifier that uniquely identifies a filter within a dashboard, analysis, // or template. // @@ -93990,6 +94955,11 @@ func (s *TopBottomFilter) Validate() error { invalidParams.AddNested("Column", err.(request.ErrInvalidParams)) } } + if s.DefaultFilterControlConfiguration != nil { + if err := s.DefaultFilterControlConfiguration.Validate(); err != nil { + invalidParams.AddNested("DefaultFilterControlConfiguration", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -94009,6 +94979,12 @@ func (s *TopBottomFilter) SetColumn(v *ColumnIdentifier) *TopBottomFilter { return s } +// SetDefaultFilterControlConfiguration sets the DefaultFilterControlConfiguration field's value. +func (s *TopBottomFilter) SetDefaultFilterControlConfiguration(v *DefaultFilterControlConfiguration) *TopBottomFilter { + s.DefaultFilterControlConfiguration = v + return s +} + // SetFilterId sets the FilterId field's value. func (s *TopBottomFilter) SetFilterId(v string) *TopBottomFilter { s.FilterId = &v @@ -106386,6 +107362,9 @@ const ( // AssetBundleExportJobDataSourcePropertyToOverrideRoleArn is a AssetBundleExportJobDataSourcePropertyToOverride enum value AssetBundleExportJobDataSourcePropertyToOverrideRoleArn = "RoleArn" + + // AssetBundleExportJobDataSourcePropertyToOverrideProductType is a AssetBundleExportJobDataSourcePropertyToOverride enum value + AssetBundleExportJobDataSourcePropertyToOverrideProductType = "ProductType" ) // AssetBundleExportJobDataSourcePropertyToOverride_Values returns all elements of the AssetBundleExportJobDataSourcePropertyToOverride enum @@ -106408,6 +107387,7 @@ func AssetBundleExportJobDataSourcePropertyToOverride_Values() []string { AssetBundleExportJobDataSourcePropertyToOverrideManifestFileLocation, AssetBundleExportJobDataSourcePropertyToOverrideWarehouse, AssetBundleExportJobDataSourcePropertyToOverrideRoleArn, + AssetBundleExportJobDataSourcePropertyToOverrideProductType, } } diff --git a/service/rolesanywhere/api.go b/service/rolesanywhere/api.go index cbfcafafbeb..c0b0116f961 100644 --- a/service/rolesanywhere/api.go +++ b/service/rolesanywhere/api.go @@ -187,6 +187,91 @@ func (c *RolesAnywhere) CreateTrustAnchorWithContext(ctx aws.Context, input *Cre return out, req.Send() } +const opDeleteAttributeMapping = "DeleteAttributeMapping" + +// DeleteAttributeMappingRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAttributeMapping 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 DeleteAttributeMapping for more information on using the DeleteAttributeMapping +// 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 DeleteAttributeMappingRequest method. +// req, resp := client.DeleteAttributeMappingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteAttributeMapping +func (c *RolesAnywhere) DeleteAttributeMappingRequest(input *DeleteAttributeMappingInput) (req *request.Request, output *DeleteAttributeMappingOutput) { + op := &request.Operation{ + Name: opDeleteAttributeMapping, + HTTPMethod: "DELETE", + HTTPPath: "/profiles/{profileId}/mappings", + } + + if input == nil { + input = &DeleteAttributeMappingInput{} + } + + output = &DeleteAttributeMappingOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteAttributeMapping API operation for IAM Roles Anywhere. +// +// Delete an entry from the attribute mapping rules enforced by a given profile. +// +// 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 IAM Roles Anywhere's +// API operation DeleteAttributeMapping for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Validation exception error. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/DeleteAttributeMapping +func (c *RolesAnywhere) DeleteAttributeMapping(input *DeleteAttributeMappingInput) (*DeleteAttributeMappingOutput, error) { + req, out := c.DeleteAttributeMappingRequest(input) + return out, req.Send() +} + +// DeleteAttributeMappingWithContext is the same as DeleteAttributeMapping with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAttributeMapping 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 *RolesAnywhere) DeleteAttributeMappingWithContext(ctx aws.Context, input *DeleteAttributeMappingInput, opts ...request.Option) (*DeleteAttributeMappingOutput, error) { + req, out := c.DeleteAttributeMappingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteCrl = "DeleteCrl" // DeleteCrlRequest generates a "aws/request.Request" representing the @@ -2025,6 +2110,93 @@ func (c *RolesAnywhere) ListTrustAnchorsPagesWithContext(ctx aws.Context, input return p.Err() } +const opPutAttributeMapping = "PutAttributeMapping" + +// PutAttributeMappingRequest generates a "aws/request.Request" representing the +// client's request for the PutAttributeMapping 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 PutAttributeMapping for more information on using the PutAttributeMapping +// 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 PutAttributeMappingRequest method. +// req, resp := client.PutAttributeMappingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutAttributeMapping +func (c *RolesAnywhere) PutAttributeMappingRequest(input *PutAttributeMappingInput) (req *request.Request, output *PutAttributeMappingOutput) { + op := &request.Operation{ + Name: opPutAttributeMapping, + HTTPMethod: "PUT", + HTTPPath: "/profiles/{profileId}/mappings", + } + + if input == nil { + input = &PutAttributeMappingInput{} + } + + output = &PutAttributeMappingOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutAttributeMapping API operation for IAM Roles Anywhere. +// +// Put an entry in the attribute mapping rules that will be enforced by a given +// profile. A mapping specifies a certificate field and one or more specifiers +// that have contextual meanings. +// +// 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 IAM Roles Anywhere's +// API operation PutAttributeMapping for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// Validation exception error. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/rolesanywhere-2018-05-10/PutAttributeMapping +func (c *RolesAnywhere) PutAttributeMapping(input *PutAttributeMappingInput) (*PutAttributeMappingOutput, error) { + req, out := c.PutAttributeMappingRequest(input) + return out, req.Send() +} + +// PutAttributeMappingWithContext is the same as PutAttributeMapping with the addition of +// the ability to pass a context and additional request options. +// +// See PutAttributeMapping 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 *RolesAnywhere) PutAttributeMappingWithContext(ctx aws.Context, input *PutAttributeMappingInput, opts ...request.Option) (*PutAttributeMappingOutput, error) { + req, out := c.PutAttributeMappingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPutNotificationSettings = "PutNotificationSettings" // PutNotificationSettingsRequest generates a "aws/request.Request" representing the @@ -2715,6 +2887,47 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// A mapping applied to the authenticating end-entity certificate. +type AttributeMapping struct { + _ struct{} `type:"structure"` + + // Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates. + CertificateField *string `locationName:"certificateField" type:"string" enum:"CertificateField"` + + // A list of mapping entries for every supported specifier or sub-field. + MappingRules []*MappingRule `locationName:"mappingRules" 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 AttributeMapping) 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 AttributeMapping) GoString() string { + return s.String() +} + +// SetCertificateField sets the CertificateField field's value. +func (s *AttributeMapping) SetCertificateField(v string) *AttributeMapping { + s.CertificateField = &v + return s +} + +// SetMappingRules sets the MappingRules field's value. +func (s *AttributeMapping) SetMappingRules(v []*MappingRule) *AttributeMapping { + s.MappingRules = v + return s +} + type CreateProfileInput struct { _ struct{} `type:"structure"` @@ -3209,6 +3422,112 @@ func (s *CrlDetail) SetUpdatedAt(v time.Time) *CrlDetail { return s } +type DeleteAttributeMappingInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates. + // + // CertificateField is a required field + CertificateField *string `location:"querystring" locationName:"certificateField" type:"string" required:"true" enum:"CertificateField"` + + // The unique identifier of the profile. + // + // ProfileId is a required field + ProfileId *string `location:"uri" locationName:"profileId" min:"36" type:"string" required:"true"` + + // A list of specifiers of a certificate field; for example, CN, OU, UID from + // a Subject. + Specifiers []*string `location:"querystring" locationName:"specifiers" 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 DeleteAttributeMappingInput) 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 DeleteAttributeMappingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAttributeMappingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAttributeMappingInput"} + if s.CertificateField == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateField")) + } + if s.ProfileId == nil { + invalidParams.Add(request.NewErrParamRequired("ProfileId")) + } + if s.ProfileId != nil && len(*s.ProfileId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ProfileId", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateField sets the CertificateField field's value. +func (s *DeleteAttributeMappingInput) SetCertificateField(v string) *DeleteAttributeMappingInput { + s.CertificateField = &v + return s +} + +// SetProfileId sets the ProfileId field's value. +func (s *DeleteAttributeMappingInput) SetProfileId(v string) *DeleteAttributeMappingInput { + s.ProfileId = &v + return s +} + +// SetSpecifiers sets the Specifiers field's value. +func (s *DeleteAttributeMappingInput) SetSpecifiers(v []*string) *DeleteAttributeMappingInput { + s.Specifiers = v + return s +} + +type DeleteAttributeMappingOutput struct { + _ struct{} `type:"structure"` + + // The state of the profile after a read or write operation. + // + // Profile is a required field + Profile *ProfileDetail `locationName:"profile" type:"structure" 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 DeleteAttributeMappingOutput) 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 DeleteAttributeMappingOutput) GoString() string { + return s.String() +} + +// SetProfile sets the Profile field's value. +func (s *DeleteAttributeMappingOutput) SetProfile(v *ProfileDetail) *DeleteAttributeMappingOutput { + s.Profile = v + return s +} + type DeleteCrlInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -4936,6 +5255,54 @@ func (s *ListTrustAnchorsOutput) SetTrustAnchors(v []*TrustAnchorDetail) *ListTr return s } +// A single mapping entry for each supported specifier or sub-field. +type MappingRule struct { + _ struct{} `type:"structure"` + + // Specifier within a certificate field, such as CN, OU, or UID from the Subject + // field. + // + // Specifier is a required field + Specifier *string `locationName:"specifier" 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 MappingRule) 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 MappingRule) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *MappingRule) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "MappingRule"} + if s.Specifier == nil { + invalidParams.Add(request.NewErrParamRequired("Specifier")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetSpecifier sets the Specifier field's value. +func (s *MappingRule) SetSpecifier(v string) *MappingRule { + s.Specifier = &v + return s +} + // Customizable notification settings that will be applied to notification events. // IAM Roles Anywhere consumes these settings while notifying across multiple // channels - CloudWatch metrics, EventBridge, and Health Dashboard. @@ -5167,6 +5534,9 @@ func (s *NotificationSettingKey) SetEvent(v string) *NotificationSettingKey { type ProfileDetail struct { _ struct{} `type:"structure"` + // A mapping applied to the authenticating end-entity certificate. + AttributeMappings []*AttributeMapping `locationName:"attributeMappings" type:"list"` + // The ISO-8601 timestamp when the profile was created. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"` @@ -5228,6 +5598,12 @@ func (s ProfileDetail) GoString() string { return s.String() } +// SetAttributeMappings sets the AttributeMappings field's value. +func (s *ProfileDetail) SetAttributeMappings(v []*AttributeMapping) *ProfileDetail { + s.AttributeMappings = v + return s +} + // SetCreatedAt sets the CreatedAt field's value. func (s *ProfileDetail) SetCreatedAt(v time.Time) *ProfileDetail { s.CreatedAt = &v @@ -5300,6 +5676,126 @@ func (s *ProfileDetail) SetUpdatedAt(v time.Time) *ProfileDetail { return s } +type PutAttributeMappingInput struct { + _ struct{} `type:"structure"` + + // Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates. + // + // CertificateField is a required field + CertificateField *string `locationName:"certificateField" type:"string" required:"true" enum:"CertificateField"` + + // A list of mapping entries for every supported specifier or sub-field. + // + // MappingRules is a required field + MappingRules []*MappingRule `locationName:"mappingRules" type:"list" required:"true"` + + // The unique identifier of the profile. + // + // ProfileId is a required field + ProfileId *string `location:"uri" locationName:"profileId" min:"36" 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 PutAttributeMappingInput) 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 PutAttributeMappingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutAttributeMappingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutAttributeMappingInput"} + if s.CertificateField == nil { + invalidParams.Add(request.NewErrParamRequired("CertificateField")) + } + if s.MappingRules == nil { + invalidParams.Add(request.NewErrParamRequired("MappingRules")) + } + if s.ProfileId == nil { + invalidParams.Add(request.NewErrParamRequired("ProfileId")) + } + if s.ProfileId != nil && len(*s.ProfileId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("ProfileId", 36)) + } + if s.MappingRules != nil { + for i, v := range s.MappingRules { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MappingRules", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCertificateField sets the CertificateField field's value. +func (s *PutAttributeMappingInput) SetCertificateField(v string) *PutAttributeMappingInput { + s.CertificateField = &v + return s +} + +// SetMappingRules sets the MappingRules field's value. +func (s *PutAttributeMappingInput) SetMappingRules(v []*MappingRule) *PutAttributeMappingInput { + s.MappingRules = v + return s +} + +// SetProfileId sets the ProfileId field's value. +func (s *PutAttributeMappingInput) SetProfileId(v string) *PutAttributeMappingInput { + s.ProfileId = &v + return s +} + +type PutAttributeMappingOutput struct { + _ struct{} `type:"structure"` + + // The state of the profile after a read or write operation. + // + // Profile is a required field + Profile *ProfileDetail `locationName:"profile" type:"structure" 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 PutAttributeMappingOutput) 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 PutAttributeMappingOutput) GoString() string { + return s.String() +} + +// SetProfile sets the Profile field's value. +func (s *PutAttributeMappingOutput) SetProfile(v *ProfileDetail) *PutAttributeMappingOutput { + s.Profile = v + return s +} + type PutNotificationSettingsInput struct { _ struct{} `type:"structure"` @@ -6714,6 +7210,26 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +const ( + // CertificateFieldX509subject is a CertificateField enum value + CertificateFieldX509subject = "x509Subject" + + // CertificateFieldX509issuer is a CertificateField enum value + CertificateFieldX509issuer = "x509Issuer" + + // CertificateFieldX509san is a CertificateField enum value + CertificateFieldX509san = "x509SAN" +) + +// CertificateField_Values returns all elements of the CertificateField enum +func CertificateField_Values() []string { + return []string{ + CertificateFieldX509subject, + CertificateFieldX509issuer, + CertificateFieldX509san, + } +} + const ( // NotificationChannelAll is a NotificationChannel enum value NotificationChannelAll = "ALL" diff --git a/service/rolesanywhere/rolesanywhereiface/interface.go b/service/rolesanywhere/rolesanywhereiface/interface.go index 0b16a7d4757..779284551ba 100644 --- a/service/rolesanywhere/rolesanywhereiface/interface.go +++ b/service/rolesanywhere/rolesanywhereiface/interface.go @@ -68,6 +68,10 @@ type RolesAnywhereAPI interface { CreateTrustAnchorWithContext(aws.Context, *rolesanywhere.CreateTrustAnchorInput, ...request.Option) (*rolesanywhere.CreateTrustAnchorOutput, error) CreateTrustAnchorRequest(*rolesanywhere.CreateTrustAnchorInput) (*request.Request, *rolesanywhere.CreateTrustAnchorOutput) + DeleteAttributeMapping(*rolesanywhere.DeleteAttributeMappingInput) (*rolesanywhere.DeleteAttributeMappingOutput, error) + DeleteAttributeMappingWithContext(aws.Context, *rolesanywhere.DeleteAttributeMappingInput, ...request.Option) (*rolesanywhere.DeleteAttributeMappingOutput, error) + DeleteAttributeMappingRequest(*rolesanywhere.DeleteAttributeMappingInput) (*request.Request, *rolesanywhere.DeleteAttributeMappingOutput) + DeleteCrl(*rolesanywhere.DeleteCrlInput) (*rolesanywhere.DeleteCrlOutput, error) DeleteCrlWithContext(aws.Context, *rolesanywhere.DeleteCrlInput, ...request.Option) (*rolesanywhere.DeleteCrlOutput, error) DeleteCrlRequest(*rolesanywhere.DeleteCrlInput) (*request.Request, *rolesanywhere.DeleteCrlOutput) @@ -156,6 +160,10 @@ type RolesAnywhereAPI interface { ListTrustAnchorsPages(*rolesanywhere.ListTrustAnchorsInput, func(*rolesanywhere.ListTrustAnchorsOutput, bool) bool) error ListTrustAnchorsPagesWithContext(aws.Context, *rolesanywhere.ListTrustAnchorsInput, func(*rolesanywhere.ListTrustAnchorsOutput, bool) bool, ...request.Option) error + PutAttributeMapping(*rolesanywhere.PutAttributeMappingInput) (*rolesanywhere.PutAttributeMappingOutput, error) + PutAttributeMappingWithContext(aws.Context, *rolesanywhere.PutAttributeMappingInput, ...request.Option) (*rolesanywhere.PutAttributeMappingOutput, error) + PutAttributeMappingRequest(*rolesanywhere.PutAttributeMappingInput) (*request.Request, *rolesanywhere.PutAttributeMappingOutput) + PutNotificationSettings(*rolesanywhere.PutNotificationSettingsInput) (*rolesanywhere.PutNotificationSettingsOutput, error) PutNotificationSettingsWithContext(aws.Context, *rolesanywhere.PutNotificationSettingsInput, ...request.Option) (*rolesanywhere.PutNotificationSettingsOutput, error) PutNotificationSettingsRequest(*rolesanywhere.PutNotificationSettingsInput) (*request.Request, *rolesanywhere.PutNotificationSettingsOutput) diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 6879200bda2..4e5b9060a17 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -37831,17 +37831,22 @@ func (s *ClusterInstanceStatusDetails) SetStatus(v string) *ClusterInstanceStatu return s } -// The LifeCycle configuration for a SageMaker HyperPod cluster. +// The lifecycle configuration for a SageMaker HyperPod cluster. type ClusterLifeCycleConfig struct { _ struct{} `type:"structure"` - // The directory of the LifeCycle script under SourceS3Uri. This LifeCycle script - // runs during cluster creation. + // The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. + // This entrypoint script runs during cluster creation. // // OnCreate is a required field OnCreate *string `min:"1" type:"string" required:"true"` - // An Amazon S3 bucket path where your LifeCycle scripts are stored. + // An Amazon S3 bucket path where your lifecycle scripts are stored. + // + // Make sure that the S3 bucket path starts with s3://sagemaker-. The IAM role + // for SageMaker HyperPod (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-prerequisites.html#sagemaker-hyperpod-prerequisites-iam-role-for-hyperpod) + // has the managed AmazonSageMakerClusterInstanceRolePolicy (https://docs.aws.amazon.com/sagemaker/latest/dg/security-iam-awsmanpol-cluster.html) + // attached, which allows access to S3 buckets with the specific prefix sagemaker-. // // SourceS3Uri is a required field SourceS3Uri *string `type:"string" required:"true"` @@ -43125,7 +43130,7 @@ type CreateFeatureGroupInput struct { // // The name: // - // * Must start and end with an alphanumeric character. + // * Must start with an alphanumeric character. // // * Can only include alphanumeric characters, underscores, and hyphens. // Spaces are not allowed. @@ -43172,7 +43177,7 @@ type CreateFeatureGroupInput struct { // // This name: // - // * Must start and end with an alphanumeric character. + // * Must start with an alphanumeric character. // // * Can only contains alphanumeric characters, hyphens, underscores. Spaces // are not allowed. @@ -72508,7 +72513,7 @@ type FeatureDefinition struct { // // The name: // - // * Must start and end with an alphanumeric character. + // * Must start with an alphanumeric character. // // * Can only include alphanumeric characters, underscores, and hyphens. // Spaces are not allowed. @@ -127436,15 +127441,6 @@ const ( // AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1" - - // AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeExpense is a AwsManagedHumanLoopRequestSource enum value - AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeExpense = "AWS/Textract/AnalyzeExpense" - - // AwsManagedHumanLoopRequestSourceAwsHandshakeVerifyIdentity is a AwsManagedHumanLoopRequestSource enum value - AwsManagedHumanLoopRequestSourceAwsHandshakeVerifyIdentity = "AWS/Handshake/VerifyIdentity" - - // AwsManagedHumanLoopRequestSourceAwsBedrockModelEvaluation is a AwsManagedHumanLoopRequestSource enum value - AwsManagedHumanLoopRequestSourceAwsBedrockModelEvaluation = "AWS/Bedrock/ModelEvaluation" ) // AwsManagedHumanLoopRequestSource_Values returns all elements of the AwsManagedHumanLoopRequestSource enum @@ -127452,9 +127448,6 @@ func AwsManagedHumanLoopRequestSource_Values() []string { return []string{ AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3, AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1, - AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeExpense, - AwsManagedHumanLoopRequestSourceAwsHandshakeVerifyIdentity, - AwsManagedHumanLoopRequestSourceAwsBedrockModelEvaluation, } } diff --git a/service/workspaces/api.go b/service/workspaces/api.go index b7659f5e8ab..a3a276a24f3 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -13,6 +13,101 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" ) +const opAcceptAccountLinkInvitation = "AcceptAccountLinkInvitation" + +// AcceptAccountLinkInvitationRequest generates a "aws/request.Request" representing the +// client's request for the AcceptAccountLinkInvitation 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 AcceptAccountLinkInvitation for more information on using the AcceptAccountLinkInvitation +// 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 AcceptAccountLinkInvitationRequest method. +// req, resp := client.AcceptAccountLinkInvitationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AcceptAccountLinkInvitation +func (c *WorkSpaces) AcceptAccountLinkInvitationRequest(input *AcceptAccountLinkInvitationInput) (req *request.Request, output *AcceptAccountLinkInvitationOutput) { + op := &request.Operation{ + Name: opAcceptAccountLinkInvitation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AcceptAccountLinkInvitationInput{} + } + + output = &AcceptAccountLinkInvitationOutput{} + req = c.newRequest(op, input, output) + return +} + +// AcceptAccountLinkInvitation API operation for Amazon WorkSpaces. +// +// Accepts the account link invitation. +// +// There's currently no unlinking capability after you accept the account linking +// invitation. +// +// 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 WorkSpaces's +// API operation AcceptAccountLinkInvitation for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ConflictException +// The TargetAccountId is already linked or invited. +// +// - InternalServerException +// Unexpected server error occured. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AcceptAccountLinkInvitation +func (c *WorkSpaces) AcceptAccountLinkInvitation(input *AcceptAccountLinkInvitationInput) (*AcceptAccountLinkInvitationOutput, error) { + req, out := c.AcceptAccountLinkInvitationRequest(input) + return out, req.Send() +} + +// AcceptAccountLinkInvitationWithContext is the same as AcceptAccountLinkInvitation with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptAccountLinkInvitation 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 *WorkSpaces) AcceptAccountLinkInvitationWithContext(ctx aws.Context, input *AcceptAccountLinkInvitationInput, opts ...request.Option) (*AcceptAccountLinkInvitationOutput, error) { + req, out := c.AcceptAccountLinkInvitationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAssociateConnectionAlias = "AssociateConnectionAlias" // AssociateConnectionAliasRequest generates a "aws/request.Request" representing the @@ -519,6 +614,95 @@ func (c *WorkSpaces) CopyWorkspaceImageWithContext(ctx aws.Context, input *CopyW return out, req.Send() } +const opCreateAccountLinkInvitation = "CreateAccountLinkInvitation" + +// CreateAccountLinkInvitationRequest generates a "aws/request.Request" representing the +// client's request for the CreateAccountLinkInvitation 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 CreateAccountLinkInvitation for more information on using the CreateAccountLinkInvitation +// 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 CreateAccountLinkInvitationRequest method. +// req, resp := client.CreateAccountLinkInvitationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAccountLinkInvitation +func (c *WorkSpaces) CreateAccountLinkInvitationRequest(input *CreateAccountLinkInvitationInput) (req *request.Request, output *CreateAccountLinkInvitationOutput) { + op := &request.Operation{ + Name: opCreateAccountLinkInvitation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateAccountLinkInvitationInput{} + } + + output = &CreateAccountLinkInvitationOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateAccountLinkInvitation API operation for Amazon WorkSpaces. +// +// Creates the account link invitation. +// +// 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 WorkSpaces's +// API operation CreateAccountLinkInvitation for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ConflictException +// The TargetAccountId is already linked or invited. +// +// - InternalServerException +// Unexpected server error occured. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateAccountLinkInvitation +func (c *WorkSpaces) CreateAccountLinkInvitation(input *CreateAccountLinkInvitationInput) (*CreateAccountLinkInvitationOutput, error) { + req, out := c.CreateAccountLinkInvitationRequest(input) + return out, req.Send() +} + +// CreateAccountLinkInvitationWithContext is the same as CreateAccountLinkInvitation with the addition of +// the ability to pass a context and additional request options. +// +// See CreateAccountLinkInvitation 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 *WorkSpaces) CreateAccountLinkInvitationWithContext(ctx aws.Context, input *CreateAccountLinkInvitationInput, opts ...request.Option) (*CreateAccountLinkInvitationOutput, error) { + req, out := c.CreateAccountLinkInvitationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateConnectClientAddIn = "CreateConnectClientAddIn" // CreateConnectClientAddInRequest generates a "aws/request.Request" representing the @@ -1386,6 +1570,98 @@ func (c *WorkSpaces) CreateWorkspacesWithContext(ctx aws.Context, input *CreateW return out, req.Send() } +const opDeleteAccountLinkInvitation = "DeleteAccountLinkInvitation" + +// DeleteAccountLinkInvitationRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAccountLinkInvitation 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 DeleteAccountLinkInvitation for more information on using the DeleteAccountLinkInvitation +// 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 DeleteAccountLinkInvitationRequest method. +// req, resp := client.DeleteAccountLinkInvitationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAccountLinkInvitation +func (c *WorkSpaces) DeleteAccountLinkInvitationRequest(input *DeleteAccountLinkInvitationInput) (req *request.Request, output *DeleteAccountLinkInvitationOutput) { + op := &request.Operation{ + Name: opDeleteAccountLinkInvitation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteAccountLinkInvitationInput{} + } + + output = &DeleteAccountLinkInvitationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteAccountLinkInvitation API operation for Amazon WorkSpaces. +// +// Deletes the account link invitation. +// +// 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 WorkSpaces's +// API operation DeleteAccountLinkInvitation for usage and error information. +// +// Returned Error Types: +// +// - ValidationException +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - ConflictException +// The TargetAccountId is already linked or invited. +// +// - InternalServerException +// Unexpected server error occured. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteAccountLinkInvitation +func (c *WorkSpaces) DeleteAccountLinkInvitation(input *DeleteAccountLinkInvitationInput) (*DeleteAccountLinkInvitationOutput, error) { + req, out := c.DeleteAccountLinkInvitationRequest(input) + return out, req.Send() +} + +// DeleteAccountLinkInvitationWithContext is the same as DeleteAccountLinkInvitation with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAccountLinkInvitation 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 *WorkSpaces) DeleteAccountLinkInvitationWithContext(ctx aws.Context, input *DeleteAccountLinkInvitationInput, opts ...request.Option) (*DeleteAccountLinkInvitationOutput, error) { + req, out := c.DeleteAccountLinkInvitationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteClientBranding = "DeleteClientBranding" // DeleteClientBrandingRequest generates a "aws/request.Request" representing the @@ -4555,6 +4831,95 @@ func (c *WorkSpaces) DisassociateWorkspaceApplicationWithContext(ctx aws.Context return out, req.Send() } +const opGetAccountLink = "GetAccountLink" + +// GetAccountLinkRequest generates a "aws/request.Request" representing the +// client's request for the GetAccountLink 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 GetAccountLink for more information on using the GetAccountLink +// 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 GetAccountLinkRequest method. +// req, resp := client.GetAccountLinkRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLink +func (c *WorkSpaces) GetAccountLinkRequest(input *GetAccountLinkInput) (req *request.Request, output *GetAccountLinkOutput) { + op := &request.Operation{ + Name: opGetAccountLink, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetAccountLinkInput{} + } + + output = &GetAccountLinkOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAccountLink API operation for Amazon WorkSpaces. +// +// Retrieves account link information. +// +// 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 WorkSpaces's +// API operation GetAccountLink for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ValidationException +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - InternalServerException +// Unexpected server error occured. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/GetAccountLink +func (c *WorkSpaces) GetAccountLink(input *GetAccountLinkInput) (*GetAccountLinkOutput, error) { + req, out := c.GetAccountLinkRequest(input) + return out, req.Send() +} + +// GetAccountLinkWithContext is the same as GetAccountLink with the addition of +// the ability to pass a context and additional request options. +// +// See GetAccountLink 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 *WorkSpaces) GetAccountLinkWithContext(ctx aws.Context, input *GetAccountLinkInput, opts ...request.Option) (*GetAccountLinkOutput, error) { + req, out := c.GetAccountLinkRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opImportClientBranding = "ImportClientBranding" // ImportClientBrandingRequest generates a "aws/request.Request" representing the @@ -4759,10 +5124,153 @@ func (c *WorkSpaces) ImportWorkspaceImageWithContext(ctx aws.Context, input *Imp return out, req.Send() } -const opListAvailableManagementCidrRanges = "ListAvailableManagementCidrRanges" +const opListAccountLinks = "ListAccountLinks" -// ListAvailableManagementCidrRangesRequest generates a "aws/request.Request" representing the -// client's request for the ListAvailableManagementCidrRanges operation. The "output" return +// ListAccountLinksRequest generates a "aws/request.Request" representing the +// client's request for the ListAccountLinks 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 ListAccountLinks for more information on using the ListAccountLinks +// 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 ListAccountLinksRequest method. +// req, resp := client.ListAccountLinksRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinks +func (c *WorkSpaces) ListAccountLinksRequest(input *ListAccountLinksInput) (req *request.Request, output *ListAccountLinksOutput) { + op := &request.Operation{ + Name: opListAccountLinks, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListAccountLinksInput{} + } + + output = &ListAccountLinksOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListAccountLinks API operation for Amazon WorkSpaces. +// +// Lists all account links. +// +// 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 WorkSpaces's +// API operation ListAccountLinks for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ValidationException +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +// +// - InternalServerException +// Unexpected server error occured. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAccountLinks +func (c *WorkSpaces) ListAccountLinks(input *ListAccountLinksInput) (*ListAccountLinksOutput, error) { + req, out := c.ListAccountLinksRequest(input) + return out, req.Send() +} + +// ListAccountLinksWithContext is the same as ListAccountLinks with the addition of +// the ability to pass a context and additional request options. +// +// See ListAccountLinks 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 *WorkSpaces) ListAccountLinksWithContext(ctx aws.Context, input *ListAccountLinksInput, opts ...request.Option) (*ListAccountLinksOutput, error) { + req, out := c.ListAccountLinksRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListAccountLinksPages iterates over the pages of a ListAccountLinks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListAccountLinks 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 ListAccountLinks operation. +// pageNum := 0 +// err := client.ListAccountLinksPages(params, +// func(page *workspaces.ListAccountLinksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *WorkSpaces) ListAccountLinksPages(input *ListAccountLinksInput, fn func(*ListAccountLinksOutput, bool) bool) error { + return c.ListAccountLinksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListAccountLinksPagesWithContext same as ListAccountLinksPages 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 *WorkSpaces) ListAccountLinksPagesWithContext(ctx aws.Context, input *ListAccountLinksInput, fn func(*ListAccountLinksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListAccountLinksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListAccountLinksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListAccountLinksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListAvailableManagementCidrRanges = "ListAvailableManagementCidrRanges" + +// ListAvailableManagementCidrRangesRequest generates a "aws/request.Request" representing the +// client's request for the ListAvailableManagementCidrRanges operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // @@ -6063,6 +6571,98 @@ func (c *WorkSpaces) RegisterWorkspaceDirectoryWithContext(ctx aws.Context, inpu return out, req.Send() } +const opRejectAccountLinkInvitation = "RejectAccountLinkInvitation" + +// RejectAccountLinkInvitationRequest generates a "aws/request.Request" representing the +// client's request for the RejectAccountLinkInvitation 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 RejectAccountLinkInvitation for more information on using the RejectAccountLinkInvitation +// 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 RejectAccountLinkInvitationRequest method. +// req, resp := client.RejectAccountLinkInvitationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RejectAccountLinkInvitation +func (c *WorkSpaces) RejectAccountLinkInvitationRequest(input *RejectAccountLinkInvitationInput) (req *request.Request, output *RejectAccountLinkInvitationOutput) { + op := &request.Operation{ + Name: opRejectAccountLinkInvitation, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RejectAccountLinkInvitationInput{} + } + + output = &RejectAccountLinkInvitationOutput{} + req = c.newRequest(op, input, output) + return +} + +// RejectAccountLinkInvitation API operation for Amazon WorkSpaces. +// +// Rejects the account link invitation. +// +// 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 WorkSpaces's +// API operation RejectAccountLinkInvitation for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ValidationException +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +// +// - ResourceNotFoundException +// The resource could not be found. +// +// - ConflictException +// The TargetAccountId is already linked or invited. +// +// - InternalServerException +// Unexpected server error occured. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RejectAccountLinkInvitation +func (c *WorkSpaces) RejectAccountLinkInvitation(input *RejectAccountLinkInvitationInput) (*RejectAccountLinkInvitationOutput, error) { + req, out := c.RejectAccountLinkInvitationRequest(input) + return out, req.Send() +} + +// RejectAccountLinkInvitationWithContext is the same as RejectAccountLinkInvitation with the addition of +// the ability to pass a context and additional request options. +// +// See RejectAccountLinkInvitation 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 *WorkSpaces) RejectAccountLinkInvitationWithContext(ctx aws.Context, input *RejectAccountLinkInvitationInput, opts ...request.Option) (*RejectAccountLinkInvitationOutput, error) { + req, out := c.RejectAccountLinkInvitationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRestoreWorkspace = "RestoreWorkspace" // RestoreWorkspaceRequest generates a "aws/request.Request" representing the @@ -7005,6 +7605,93 @@ func (c *WorkSpaces) UpdateWorkspaceImagePermissionWithContext(ctx aws.Context, return out, req.Send() } +type AcceptAccountLinkInvitationInput struct { + _ struct{} `type:"structure"` + + // A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent + // creation. + ClientToken *string `type:"string"` + + // The identifier of the account link. + // + // LinkId is a required field + LinkId *string `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 AcceptAccountLinkInvitationInput) 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 AcceptAccountLinkInvitationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptAccountLinkInvitationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptAccountLinkInvitationInput"} + if s.LinkId == nil { + invalidParams.Add(request.NewErrParamRequired("LinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *AcceptAccountLinkInvitationInput) SetClientToken(v string) *AcceptAccountLinkInvitationInput { + s.ClientToken = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *AcceptAccountLinkInvitationInput) SetLinkId(v string) *AcceptAccountLinkInvitationInput { + s.LinkId = &v + return s +} + +type AcceptAccountLinkInvitationOutput struct { + _ struct{} `type:"structure"` + + // Information about the account link. + AccountLink *AccountLink `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 AcceptAccountLinkInvitationOutput) 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 AcceptAccountLinkInvitationOutput) GoString() string { + return s.String() +} + +// SetAccountLink sets the AccountLink field's value. +func (s *AcceptAccountLinkInvitationOutput) SetAccountLink(v *AccountLink) *AcceptAccountLinkInvitationOutput { + s.AccountLink = v + return s +} + // The user is not authorized to access a resource. type AccessDeniedException struct { _ struct{} `type:"structure"` @@ -7069,6 +7756,65 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Information about about the account link. +type AccountLink struct { + _ struct{} `type:"structure"` + + // The identifier of the account link. + AccountLinkId *string `type:"string"` + + // The status of the account link. + AccountLinkStatus *string `type:"string" enum:"AccountLinkStatusEnum"` + + // The identifier of the source account. + SourceAccountId *string `type:"string"` + + // The identifier of the target account. + TargetAccountId *string `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 AccountLink) 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 AccountLink) GoString() string { + return s.String() +} + +// SetAccountLinkId sets the AccountLinkId field's value. +func (s *AccountLink) SetAccountLinkId(v string) *AccountLink { + s.AccountLinkId = &v + return s +} + +// SetAccountLinkStatus sets the AccountLinkStatus field's value. +func (s *AccountLink) SetAccountLinkStatus(v string) *AccountLink { + s.AccountLinkStatus = &v + return s +} + +// SetSourceAccountId sets the SourceAccountId field's value. +func (s *AccountLink) SetSourceAccountId(v string) *AccountLink { + s.SourceAccountId = &v + return s +} + +// SetTargetAccountId sets the TargetAccountId field's value. +func (s *AccountLink) SetTargetAccountId(v string) *AccountLink { + s.TargetAccountId = &v + return s +} + // Describes a modification to the configuration of Bring Your Own License (BYOL) // for the specified account. type AccountModification struct { @@ -8018,10 +8764,74 @@ func (s ComputeType) GoString() string { return s.String() } -// SetName sets the Name field's value. -func (s *ComputeType) SetName(v string) *ComputeType { - s.Name = &v - return s +// SetName sets the Name field's value. +func (s *ComputeType) SetName(v string) *ComputeType { + s.Name = &v + return s +} + +// The TargetAccountId is already linked or invited. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 ConflictException) 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 ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID } // Describes an Amazon Connect client add-in. @@ -8427,6 +9237,93 @@ func (s *CopyWorkspaceImageOutput) SetImageId(v string) *CopyWorkspaceImageOutpu return s } +type CreateAccountLinkInvitationInput struct { + _ struct{} `type:"structure"` + + // A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent + // creation. + ClientToken *string `type:"string"` + + // The identifier of the target account. + // + // TargetAccountId is a required field + TargetAccountId *string `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 CreateAccountLinkInvitationInput) 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 CreateAccountLinkInvitationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateAccountLinkInvitationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateAccountLinkInvitationInput"} + if s.TargetAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("TargetAccountId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateAccountLinkInvitationInput) SetClientToken(v string) *CreateAccountLinkInvitationInput { + s.ClientToken = &v + return s +} + +// SetTargetAccountId sets the TargetAccountId field's value. +func (s *CreateAccountLinkInvitationInput) SetTargetAccountId(v string) *CreateAccountLinkInvitationInput { + s.TargetAccountId = &v + return s +} + +type CreateAccountLinkInvitationOutput struct { + _ struct{} `type:"structure"` + + // Information about the account link. + AccountLink *AccountLink `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 CreateAccountLinkInvitationOutput) 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 CreateAccountLinkInvitationOutput) GoString() string { + return s.String() +} + +// SetAccountLink sets the AccountLink field's value. +func (s *CreateAccountLinkInvitationOutput) SetAccountLink(v *AccountLink) *CreateAccountLinkInvitationOutput { + s.AccountLink = v + return s +} + type CreateConnectClientAddInInput struct { _ struct{} `type:"structure"` @@ -9921,6 +10818,93 @@ func (s *DefaultWorkspaceCreationProperties) SetUserEnabledAsLocalAdministrator( return s } +type DeleteAccountLinkInvitationInput struct { + _ struct{} `type:"structure"` + + // A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent + // creation. + ClientToken *string `type:"string"` + + // The identifier of the account link. + // + // LinkId is a required field + LinkId *string `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 DeleteAccountLinkInvitationInput) 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 DeleteAccountLinkInvitationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAccountLinkInvitationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAccountLinkInvitationInput"} + if s.LinkId == nil { + invalidParams.Add(request.NewErrParamRequired("LinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *DeleteAccountLinkInvitationInput) SetClientToken(v string) *DeleteAccountLinkInvitationInput { + s.ClientToken = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *DeleteAccountLinkInvitationInput) SetLinkId(v string) *DeleteAccountLinkInvitationInput { + s.LinkId = &v + return s +} + +type DeleteAccountLinkInvitationOutput struct { + _ struct{} `type:"structure"` + + // Information about the account link. + AccountLink *AccountLink `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 DeleteAccountLinkInvitationOutput) 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 DeleteAccountLinkInvitationOutput) GoString() string { + return s.String() +} + +// SetAccountLink sets the AccountLink field's value. +func (s *DeleteAccountLinkInvitationOutput) SetAccountLink(v *AccountLink) *DeleteAccountLinkInvitationOutput { + s.AccountLink = v + return s +} + type DeleteClientBrandingInput struct { _ struct{} `type:"structure"` @@ -10717,6 +11701,9 @@ func (s *DescribeAccountModificationsOutput) SetNextToken(v string) *DescribeAcc type DescribeAccountOutput struct { _ struct{} `type:"structure"` + // The type of linked account. + DedicatedTenancyAccountType *string `type:"string" enum:"DedicatedTenancyAccountType"` + // The IP address range, specified as an IPv4 CIDR block, used for the management // network interface. // @@ -10748,6 +11735,12 @@ func (s DescribeAccountOutput) GoString() string { return s.String() } +// SetDedicatedTenancyAccountType sets the DedicatedTenancyAccountType field's value. +func (s *DescribeAccountOutput) SetDedicatedTenancyAccountType(v string) *DescribeAccountOutput { + s.DedicatedTenancyAccountType = &v + return s +} + // SetDedicatedTenancyManagementCidrRange sets the DedicatedTenancyManagementCidrRange field's value. func (s *DescribeAccountOutput) SetDedicatedTenancyManagementCidrRange(v string) *DescribeAccountOutput { s.DedicatedTenancyManagementCidrRange = &v @@ -13319,6 +14312,77 @@ func (s *FailedWorkspaceChangeRequest) SetWorkspaceId(v string) *FailedWorkspace return s } +type GetAccountLinkInput struct { + _ struct{} `type:"structure"` + + // The identifier of the account to link. + LinkId *string `type:"string"` + + // The identifier of the account link + LinkedAccountId *string `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 GetAccountLinkInput) 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 GetAccountLinkInput) GoString() string { + return s.String() +} + +// SetLinkId sets the LinkId field's value. +func (s *GetAccountLinkInput) SetLinkId(v string) *GetAccountLinkInput { + s.LinkId = &v + return s +} + +// SetLinkedAccountId sets the LinkedAccountId field's value. +func (s *GetAccountLinkInput) SetLinkedAccountId(v string) *GetAccountLinkInput { + s.LinkedAccountId = &v + return s +} + +type GetAccountLinkOutput struct { + _ struct{} `type:"structure"` + + // The account link of the account link to retrieve. + AccountLink *AccountLink `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 GetAccountLinkOutput) 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 GetAccountLinkOutput) GoString() string { + return s.String() +} + +// SetAccountLink sets the AccountLink field's value. +func (s *GetAccountLinkOutput) SetAccountLink(v *AccountLink) *GetAccountLinkOutput { + s.AccountLink = v + return s +} + // Describes the Amazon Web Services accounts that have been granted permission // to use a shared image. For more information about sharing images, see Share // or Unshare a Custom WorkSpaces Image (https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html). @@ -13801,32 +14865,96 @@ type ImportWorkspaceImageOutput struct { ImageId *string `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 ImportWorkspaceImageOutput) String() string { - return awsutil.Prettify(s) +// 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 ImportWorkspaceImageOutput) 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 ImportWorkspaceImageOutput) GoString() string { + return s.String() +} + +// SetImageId sets the ImageId field's value. +func (s *ImportWorkspaceImageOutput) SetImageId(v string) *ImportWorkspaceImageOutput { + s.ImageId = &v + return s +} + +// The specified application is not compatible with the resource. +type IncompatibleApplicationsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 IncompatibleApplicationsException) 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 IncompatibleApplicationsException) GoString() string { + return s.String() +} + +func newErrorIncompatibleApplicationsException(v protocol.ResponseMetadata) error { + return &IncompatibleApplicationsException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *IncompatibleApplicationsException) Code() string { + return "IncompatibleApplicationsException" +} + +// Message returns the exception's message. +func (s *IncompatibleApplicationsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *IncompatibleApplicationsException) OrigErr() error { + return nil +} + +func (s *IncompatibleApplicationsException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } -// 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 ImportWorkspaceImageOutput) GoString() string { - return s.String() +// Status code returns the HTTP status code for the request's response error. +func (s *IncompatibleApplicationsException) StatusCode() int { + return s.RespMetadata.StatusCode } -// SetImageId sets the ImageId field's value. -func (s *ImportWorkspaceImageOutput) SetImageId(v string) *ImportWorkspaceImageOutput { - s.ImageId = &v - return s +// RequestID returns the service's response RequestID for request. +func (s *IncompatibleApplicationsException) RequestID() string { + return s.RespMetadata.RequestID } -// The specified application is not compatible with the resource. -type IncompatibleApplicationsException struct { +// Unexpected server error occured. +type InternalServerException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -13838,7 +14966,7 @@ type IncompatibleApplicationsException 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 IncompatibleApplicationsException) String() string { +func (s InternalServerException) String() string { return awsutil.Prettify(s) } @@ -13847,23 +14975,23 @@ func (s IncompatibleApplicationsException) 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 IncompatibleApplicationsException) GoString() string { +func (s InternalServerException) GoString() string { return s.String() } -func newErrorIncompatibleApplicationsException(v protocol.ResponseMetadata) error { - return &IncompatibleApplicationsException{ +func newErrorInternalServerException(v protocol.ResponseMetadata) error { + return &InternalServerException{ RespMetadata: v, } } // Code returns the exception type name. -func (s *IncompatibleApplicationsException) Code() string { - return "IncompatibleApplicationsException" +func (s *InternalServerException) Code() string { + return "InternalServerException" } // Message returns the exception's message. -func (s *IncompatibleApplicationsException) Message() string { +func (s *InternalServerException) Message() string { if s.Message_ != nil { return *s.Message_ } @@ -13871,21 +14999,21 @@ func (s *IncompatibleApplicationsException) Message() string { } // OrigErr always returns nil, satisfies awserr.Error interface. -func (s *IncompatibleApplicationsException) OrigErr() error { +func (s *InternalServerException) OrigErr() error { return nil } -func (s *IncompatibleApplicationsException) Error() string { +func (s *InternalServerException) Error() string { return fmt.Sprintf("%s: %s", s.Code(), s.Message()) } // Status code returns the HTTP status code for the request's response error. -func (s *IncompatibleApplicationsException) StatusCode() int { +func (s *InternalServerException) StatusCode() int { return s.RespMetadata.StatusCode } // RequestID returns the service's response RequestID for request. -func (s *IncompatibleApplicationsException) RequestID() string { +func (s *InternalServerException) RequestID() string { return s.RespMetadata.RequestID } @@ -14393,6 +15521,113 @@ func (s *IpRuleItem) SetRuleDesc(v string) *IpRuleItem { return s } +type ListAccountLinksInput struct { + _ struct{} `type:"structure"` + + // Filters the account based on their link status. + LinkStatusFilter []*string `type:"list" enum:"AccountLinkStatusEnum"` + + // The maximum number of accounts to return. + MaxResults *int64 `min:"1" type:"integer"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `min:"1" 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 ListAccountLinksInput) 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 ListAccountLinksInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListAccountLinksInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListAccountLinksInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetLinkStatusFilter sets the LinkStatusFilter field's value. +func (s *ListAccountLinksInput) SetLinkStatusFilter(v []*string) *ListAccountLinksInput { + s.LinkStatusFilter = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListAccountLinksInput) SetMaxResults(v int64) *ListAccountLinksInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAccountLinksInput) SetNextToken(v string) *ListAccountLinksInput { + s.NextToken = &v + return s +} + +type ListAccountLinksOutput struct { + _ struct{} `type:"structure"` + + // Information about the account links. + AccountLinks []*AccountLink `type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `min:"1" 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 ListAccountLinksOutput) 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 ListAccountLinksOutput) GoString() string { + return s.String() +} + +// SetAccountLinks sets the AccountLinks field's value. +func (s *ListAccountLinksOutput) SetAccountLinks(v []*AccountLink) *ListAccountLinksOutput { + s.AccountLinks = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListAccountLinksOutput) SetNextToken(v string) *ListAccountLinksOutput { + s.NextToken = &v + return s +} + type ListAvailableManagementCidrRangesInput struct { _ struct{} `type:"structure"` @@ -16139,6 +17374,92 @@ func (s RegisterWorkspaceDirectoryOutput) GoString() string { return s.String() } +type RejectAccountLinkInvitationInput struct { + _ struct{} `type:"structure"` + + // The client token of the account link invitation to reject. + ClientToken *string `type:"string"` + + // The identifier of the account link + // + // LinkId is a required field + LinkId *string `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 RejectAccountLinkInvitationInput) 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 RejectAccountLinkInvitationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RejectAccountLinkInvitationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectAccountLinkInvitationInput"} + if s.LinkId == nil { + invalidParams.Add(request.NewErrParamRequired("LinkId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *RejectAccountLinkInvitationInput) SetClientToken(v string) *RejectAccountLinkInvitationInput { + s.ClientToken = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *RejectAccountLinkInvitationInput) SetLinkId(v string) *RejectAccountLinkInvitationInput { + s.LinkId = &v + return s +} + +type RejectAccountLinkInvitationOutput struct { + _ struct{} `type:"structure"` + + // Information about the account link. + AccountLink *AccountLink `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 RejectAccountLinkInvitationOutput) 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 RejectAccountLinkInvitationOutput) GoString() string { + return s.String() +} + +// SetAccountLink sets the AccountLink field's value. +func (s *RejectAccountLinkInvitationOutput) SetAccountLink(v *AccountLink) *RejectAccountLinkInvitationOutput { + s.AccountLink = v + return s +} + // Describes the related WorkSpace. The related WorkSpace could be a standby // WorkSpace or primary WorkSpace related to the specified WorkSpace. type RelatedWorkspaceProperties struct { @@ -18296,6 +19617,71 @@ func (s *UserStorage) SetCapacity(v string) *UserStorage { return s } +// You either haven't provided a TargetAccountId or are using the same value +// for TargetAccountId and SourceAccountId. +type ValidationException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" 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 ValidationException) 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 ValidationException) GoString() string { + return s.String() +} + +func newErrorValidationException(v protocol.ResponseMetadata) error { + return &ValidationException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ValidationException) Code() string { + return "ValidationException" +} + +// Message returns the exception's message. +func (s *ValidationException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ValidationException) OrigErr() error { + return nil +} + +func (s *ValidationException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ValidationException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ValidationException) RequestID() string { + return s.RespMetadata.RequestID +} + // Describes the WorkSpace application. type WorkSpaceApplication struct { _ struct{} `type:"structure"` @@ -19835,6 +21221,34 @@ func AccessPropertyValue_Values() []string { } } +const ( + // AccountLinkStatusEnumLinked is a AccountLinkStatusEnum enum value + AccountLinkStatusEnumLinked = "LINKED" + + // AccountLinkStatusEnumLinkingFailed is a AccountLinkStatusEnum enum value + AccountLinkStatusEnumLinkingFailed = "LINKING_FAILED" + + // AccountLinkStatusEnumLinkNotFound is a AccountLinkStatusEnum enum value + AccountLinkStatusEnumLinkNotFound = "LINK_NOT_FOUND" + + // AccountLinkStatusEnumPendingAcceptanceByTargetAccount is a AccountLinkStatusEnum enum value + AccountLinkStatusEnumPendingAcceptanceByTargetAccount = "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" + + // AccountLinkStatusEnumRejected is a AccountLinkStatusEnum enum value + AccountLinkStatusEnumRejected = "REJECTED" +) + +// AccountLinkStatusEnum_Values returns all elements of the AccountLinkStatusEnum enum +func AccountLinkStatusEnum_Values() []string { + return []string{ + AccountLinkStatusEnumLinked, + AccountLinkStatusEnumLinkingFailed, + AccountLinkStatusEnumLinkNotFound, + AccountLinkStatusEnumPendingAcceptanceByTargetAccount, + AccountLinkStatusEnumRejected, + } +} + const ( // ApplicationMicrosoftOffice2016 is a Application enum value ApplicationMicrosoftOffice2016 = "Microsoft_Office_2016" @@ -20147,6 +21561,22 @@ func DataReplication_Values() []string { } } +const ( + // DedicatedTenancyAccountTypeSourceAccount is a DedicatedTenancyAccountType enum value + DedicatedTenancyAccountTypeSourceAccount = "SOURCE_ACCOUNT" + + // DedicatedTenancyAccountTypeTargetAccount is a DedicatedTenancyAccountType enum value + DedicatedTenancyAccountTypeTargetAccount = "TARGET_ACCOUNT" +) + +// DedicatedTenancyAccountType_Values returns all elements of the DedicatedTenancyAccountType enum +func DedicatedTenancyAccountType_Values() []string { + return []string{ + DedicatedTenancyAccountTypeSourceAccount, + DedicatedTenancyAccountTypeTargetAccount, + } +} + const ( // DedicatedTenancyModificationStateEnumPending is a DedicatedTenancyModificationStateEnum enum value DedicatedTenancyModificationStateEnumPending = "PENDING" diff --git a/service/workspaces/errors.go b/service/workspaces/errors.go index df408e08860..2ad23334bc2 100644 --- a/service/workspaces/errors.go +++ b/service/workspaces/errors.go @@ -26,12 +26,24 @@ const ( // The compute type of the WorkSpace is not compatible with the application. ErrCodeComputeNotCompatibleException = "ComputeNotCompatibleException" + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // The TargetAccountId is already linked or invited. + ErrCodeConflictException = "ConflictException" + // ErrCodeIncompatibleApplicationsException for service response error code // "IncompatibleApplicationsException". // // The specified application is not compatible with the resource. ErrCodeIncompatibleApplicationsException = "IncompatibleApplicationsException" + // ErrCodeInternalServerException for service response error code + // "InternalServerException". + // + // Unexpected server error occured. + ErrCodeInternalServerException = "InternalServerException" + // ErrCodeInvalidParameterValuesException for service response error code // "InvalidParameterValuesException". // @@ -122,6 +134,13 @@ const ( // WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html). ErrCodeUnsupportedWorkspaceConfigurationException = "UnsupportedWorkspaceConfigurationException" + // ErrCodeValidationException for service response error code + // "ValidationException". + // + // You either haven't provided a TargetAccountId or are using the same value + // for TargetAccountId and SourceAccountId. + ErrCodeValidationException = "ValidationException" + // ErrCodeWorkspacesDefaultRoleNotFoundException for service response error code // "WorkspacesDefaultRoleNotFoundException". // @@ -136,7 +155,9 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "AccessDeniedException": newErrorAccessDeniedException, "ApplicationNotSupportedException": newErrorApplicationNotSupportedException, "ComputeNotCompatibleException": newErrorComputeNotCompatibleException, + "ConflictException": newErrorConflictException, "IncompatibleApplicationsException": newErrorIncompatibleApplicationsException, + "InternalServerException": newErrorInternalServerException, "InvalidParameterValuesException": newErrorInvalidParameterValuesException, "InvalidResourceStateException": newErrorInvalidResourceStateException, "OperatingSystemNotCompatibleException": newErrorOperatingSystemNotCompatibleException, @@ -151,5 +172,6 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ResourceUnavailableException": newErrorResourceUnavailableException, "UnsupportedNetworkConfigurationException": newErrorUnsupportedNetworkConfigurationException, "UnsupportedWorkspaceConfigurationException": newErrorUnsupportedWorkspaceConfigurationException, + "ValidationException": newErrorValidationException, "WorkspacesDefaultRoleNotFoundException": newErrorWorkspacesDefaultRoleNotFoundException, } diff --git a/service/workspaces/workspacesiface/interface.go b/service/workspaces/workspacesiface/interface.go index f16419bfbfa..67f888bb972 100644 --- a/service/workspaces/workspacesiface/interface.go +++ b/service/workspaces/workspacesiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // Amazon WorkSpaces. // func myFunc(svc workspacesiface.WorkSpacesAPI) bool { -// // Make svc.AssociateConnectionAlias request +// // Make svc.AcceptAccountLinkInvitation request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockWorkSpacesClient struct { // workspacesiface.WorkSpacesAPI // } -// func (m *mockWorkSpacesClient) AssociateConnectionAlias(input *workspaces.AssociateConnectionAliasInput) (*workspaces.AssociateConnectionAliasOutput, error) { +// func (m *mockWorkSpacesClient) AcceptAccountLinkInvitation(input *workspaces.AcceptAccountLinkInvitationInput) (*workspaces.AcceptAccountLinkInvitationOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,10 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type WorkSpacesAPI interface { + AcceptAccountLinkInvitation(*workspaces.AcceptAccountLinkInvitationInput) (*workspaces.AcceptAccountLinkInvitationOutput, error) + AcceptAccountLinkInvitationWithContext(aws.Context, *workspaces.AcceptAccountLinkInvitationInput, ...request.Option) (*workspaces.AcceptAccountLinkInvitationOutput, error) + AcceptAccountLinkInvitationRequest(*workspaces.AcceptAccountLinkInvitationInput) (*request.Request, *workspaces.AcceptAccountLinkInvitationOutput) + AssociateConnectionAlias(*workspaces.AssociateConnectionAliasInput) (*workspaces.AssociateConnectionAliasOutput, error) AssociateConnectionAliasWithContext(aws.Context, *workspaces.AssociateConnectionAliasInput, ...request.Option) (*workspaces.AssociateConnectionAliasOutput, error) AssociateConnectionAliasRequest(*workspaces.AssociateConnectionAliasInput) (*request.Request, *workspaces.AssociateConnectionAliasOutput) @@ -80,6 +84,10 @@ type WorkSpacesAPI interface { CopyWorkspaceImageWithContext(aws.Context, *workspaces.CopyWorkspaceImageInput, ...request.Option) (*workspaces.CopyWorkspaceImageOutput, error) CopyWorkspaceImageRequest(*workspaces.CopyWorkspaceImageInput) (*request.Request, *workspaces.CopyWorkspaceImageOutput) + CreateAccountLinkInvitation(*workspaces.CreateAccountLinkInvitationInput) (*workspaces.CreateAccountLinkInvitationOutput, error) + CreateAccountLinkInvitationWithContext(aws.Context, *workspaces.CreateAccountLinkInvitationInput, ...request.Option) (*workspaces.CreateAccountLinkInvitationOutput, error) + CreateAccountLinkInvitationRequest(*workspaces.CreateAccountLinkInvitationInput) (*request.Request, *workspaces.CreateAccountLinkInvitationOutput) + CreateConnectClientAddIn(*workspaces.CreateConnectClientAddInInput) (*workspaces.CreateConnectClientAddInOutput, error) CreateConnectClientAddInWithContext(aws.Context, *workspaces.CreateConnectClientAddInInput, ...request.Option) (*workspaces.CreateConnectClientAddInOutput, error) CreateConnectClientAddInRequest(*workspaces.CreateConnectClientAddInInput) (*request.Request, *workspaces.CreateConnectClientAddInOutput) @@ -116,6 +124,10 @@ type WorkSpacesAPI interface { CreateWorkspacesWithContext(aws.Context, *workspaces.CreateWorkspacesInput, ...request.Option) (*workspaces.CreateWorkspacesOutput, error) CreateWorkspacesRequest(*workspaces.CreateWorkspacesInput) (*request.Request, *workspaces.CreateWorkspacesOutput) + DeleteAccountLinkInvitation(*workspaces.DeleteAccountLinkInvitationInput) (*workspaces.DeleteAccountLinkInvitationOutput, error) + DeleteAccountLinkInvitationWithContext(aws.Context, *workspaces.DeleteAccountLinkInvitationInput, ...request.Option) (*workspaces.DeleteAccountLinkInvitationOutput, error) + DeleteAccountLinkInvitationRequest(*workspaces.DeleteAccountLinkInvitationInput) (*request.Request, *workspaces.DeleteAccountLinkInvitationOutput) + DeleteClientBranding(*workspaces.DeleteClientBrandingInput) (*workspaces.DeleteClientBrandingOutput, error) DeleteClientBrandingWithContext(aws.Context, *workspaces.DeleteClientBrandingInput, ...request.Option) (*workspaces.DeleteClientBrandingOutput, error) DeleteClientBrandingRequest(*workspaces.DeleteClientBrandingInput) (*request.Request, *workspaces.DeleteClientBrandingOutput) @@ -263,6 +275,10 @@ type WorkSpacesAPI interface { DisassociateWorkspaceApplicationWithContext(aws.Context, *workspaces.DisassociateWorkspaceApplicationInput, ...request.Option) (*workspaces.DisassociateWorkspaceApplicationOutput, error) DisassociateWorkspaceApplicationRequest(*workspaces.DisassociateWorkspaceApplicationInput) (*request.Request, *workspaces.DisassociateWorkspaceApplicationOutput) + GetAccountLink(*workspaces.GetAccountLinkInput) (*workspaces.GetAccountLinkOutput, error) + GetAccountLinkWithContext(aws.Context, *workspaces.GetAccountLinkInput, ...request.Option) (*workspaces.GetAccountLinkOutput, error) + GetAccountLinkRequest(*workspaces.GetAccountLinkInput) (*request.Request, *workspaces.GetAccountLinkOutput) + ImportClientBranding(*workspaces.ImportClientBrandingInput) (*workspaces.ImportClientBrandingOutput, error) ImportClientBrandingWithContext(aws.Context, *workspaces.ImportClientBrandingInput, ...request.Option) (*workspaces.ImportClientBrandingOutput, error) ImportClientBrandingRequest(*workspaces.ImportClientBrandingInput) (*request.Request, *workspaces.ImportClientBrandingOutput) @@ -271,6 +287,13 @@ type WorkSpacesAPI interface { ImportWorkspaceImageWithContext(aws.Context, *workspaces.ImportWorkspaceImageInput, ...request.Option) (*workspaces.ImportWorkspaceImageOutput, error) ImportWorkspaceImageRequest(*workspaces.ImportWorkspaceImageInput) (*request.Request, *workspaces.ImportWorkspaceImageOutput) + ListAccountLinks(*workspaces.ListAccountLinksInput) (*workspaces.ListAccountLinksOutput, error) + ListAccountLinksWithContext(aws.Context, *workspaces.ListAccountLinksInput, ...request.Option) (*workspaces.ListAccountLinksOutput, error) + ListAccountLinksRequest(*workspaces.ListAccountLinksInput) (*request.Request, *workspaces.ListAccountLinksOutput) + + ListAccountLinksPages(*workspaces.ListAccountLinksInput, func(*workspaces.ListAccountLinksOutput, bool) bool) error + ListAccountLinksPagesWithContext(aws.Context, *workspaces.ListAccountLinksInput, func(*workspaces.ListAccountLinksOutput, bool) bool, ...request.Option) error + ListAvailableManagementCidrRanges(*workspaces.ListAvailableManagementCidrRangesInput) (*workspaces.ListAvailableManagementCidrRangesOutput, error) ListAvailableManagementCidrRangesWithContext(aws.Context, *workspaces.ListAvailableManagementCidrRangesInput, ...request.Option) (*workspaces.ListAvailableManagementCidrRangesOutput, error) ListAvailableManagementCidrRangesRequest(*workspaces.ListAvailableManagementCidrRangesInput) (*request.Request, *workspaces.ListAvailableManagementCidrRangesOutput) @@ -327,6 +350,10 @@ type WorkSpacesAPI interface { RegisterWorkspaceDirectoryWithContext(aws.Context, *workspaces.RegisterWorkspaceDirectoryInput, ...request.Option) (*workspaces.RegisterWorkspaceDirectoryOutput, error) RegisterWorkspaceDirectoryRequest(*workspaces.RegisterWorkspaceDirectoryInput) (*request.Request, *workspaces.RegisterWorkspaceDirectoryOutput) + RejectAccountLinkInvitation(*workspaces.RejectAccountLinkInvitationInput) (*workspaces.RejectAccountLinkInvitationOutput, error) + RejectAccountLinkInvitationWithContext(aws.Context, *workspaces.RejectAccountLinkInvitationInput, ...request.Option) (*workspaces.RejectAccountLinkInvitationOutput, error) + RejectAccountLinkInvitationRequest(*workspaces.RejectAccountLinkInvitationInput) (*request.Request, *workspaces.RejectAccountLinkInvitationOutput) + RestoreWorkspace(*workspaces.RestoreWorkspaceInput) (*workspaces.RestoreWorkspaceOutput, error) RestoreWorkspaceWithContext(aws.Context, *workspaces.RestoreWorkspaceInput, ...request.Option) (*workspaces.RestoreWorkspaceOutput, error) RestoreWorkspaceRequest(*workspaces.RestoreWorkspaceInput) (*request.Request, *workspaces.RestoreWorkspaceOutput)