diff --git a/CHANGELOG.md b/CHANGELOG.md index dcf9a8ebf6a..60d920d544d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Release v1.30.11 (2020-04-21) +=== + +### Service Client Updates +* `service/ce`: Updates service API and documentation +* `service/elasticmapreduce`: Updates service API and documentation + * Amazon EMR adds support for configuring a managed scaling policy for an Amazon EMR cluster. This enables automatic resizing of a cluster to optimize for job execution speed and reduced cluster cost. +* `service/guardduty`: Updates service API, documentation, and paginators + * AWS GuardDuty now supports using AWS Organizations delegated administrators to create and manage GuardDuty master and member accounts. The feature also allows GuardDuty to be automatically enabled on associated organization accounts. +* `service/route53domains`: Updates service API and documentation + * You can now programmatically transfer domains between AWS accounts without having to contact AWS Support + Release v1.30.10 (2020-04-20) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 9307fe49969..51b2c0a0b56 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -1684,12 +1684,42 @@ var awsPartition = partition{ "eu-west-1": endpoint{}, "eu-west-2": endpoint{}, "eu-west-3": endpoint{}, - "me-south-1": endpoint{}, - "sa-east-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "fips-ca-central-1": endpoint{ + Hostname: "ds-fips.ca-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-central-1", + }, + }, + "fips-us-east-1": endpoint{ + Hostname: "ds-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + "fips-us-east-2": endpoint{ + Hostname: "ds-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "fips-us-west-1": endpoint{ + Hostname: "ds-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + }, + "fips-us-west-2": endpoint{ + Hostname: "ds-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, + "me-south-1": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "dynamodb": service{ @@ -6755,6 +6785,18 @@ var awsusgovPartition = partition{ "ds": service{ Endpoints: endpoints{ + "fips-us-gov-east-1": endpoint{ + Hostname: "ds-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + }, + "fips-us-gov-west-1": endpoint{ + Hostname: "ds-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + }, "us-gov-east-1": endpoint{}, "us-gov-west-1": endpoint{}, }, diff --git a/aws/version.go b/aws/version.go index 4a29daefab9..899501e6cc0 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.30.10" +const SDKVersion = "1.30.11" diff --git a/models/apis/ce/2017-10-25/api-2.json b/models/apis/ce/2017-10-25/api-2.json index 62889954fb7..ba801df0150 100644 --- a/models/apis/ce/2017-10-25/api-2.json +++ b/models/apis/ce/2017-10-25/api-2.json @@ -834,6 +834,7 @@ "required":["Service"], "members":{ "Filter":{"shape":"Expression"}, + "Configuration":{"shape":"RightsizingRecommendationConfiguration"}, "Service":{"shape":"GenericString"}, "PageSize":{"shape":"NonNegativeInteger"}, "NextPageToken":{"shape":"NextPageToken"} @@ -845,7 +846,8 @@ "Metadata":{"shape":"RightsizingRecommendationMetadata"}, "Summary":{"shape":"RightsizingRecommendationSummary"}, "RightsizingRecommendations":{"shape":"RightsizingRecommendationList"}, - "NextPageToken":{"shape":"NextPageToken"} + "NextPageToken":{"shape":"NextPageToken"}, + "Configuration":{"shape":"RightsizingRecommendationConfiguration"} } }, "GetSavingsPlansCoverageRequest":{ @@ -1203,6 +1205,13 @@ "SizeFlexEligible":{"shape":"GenericBoolean"} } }, + "RecommendationTarget":{ + "type":"string", + "enum":[ + "SAME_INSTANCE_FAMILY", + "CROSS_INSTANCE_FAMILY" + ] + }, "RedshiftInstanceDetails":{ "type":"structure", "members":{ @@ -1368,6 +1377,17 @@ "TerminateRecommendationDetail":{"shape":"TerminateRecommendationDetail"} } }, + "RightsizingRecommendationConfiguration":{ + "type":"structure", + "required":[ + "RecommendationTarget", + "BenefitsConsidered" + ], + "members":{ + "RecommendationTarget":{"shape":"RecommendationTarget"}, + "BenefitsConsidered":{"shape":"GenericBoolean"} + } + }, "RightsizingRecommendationList":{ "type":"list", "member":{"shape":"RightsizingRecommendation"} diff --git a/models/apis/ce/2017-10-25/docs-2.json b/models/apis/ce/2017-10-25/docs-2.json index 39856c8ea2f..ed6ecc1bfae 100644 --- a/models/apis/ce/2017-10-25/docs-2.json +++ b/models/apis/ce/2017-10-25/docs-2.json @@ -409,6 +409,7 @@ "RDSInstanceDetails$SizeFlexEligible": "

Whether the recommended reservation is size flexible.

", "RedshiftInstanceDetails$CurrentGeneration": "

Whether the recommendation is for a current-generation instance.

", "RedshiftInstanceDetails$SizeFlexEligible": "

Whether the recommended reservation is size flexible.

", + "RightsizingRecommendationConfiguration$BenefitsConsidered": "

The option to consider RI or Savings Plans discount benefits in your savings calculation. The default value is TRUE.

", "TargetInstance$DefaultTargetInstance": "

Indicates whether or not this recommendation is the defaulted Amazon Web Services recommendation.

" } }, @@ -980,6 +981,12 @@ "InstanceDetails$RDSInstanceDetails": "

The Amazon RDS instances that AWS recommends that you purchase.

" } }, + "RecommendationTarget": { + "base": null, + "refs": { + "RightsizingRecommendationConfiguration$RecommendationTarget": "

The option to see recommendations within the same instance family, or recommendations for instances across other families. The default value is SAME_INSTANCE_FAMILY.

" + } + }, "RedshiftInstanceDetails": { "base": "

Details about the Amazon Redshift instances that AWS recommends that you purchase.

", "refs": { @@ -1121,6 +1128,13 @@ "RightsizingRecommendationList$member": null } }, + "RightsizingRecommendationConfiguration": { + "base": "

Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or niether.

", + "refs": { + "GetRightsizingRecommendationRequest$Configuration": "

Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or niether.

", + "GetRightsizingRecommendationResponse$Configuration": "

Enables you to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings associated with recommendations with consideration of existing Savings Plans or RI benefits, or niether.

" + } + }, "RightsizingRecommendationList": { "base": null, "refs": { diff --git a/models/apis/elasticmapreduce/2009-03-31/api-2.json b/models/apis/elasticmapreduce/2009-03-31/api-2.json index 77e10fa51ff..ea85d09472b 100644 --- a/models/apis/elasticmapreduce/2009-03-31/api-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/api-2.json @@ -167,6 +167,15 @@ {"shape":"InvalidRequestException"} ] }, + "GetManagedScalingPolicy":{ + "name":"GetManagedScalingPolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetManagedScalingPolicyInput"}, + "output":{"shape":"GetManagedScalingPolicyOutput"} + }, "ListBootstrapActions":{ "name":"ListBootstrapActions", "http":{ @@ -316,6 +325,15 @@ {"shape":"InvalidRequestException"} ] }, + "PutManagedScalingPolicy":{ + "name":"PutManagedScalingPolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutManagedScalingPolicyInput"}, + "output":{"shape":"PutManagedScalingPolicyOutput"} + }, "RemoveAutoScalingPolicy":{ "name":"RemoveAutoScalingPolicy", "http":{ @@ -325,6 +343,15 @@ "input":{"shape":"RemoveAutoScalingPolicyInput"}, "output":{"shape":"RemoveAutoScalingPolicyOutput"} }, + "RemoveManagedScalingPolicy":{ + "name":"RemoveManagedScalingPolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RemoveManagedScalingPolicyInput"}, + "output":{"shape":"RemoveManagedScalingPolicyOutput"} + }, "RemoveTags":{ "name":"RemoveTags", "http":{ @@ -675,8 +702,8 @@ "RepoUpgradeOnBoot":{"shape":"RepoUpgradeOnBoot"}, "KerberosAttributes":{"shape":"KerberosAttributes"}, "ClusterArn":{"shape":"ArnType"}, - "StepConcurrencyLevel":{"shape":"Integer"}, - "OutpostArn":{"shape":"OptionalArnType"} + "OutpostArn":{"shape":"OptionalArnType"}, + "StepConcurrencyLevel":{"shape":"Integer"} } }, "ClusterId":{"type":"string"}, @@ -768,6 +795,28 @@ "LESS_THAN_OR_EQUAL" ] }, + "ComputeLimits":{ + "type":"structure", + "required":[ + "UnitType", + "MinimumCapacityUnits", + "MaximumCapacityUnits" + ], + "members":{ + "UnitType":{"shape":"ComputeLimitsUnitType"}, + "MinimumCapacityUnits":{"shape":"Integer"}, + "MaximumCapacityUnits":{"shape":"Integer"}, + "MaximumOnDemandCapacityUnits":{"shape":"Integer"} + } + }, + "ComputeLimitsUnitType":{ + "type":"string", + "enum":[ + "InstanceFleetUnits", + "Instances", + "VCPU" + ] + }, "Configuration":{ "type":"structure", "members":{ @@ -970,6 +1019,19 @@ "BlockPublicAccessConfigurationMetadata":{"shape":"BlockPublicAccessConfigurationMetadata"} } }, + "GetManagedScalingPolicyInput":{ + "type":"structure", + "required":["ClusterId"], + "members":{ + "ClusterId":{"shape":"ClusterId"} + } + }, + "GetManagedScalingPolicyOutput":{ + "type":"structure", + "members":{ + "ManagedScalingPolicy":{"shape":"ManagedScalingPolicy"} + } + }, "HadoopJarStepConfig":{ "type":"structure", "required":["Jar"], @@ -1650,6 +1712,12 @@ } }, "Long":{"type":"long"}, + "ManagedScalingPolicy":{ + "type":"structure", + "members":{ + "ComputeLimits":{"shape":"ComputeLimits"} + } + }, "Marker":{"type":"string"}, "MarketType":{ "type":"string", @@ -1772,6 +1840,22 @@ "members":{ } }, + "PutManagedScalingPolicyInput":{ + "type":"structure", + "required":[ + "ClusterId", + "ManagedScalingPolicy" + ], + "members":{ + "ClusterId":{"shape":"ClusterId"}, + "ManagedScalingPolicy":{"shape":"ManagedScalingPolicy"} + } + }, + "PutManagedScalingPolicyOutput":{ + "type":"structure", + "members":{ + } + }, "RemoveAutoScalingPolicyInput":{ "type":"structure", "required":[ @@ -1788,6 +1872,18 @@ "members":{ } }, + "RemoveManagedScalingPolicyInput":{ + "type":"structure", + "required":["ClusterId"], + "members":{ + "ClusterId":{"shape":"ClusterId"} + } + }, + "RemoveManagedScalingPolicyOutput":{ + "type":"structure", + "members":{ + } + }, "RemoveTagsInput":{ "type":"structure", "required":[ @@ -1842,7 +1938,8 @@ "EbsRootVolumeSize":{"shape":"Integer"}, "RepoUpgradeOnBoot":{"shape":"RepoUpgradeOnBoot"}, "KerberosAttributes":{"shape":"KerberosAttributes"}, - "StepConcurrencyLevel":{"shape":"Integer"} + "StepConcurrencyLevel":{"shape":"Integer"}, + "ManagedScalingPolicy":{"shape":"ManagedScalingPolicy"} } }, "RunJobFlowOutput":{ diff --git a/models/apis/elasticmapreduce/2009-03-31/docs-2.json b/models/apis/elasticmapreduce/2009-03-31/docs-2.json index e5c0b4f1788..7ba9f3cdd08 100644 --- a/models/apis/elasticmapreduce/2009-03-31/docs-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/docs-2.json @@ -14,6 +14,7 @@ "DescribeSecurityConfiguration": "

Provides the details of a security configuration by returning the configuration JSON.

", "DescribeStep": "

Provides more detail about the cluster step.

", "GetBlockPublicAccessConfiguration": "

Returns the Amazon EMR block public access configuration for your AWS account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.

", + "GetManagedScalingPolicy": "

Fetches the attached managed scaling policy for an Amazon EMR cluster.

", "ListBootstrapActions": "

Provides information about the bootstrap actions associated with a cluster.

", "ListClusters": "

Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls.

", "ListInstanceFleets": "

Lists all available details about the instance fleets in a cluster.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

", @@ -26,7 +27,9 @@ "ModifyInstanceGroups": "

ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically.

", "PutAutoScalingPolicy": "

Creates or updates an automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric.

", "PutBlockPublicAccessConfiguration": "

Creates or updates an Amazon EMR block public access configuration for your AWS account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.

", + "PutManagedScalingPolicy": "

Creates or updates a managed scaling policy for an Amazon EMR cluster. The managed scaling policy defines the limits for resources, such as EC2 instances that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

", "RemoveAutoScalingPolicy": "

Removes an automatic scaling policy from a specified instance group within an EMR cluster.

", + "RemoveManagedScalingPolicy": "

Removes a managed scaling policy from a specified EMR cluster.

", "RemoveTags": "

Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tag Clusters.

The following example removes the stack tag with value Prod from a cluster:

", "RunJobFlow": "

RunJobFlow creates and starts running a new cluster (job flow). The cluster runs the steps specified. After the steps complete, the cluster stops and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the JobFlowInstancesConfig KeepJobFlowAliveWhenNoSteps parameter is set to TRUE, the cluster transitions to the WAITING state rather than shutting down after the steps have completed.

For additional protection, you can set the JobFlowInstancesConfig TerminationProtected parameter to TRUE to lock the cluster and prevent it from being terminated by API call, user intervention, or in the event of a job flow error.

A maximum of 256 steps are allowed in each job flow.

If your cluster is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, see Add More than 256 Steps to a Cluster in the Amazon EMR Management Guide.

For long running clusters, we recommend that you periodically store your results.

The instance fleets configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. The RunJobFlow request can contain InstanceFleets parameters or InstanceGroups parameters, but not both.

", "SetTerminationProtection": "

SetTerminationProtection locks a cluster (job flow) so the EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a cluster is similar to calling the Amazon EC2 DisableAPITermination API on all EC2 instances in a cluster.

SetTerminationProtection is used to prevent accidental termination of a cluster and to ensure that in the event of an error, the instances persist so that you can recover any data stored in their ephemeral instance storage.

To terminate a cluster that has been locked by setting SetTerminationProtection to true, you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to false.

For more information, seeManaging Cluster Termination in the Amazon EMR Management Guide.

", @@ -154,8 +157,8 @@ "BlockPublicAccessConfiguration": { "base": "

A configuration for Amazon EMR block public access. When BlockPublicSecurityGroupRules is set to true, Amazon EMR prevents cluster creation if one of the cluster's security groups has a rule that allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges.

", "refs": { - "GetBlockPublicAccessConfigurationOutput$BlockPublicAccessConfiguration": "

A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception.

", - "PutBlockPublicAccessConfigurationInput$BlockPublicAccessConfiguration": "

A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to remove the exception.

" + "GetBlockPublicAccessConfigurationOutput$BlockPublicAccessConfiguration": "

A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating the block public access configuration to remove the exception.

For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.

", + "PutBlockPublicAccessConfigurationInput$BlockPublicAccessConfiguration": "

A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your account for the current Region. The configuration specifies whether block public access is enabled. If block public access is enabled, security groups associated with the cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to remove the exception.

For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.

" } }, "BlockPublicAccessConfigurationMetadata": { @@ -261,6 +264,7 @@ "ClusterSummary$Id": "

The unique identifier for the cluster.

", "DescribeClusterInput$ClusterId": "

The identifier of the cluster to describe.

", "DescribeStepInput$ClusterId": "

The identifier of the cluster with steps to describe.

", + "GetManagedScalingPolicyInput$ClusterId": "

Specifies the ID of the cluster for which the managed scaling policy will be fetched.

", "ListBootstrapActionsInput$ClusterId": "

The cluster identifier for the bootstrap actions to list.

", "ListInstanceFleetsInput$ClusterId": "

The unique identifier of the cluster.

", "ListInstanceGroupsInput$ClusterId": "

The identifier of the cluster for which to list the instance groups.

", @@ -270,7 +274,9 @@ "ModifyInstanceGroupsInput$ClusterId": "

The ID of the cluster to which the instance group belongs.

", "PutAutoScalingPolicyInput$ClusterId": "

Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

", "PutAutoScalingPolicyOutput$ClusterId": "

Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

", - "RemoveAutoScalingPolicyInput$ClusterId": "

Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

" + "PutManagedScalingPolicyInput$ClusterId": "

Specifies the ID of an EMR cluster where the managed scaling policy is attached.

", + "RemoveAutoScalingPolicyInput$ClusterId": "

Specifies the ID of a cluster. The instance group to which the automatic scaling policy is applied is within this cluster.

", + "RemoveManagedScalingPolicyInput$ClusterId": "

Specifies the ID of the cluster from which the managed scaling policy will be removed.

" } }, "ClusterState": { @@ -341,6 +347,18 @@ "CloudWatchAlarmDefinition$ComparisonOperator": "

Determines how the metric specified by MetricName is compared to the value specified by Threshold.

" } }, + "ComputeLimits": { + "base": "

The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

", + "refs": { + "ManagedScalingPolicy$ComputeLimits": "

The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

" + } + }, + "ComputeLimitsUnitType": { + "base": null, + "refs": { + "ComputeLimits$UnitType": "

The unit type used for specifying a managed scaling policy.

" + } + }, "Configuration": { "base": "

Amazon EMR releases 4.x or later.

An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications.

", "refs": { @@ -552,6 +570,16 @@ "refs": { } }, + "GetManagedScalingPolicyInput": { + "base": null, + "refs": { + } + }, + "GetManagedScalingPolicyOutput": { + "base": null, + "refs": { + } + }, "HadoopJarStepConfig": { "base": "

A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.

", "refs": { @@ -885,6 +913,9 @@ "Cluster$EbsRootVolumeSize": "

The size, in GiB, of the EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.

", "Cluster$StepConcurrencyLevel": "

Specifies the number of steps that can be executed concurrently.

", "ClusterSummary$NormalizedInstanceHours": "

An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

", + "ComputeLimits$MinimumCapacityUnits": "

The lower boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

", + "ComputeLimits$MaximumCapacityUnits": "

The upper boundary of EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

", + "ComputeLimits$MaximumOnDemandCapacityUnits": "

The upper boundary of on-demand EC2 units. It is measured through VCPU cores or instances for instance groups and measured through units for instance fleets. The on-demand units are not allowed to scale beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

", "EbsBlockDeviceConfig$VolumesPerInstance": "

Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group

", "InstanceGroup$RequestedInstanceCount": "

The target number of instances for the instance group.

", "InstanceGroup$RunningInstanceCount": "

The number of instances currently running in this instance group.

", @@ -1063,6 +1094,14 @@ "InstanceGroup$LastSuccessfullyAppliedConfigurationsVersion": "

The version number of a configuration specification that was successfully applied for an instance group last time.

" } }, + "ManagedScalingPolicy": { + "base": "

Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.

", + "refs": { + "GetManagedScalingPolicyOutput$ManagedScalingPolicy": "

Specifies the managed scaling policy that is attached to an Amazon EMR cluster.

", + "PutManagedScalingPolicyInput$ManagedScalingPolicy": "

Specifies the constraints for the managed scaling policy.

", + "RunJobFlowInput$ManagedScalingPolicy": "

The specified managed scaling policy for an Amazon EMR cluster.

" + } + }, "Marker": { "base": null, "refs": { @@ -1191,6 +1230,16 @@ "refs": { } }, + "PutManagedScalingPolicyInput": { + "base": null, + "refs": { + } + }, + "PutManagedScalingPolicyOutput": { + "base": null, + "refs": { + } + }, "RemoveAutoScalingPolicyInput": { "base": null, "refs": { @@ -1201,6 +1250,16 @@ "refs": { } }, + "RemoveManagedScalingPolicyInput": { + "base": null, + "refs": { + } + }, + "RemoveManagedScalingPolicyOutput": { + "base": null, + "refs": { + } + }, "RemoveTagsInput": { "base": "

This input identifies a cluster and a list of tags to remove.

", "refs": { diff --git a/models/apis/guardduty/2017-11-28/api-2.json b/models/apis/guardduty/2017-11-28/api-2.json index f4602c18836..fec0b1407d0 100644 --- a/models/apis/guardduty/2017-11-28/api-2.json +++ b/models/apis/guardduty/2017-11-28/api-2.json @@ -250,6 +250,20 @@ {"shape":"InternalServerErrorException"} ] }, + "DescribeOrganizationConfiguration":{ + "name":"DescribeOrganizationConfiguration", + "http":{ + "method":"GET", + "requestUri":"/detector/{detectorId}/admin", + "responseCode":200 + }, + "input":{"shape":"DescribeOrganizationConfigurationRequest"}, + "output":{"shape":"DescribeOrganizationConfigurationResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"InternalServerErrorException"} + ] + }, "DescribePublishingDestination":{ "name":"DescribePublishingDestination", "http":{ @@ -264,6 +278,20 @@ {"shape":"InternalServerErrorException"} ] }, + "DisableOrganizationAdminAccount":{ + "name":"DisableOrganizationAdminAccount", + "http":{ + "method":"POST", + "requestUri":"/admin/disable", + "responseCode":200 + }, + "input":{"shape":"DisableOrganizationAdminAccountRequest"}, + "output":{"shape":"DisableOrganizationAdminAccountResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"InternalServerErrorException"} + ] + }, "DisassociateFromMasterAccount":{ "name":"DisassociateFromMasterAccount", "http":{ @@ -292,6 +320,20 @@ {"shape":"InternalServerErrorException"} ] }, + "EnableOrganizationAdminAccount":{ + "name":"EnableOrganizationAdminAccount", + "http":{ + "method":"POST", + "requestUri":"/admin/enable", + "responseCode":200 + }, + "input":{"shape":"EnableOrganizationAdminAccountRequest"}, + "output":{"shape":"EnableOrganizationAdminAccountResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"InternalServerErrorException"} + ] + }, "GetDetector":{ "name":"GetDetector", "http":{ @@ -516,6 +558,20 @@ {"shape":"InternalServerErrorException"} ] }, + "ListOrganizationAdminAccounts":{ + "name":"ListOrganizationAdminAccounts", + "http":{ + "method":"GET", + "requestUri":"/admin", + "responseCode":200 + }, + "input":{"shape":"ListOrganizationAdminAccountsRequest"}, + "output":{"shape":"ListOrganizationAdminAccountsResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"InternalServerErrorException"} + ] + }, "ListPublishingDestinations":{ "name":"ListPublishingDestinations", "http":{ @@ -684,6 +740,20 @@ {"shape":"InternalServerErrorException"} ] }, + "UpdateOrganizationConfiguration":{ + "name":"UpdateOrganizationConfiguration", + "http":{ + "method":"POST", + "requestUri":"/detector/{detectorId}/admin", + "responseCode":200 + }, + "input":{"shape":"UpdateOrganizationConfigurationRequest"}, + "output":{"shape":"UpdateOrganizationConfigurationResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"InternalServerErrorException"} + ] + }, "UpdatePublishingDestination":{ "name":"UpdatePublishingDestination", "http":{ @@ -822,6 +892,34 @@ } } }, + "AdminAccount":{ + "type":"structure", + "members":{ + "AdminAccountId":{ + "shape":"String", + "locationName":"adminAccountId" + }, + "AdminStatus":{ + "shape":"AdminStatus", + "locationName":"adminStatus" + } + } + }, + "AdminAccounts":{ + "type":"list", + "member":{"shape":"AdminAccount"}, + "max":1, + "min":0 + }, + "AdminStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLE_IN_PROGRESS" + ], + "max":300, + "min":1 + }, "ArchiveFindingsRequest":{ "type":"structure", "required":[ @@ -1438,6 +1536,34 @@ "members":{ } }, + "DescribeOrganizationConfigurationRequest":{ + "type":"structure", + "required":["DetectorId"], + "members":{ + "DetectorId":{ + "shape":"DetectorId", + "location":"uri", + "locationName":"detectorId" + } + } + }, + "DescribeOrganizationConfigurationResponse":{ + "type":"structure", + "required":[ + "AutoEnable", + "MemberAccountLimitReached" + ], + "members":{ + "AutoEnable":{ + "shape":"Boolean", + "locationName":"autoEnable" + }, + "MemberAccountLimitReached":{ + "shape":"Boolean", + "locationName":"memberAccountLimitReached" + } + } + }, "DescribePublishingDestinationRequest":{ "type":"structure", "required":[ @@ -1554,6 +1680,21 @@ "max":300, "min":1 }, + "DisableOrganizationAdminAccountRequest":{ + "type":"structure", + "required":["AdminAccountId"], + "members":{ + "AdminAccountId":{ + "shape":"String", + "locationName":"adminAccountId" + } + } + }, + "DisableOrganizationAdminAccountResponse":{ + "type":"structure", + "members":{ + } + }, "DisassociateFromMasterAccountRequest":{ "type":"structure", "required":["DetectorId"], @@ -1622,6 +1763,21 @@ "max":64, "min":1 }, + "EnableOrganizationAdminAccountRequest":{ + "type":"structure", + "required":["AdminAccountId"], + "members":{ + "AdminAccountId":{ + "shape":"String", + "locationName":"adminAccountId" + } + } + }, + "EnableOrganizationAdminAccountResponse":{ + "type":"structure", + "members":{ + } + }, "Eq":{ "type":"list", "member":{"shape":"String"} @@ -2558,6 +2714,34 @@ } } }, + "ListOrganizationAdminAccountsRequest":{ + "type":"structure", + "members":{ + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListOrganizationAdminAccountsResponse":{ + "type":"structure", + "members":{ + "AdminAccounts":{ + "shape":"AdminAccounts", + "locationName":"adminAccounts" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, "ListPublishingDestinationsRequest":{ "type":"structure", "required":["DetectorId"], @@ -3461,6 +3645,29 @@ "members":{ } }, + "UpdateOrganizationConfigurationRequest":{ + "type":"structure", + "required":[ + "DetectorId", + "AutoEnable" + ], + "members":{ + "DetectorId":{ + "shape":"DetectorId", + "location":"uri", + "locationName":"detectorId" + }, + "AutoEnable":{ + "shape":"Boolean", + "locationName":"autoEnable" + } + } + }, + "UpdateOrganizationConfigurationResponse":{ + "type":"structure", + "members":{ + } + }, "UpdatePublishingDestinationRequest":{ "type":"structure", "required":[ diff --git a/models/apis/guardduty/2017-11-28/docs-2.json b/models/apis/guardduty/2017-11-28/docs-2.json index 70c761adaa6..ad7e3b02cef 100644 --- a/models/apis/guardduty/2017-11-28/docs-2.json +++ b/models/apis/guardduty/2017-11-28/docs-2.json @@ -1,48 +1,52 @@ { "version": "2.0", - "service": "

Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses threat intelligence feeds, such as lists of malicious IPs and domains, and machine learning to identify unexpected and potentially unauthorized and malicious activity within your AWS environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect compromised EC2 instances serving malware or mining bitcoin. It also monitors AWS account access behavior for signs of compromise, such as unauthorized infrastructure deployments, like instances deployed in a region that has never been used, or unusual API calls, like a password policy change to reduce password strength. GuardDuty informs you of the status of your AWS environment by producing security findings that you can view in the GuardDuty console or through Amazon CloudWatch events. For more information, see Amazon GuardDuty User Guide.

", + "service": "

Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC Flow Logs, AWS CloudTrail event logs, and DNS logs. It uses threat intelligence feeds (such as lists of malicious IPs and domains) and machine learning to identify unexpected, potentially unauthorized, and malicious activity within your AWS environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect compromised EC2 instances that serve malware or mine bitcoin.

GuardDuty also monitors AWS account access behavior for signs of compromise. Some examples of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region that has never been used, or unusual API calls like a password policy change to reduce password strength.

GuardDuty informs you of the status of your AWS environment by producing security findings that you can view in the GuardDuty console or through Amazon CloudWatch events. For more information, see the Amazon GuardDuty User Guide .

", "operations": { "AcceptInvitation": "

Accepts the invitation to be monitored by a master GuardDuty account.

", - "ArchiveFindings": "

Archives GuardDuty findings specified by the list of finding IDs.

Only the master account can archive findings. Member accounts do not have permission to archive findings from their accounts.

", - "CreateDetector": "

Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each region that you enable the service. You can have only one detector per account per region.

", + "ArchiveFindings": "

Archives GuardDuty findings that are specified by the list of finding IDs.

Only the master account can archive findings. Member accounts don't have permission to archive findings from their accounts.

", + "CreateDetector": "

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

", "CreateFilter": "

Creates a filter using the specified finding criteria.

", - "CreateIPSet": "

Creates a new IPSet, called Trusted IP list in the consoler user interface. An IPSet is a list IP addresses trusted for secure communication with AWS infrastructure and applications. GuardDuty does not generate findings for IP addresses included in IPSets. Only users from the master account can use this operation.

", + "CreateIPSet": "

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

", "CreateMembers": "

Creates member accounts of the current AWS account by specifying a list of AWS account IDs. The current AWS account can then invite these members to manage GuardDuty in their accounts.

", - "CreatePublishingDestination": "

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

", + "CreatePublishingDestination": "

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

", "CreateSampleFindings": "

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

", - "CreateThreatIntelSet": "

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

", - "DeclineInvitations": "

Declines invitations sent to the current member account by AWS account specified by their account IDs.

", - "DeleteDetector": "

Deletes a Amazon GuardDuty detector specified by the detector ID.

", + "CreateThreatIntelSet": "

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

", + "DeclineInvitations": "

Declines invitations sent to the current member account by AWS accounts specified by their account IDs.

", + "DeleteDetector": "

Deletes an Amazon GuardDuty detector that is specified by the detector ID.

", "DeleteFilter": "

Deletes the filter specified by the filter name.

", - "DeleteIPSet": "

Deletes the IPSet specified by the ipSetId. IPSets are called Trusted IP lists in the console user interface.

", + "DeleteIPSet": "

Deletes the IPSet specified by the ipSetId. IPSets are called trusted IP lists in the console user interface.

", "DeleteInvitations": "

Deletes invitations sent to the current member account by AWS accounts specified by their account IDs.

", "DeleteMembers": "

Deletes GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.

", "DeletePublishingDestination": "

Deletes the publishing definition with the specified destinationId.

", - "DeleteThreatIntelSet": "

Deletes ThreatIntelSet specified by the ThreatIntelSet ID.

", + "DeleteThreatIntelSet": "

Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.

", + "DescribeOrganizationConfiguration": "

Returns information about the account selected as the delegated administrator for GuardDuty.

", "DescribePublishingDestination": "

Returns information about the publishing destination specified by the provided destinationId.

", + "DisableOrganizationAdminAccount": "

Disables GuardDuty administrator permissions for an AWS account within the Organization.

", "DisassociateFromMasterAccount": "

Disassociates the current GuardDuty member account from its master account.

", "DisassociateMembers": "

Disassociates GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.

", + "EnableOrganizationAdminAccount": "

Enables GuardDuty administrator permissions for an AWS account within the organization.

", "GetDetector": "

Retrieves an Amazon GuardDuty detector specified by the detectorId.

", "GetFilter": "

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

", "GetFindings": "

Describes Amazon GuardDuty findings specified by finding IDs.

", - "GetFindingsStatistics": "

Lists Amazon GuardDuty findings' statistics for the specified detector ID.

", + "GetFindingsStatistics": "

Lists Amazon GuardDuty findings statistics for the specified detector ID.

", "GetIPSet": "

Retrieves the IPSet specified by the ipSetId.

", "GetInvitationsCount": "

Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.

", "GetMasterAccount": "

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

", "GetMembers": "

Retrieves GuardDuty member accounts (to the current GuardDuty master account) specified by the account IDs.

", "GetThreatIntelSet": "

Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.

", - "InviteMembers": "

Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master account.

", + "InviteMembers": "

Invites other AWS accounts (created as members of the current AWS account by CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these accounts' GuardDuty findings on their behalf as the master account.

", "ListDetectors": "

Lists detectorIds of all the existing Amazon GuardDuty detector resources.

", "ListFilters": "

Returns a paginated list of the current filters.

", "ListFindings": "

Lists Amazon GuardDuty findings for the specified detector ID.

", "ListIPSets": "

Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated master account.

", "ListInvitations": "

Lists all GuardDuty membership invitations that were sent to the current AWS account.

", - "ListMembers": "

Lists details about all member accounts for the current GuardDuty master account.

", + "ListMembers": "

Lists details about associated member accounts for the current GuardDuty master account.

", + "ListOrganizationAdminAccounts": "

Lists the accounts configured as AWS Organization delegated administrators.

", "ListPublishingDestinations": "

Returns a list of publishing destinations associated with the specified dectectorId.

", - "ListTagsForResource": "

Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource..

", + "ListTagsForResource": "

Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and threat intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.

", "ListThreatIntelSets": "

Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the master account are returned.

", "StartMonitoringMembers": "

Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.

", - "StopMonitoringMembers": "

Stops GuardDuty monitoring for the specified member accounnts. Use the StartMonitoringMembers to restart monitoring for those accounts.

", + "StopMonitoringMembers": "

Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers operation to restart monitoring for those accounts.

", "TagResource": "

Adds tags to a resource.

", "UnarchiveFindings": "

Unarchives GuardDuty findings specified by the findingIds.

", "UntagResource": "

Removes tags from a resource.

", @@ -50,8 +54,9 @@ "UpdateFilter": "

Updates the filter specified by the filter name.

", "UpdateFindingsFeedback": "

Marks the specified GuardDuty findings as useful or not useful.

", "UpdateIPSet": "

Updates the IPSet specified by the IPSet ID.

", + "UpdateOrganizationConfiguration": "

Updates the delegated administrator account with the values provided.

", "UpdatePublishingDestination": "

Updates information about the publishing destination specified by the destinationId.

", - "UpdateThreatIntelSet": "

Updates the ThreatIntelSet specified by ThreatIntelSet ID.

" + "UpdateThreatIntelSet": "

Updates the ThreatIntelSet specified by the ThreatIntelSet ID.

" }, "shapes": { "AcceptInvitationRequest": { @@ -85,12 +90,12 @@ "AccountId": { "base": null, "refs": { - "AccountDetail$AccountId": "

Member account ID.

", + "AccountDetail$AccountId": "

The member account ID.

", "AccountIds$member": null, - "Invitation$AccountId": "

The ID of the account from which the invitations was sent.

", - "Master$AccountId": "

The ID of the account used as the Master account.

", - "Member$AccountId": "

Member account ID.

", - "UnprocessedAccount$AccountId": "

AWS Account ID.

" + "Invitation$AccountId": "

The ID of the account that the invitation was sent from.

", + "Master$AccountId": "

The ID of the account used as the master account.

", + "Member$AccountId": "

The ID of the member account.

", + "UnprocessedAccount$AccountId": "

The AWS account ID.

" } }, "AccountIds": { @@ -99,17 +104,35 @@ "DeclineInvitationsRequest$AccountIds": "

A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to decline invitations from.

", "DeleteInvitationsRequest$AccountIds": "

A list of account IDs of the AWS accounts that sent invitations to the current member account that you want to delete invitations from.

", "DeleteMembersRequest$AccountIds": "

A list of account IDs of the GuardDuty member accounts that you want to delete.

", - "DisassociateMembersRequest$AccountIds": "

A list of account IDs of the GuardDuty member accounts that you want to disassociate from master.

", + "DisassociateMembersRequest$AccountIds": "

A list of account IDs of the GuardDuty member accounts that you want to disassociate from the master account.

", "GetMembersRequest$AccountIds": "

A list of account IDs of the GuardDuty member accounts that you want to describe.

", "InviteMembersRequest$AccountIds": "

A list of account IDs of the accounts that you want to invite to GuardDuty as members.

", "StartMonitoringMembersRequest$AccountIds": "

A list of account IDs of the GuardDuty member accounts to start monitoring.

", - "StopMonitoringMembersRequest$AccountIds": "

A list of account IDs of the GuardDuty member accounts whose findings you want the master account to stop monitoring.

" + "StopMonitoringMembersRequest$AccountIds": "

A list of account IDs for the member accounts to stop monitoring.

" } }, "Action": { - "base": "

Contains information about action.

", + "base": "

Contains information about actions.

", "refs": { - "Service$Action": "

Information about the activity described in a finding.

" + "Service$Action": "

Information about the activity that is described in a finding.

" + } + }, + "AdminAccount": { + "base": "

The account within the organization specified as the GuardDuty delegated administrator.

", + "refs": { + "AdminAccounts$member": null + } + }, + "AdminAccounts": { + "base": null, + "refs": { + "ListOrganizationAdminAccountsResponse$AdminAccounts": "

An AdminAccounts object that includes a list of accounts configured as GuardDuty delegated administrators.

" + } + }, + "AdminStatus": { + "base": null, + "refs": { + "AdminAccount$AdminStatus": "

Indicates whether the account is enabled as the delegated administrator.

" } }, "ArchiveFindingsRequest": { @@ -129,29 +152,32 @@ } }, "BadRequestException": { - "base": "

Bad request exception object.

", + "base": "

A bad request exception object.

", "refs": { } }, "Boolean": { "base": null, "refs": { - "CreateDetectorRequest$Enable": "

A boolean value that specifies whether the detector is to be enabled.

", - "CreateIPSetRequest$Activate": "

A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.

", - "CreateThreatIntelSetRequest$Activate": "

A boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.

", - "InviteMembersRequest$DisableEmailNotification": "

A boolean value that specifies whether you want to disable email notification to the accounts that you’re inviting to GuardDuty as members.

", - "NetworkConnectionAction$Blocked": "

Network connection blocked information.

", - "PortProbeAction$Blocked": "

Port probe blocked information.

", + "CreateDetectorRequest$Enable": "

A Boolean value that specifies whether the detector is to be enabled.

", + "CreateIPSetRequest$Activate": "

A Boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.

", + "CreateThreatIntelSetRequest$Activate": "

A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.

", + "DescribeOrganizationConfigurationResponse$AutoEnable": "

Indicates whether GuardDuty is automatically enabled for accounts added to the organization.

", + "DescribeOrganizationConfigurationResponse$MemberAccountLimitReached": "

Indicates whether the maximum number of allowed member accounts are already associated with the delegated administrator master account.

", + "InviteMembersRequest$DisableEmailNotification": "

A Boolean value that specifies whether you want to disable email notification to the accounts that you’re inviting to GuardDuty as members.

", + "NetworkConnectionAction$Blocked": "

Indicates whether EC2 blocked the network connection to your instance.

", + "PortProbeAction$Blocked": "

Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.

", "Service$Archived": "

Indicates whether this finding is archived.

", "UpdateDetectorRequest$Enable": "

Specifies whether the detector is enabled or not enabled.

", - "UpdateIPSetRequest$Activate": "

The updated boolean value that specifies whether the IPSet is active or not.

", - "UpdateThreatIntelSetRequest$Activate": "

The updated boolean value that specifies whether the ThreateIntelSet is active or not.

" + "UpdateIPSetRequest$Activate": "

The updated Boolean value that specifies whether the IPSet is active or not.

", + "UpdateOrganizationConfigurationRequest$AutoEnable": "

Indicates whether to automatically enable member accounts in the organization.

", + "UpdateThreatIntelSetRequest$Activate": "

The updated Boolean value that specifies whether the ThreateIntelSet is active or not.

" } }, "City": { "base": "

Contains information about the city associated with the IP address.

", "refs": { - "RemoteIpDetails$City": "

City information of the remote IP address.

" + "RemoteIpDetails$City": "

The city information of the remote IP address.

" } }, "ClientToken": { @@ -173,13 +199,13 @@ "CountBySeverity": { "base": null, "refs": { - "FindingStatistics$CountBySeverity": "

Represents a map of severity to count statistic for a set of findings

" + "FindingStatistics$CountBySeverity": "

Represents a map of severity to count statistics for a set of findings.

" } }, "Country": { - "base": "

Contains information about the country in which the remote IP address is located.

", + "base": "

Contains information about the country where the remote IP address is located.

", "refs": { - "RemoteIpDetails$Country": "

Country code of the remote IP address.

" + "RemoteIpDetails$Country": "

The country code of the remote IP address.

" } }, "CreateDetectorRequest": { @@ -338,6 +364,16 @@ "refs": { } }, + "DescribeOrganizationConfigurationRequest": { + "base": null, + "refs": { + } + }, + "DescribeOrganizationConfigurationResponse": { + "base": null, + "refs": { + } + }, "DescribePublishingDestinationRequest": { "base": null, "refs": { @@ -349,15 +385,15 @@ } }, "Destination": { - "base": "

Contains information about a publishing destination, including the ID, type, and status.

", + "base": "

Contains information about the publishing destination, including the ID, type, and status.

", "refs": { "Destinations$member": null } }, "DestinationProperties": { - "base": "

Contains the ARN of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.

", + "base": "

Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.

", "refs": { - "CreatePublishingDestinationRequest$DestinationProperties": "

Properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.

", + "CreatePublishingDestinationRequest$DestinationProperties": "

The properties of the publishing destination, including the ARNs for the destination and the KMS key used for encryption.

", "DescribePublishingDestinationResponse$DestinationProperties": "

A DestinationProperties object that includes the DestinationArn and KmsKeyArn of the publishing destination.

", "UpdatePublishingDestinationRequest$DestinationProperties": "

A DestinationProperties object that includes the DestinationArn and KmsKeyArn of the publishing destination.

" } @@ -365,15 +401,15 @@ "DestinationType": { "base": null, "refs": { - "CreatePublishingDestinationRequest$DestinationType": "

The type of resource for the publishing destination. Currently only S3 is supported.

", - "DescribePublishingDestinationResponse$DestinationType": "

The type of the publishing destination. Currently, only S3 is supported.

", - "Destination$DestinationType": "

The type of resource used for the publishing destination. Currently, only S3 is supported.

" + "CreatePublishingDestinationRequest$DestinationType": "

The type of resource for the publishing destination. Currently only Amazon S3 buckets are supported.

", + "DescribePublishingDestinationResponse$DestinationType": "

The type of publishing destination. Currently, only Amazon S3 buckets are supported.

", + "Destination$DestinationType": "

The type of resource used for the publishing destination. Currently, only Amazon S3 buckets are supported.

" } }, "Destinations": { "base": null, "refs": { - "ListPublishingDestinationsResponse$Destinations": "

A Destinations obect that includes information about each publishing destination returned.

" + "ListPublishingDestinationsResponse$Destinations": "

A Destinations object that includes information about each publishing destination returned.

" } }, "DetectorId": { @@ -382,54 +418,56 @@ "AcceptInvitationRequest$DetectorId": "

The unique ID of the detector of the GuardDuty member account.

", "ArchiveFindingsRequest$DetectorId": "

The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

", "CreateDetectorResponse$DetectorId": "

The unique ID of the created detector.

", - "CreateFilterRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account for which you want to create a filter.

", - "CreateIPSetRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.

", - "CreateMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account with which you want to associate member accounts.

", + "CreateFilterRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account that you want to create a filter for.

", + "CreateIPSetRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.

", + "CreateMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.

", "CreatePublishingDestinationRequest$DetectorId": "

The ID of the GuardDuty detector associated with the publishing destination.

", "CreateSampleFindingsRequest$DetectorId": "

The ID of the detector to create sample findings for.

", - "CreateThreatIntelSetRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account for which you want to create a threatIntelSet.

", + "CreateThreatIntelSetRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.

", "DeleteDetectorRequest$DetectorId": "

The unique ID of the detector that you want to delete.

", - "DeleteFilterRequest$DetectorId": "

The unique ID of the detector the filter is associated with.

", + "DeleteFilterRequest$DetectorId": "

The unique ID of the detector that the filter is associated with.

", "DeleteIPSetRequest$DetectorId": "

The unique ID of the detector associated with the IPSet.

", "DeleteMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account whose members you want to delete.

", "DeletePublishingDestinationRequest$DetectorId": "

The unique ID of the detector associated with the publishing destination to delete.

", - "DeleteThreatIntelSetRequest$DetectorId": "

The unique ID of the detector the threatIntelSet is associated with.

", + "DeleteThreatIntelSetRequest$DetectorId": "

The unique ID of the detector that the threatIntelSet is associated with.

", + "DescribeOrganizationConfigurationRequest$DetectorId": "

The ID of the detector to retrieve information about the delegated administrator from.

", "DescribePublishingDestinationRequest$DetectorId": "

The unique ID of the detector associated with the publishing destination to retrieve.

", "DetectorIds$member": null, "DisassociateFromMasterAccountRequest$DetectorId": "

The unique ID of the detector of the GuardDuty member account.

", - "DisassociateMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account whose members you want to disassociate from master.

", + "DisassociateMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the master account.

", "GetDetectorRequest$DetectorId": "

The unique ID of the detector that you want to get.

", - "GetFilterRequest$DetectorId": "

The unique ID of the detector the filter is associated with.

", + "GetFilterRequest$DetectorId": "

The unique ID of the detector that the filter is associated with.

", "GetFindingsRequest$DetectorId": "

The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.

", "GetFindingsStatisticsRequest$DetectorId": "

The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.

", - "GetIPSetRequest$DetectorId": "

The unique ID of the detector the ipSet is associated with.

", + "GetIPSetRequest$DetectorId": "

The unique ID of the detector that the IPSet is associated with.

", "GetMasterAccountRequest$DetectorId": "

The unique ID of the detector of the GuardDuty member account.

", "GetMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account whose members you want to retrieve.

", - "GetThreatIntelSetRequest$DetectorId": "

The unique ID of the detector the threatIntelSet is associated with.

", - "InviteMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account with which you want to invite members.

", - "ListFiltersRequest$DetectorId": "

The unique ID of the detector the filter is associated with.

", + "GetThreatIntelSetRequest$DetectorId": "

The unique ID of the detector that the threatIntelSet is associated with.

", + "InviteMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account that you want to invite members with.

", + "ListFiltersRequest$DetectorId": "

The unique ID of the detector that the filter is associated with.

", "ListFindingsRequest$DetectorId": "

The ID of the detector that specifies the GuardDuty service whose findings you want to list.

", - "ListIPSetsRequest$DetectorId": "

The unique ID of the detector the ipSet is associated with.

", + "ListIPSetsRequest$DetectorId": "

The unique ID of the detector that the IPSet is associated with.

", "ListMembersRequest$DetectorId": "

The unique ID of the detector the member is associated with.

", "ListPublishingDestinationsRequest$DetectorId": "

The ID of the detector to retrieve publishing destinations for.

", - "ListThreatIntelSetsRequest$DetectorId": "

The unique ID of the detector the threatIntelSet is associated with.

", - "Member$DetectorId": "

Member account's detector ID.

", - "Service$DetectorId": "

Detector ID for the GuardDuty service.

", + "ListThreatIntelSetsRequest$DetectorId": "

The unique ID of the detector that the threatIntelSet is associated with.

", + "Member$DetectorId": "

The detector ID of the member account.

", + "Service$DetectorId": "

The detector ID for the GuardDuty service.

", "StartMonitoringMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty master account associated with the member accounts to monitor.

", - "StopMonitoringMembersRequest$DetectorId": "

The unique ID of the detector of the GuardDuty account that you want to stop from monitor members' findings.

", + "StopMonitoringMembersRequest$DetectorId": "

The unique ID of the detector associated with the GuardDuty master account that is monitoring member accounts.

", "UnarchiveFindingsRequest$DetectorId": "

The ID of the detector associated with the findings to unarchive.

", "UpdateDetectorRequest$DetectorId": "

The unique ID of the detector to update.

", "UpdateFilterRequest$DetectorId": "

The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

", "UpdateFindingsFeedbackRequest$DetectorId": "

The ID of the detector associated with the findings to update feedback for.

", "UpdateIPSetRequest$DetectorId": "

The detectorID that specifies the GuardDuty service whose IPSet you want to update.

", - "UpdatePublishingDestinationRequest$DetectorId": "

The ID of the

", + "UpdateOrganizationConfigurationRequest$DetectorId": "

The ID of the detector to update the delegated administrator for.

", + "UpdatePublishingDestinationRequest$DetectorId": "

The ID of the detector associated with the publishing destinations to update.

", "UpdateThreatIntelSetRequest$DetectorId": "

The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to update.

" } }, "DetectorIds": { "base": null, "refs": { - "ListDetectorsResponse$DetectorIds": "

A list of detector Ids.

" + "ListDetectorsResponse$DetectorIds": "

A list of detector IDs.

" } }, "DetectorStatus": { @@ -438,6 +476,16 @@ "GetDetectorResponse$Status": "

The detector status.

" } }, + "DisableOrganizationAdminAccountRequest": { + "base": null, + "refs": { + } + }, + "DisableOrganizationAdminAccountResponse": { + "base": null, + "refs": { + } + }, "DisassociateFromMasterAccountRequest": { "base": null, "refs": { @@ -467,7 +515,7 @@ "DomainDetails": { "base": "

Contains information about the domain.

", "refs": { - "AwsApiCallAction$DomainDetails": "

Domain information for the AWS API call.

" + "AwsApiCallAction$DomainDetails": "

The domain information for the AWS API call.

" } }, "Double": { @@ -475,27 +523,37 @@ "refs": { "Finding$Confidence": "

The confidence score for the finding.

", "Finding$Severity": "

The severity of the finding.

", - "GeoLocation$Lat": "

Latitude information of remote IP address.

", - "GeoLocation$Lon": "

Longitude information of remote IP address.

" + "GeoLocation$Lat": "

The latitude information of the remote IP address.

", + "GeoLocation$Lon": "

The longitude information of the remote IP address.

" } }, "Email": { "base": null, "refs": { - "AccountDetail$Email": "

Member account's email address.

", - "Member$Email": "

Member account's email address.

" + "AccountDetail$Email": "

The email address of the member account.

", + "Member$Email": "

The email address of the member account.

" + } + }, + "EnableOrganizationAdminAccountRequest": { + "base": null, + "refs": { + } + }, + "EnableOrganizationAdminAccountResponse": { + "base": null, + "refs": { } }, "Eq": { "base": null, "refs": { - "Condition$Eq": "

Represents the equal condition to be applied to a single field when querying for findings.

" + "Condition$Eq": "

Represents the equal condition to be applied to a single field when querying for findings.

" } }, "Equals": { "base": null, "refs": { - "Condition$Equals": "

Represents an equal condition to be applied to a single field when querying for findings.

" + "Condition$Equals": "

Represents an equal condition to be applied to a single field when querying for findings.

" } }, "Evidence": { @@ -539,7 +597,7 @@ "FilterNames": { "base": null, "refs": { - "ListFiltersResponse$FilterNames": "

A list of filter names

" + "ListFiltersResponse$FilterNames": "

A list of filter names.

" } }, "FilterRank": { @@ -559,10 +617,10 @@ "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.

", + "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 used for querying findings.

", - "ListFindingsRequest$FindingCriteria": "

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

", + "GetFindingsStatisticsRequest$FindingCriteria": "

Represents the criteria that is used for querying findings.

", + "ListFindingsRequest$FindingCriteria": "

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

", "UpdateFilterRequest$FindingCriteria": "

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

" } }, @@ -575,19 +633,19 @@ "FindingIds": { "base": null, "refs": { - "ArchiveFindingsRequest$FindingIds": "

IDs of the findings that you want to archive.

", - "GetFindingsRequest$FindingIds": "

IDs of the findings that you want to retrieve.

", - "ListFindingsResponse$FindingIds": "

The IDs of the findings you are listing.

", - "UnarchiveFindingsRequest$FindingIds": "

IDs of the findings to unarchive.

", - "UpdateFindingsFeedbackRequest$FindingIds": "

IDs of the findings that you want to mark as useful or not useful.

" + "ArchiveFindingsRequest$FindingIds": "

The IDs of the findings that you want to archive.

", + "GetFindingsRequest$FindingIds": "

The IDs of the findings that you want to retrieve.

", + "ListFindingsResponse$FindingIds": "

The IDs of the findings that you're listing.

", + "UnarchiveFindingsRequest$FindingIds": "

The IDs of the findings to unarchive.

", + "UpdateFindingsFeedbackRequest$FindingIds": "

The IDs of the findings that you want to mark as useful or not useful.

" } }, "FindingPublishingFrequency": { "base": null, "refs": { - "CreateDetectorRequest$FindingPublishingFrequency": "

A enum value that specifies how frequently customer got Finding updates published.

", - "GetDetectorResponse$FindingPublishingFrequency": "

Finding publishing frequency.

", - "UpdateDetectorRequest$FindingPublishingFrequency": "

A enum value that specifies how frequently findings are exported, such as to CloudWatch Events.

" + "CreateDetectorRequest$FindingPublishingFrequency": "

An enum value that specifies how frequently updated findings are exported.

", + "GetDetectorResponse$FindingPublishingFrequency": "

The publishing frequency of the finding.

", + "UpdateDetectorRequest$FindingPublishingFrequency": "

An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.

" } }, "FindingStatisticType": { @@ -599,26 +657,26 @@ "FindingStatisticTypes": { "base": null, "refs": { - "GetFindingsStatisticsRequest$FindingStatisticTypes": "

Types of finding statistics to retrieve.

" + "GetFindingsStatisticsRequest$FindingStatisticTypes": "

The types of finding statistics to retrieve.

" } }, "FindingStatistics": { "base": "

Contains information about finding statistics.

", "refs": { - "GetFindingsStatisticsResponse$FindingStatistics": "

Finding statistics object.

" + "GetFindingsStatisticsResponse$FindingStatistics": "

The finding statistics object.

" } }, "FindingType": { "base": null, "refs": { - "Finding$Type": "

The type of the finding.

", + "Finding$Type": "

The type of finding.

", "FindingTypes$member": null } }, "FindingTypes": { "base": null, "refs": { - "CreateSampleFindingsRequest$FindingTypes": "

Types of sample findings to generate.

" + "CreateSampleFindingsRequest$FindingTypes": "

The types of sample findings to generate.

" } }, "Findings": { @@ -630,7 +688,7 @@ "GeoLocation": { "base": "

Contains information about the location of the remote IP address.

", "refs": { - "RemoteIpDetails$GeoLocation": "

Location information of the remote IP address.

" + "RemoteIpDetails$GeoLocation": "

The location information of the remote IP address.

" } }, "GetDetectorRequest": { @@ -726,7 +784,7 @@ "GuardDutyArn": { "base": null, "refs": { - "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) for the given GuardDuty resource

", + "ListTagsForResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) for the given GuardDuty resource.

", "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) for the GuardDuty resource to apply a tag to.

", "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) for the resource to remove tags from.

" } @@ -746,19 +804,19 @@ "Integer": { "base": null, "refs": { - "Condition$Gt": "

Represents a greater than condition to be applied to a single field when querying for findings.

", - "Condition$Gte": "

Represents a greater than equal condition to be applied to a single field when querying for findings.

", - "Condition$Lt": "

Represents a less than condition to be applied to a single field when querying for findings.

", - "Condition$Lte": "

Represents a less than equal condition to be applied to a single field when querying for findings.

", + "Condition$Gt": "

Represents a greater than condition to be applied to a single field when querying for findings.

", + "Condition$Gte": "

Represents a greater than or equal condition to be applied to a single field when querying for findings.

", + "Condition$Lt": "

Represents a less than condition to be applied to a single field when querying for findings.

", + "Condition$Lte": "

Represents a less than or equal condition to be applied to a single field when querying for findings.

", "CountBySeverity$value": null, "GetInvitationsCountResponse$InvitationsCount": "

The number of received invitations.

", - "LocalPortDetails$Port": "

Port number of the local connection.

", - "RemotePortDetails$Port": "

Port number of the remote connection.

", - "Service$Count": "

Total count of the occurrences of this finding type.

" + "LocalPortDetails$Port": "

The port number of the local connection.

", + "RemotePortDetails$Port": "

The port number of the remote connection.

", + "Service$Count": "

The total count of the occurrences of this finding type.

" } }, "InternalServerErrorException": { - "base": "

Internal server error exception object.

", + "base": "

An internal server error exception object.

", "refs": { } }, @@ -800,13 +858,13 @@ "IpSetStatus": { "base": null, "refs": { - "GetIPSetResponse$Status": "

The status of ipSet file uploaded.

" + "GetIPSetResponse$Status": "

The status of IPSet file that was uploaded.

" } }, "Ipv6Addresses": { "base": null, "refs": { - "NetworkInterface$Ipv6Addresses": "

A list of EC2 instance IPv6 address information.

" + "NetworkInterface$Ipv6Addresses": "

A list of IPv6 addresses for the EC2 instance.

" } }, "ListDetectorsRequest": { @@ -869,6 +927,16 @@ "refs": { } }, + "ListOrganizationAdminAccountsRequest": { + "base": null, + "refs": { + } + }, + "ListOrganizationAdminAccountsResponse": { + "base": null, + "refs": { + } + }, "ListPublishingDestinationsRequest": { "base": null, "refs": { @@ -902,59 +970,60 @@ "LocalIpDetails": { "base": "

Contains information about the local IP address of the connection.

", "refs": { - "NetworkConnectionAction$LocalIpDetails": "

Local IP information of the connection.

", - "PortProbeDetail$LocalIpDetails": "

Local IP information of the connection.

" + "NetworkConnectionAction$LocalIpDetails": "

The local IP information of the connection.

", + "PortProbeDetail$LocalIpDetails": "

The local IP information of the connection.

" } }, "LocalPortDetails": { "base": "

Contains information about the port for the local connection.

", "refs": { - "NetworkConnectionAction$LocalPortDetails": "

Local port information of the connection.

", - "PortProbeDetail$LocalPortDetails": "

Local port information of the connection.

" + "NetworkConnectionAction$LocalPortDetails": "

The local port information of the connection.

", + "PortProbeDetail$LocalPortDetails": "

The local port information of the connection.

" } }, "Location": { "base": null, "refs": { - "CreateIPSetRequest$Location": "

The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)

", - "CreateThreatIntelSetRequest$Location": "

The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).

", - "GetIPSetResponse$Location": "

The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)

", - "GetThreatIntelSetResponse$Location": "

The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).

", - "UpdateIPSetRequest$Location": "

The updated URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key).

", - "UpdateThreatIntelSetRequest$Location": "

The updated URI of the file that contains the ThreateIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)

" + "CreateIPSetRequest$Location": "

The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

", + "CreateThreatIntelSetRequest$Location": "

The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

", + "GetIPSetResponse$Location": "

The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

", + "GetThreatIntelSetResponse$Location": "

The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

", + "UpdateIPSetRequest$Location": "

The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

", + "UpdateThreatIntelSetRequest$Location": "

The updated URI of the file that contains the ThreateIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.

" } }, "Long": { "base": null, "refs": { - "Condition$GreaterThan": "

Represents a greater than condition to be applied to a single field when querying for findings.

", - "Condition$GreaterThanOrEqual": "

Represents a greater than equal condition to be applied to a single field when querying for findings.

", - "Condition$LessThan": "

Represents a less than condition to be applied to a single field when querying for findings.

", - "Condition$LessThanOrEqual": "

Represents a less than equal condition to be applied to a single field when querying for findings.

", + "Condition$GreaterThan": "

Represents a greater than condition to be applied to a single field when querying for findings.

", + "Condition$GreaterThanOrEqual": "

Represents a greater than or equal condition to be applied to a single field when querying for findings.

", + "Condition$LessThan": "

Represents a less than condition to be applied to a single field when querying for findings.

", + "Condition$LessThanOrEqual": "

Represents a less than or equal condition to be applied to a single field when querying for findings.

", "DescribePublishingDestinationResponse$PublishingFailureStartTimestamp": "

The time, in epoch millisecond format, at which GuardDuty was first unable to publish findings to the destination.

" } }, "Master": { - "base": "

Contains information about the Master account and invitation.

", + "base": "

Contains information about the master account and invitation.

", "refs": { - "GetMasterAccountResponse$Master": "

Master account details.

" + "GetMasterAccountResponse$Master": "

The master account details.

" } }, "MaxResults": { "base": null, "refs": { - "ListDetectorsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

", - "ListFiltersRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

", + "ListDetectorsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

", + "ListFiltersRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

", "ListFindingsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

", "ListIPSetsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

", - "ListInvitationsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

", + "ListInvitationsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

", "ListMembersRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

", + "ListOrganizationAdminAccountsRequest$MaxResults": "

The maximum number of results to return in the response.

", "ListPublishingDestinationsRequest$MaxResults": "

The maximum number of results to return in the response.

", - "ListThreatIntelSetsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

" + "ListThreatIntelSetsRequest$MaxResults": "

You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.

" } }, "Member": { - "base": "

Continas information about the member account

", + "base": "

Contains information about the member account.

", "refs": { "Members$member": null } @@ -969,10 +1038,10 @@ "Name": { "base": null, "refs": { - "CreateIPSetRequest$Name": "

The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.

", - "CreateThreatIntelSetRequest$Name": "

A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.

", - "GetIPSetResponse$Name": "

The user friendly name for the IPSet.

", - "GetThreatIntelSetResponse$Name": "

A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.

", + "CreateIPSetRequest$Name": "

The user-friendly name to identify the IPSet.

Allowed characters are alphanumerics, spaces, hyphens (-), and underscores (_).

", + "CreateThreatIntelSetRequest$Name": "

A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.

", + "GetIPSetResponse$Name": "

The user-friendly name for the IPSet.

", + "GetThreatIntelSetResponse$Name": "

A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.

", "UpdateIPSetRequest$Name": "

The unique ID that specifies the IPSet that you want to update.

", "UpdateThreatIntelSetRequest$Name": "

The unique ID that specifies the ThreatIntelSet that you want to update.

" } @@ -980,7 +1049,7 @@ "Neq": { "base": null, "refs": { - "Condition$Neq": "

Represents the not equal condition to be applied to a single field when querying for findings.

" + "Condition$Neq": "

Represents the not equal condition to be applied to a single field when querying for findings.

" } }, "NetworkConnectionAction": { @@ -990,7 +1059,7 @@ } }, "NetworkInterface": { - "base": "

Contains information about the network interface of the Ec2 instance.

", + "base": "

Contains information about the elastic network interface of the EC2 instance.

", "refs": { "NetworkInterfaces$member": null } @@ -998,25 +1067,25 @@ "NetworkInterfaces": { "base": null, "refs": { - "InstanceDetails$NetworkInterfaces": "

The network interface information of the EC2 instance.

" + "InstanceDetails$NetworkInterfaces": "

The elastic network interface information of the EC2 instance.

" } }, "NotEquals": { "base": null, "refs": { - "Condition$NotEquals": "

Represents an not equal condition to be applied to a single field when querying for findings.

" + "Condition$NotEquals": "

Represents a not equal condition to be applied to a single field when querying for findings.

" } }, "OrderBy": { "base": null, "refs": { - "SortCriteria$OrderBy": "

Order by which the sorted findings are to be displayed.

" + "SortCriteria$OrderBy": "

The order by which the sorted findings are to be displayed.

" } }, "Organization": { - "base": "

Continas information about the ISP organization of the remote IP address.

", + "base": "

Contains information about the ISP organization of the remote IP address.

", "refs": { - "RemoteIpDetails$Organization": "

ISP Organization information of the remote IP address.

" + "RemoteIpDetails$Organization": "

The ISP organization information of the remote IP address.

" } }, "PortProbeAction": { @@ -1034,7 +1103,7 @@ "PortProbeDetails": { "base": null, "refs": { - "PortProbeAction$PortProbeDetails": "

A list of port probe details objects.

" + "PortProbeAction$PortProbeDetails": "

A list of objects related to port probe details.

" } }, "PrivateIpAddressDetails": { @@ -1050,7 +1119,7 @@ } }, "ProductCode": { - "base": "

Contains information about the product code for the Ec2 instance.

", + "base": "

Contains information about the product code for the EC2 instance.

", "refs": { "ProductCodes$member": null } @@ -1069,17 +1138,17 @@ } }, "RemoteIpDetails": { - "base": "

Continas information about the remote IP address of the connection.

", + "base": "

Contains information about the remote IP address of the connection.

", "refs": { - "AwsApiCallAction$RemoteIpDetails": "

Remote IP information of the connection.

", - "NetworkConnectionAction$RemoteIpDetails": "

Remote IP information of the connection.

", - "PortProbeDetail$RemoteIpDetails": "

Remote IP information of the connection.

" + "AwsApiCallAction$RemoteIpDetails": "

The remote IP information of the connection.

", + "NetworkConnectionAction$RemoteIpDetails": "

The remote IP information of the connection.

", + "PortProbeDetail$RemoteIpDetails": "

The remote IP information of the connection.

" } }, "RemotePortDetails": { "base": "

Contains information about the remote port.

", "refs": { - "NetworkConnectionAction$RemotePortDetails": "

Remote port information of the connection.

" + "NetworkConnectionAction$RemotePortDetails": "

The remote port information of the connection.

" } }, "Resource": { @@ -1097,7 +1166,7 @@ "SecurityGroups": { "base": null, "refs": { - "NetworkInterface$SecurityGroups": "

Security groups associated with the EC2 instance.

" + "NetworkInterface$SecurityGroups": "

The security groups associated with the EC2 instance.

" } }, "Service": { @@ -1137,57 +1206,60 @@ "base": null, "refs": { "AcceptInvitationRequest$MasterId": "

The account ID of the master GuardDuty account whose invitation you're accepting.

", - "AcceptInvitationRequest$InvitationId": "

This value is used to validate the master account to the member account.

", - "AccessKeyDetails$AccessKeyId": "

Access key ID of the user.

", + "AcceptInvitationRequest$InvitationId": "

The value that is used to validate the master account to the member account.

", + "AccessKeyDetails$AccessKeyId": "

The access key ID of the user.

", "AccessKeyDetails$PrincipalId": "

The principal ID of the user.

", "AccessKeyDetails$UserName": "

The name of the user.

", "AccessKeyDetails$UserType": "

The type of the user.

", - "Action$ActionType": "

GuardDuty Finding activity type.

", - "AwsApiCallAction$Api": "

AWS API name.

", - "AwsApiCallAction$CallerType": "

AWS API caller type.

", - "AwsApiCallAction$ServiceName": "

AWS service name whose API was invoked.

", + "Action$ActionType": "

The GuardDuty finding activity type.

", + "AdminAccount$AdminAccountId": "

The AWS account ID for the account.

", + "AwsApiCallAction$Api": "

The AWS API name.

", + "AwsApiCallAction$CallerType": "

The AWS API caller type.

", + "AwsApiCallAction$ServiceName": "

The AWS service name whose API was invoked.

", "BadRequestException$Message": "

The error message.

", "BadRequestException$Type": "

The error type.

", - "City$CityName": "

City name of the remote IP address.

", + "City$CityName": "

The city name of the remote IP address.

", "CountBySeverity$key": null, - "Country$CountryCode": "

Country code of the remote IP address.

", - "Country$CountryName": "

Country name of the remote IP address.

", + "Country$CountryCode": "

The country code of the remote IP address.

", + "Country$CountryName": "

The country name of the remote IP address.

", "CreateIPSetResponse$IpSetId": "

The ID of the IPSet resource.

", - "CreatePublishingDestinationResponse$DestinationId": "

The ID of the publishing destination created.

", + "CreatePublishingDestinationResponse$DestinationId": "

The ID of the publishing destination that is created.

", "CreateThreatIntelSetResponse$ThreatIntelSetId": "

The ID of the ThreatIntelSet resource.

", "Criterion$key": null, - "DeleteFilterRequest$FilterName": "

The name of the filter you want to delete.

", + "DeleteFilterRequest$FilterName": "

The name of the filter that you want to delete.

", "DeleteIPSetRequest$IpSetId": "

The unique ID of the IPSet to delete.

", "DeletePublishingDestinationRequest$DestinationId": "

The ID of the publishing destination to delete.

", - "DeleteThreatIntelSetRequest$ThreatIntelSetId": "

The unique ID of the threatIntelSet you want to delete.

", + "DeleteThreatIntelSetRequest$ThreatIntelSetId": "

The unique ID of the threatIntelSet that you want to delete.

", "DescribePublishingDestinationRequest$DestinationId": "

The ID of the publishing destination to retrieve.

", "DescribePublishingDestinationResponse$DestinationId": "

The ID of the publishing destination.

", "Destination$DestinationId": "

The unique ID of the publishing destination.

", "DestinationProperties$DestinationArn": "

The ARN of the resource to publish to.

", "DestinationProperties$KmsKeyArn": "

The ARN of the KMS key to use for encryption.

", - "DnsRequestAction$Domain": "

Domain information for the API request.

", - "DomainDetails$Domain": "

Domain information for the AWS API call.

", + "DisableOrganizationAdminAccountRequest$AdminAccountId": "

The AWS Account ID for the Organizations account to be disabled as a GuardDuty delegated administrator.

", + "DnsRequestAction$Domain": "

The domain information for the API request.

", + "DomainDetails$Domain": "

The domain information for the AWS API call.

", + "EnableOrganizationAdminAccountRequest$AdminAccountId": "

The AWS Account ID for the Organizations account to be enabled as a GuardDuty delegated administrator.

", "Eq$member": null, "Equals$member": null, "Finding$AccountId": "

The ID of the account in which the finding was generated.

", - "Finding$Arn": "

The ARN for the finding.

", - "Finding$CreatedAt": "

The time and date at which the finding was created.

", + "Finding$Arn": "

The ARN of the finding.

", + "Finding$CreatedAt": "

The time and date when the finding was created.

", "Finding$Description": "

The description of the finding.

", "Finding$Id": "

The ID of the finding.

", "Finding$Partition": "

The partition associated with the finding.

", - "Finding$Region": "

The Region in which the finding was generated.

", + "Finding$Region": "

The Region where the finding was generated.

", "Finding$SchemaVersion": "

The version of the schema used for the finding.

", - "Finding$Title": "

The title for the finding.

", - "Finding$UpdatedAt": "

The time and date at which the finding was laste updated.

", - "GetDetectorResponse$CreatedAt": "

Detector creation timestamp.

", + "Finding$Title": "

The title of the finding.

", + "Finding$UpdatedAt": "

The time and date when the finding was last updated.

", + "GetDetectorResponse$CreatedAt": "

The timestamp of when the detector was created.

", "GetDetectorResponse$ServiceRole": "

The GuardDuty service role.

", - "GetDetectorResponse$UpdatedAt": "

Detector last update timestamp.

", + "GetDetectorResponse$UpdatedAt": "

The last-updated timestamp for the detector.

", "GetFilterRequest$FilterName": "

The name of the filter you want to get.

", "GetIPSetRequest$IpSetId": "

The unique ID of the IPSet to retrieve.

", - "GetThreatIntelSetRequest$ThreatIntelSetId": "

The unique ID of the threatIntelSet you want to get.

", - "IamInstanceProfile$Arn": "

AWS EC2 instance profile ARN.

", - "IamInstanceProfile$Id": "

AWS EC2 instance profile ID.

", - "InstanceDetails$AvailabilityZone": "

The availability zone of the EC2 instance.

", + "GetThreatIntelSetRequest$ThreatIntelSetId": "

The unique ID of the threatIntelSet that you want to get.

", + "IamInstanceProfile$Arn": "

The profile ARN of the EC2 instance.

", + "IamInstanceProfile$Id": "

The profile ID of the EC2 instance.

", + "InstanceDetails$AvailabilityZone": "

The Availability Zone of the EC2 instance.

", "InstanceDetails$ImageDescription": "

The image description of the EC2 instance.

", "InstanceDetails$ImageId": "

The image ID of the EC2 instance.

", "InstanceDetails$InstanceId": "

The ID of the EC2 instance.

", @@ -1200,68 +1272,70 @@ "InternalServerErrorException$Type": "

The error type.

", "Invitation$InvitationId": "

The ID of the invitation. This value is used to validate the inviter account to the member account.

", "Invitation$RelationshipStatus": "

The status of the relationship between the inviter and invitee accounts.

", - "Invitation$InvitedAt": "

Timestamp at which the invitation was sent.

", + "Invitation$InvitedAt": "

The timestamp when the invitation was sent.

", "InviteMembersRequest$Message": "

The invitation message that you want to send to the accounts that you’re inviting to GuardDuty as members.

", "IpSetIds$member": null, "Ipv6Addresses$member": null, - "ListDetectorsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListDetectorsResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "ListFiltersRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListFiltersResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "ListFindingsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListFindingsResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "ListIPSetsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListIPSetsResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "ListInvitationsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListInvitationsResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "ListMembersRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListMembersRequest$OnlyAssociated": "

Specifies whether to only return associated members or to return all members (including members which haven't been invited yet or have been disassociated).

", - "ListMembersResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "ListPublishingDestinationsRequest$NextToken": "

A token to use for paginating results returned in the repsonse. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

", - "ListPublishingDestinationsResponse$NextToken": "

A token to use for paginating results returned in the repsonse. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

", - "ListThreatIntelSetsRequest$NextToken": "

You can use this parameter to paginate results in the response. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", - "ListThreatIntelSetsResponse$NextToken": "

Pagination parameter to be used on the next list operation to retrieve more items.

", - "LocalIpDetails$IpAddressV4": "

IPV4 remote address of the connection.

", - "LocalPortDetails$PortName": "

Port name of the local connection.

", - "Master$InvitationId": "

This value is used to validate the master account to the member account.

", + "ListDetectorsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListDetectorsResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListFiltersRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListFiltersResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListFindingsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListFindingsResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListIPSetsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListIPSetsResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListInvitationsRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListInvitationsResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListMembersRequest$NextToken": "

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListMembersRequest$OnlyAssociated": "

Specifies what member accounts the response includes based on their relationship status with the master account. The default value is \"true\". If set to \"false\" the response includes all existing member accounts (including members who haven't been invited yet or have been disassociated).

", + "ListMembersResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListOrganizationAdminAccountsRequest$NextToken": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

", + "ListOrganizationAdminAccountsResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "ListPublishingDestinationsRequest$NextToken": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

", + "ListPublishingDestinationsResponse$NextToken": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

", + "ListThreatIntelSetsRequest$NextToken": "

You can use this parameter to paginate results in the response. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action, fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

", + "ListThreatIntelSetsResponse$NextToken": "

The pagination parameter to be used on the next list operation to retrieve more items.

", + "LocalIpDetails$IpAddressV4": "

The IPv4 local address of the connection.

", + "LocalPortDetails$PortName": "

The port name of the local connection.

", + "Master$InvitationId": "

The value used to validate the master account to the member account.

", "Master$RelationshipStatus": "

The status of the relationship between the master and member accounts.

", - "Master$InvitedAt": "

Timestamp at which the invitation was sent.

", - "Member$MasterId": "

Master account ID.

", + "Master$InvitedAt": "

The timestamp when the invitation was sent.

", + "Member$MasterId": "

The master account ID.

", "Member$RelationshipStatus": "

The status of the relationship between the member and the master.

", - "Member$InvitedAt": "

Timestamp at which the invitation was sent

", - "Member$UpdatedAt": "

Member last updated timestamp.

", + "Member$InvitedAt": "

The timestamp when the invitation was sent.

", + "Member$UpdatedAt": "

The last-updated timestamp of the member.

", "Neq$member": null, - "NetworkConnectionAction$ConnectionDirection": "

Network connection direction.

", - "NetworkConnectionAction$Protocol": "

Network connection protocol.

", - "NetworkInterface$NetworkInterfaceId": "

The ID of the network interface

", - "NetworkInterface$PrivateDnsName": "

Private DNS name of the EC2 instance.

", - "NetworkInterface$PrivateIpAddress": "

Private IP address of the EC2 instance.

", - "NetworkInterface$PublicDnsName": "

Public DNS name of the EC2 instance.

", - "NetworkInterface$PublicIp": "

Public IP address of the EC2 instance.

", + "NetworkConnectionAction$ConnectionDirection": "

The network connection direction.

", + "NetworkConnectionAction$Protocol": "

The network connection protocol.

", + "NetworkInterface$NetworkInterfaceId": "

The ID of the network interface.

", + "NetworkInterface$PrivateDnsName": "

The private DNS name of the EC2 instance.

", + "NetworkInterface$PrivateIpAddress": "

The private IP address of the EC2 instance.

", + "NetworkInterface$PublicDnsName": "

The public DNS name of the EC2 instance.

", + "NetworkInterface$PublicIp": "

The public IP address of the EC2 instance.

", "NetworkInterface$SubnetId": "

The subnet ID of the EC2 instance.

", "NetworkInterface$VpcId": "

The VPC ID of the EC2 instance.

", "NotEquals$member": null, - "Organization$Asn": "

Autonomous system number of the internet provider of the remote IP address.

", - "Organization$AsnOrg": "

Organization that registered this ASN.

", - "Organization$Isp": "

ISP information for the internet provider.

", - "Organization$Org": "

Name of the internet provider.

", - "PrivateIpAddressDetails$PrivateDnsName": "

Private DNS name of the EC2 instance.

", - "PrivateIpAddressDetails$PrivateIpAddress": "

Private IP address of the EC2 instance.

", - "ProductCode$Code": "

Product code information.

", - "ProductCode$ProductType": "

Product code type.

", - "RemoteIpDetails$IpAddressV4": "

IPV4 remote address of the connection.

", - "RemotePortDetails$PortName": "

Port name of the remote connection.

", - "Resource$ResourceType": "

The type of the AWS resource.

", - "SecurityGroup$GroupId": "

EC2 instance's security group ID.

", - "SecurityGroup$GroupName": "

EC2 instance's security group name.

", - "Service$EventFirstSeen": "

First seen timestamp of the activity that prompted GuardDuty to generate this finding.

", - "Service$EventLastSeen": "

Last seen timestamp of the activity that prompted GuardDuty to generate this finding.

", - "Service$ResourceRole": "

Resource role information for this finding.

", + "Organization$Asn": "

The Autonomous System Number (ASN) of the internet provider of the remote IP address.

", + "Organization$AsnOrg": "

The organization that registered this ASN.

", + "Organization$Isp": "

The ISP information for the internet provider.

", + "Organization$Org": "

The name of the internet provider.

", + "PrivateIpAddressDetails$PrivateDnsName": "

The private DNS name of the EC2 instance.

", + "PrivateIpAddressDetails$PrivateIpAddress": "

The private IP address of the EC2 instance.

", + "ProductCode$Code": "

The product code information.

", + "ProductCode$ProductType": "

The product code type.

", + "RemoteIpDetails$IpAddressV4": "

The IPv4 remote address of the connection.

", + "RemotePortDetails$PortName": "

The port name of the remote connection.

", + "Resource$ResourceType": "

The type of AWS resource.

", + "SecurityGroup$GroupId": "

The security group ID of the EC2 instance.

", + "SecurityGroup$GroupName": "

The security group name of the EC2 instance.

", + "Service$EventFirstSeen": "

The first-seen timestamp of the activity that prompted GuardDuty to generate this finding.

", + "Service$EventLastSeen": "

The last-seen timestamp of the activity that prompted GuardDuty to generate this finding.

", + "Service$ResourceRole": "

The resource role information for this finding.

", "Service$ServiceName": "

The name of the AWS service (GuardDuty) that generated a finding.

", - "Service$UserFeedback": "

Feedback left about the finding.

", - "SortCriteria$AttributeName": "

Represents the finding attribute (for example, accountId) by which to sort findings.

", - "Tag$Key": "

EC2 instance tag key.

", - "Tag$Value": "

EC2 instance tag value.

", + "Service$UserFeedback": "

Feedback that was submitted about the finding.

", + "SortCriteria$AttributeName": "

Represents the finding attribute (for example, accountId) to sort findings by.

", + "Tag$Key": "

The EC2 instance tag key.

", + "Tag$Value": "

The EC2 instance tag value.

", "ThreatIntelSetIds$member": null, "ThreatIntelligenceDetail$ThreatListName": "

The name of the threat intelligence list that triggered the finding.

", "ThreatNames$member": null, @@ -1269,12 +1343,12 @@ "UpdateFilterRequest$FilterName": "

The name of the filter.

", "UpdateFindingsFeedbackRequest$Comments": "

Additional feedback about the GuardDuty findings.

", "UpdateIPSetRequest$IpSetId": "

The unique ID that specifies the IPSet that you want to update.

", - "UpdatePublishingDestinationRequest$DestinationId": "

The ID of the detector associated with the publishing destinations to update.

", + "UpdatePublishingDestinationRequest$DestinationId": "

The ID of the publishing destination to update.

", "UpdateThreatIntelSetRequest$ThreatIntelSetId": "

The unique ID that specifies the ThreatIntelSet that you want to update.

" } }, "Tag": { - "base": "

Contains information about a tag associated with the Ec2 instance.

", + "base": "

Contains information about a tag associated with the EC2 instance.

", "refs": { "Tags$member": null } @@ -1298,11 +1372,11 @@ "CreateDetectorRequest$Tags": "

The tags to be added to a new detector resource.

", "CreateFilterRequest$Tags": "

The tags to be added to a new filter resource.

", "CreateIPSetRequest$Tags": "

The tags to be added to a new IP set resource.

", - "CreateThreatIntelSetRequest$Tags": "

The tags to be added to a new Threat List resource.

", + "CreateThreatIntelSetRequest$Tags": "

The tags to be added to a new threat list resource.

", "GetDetectorResponse$Tags": "

The tags of the detector resource.

", "GetFilterResponse$Tags": "

The tags of the filter resource.

", - "GetIPSetResponse$Tags": "

The tags of the IP set resource.

", - "GetThreatIntelSetResponse$Tags": "

The tags of the Threat List resource.

", + "GetIPSetResponse$Tags": "

The tags of the IPSet resource.

", + "GetThreatIntelSetResponse$Tags": "

The tags of the threat list resource.

", "ListTagsForResourceResponse$Tags": "

The tags associated with the resource.

", "TagResourceRequest$Tags": "

The tags to be added to a resource.

" } @@ -1377,7 +1451,7 @@ } }, "UnprocessedAccount": { - "base": "

Contains information about the accounts that were not processed.

", + "base": "

Contains information about the accounts that weren't processed.

", "refs": { "UnprocessedAccounts$member": null } @@ -1385,15 +1459,15 @@ "UnprocessedAccounts": { "base": null, "refs": { - "CreateMembersResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", - "DeclineInvitationsResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", - "DeleteInvitationsResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", + "CreateMembersResponse$UnprocessedAccounts": "

A list of objects that include the accountIds of the unprocessed accounts and a result string that explains why each was unprocessed.

", + "DeclineInvitationsResponse$UnprocessedAccounts": "

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

", + "DeleteInvitationsResponse$UnprocessedAccounts": "

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

", "DeleteMembersResponse$UnprocessedAccounts": "

The accounts that could not be processed.

", - "DisassociateMembersResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", - "GetMembersResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", - "InviteMembersResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", - "StartMonitoringMembersResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

", - "StopMonitoringMembersResponse$UnprocessedAccounts": "

A list of objects containing the unprocessed account and a result string explaining why it was unprocessed.

" + "DisassociateMembersResponse$UnprocessedAccounts": "

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

", + "GetMembersResponse$UnprocessedAccounts": "

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

", + "InviteMembersResponse$UnprocessedAccounts": "

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

", + "StartMonitoringMembersResponse$UnprocessedAccounts": "

A list of objects that contain the unprocessed account and a result string that explains why it was unprocessed.

", + "StopMonitoringMembersResponse$UnprocessedAccounts": "

A list of objects that contain an accountId for each account that could not be processed, and a result string that indicates why the account was not processed.

" } }, "UntagResourceRequest": { @@ -1446,6 +1520,16 @@ "refs": { } }, + "UpdateOrganizationConfigurationRequest": { + "base": null, + "refs": { + } + }, + "UpdateOrganizationConfigurationResponse": { + "base": null, + "refs": { + } + }, "UpdatePublishingDestinationRequest": { "base": null, "refs": { diff --git a/models/apis/guardduty/2017-11-28/paginators-1.json b/models/apis/guardduty/2017-11-28/paginators-1.json index 717e540366d..83ef33cce13 100644 --- a/models/apis/guardduty/2017-11-28/paginators-1.json +++ b/models/apis/guardduty/2017-11-28/paginators-1.json @@ -36,6 +36,12 @@ "limit_key": "MaxResults", "result_key": "Members" }, + "ListOrganizationAdminAccounts": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "AdminAccounts" + }, "ListPublishingDestinations": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/models/apis/route53domains/2014-05-15/api-2.json b/models/apis/route53domains/2014-05-15/api-2.json index 493e58c243d..5decf954917 100644 --- a/models/apis/route53domains/2014-05-15/api-2.json +++ b/models/apis/route53domains/2014-05-15/api-2.json @@ -6,11 +6,39 @@ "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"Amazon Route 53 Domains", + "serviceId":"Route 53 Domains", "signatureVersion":"v4", "targetPrefix":"Route53Domains_v20140515", "uid":"route53domains-2014-05-15" }, "operations":{ + "AcceptDomainTransferFromAnotherAwsAccount":{ + "name":"AcceptDomainTransferFromAnotherAwsAccount", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AcceptDomainTransferFromAnotherAwsAccountRequest"}, + "output":{"shape":"AcceptDomainTransferFromAnotherAwsAccountResponse"}, + "errors":[ + {"shape":"InvalidInput"}, + {"shape":"OperationLimitExceeded"}, + {"shape":"DomainLimitExceeded"} + ] + }, + "CancelDomainTransferToAnotherAwsAccount":{ + "name":"CancelDomainTransferToAnotherAwsAccount", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CancelDomainTransferToAnotherAwsAccountRequest"}, + "output":{"shape":"CancelDomainTransferToAnotherAwsAccountResponse"}, + "errors":[ + {"shape":"InvalidInput"}, + {"shape":"OperationLimitExceeded"} + ] + }, "CheckDomainAvailability":{ "name":"CheckDomainAvailability", "http":{ @@ -217,6 +245,19 @@ {"shape":"OperationLimitExceeded"} ] }, + "RejectDomainTransferFromAnotherAwsAccount":{ + "name":"RejectDomainTransferFromAnotherAwsAccount", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RejectDomainTransferFromAnotherAwsAccountRequest"}, + "output":{"shape":"RejectDomainTransferFromAnotherAwsAccountResponse"}, + "errors":[ + {"shape":"InvalidInput"}, + {"shape":"OperationLimitExceeded"} + ] + }, "RenewDomain":{ "name":"RenewDomain", "http":{ @@ -277,6 +318,20 @@ {"shape":"OperationLimitExceeded"} ] }, + "TransferDomainToAnotherAwsAccount":{ + "name":"TransferDomainToAnotherAwsAccount", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"TransferDomainToAnotherAwsAccountRequest"}, + "output":{"shape":"TransferDomainToAnotherAwsAccountResponse"}, + "errors":[ + {"shape":"InvalidInput"}, + {"shape":"OperationLimitExceeded"}, + {"shape":"DuplicateRequest"} + ] + }, "UpdateDomainContact":{ "name":"UpdateDomainContact", "http":{ @@ -353,6 +408,27 @@ } }, "shapes":{ + "AcceptDomainTransferFromAnotherAwsAccountRequest":{ + "type":"structure", + "required":[ + "DomainName", + "Password" + ], + "members":{ + "DomainName":{"shape":"DomainName"}, + "Password":{"shape":"String"} + } + }, + "AcceptDomainTransferFromAnotherAwsAccountResponse":{ + "type":"structure", + "members":{ + "OperationId":{"shape":"OperationId"} + } + }, + "AccountId":{ + "type":"string", + "pattern":"^(\\d{12})$" + }, "AddressLine":{ "type":"string", "max":255 @@ -372,6 +448,19 @@ "member":{"shape":"BillingRecord"} }, "Boolean":{"type":"boolean"}, + "CancelDomainTransferToAnotherAwsAccountRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{"shape":"DomainName"} + } + }, + "CancelDomainTransferToAnotherAwsAccountResponse":{ + "type":"structure", + "members":{ + "OperationId":{"shape":"OperationId"} + } + }, "CheckDomainAvailabilityRequest":{ "type":"structure", "required":["DomainName"], @@ -859,6 +948,8 @@ "AU_ID_TYPE", "CA_LEGAL_TYPE", "CA_BUSINESS_ENTITY_TYPE", + "CA_LEGAL_REPRESENTATIVE", + "CA_LEGAL_REPRESENTATIVE_CAPACITY", "ES_IDENTIFICATION", "ES_IDENTIFICATION_TYPE", "ES_LEGAL_FORM", @@ -866,6 +957,7 @@ "FI_ID_NUMBER", "FI_NATIONALITY", "FI_ORGANIZATION_TYPE", + "IT_NATIONALITY", "IT_PIN", "IT_REGISTRANT_ENTITY_TYPE", "RU_PASSPORT_DATA", @@ -1112,7 +1204,9 @@ "TRANSFER_OUT_DOMAIN", "CHANGE_DOMAIN_OWNER", "RENEW_DOMAIN", - "PUSH_DOMAIN" + "PUSH_DOMAIN", + "INTERNAL_TRANSFER_OUT_DOMAIN", + "INTERNAL_TRANSFER_IN_DOMAIN" ] }, "PageMarker":{ @@ -1165,6 +1259,19 @@ "RegistrarUrl":{"type":"string"}, "RegistrarWhoIsServer":{"type":"string"}, "RegistryDomainId":{"type":"string"}, + "RejectDomainTransferFromAnotherAwsAccountRequest":{ + "type":"structure", + "required":["DomainName"], + "members":{ + "DomainName":{"shape":"DomainName"} + } + }, + "RejectDomainTransferFromAnotherAwsAccountResponse":{ + "type":"structure", + "members":{ + "OperationId":{"shape":"OperationId"} + } + }, "RenewDomainRequest":{ "type":"structure", "required":[ @@ -1274,6 +1381,24 @@ "OperationId":{"shape":"OperationId"} } }, + "TransferDomainToAnotherAwsAccountRequest":{ + "type":"structure", + "required":[ + "DomainName", + "AccountId" + ], + "members":{ + "DomainName":{"shape":"DomainName"}, + "AccountId":{"shape":"AccountId"} + } + }, + "TransferDomainToAnotherAwsAccountResponse":{ + "type":"structure", + "members":{ + "OperationId":{"shape":"OperationId"}, + "Password":{"shape":"String"} + } + }, "Transferable":{ "type":"string", "enum":[ diff --git a/models/apis/route53domains/2014-05-15/docs-2.json b/models/apis/route53domains/2014-05-15/docs-2.json index 2c45d5c793a..f7f4e601db8 100644 --- a/models/apis/route53domains/2014-05-15/docs-2.json +++ b/models/apis/route53domains/2014-05-15/docs-2.json @@ -2,32 +2,52 @@ "version": "2.0", "service": "

Amazon Route 53 API actions let you register domain names and perform related operations.

", "operations": { + "AcceptDomainTransferFromAnotherAwsAccount": "

Accepts the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount.

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.

", + "CancelDomainTransferToAnotherAwsAccount": "

Cancels the transfer of a domain from the current AWS account to another AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount.

You must cancel the transfer before the other AWS account accepts the transfer using AcceptDomainTransferFromAnotherAwsAccount.

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.

", "CheckDomainAvailability": "

This operation checks the availability of one domain name. Note that if the availability status of a domain is pending, you must submit another request to determine the availability of the domain name.

", "CheckDomainTransferability": "

Checks whether a domain name can be transferred to Amazon Route 53.

", "DeleteTagsForDomain": "

This operation deletes the specified tags for a domain.

All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.

", "DisableDomainAutoRenew": "

This operation disables automatic renewal of domain registration for the specified domain.

", "DisableDomainTransferLock": "

This operation removes the transfer lock on the domain (specifically the clientTransferProhibited status) to allow domain transfers. We recommend you refrain from performing this action unless you intend to transfer the domain to a different registrar. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.

", - "EnableDomainAutoRenew": "

This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account.

The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see \"Renewal, restoration, and deletion times\" on the website for our registrar associate, Gandi. Amazon Route 53 requires that you renew before the end of the renewal period that is listed on the Gandi website so we can complete processing before the deadline.

", + "EnableDomainAutoRenew": "

This operation configures Amazon Route 53 to automatically renew the specified domain before the domain registration expires. The cost of renewing your domain registration is billed to your AWS account.

The period during which you can renew a domain name varies by TLD. For a list of TLDs and their renewal policies, see Domains That You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide. Route 53 requires that you renew before the end of the renewal period so we can complete processing before the deadline.

", "EnableDomainTransferLock": "

This operation sets the transfer lock on the domain (specifically the clientTransferProhibited status) to prevent domain transfers. Successful submission returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.

", "GetContactReachabilityStatus": "

For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation returns information about whether the registrant contact has responded.

If you want us to resend the email, use the ResendContactReachabilityEmail operation.

", "GetDomainDetail": "

This operation returns detailed information about a specified domain that is associated with the current AWS account. Contact information for the domain is also returned as part of the output.

", - "GetDomainSuggestions": "

The GetDomainSuggestions operation returns a list of suggested domain names given a string, which can either be a domain name or simply a word or phrase (without spaces).

", + "GetDomainSuggestions": "

The GetDomainSuggestions operation returns a list of suggested domain names.

", "GetOperationDetail": "

This operation returns the current status of an operation that is not completed.

", "ListDomains": "

This operation returns all the domain names registered with Amazon Route 53 for the current AWS account.

", - "ListOperations": "

This operation returns the operation IDs of operations that are not yet complete.

", + "ListOperations": "

Returns information about all of the operations that return an operation ID and that have ever been performed on domains that were registered by the current account.

", "ListTagsForDomain": "

This operation returns all of the tags that are associated with the specified domain.

All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.

", - "RegisterDomain": "

This operation registers a domain. Domains are registered either by Amazon Registrar (for .com, .net, and .org domains) or by our registrar associate, Gandi (for all other domains). For some top-level domains (TLDs), this operation requires extra parameters.

When you register a domain, Amazon Route 53 does the following:

", - "RenewDomain": "

This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account.

We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 Developer Guide.

", + "RegisterDomain": "

This operation registers a domain. Domains are registered either by Amazon Registrar (for .com, .net, and .org domains) or by our registrar associate, Gandi (for all other domains). For some top-level domains (TLDs), this operation requires extra parameters.

When you register a domain, Amazon Route 53 does the following:

", + "RejectDomainTransferFromAnotherAwsAccount": "

Rejects the transfer of a domain from another AWS account to the current AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount.

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.

", + "RenewDomain": "

This operation renews a domain for the specified number of years. The cost of renewing your domain is billed to your AWS account.

We recommend that you renew your domain several weeks before the expiration date. Some TLD registries delete domains before the expiration date if you haven't renewed far enough in advance. For more information about renewing domain registration, see Renewing Registration for a Domain in the Amazon Route 53 Developer Guide.

", "ResendContactReachabilityEmail": "

For operations that require confirmation that the email address for the registrant contact is valid, such as registering a new domain, this operation resends the confirmation email to the current email address for the registrant contact.

", "RetrieveDomainAuthCode": "

This operation returns the AuthCode for the domain. To transfer a domain to another registrar, you provide this value to the new registrar.

", - "TransferDomain": "

This operation transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered either with Amazon Registrar (for .com, .net, and .org domains) or with our registrar associate, Gandi (for all other TLDs).

For transfer requirements, a detailed procedure, and information about viewing the status of a domain transfer, see Transferring Registration for a Domain to Amazon Route 53 in the Amazon Route 53 Developer Guide.

If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you consider transferring your DNS service to Amazon Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.

If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.

If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.

", + "TransferDomain": "

Transfers a domain from another registrar to Amazon Route 53. When the transfer is complete, the domain is registered either with Amazon Registrar (for .com, .net, and .org domains) or with our registrar associate, Gandi (for all other TLDs).

For more information about transferring domains, see the following topics:

If the registrar for your domain is also the DNS service provider for the domain, we highly recommend that you transfer your DNS service to Route 53 or to another DNS service provider before you transfer your registration. Some registrars provide free DNS service when you purchase a domain registration. When you transfer the registration, the previous registrar will not renew your domain registration and could end your DNS service at any time.

If the registrar for your domain is also the DNS service provider for the domain and you don't transfer DNS service to another provider, your website, email, and the web applications associated with the domain might become unavailable.

If the transfer is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the transfer doesn't complete successfully, the domain registrant will be notified by email.

", + "TransferDomainToAnotherAwsAccount": "

Transfers a domain from the current AWS account to another AWS account. Note the following:

When you transfer a domain from one AWS account to another, Route 53 doesn't transfer the hosted zone that is associated with the domain. DNS resolution isn't affected if the domain and the hosted zone are owned by separate accounts, so transferring the hosted zone is optional. For information about transferring the hosted zone to another AWS account, see Migrating a Hosted Zone to a Different AWS Account in the Amazon Route 53 Developer Guide.

Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled.

", "UpdateDomainContact": "

This operation updates the contact information for a particular domain. You must specify information for at least one contact: registrant, administrator, or technical.

If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.

", - "UpdateDomainContactPrivacy": "

This operation updates the specified domain contact's privacy setting. When privacy protection is enabled, contact information such as email address is replaced either with contact information for Amazon Registrar (for .com, .net, and .org domains) or with contact information for our registrar associate, Gandi.

This operation affects only the contact information for the specified contact type (registrant, administrator, or tech). If the request succeeds, Amazon Route 53 returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request doesn't complete successfully, the domain registrant will be notified by email.

", + "UpdateDomainContactPrivacy": "

This operation updates the specified domain contact's privacy setting. When privacy protection is enabled, contact information such as email address is replaced either with contact information for Amazon Registrar (for .com, .net, and .org domains) or with contact information for our registrar associate, Gandi.

This operation affects only the contact information for the specified contact type (registrant, administrator, or tech). If the request succeeds, Amazon Route 53 returns an operation ID that you can use with GetOperationDetail to track the progress and completion of the action. If the request doesn't complete successfully, the domain registrant will be notified by email.

By disabling the privacy service via API, you consent to the publication of the contact information provided for this domain via the public WHOIS database. You certify that you are the registrant of this domain name and have the authority to make this decision. You may withdraw your consent at any time by enabling privacy protection using either UpdateDomainContactPrivacy or the Route 53 console. Enabling privacy protection removes the contact information provided for this domain from the WHOIS database. For more information on our privacy practices, see https://aws.amazon.com/privacy/.

", "UpdateDomainNameservers": "

This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.

If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.

", "UpdateTagsForDomain": "

This operation adds or updates tags for a specified domain.

All tag operations are eventually consistent; subsequent operations might not immediately represent all issued operations.

", "ViewBilling": "

Returns all the domain-related billing records for the current AWS account for a specified period

" }, "shapes": { + "AcceptDomainTransferFromAnotherAwsAccountRequest": { + "base": "

The AcceptDomainTransferFromAnotherAwsAccount request includes the following elements.

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

The AcceptDomainTransferFromAnotherAwsAccount response includes the following element.

", + "refs": { + } + }, + "AccountId": { + "base": null, + "refs": { + "TransferDomainToAnotherAwsAccountRequest$AccountId": "

The account ID of the AWS account that you want to transfer the domain to, for example, 111122223333.

" + } + }, "AddressLine": { "base": null, "refs": { @@ -56,7 +76,7 @@ "GetDomainDetailResponse$AdminPrivacy": "

Specifies whether contact information is concealed from WHOIS queries. If the value is true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If the value is false, WHOIS queries return the information that you entered for the admin contact.

", "GetDomainDetailResponse$RegistrantPrivacy": "

Specifies whether contact information is concealed from WHOIS queries. If the value is true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If the value is false, WHOIS queries return the information that you entered for the registrant contact (domain owner).

", "GetDomainDetailResponse$TechPrivacy": "

Specifies whether contact information is concealed from WHOIS queries. If the value is true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If the value is false, WHOIS queries return the information that you entered for the technical contact.

", - "GetDomainSuggestionsRequest$OnlyAvailable": "

If OnlyAvailable is true, Amazon Route 53 returns only domain names that are available. If OnlyAvailable is false, Amazon Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability for each suggestion.

", + "GetDomainSuggestionsRequest$OnlyAvailable": "

If OnlyAvailable is true, Route 53 returns only domain names that are available. If OnlyAvailable is false, Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability for each suggestion.

", "RegisterDomainRequest$AutoRenew": "

Indicates whether the domain will be automatically renewed (true) or not (false). Autorenewal only takes effect after the account is charged.

Default: true

", "RegisterDomainRequest$PrivacyProtectAdminContact": "

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return the information that you entered for the admin contact.

Default: true

", "RegisterDomainRequest$PrivacyProtectRegistrantContact": "

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return the information that you entered for the registrant contact (the domain owner).

Default: true

", @@ -71,6 +91,16 @@ "UpdateDomainContactPrivacyRequest$TechPrivacy": "

Whether you want to conceal contact information from WHOIS queries. If you specify true, WHOIS (\"who is\") queries return contact information either for Amazon Registrar (for .com, .net, and .org domains) or for our registrar associate, Gandi (for all other TLDs). If you specify false, WHOIS queries return the information that you entered for the technical contact.

" } }, + "CancelDomainTransferToAnotherAwsAccountRequest": { + "base": "

The CancelDomainTransferToAnotherAwsAccount request includes the following element.

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

The CancelDomainTransferToAnotherAwsAccount response includes the following element.

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

The CheckDomainAvailability request contains the following elements.

", "refs": { @@ -103,9 +133,9 @@ "GetDomainDetailResponse$AdminContact": "

Provides details about the domain administrative contact.

", "GetDomainDetailResponse$RegistrantContact": "

Provides details about the domain registrant.

", "GetDomainDetailResponse$TechContact": "

Provides details about the domain technical contact.

", - "RegisterDomainRequest$AdminContact": "

Provides detailed contact information.

", - "RegisterDomainRequest$RegistrantContact": "

Provides detailed contact information.

", - "RegisterDomainRequest$TechContact": "

Provides detailed contact information.

", + "RegisterDomainRequest$AdminContact": "

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

", + "RegisterDomainRequest$RegistrantContact": "

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

", + "RegisterDomainRequest$TechContact": "

Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.

", "TransferDomainRequest$AdminContact": "

Provides detailed contact information.

", "TransferDomainRequest$RegistrantContact": "

Provides detailed contact information.

", "TransferDomainRequest$TechContact": "

Provides detailed contact information.

", @@ -133,7 +163,7 @@ "ContactType": { "base": null, "refs": { - "ContactDetail$ContactType": "

Indicates whether the contact is a person, company, association, or public organization. If you choose an option other than PERSON, you must enter an organization name, and you can't enable privacy protection for the contact.

" + "ContactDetail$ContactType": "

Indicates whether the contact is a person, company, association, or public organization. Note the following:

" } }, "CountryCode": { @@ -195,7 +225,7 @@ "DomainAvailability": { "base": null, "refs": { - "CheckDomainAvailabilityResponse$Availability": "

Whether the domain name is available for registering.

You can register only domains designated as AVAILABLE.

Valid values:

AVAILABLE

The domain name is available.

AVAILABLE_RESERVED

The domain name is reserved under specific conditions.

AVAILABLE_PREORDER

The domain name is available and can be preordered.

DONT_KNOW

The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDING

The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVED

The domain name has been reserved for another person or organization.

UNAVAILABLE

The domain name is not available.

UNAVAILABLE_PREMIUM

The domain name is not available.

UNAVAILABLE_RESTRICTED

The domain name is forbidden.

" + "CheckDomainAvailabilityResponse$Availability": "

Whether the domain name is available for registering.

You can register only domains designated as AVAILABLE.

Valid values:

AVAILABLE

The domain name is available.

AVAILABLE_RESERVED

The domain name is reserved under specific conditions.

AVAILABLE_PREORDER

The domain name is available and can be preordered.

DONT_KNOW

The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDING

The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVED

The domain name has been reserved for another person or organization.

UNAVAILABLE

The domain name is not available.

UNAVAILABLE_PREMIUM

The domain name is not available.

UNAVAILABLE_RESTRICTED

The domain name is forbidden.

" } }, "DomainLimitExceeded": { @@ -206,9 +236,11 @@ "DomainName": { "base": null, "refs": { - "BillingRecord$DomainName": "

The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guidezzz.

", - "CheckDomainAvailabilityRequest$DomainName": "

The name of the domain that you want to get availability for.

Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.

", - "CheckDomainTransferabilityRequest$DomainName": "

The name of the domain that you want to transfer to Amazon Route 53.

Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.

", + "AcceptDomainTransferFromAnotherAwsAccountRequest$DomainName": "

The name of the domain that was specified when another AWS account submitted a TransferDomainToAnotherAwsAccount request.

", + "BillingRecord$DomainName": "

The name of the domain that the billing record applies to. If the domain name contains characters other than a-z, 0-9, and - (hyphen), such as an internationalized domain name, then this value is in Punycode. For more information, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.

", + "CancelDomainTransferToAnotherAwsAccountRequest$DomainName": "

The name of the domain for which you want to cancel the transfer to another AWS account.

", + "CheckDomainAvailabilityRequest$DomainName": "

The name of the domain that you want to get availability for. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53. For more information, see Formatting Internationalized Domain Names.

", + "CheckDomainTransferabilityRequest$DomainName": "

The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

", "DeleteTagsForDomainRequest$DomainName": "

The domain for which you want to delete one or more tags.

", "DisableDomainAutoRenewRequest$DomainName": "

The name of the domain that you want to disable automatic renewal for.

", "DisableDomainTransferLockRequest$DomainName": "

The name of the domain that you want to remove the transfer lock for.

", @@ -220,15 +252,17 @@ "GetContactReachabilityStatusResponse$domainName": "

The domain name for which you requested the reachability status.

", "GetDomainDetailRequest$DomainName": "

The name of the domain that you want to get detailed information about.

", "GetDomainDetailResponse$DomainName": "

The name of a domain.

", - "GetDomainSuggestionsRequest$DomainName": "

A domain name that you want to use as the basis for a list of possible domain names. The domain name must contain a top-level domain (TLD), such as .com, that Amazon Route 53 supports. For a list of TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

", + "GetDomainSuggestionsRequest$DomainName": "

A domain name that you want to use as the basis for a list of possible domain names. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53.

", "GetOperationDetailResponse$DomainName": "

The name of a domain.

", "ListTagsForDomainRequest$DomainName": "

The domain for which you want to get a list of tags.

", - "RegisterDomainRequest$DomainName": "

The domain name that you want to register.

Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.

", + "RegisterDomainRequest$DomainName": "

The domain name that you want to register. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53. For more information, see Formatting Internationalized Domain Names.

", + "RejectDomainTransferFromAnotherAwsAccountRequest$DomainName": "

The name of the domain that was specified when another AWS account submitted a TransferDomainToAnotherAwsAccount request.

", "RenewDomainRequest$DomainName": "

The name of the domain that you want to renew.

", - "ResendContactReachabilityEmailRequest$domainName": "

The name of the domain for which you want Amazon Route 53 to resend a confirmation email to the registrant contact.

", + "ResendContactReachabilityEmailRequest$domainName": "

The name of the domain for which you want Route 53 to resend a confirmation email to the registrant contact.

", "ResendContactReachabilityEmailResponse$domainName": "

The domain name for which you requested a confirmation email.

", "RetrieveDomainAuthCodeRequest$DomainName": "

The name of the domain that you want to get an authorization code for.

", - "TransferDomainRequest$DomainName": "

The name of the domain that you want to transfer to Amazon Route 53.

Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.

", + "TransferDomainRequest$DomainName": "

The name of the domain that you want to transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

The domain name can contain only the following characters:

", + "TransferDomainToAnotherAwsAccountRequest$DomainName": "

The name of the domain that you want to transfer from the current AWS account to another account.

", "UpdateDomainContactPrivacyRequest$DomainName": "

The name of the domain that you want to update the privacy setting for.

", "UpdateDomainContactRequest$DomainName": "

The name of the domain that you want to update contact information for.

", "UpdateDomainNameserversRequest$DomainName": "

The name of the domain that you want to change name servers for.

", @@ -272,9 +306,9 @@ } }, "DomainTransferability": { - "base": "

A complex type that contains information about whether the specified domain can be transferred to Amazon Route 53.

", + "base": "

A complex type that contains information about whether the specified domain can be transferred to Route 53.

", "refs": { - "CheckDomainTransferabilityResponse$Transferability": "

A complex type that contains information about whether the specified domain can be transferred to Amazon Route 53.

" + "CheckDomainTransferabilityResponse$Transferability": "

A complex type that contains information about whether the specified domain can be transferred to Route 53.

" } }, "DuplicateRequest": { @@ -285,8 +319,8 @@ "DurationInYears": { "base": null, "refs": { - "RegisterDomainRequest$DurationInYears": "

The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Default: 1

", - "RenewDomainRequest$DurationInYears": "

The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Default: 1

", + "RegisterDomainRequest$DurationInYears": "

The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Default: 1

", + "RenewDomainRequest$DurationInYears": "

The number of years that you want to renew the domain for. The maximum number of years depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Default: 1

", "TransferDomainRequest$DurationInYears": "

The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain.

Default: 1

" } }, @@ -345,13 +379,13 @@ "ExtraParamName": { "base": null, "refs": { - "ExtraParam$Name": "

Name of the additional parameter required by the top-level domain. Here are the top-level domains that require additional parameters and which parameters they require:

In addition, many TLDs require VAT_NUMBER.

" + "ExtraParam$Name": "

The name of an additional parameter that is required by a top-level domain. Here are the top-level domains that require additional parameters and the names of the parameters that they require:

.com.au and .net.au
  • AU_ID_NUMBER

  • AU_ID_TYPE

    Valid values include the following:

    • ABN (Australian business number)

    • ACN (Australian company number)

    • TM (Trademark number)

.ca
  • BRAND_NUMBER

  • CA_BUSINESS_ENTITY_TYPE

    Valid values include the following:

    • BANK (Bank)

    • COMMERCIAL_COMPANY (Commercial company)

    • COMPANY (Company)

    • COOPERATION (Cooperation)

    • COOPERATIVE (Cooperative)

    • COOPRIX (Cooprix)

    • CORP (Corporation)

    • CREDIT_UNION (Credit union)

    • FOMIA (Federation of mutual insurance associations)

    • INC (Incorporated)

    • LTD (Limited)

    • LTEE (Limitée)

    • LLC (Limited liability corporation)

    • LLP (Limited liability partnership)

    • LTE (Lte.)

    • MBA (Mutual benefit association)

    • MIC (Mutual insurance company)

    • NFP (Not-for-profit corporation)

    • SA (S.A.)

    • SAVINGS_COMPANY (Savings company)

    • SAVINGS_UNION (Savings union)

    • SARL (Société à responsabilité limitée)

    • TRUST (Trust)

    • ULC (Unlimited liability corporation)

  • CA_LEGAL_TYPE

    When ContactType is PERSON, valid values include the following:

    • ABO (Aboriginal Peoples indigenous to Canada)

    • CCT (Canadian citizen)

    • LGR (Legal Representative of a Canadian Citizen or Permanent Resident)

    • RES (Permanent resident of Canada)

    When ContactType is a value other than PERSON, valid values include the following:

    • ASS (Canadian unincorporated association)

    • CCO (Canadian corporation)

    • EDU (Canadian educational institution)

    • GOV (Government or government entity in Canada)

    • HOP (Canadian Hospital)

    • INB (Indian Band recognized by the Indian Act of Canada)

    • LAM (Canadian Library, Archive, or Museum)

    • MAJ (Her/His Majesty the Queen/King)

    • OMK (Official mark registered in Canada)

    • PLT (Canadian Political Party)

    • PRT (Partnership Registered in Canada)

    • TDM (Trademark registered in Canada)

    • TRD (Canadian Trade Union)

    • TRS (Trust established in Canada)

.es
  • ES_IDENTIFICATION

    Specify the applicable value:

    • For contacts inside Spain: Enter your passport ID.

    • For contacts outside of Spain: Enter the VAT identification number for the company.

      For .es domains, the value of ContactType must be PERSON.

  • ES_IDENTIFICATION_TYPE

    Valid values include the following:

    • DNI_AND_NIF (For Spanish contacts)

    • NIE (For foreigners with legal residence)

    • OTHER (For contacts outside of Spain)

  • ES_LEGAL_FORM

    Valid values include the following:

    • ASSOCIATION

    • CENTRAL_GOVERNMENT_BODY

    • CIVIL_SOCIETY

    • COMMUNITY_OF_OWNERS

    • COMMUNITY_PROPERTY

    • CONSULATE

    • COOPERATIVE

    • DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL

    • ECONOMIC_INTEREST_GROUP

    • EMBASSY

    • ENTITY_MANAGING_NATURAL_AREAS

    • FARM_PARTNERSHIP

    • FOUNDATION

    • GENERAL_AND_LIMITED_PARTNERSHIP

    • GENERAL_PARTNERSHIP

    • INDIVIDUAL

    • LIMITED_COMPANY

    • LOCAL_AUTHORITY

    • LOCAL_PUBLIC_ENTITY

    • MUTUAL_INSURANCE_COMPANY

    • NATIONAL_PUBLIC_ENTITY

    • ORDER_OR_RELIGIOUS_INSTITUTION

    • OTHERS (Only for contacts outside of Spain)

    • POLITICAL_PARTY

    • PROFESSIONAL_ASSOCIATION

    • PUBLIC_LAW_ASSOCIATION

    • PUBLIC_LIMITED_COMPANY

    • REGIONAL_GOVERNMENT_BODY

    • REGIONAL_PUBLIC_ENTITY

    • SAVINGS_BANK

    • SPANISH_OFFICE

    • SPORTS_ASSOCIATION

    • SPORTS_FEDERATION

    • SPORTS_LIMITED_COMPANY

    • TEMPORARY_ALLIANCE_OF_ENTERPRISES

    • TRADE_UNION

    • WORKER_OWNED_COMPANY

    • WORKER_OWNED_LIMITED_COMPANY

.fi
  • BIRTH_DATE_IN_YYYY_MM_DD

  • FI_BUSINESS_NUMBER

  • FI_ID_NUMBER

  • FI_NATIONALITY

    Valid values include the following:

    • FINNISH

    • NOT_FINNISH

  • FI_ORGANIZATION_TYPE

    Valid values include the following:

    • COMPANY

    • CORPORATION

    • GOVERNMENT

    • INSTITUTION

    • POLITICAL_PARTY

    • PUBLIC_COMMUNITY

    • TOWNSHIP

.fr
  • BIRTH_CITY

  • BIRTH_COUNTRY

  • BIRTH_DATE_IN_YYYY_MM_DD

  • BIRTH_DEPARTMENT: Specify the INSEE code that corresponds with the department where the contact was born. If the contact was born somewhere other than France or its overseas departments, specify 99. For more information, including a list of departments and the corresponding INSEE numbers, see the Wikipedia entry Departments of France.

  • BRAND_NUMBER

.it
  • IT_NATIONALITY

  • IT_PIN

  • IT_REGISTRANT_ENTITY_TYPE

    Valid values include the following:

    • FOREIGNERS

    • FREELANCE_WORKERS (Freelance workers and professionals)

    • ITALIAN_COMPANIES (Italian companies and one-person companies)

    • NON_PROFIT_ORGANIZATIONS

    • OTHER_SUBJECTS

    • PUBLIC_ORGANIZATIONS

.ru
  • BIRTH_DATE_IN_YYYY_MM_DD

  • RU_PASSPORT_DATA

.se
  • BIRTH_COUNTRY

  • SE_ID_NUMBER

.sg
  • SG_ID_NUMBER

.co.uk, .me.uk, and .org.uk
  • UK_CONTACT_TYPE

    Valid values include the following:

    • CRC (UK Corporation by Royal Charter)

    • FCORP (Non-UK Corporation)

    • FIND (Non-UK Individual, representing self)

    • FOTHER (Non-UK Entity that does not fit into any other category)

    • GOV (UK Government Body)

    • IND (UK Individual (representing self))

    • IP (UK Industrial/Provident Registered Company)

    • LLP (UK Limited Liability Partnership)

    • LTD (UK Limited Company)

    • OTHER (UK Entity that does not fit into any other category)

    • PLC (UK Public Limited Company)

    • PTNR (UK Partnership)

    • RCHAR (UK Registered Charity)

    • SCH (UK School)

    • STAT (UK Statutory Body)

    • STRA (UK Sole Trader)

  • UK_COMPANY_NUMBER

In addition, many TLDs require a VAT_NUMBER.

" } }, "ExtraParamValue": { "base": null, "refs": { - "ExtraParam$Value": "

Values corresponding to the additional parameter names required by some top-level domains.

" + "ExtraParam$Value": "

The value that corresponds with the name of an extra parameter.

" } }, "FIAuthKey": { @@ -391,7 +425,7 @@ } }, "GetOperationDetailRequest": { - "base": "

The GetOperationDetail request includes the following element.

", + "base": "

The GetOperationDetail request includes the following element.

", "refs": { } }, @@ -421,11 +455,11 @@ "Integer": { "base": null, "refs": { - "GetDomainSuggestionsRequest$SuggestionCount": "

The number of suggested domain names that you want Amazon Route 53 to return.

" + "GetDomainSuggestionsRequest$SuggestionCount": "

The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.

" } }, "InvalidInput": { - "base": "

The requested item is not acceptable. For example, for an OperationId it might refer to the ID of an operation that is already completed. For a domain name, it might not be a valid domain name or belong to the requester account.

", + "base": "

The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid.

", "refs": { } }, @@ -490,17 +524,21 @@ "OperationId": { "base": null, "refs": { - "DisableDomainTransferLockResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", + "AcceptDomainTransferFromAnotherAwsAccountResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", + "CancelDomainTransferToAnotherAwsAccountResponse$OperationId": "

The identifier that TransferDomainToAnotherAwsAccount returned to track the progress of the request. Because the transfer request was canceled, the value is no longer valid, and you can't use GetOperationDetail to query the operation status.

", + "DisableDomainTransferLockResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", "EnableDomainTransferLockResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", - "GetOperationDetailRequest$OperationId": "

The identifier for the operation for which you want to get the status. Amazon Route 53 returned the identifier in the response to the original request.

", + "GetOperationDetailRequest$OperationId": "

The identifier for the operation for which you want to get the status. Route 53 returned the identifier in the response to the original request.

", "GetOperationDetailResponse$OperationId": "

The identifier for the operation.

", "OperationSummary$OperationId": "

Identifier returned to track the requested action.

", - "RegisterDomainResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", - "RenewDomainResponse$OperationId": "

The identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", - "TransferDomainResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", + "RegisterDomainResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", + "RejectDomainTransferFromAnotherAwsAccountResponse$OperationId": "

The identifier that TransferDomainToAnotherAwsAccount returned to track the progress of the request. Because the transfer request was rejected, the value is no longer valid, and you can't use GetOperationDetail to query the operation status.

", + "RenewDomainResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", + "TransferDomainResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", + "TransferDomainToAnotherAwsAccountResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", "UpdateDomainContactPrivacyResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", - "UpdateDomainContactResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

", - "UpdateDomainNameserversResponse$OperationId": "

Identifier for tracking the progress of the request. To use this ID to query the operation status, use GetOperationDetail.

" + "UpdateDomainContactResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

", + "UpdateDomainNameserversResponse$OperationId": "

Identifier for tracking the progress of the request. To query the operation status, use GetOperationDetail.

" } }, "OperationLimitExceeded": { @@ -600,6 +638,16 @@ "GetDomainDetailResponse$RegistryDomainId": "

Reserved for future use.

" } }, + "RejectDomainTransferFromAnotherAwsAccountRequest": { + "base": "

The RejectDomainTransferFromAnotherAwsAccount request includes the following element.

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

The RejectDomainTransferFromAnotherAwsAccount response includes the following element.

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

A RenewDomain request includes the number of years that you want to renew for and the current expiration year.

", "refs": { @@ -613,7 +661,7 @@ "Reseller": { "base": null, "refs": { - "GetDomainDetailResponse$Reseller": "

Reseller of the domain. Domains registered or transferred using Amazon Route 53 domains will have \"Amazon\" as the reseller.

" + "GetDomainDetailResponse$Reseller": "

Reseller of the domain. Domains registered or transferred using Route 53 domains will have \"Amazon\" as the reseller.

" } }, "ResendContactReachabilityEmailRequest": { @@ -645,7 +693,9 @@ "String": { "base": null, "refs": { - "DomainSuggestion$Availability": "

Whether the domain name is available for registering.

You can register only the domains that are designated as AVAILABLE.

Valid values:

AVAILABLE

The domain name is available.

AVAILABLE_RESERVED

The domain name is reserved under specific conditions.

AVAILABLE_PREORDER

The domain name is available and can be preordered.

DONT_KNOW

The TLD registry didn't reply with a definitive answer about whether the domain name is available. Amazon Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDING

The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVED

The domain name has been reserved for another person or organization.

UNAVAILABLE

The domain name is not available.

UNAVAILABLE_PREMIUM

The domain name is not available.

UNAVAILABLE_RESTRICTED

The domain name is forbidden.

" + "AcceptDomainTransferFromAnotherAwsAccountRequest$Password": "

The password that was returned by the TransferDomainToAnotherAwsAccount request.

", + "DomainSuggestion$Availability": "

Whether the domain name is available for registering.

You can register only the domains that are designated as AVAILABLE.

Valid values:

AVAILABLE

The domain name is available.

AVAILABLE_RESERVED

The domain name is reserved under specific conditions.

AVAILABLE_PREORDER

The domain name is available and can be preordered.

DONT_KNOW

The TLD registry didn't reply with a definitive answer about whether the domain name is available. Route 53 can return this response for a variety of reasons, for example, the registry is performing maintenance. Try again later.

PENDING

The TLD registry didn't return a response in the expected amount of time. When the response is delayed, it usually takes just a few extra seconds. You can resubmit the request immediately.

RESERVED

The domain name has been reserved for another person or organization.

UNAVAILABLE

The domain name is not available.

UNAVAILABLE_PREMIUM

The domain name is not available.

UNAVAILABLE_RESTRICTED

The domain name is forbidden.

", + "TransferDomainToAnotherAwsAccountResponse$Password": "

To finish transferring a domain to another AWS account, the account that the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount request. The request must include the value of the Password element that was returned in the TransferDomainToAnotherAwsAccount response.

" } }, "TLDRulesViolation": { @@ -689,15 +739,15 @@ "base": null, "refs": { "BillingRecord$BillDate": "

The date that the operation was billed, in Unix format.

", - "DomainSummary$Expiry": "

Expiration date of the domain in Coordinated Universal Time (UTC).

", - "GetDomainDetailResponse$CreationDate": "

The date when the domain was created as found in the response to a WHOIS query. The date and time is in Coordinated Universal time (UTC).

", - "GetDomainDetailResponse$UpdatedDate": "

The last updated date of the domain as found in the response to a WHOIS query. The date and time is in Coordinated Universal time (UTC).

", - "GetDomainDetailResponse$ExpirationDate": "

The date when the registration for the domain is set to expire. The date and time is in Coordinated Universal time (UTC).

", + "DomainSummary$Expiry": "

Expiration date of the domain in Unix time format and Coordinated Universal Time (UTC).

", + "GetDomainDetailResponse$CreationDate": "

The date when the domain was created as found in the response to a WHOIS query. The date and time is in Unix time format and Coordinated Universal time (UTC).

", + "GetDomainDetailResponse$UpdatedDate": "

The last updated date of the domain as found in the response to a WHOIS query. The date and time is in Unix time format and Coordinated Universal time (UTC).

", + "GetDomainDetailResponse$ExpirationDate": "

The date when the registration for the domain is set to expire. The date and time is in Unix time format and Coordinated Universal time (UTC).

", "GetOperationDetailResponse$SubmittedDate": "

The date when the request was submitted.

", - "ListOperationsRequest$SubmittedSince": "

An optional parameter that lets you get information about all the operations that you submitted after a specified date and time. Specify the date and time in Coordinated Universal time (UTC).

", + "ListOperationsRequest$SubmittedSince": "

An optional parameter that lets you get information about all the operations that you submitted after a specified date and time. Specify the date and time in Unix time format and Coordinated Universal time (UTC).

", "OperationSummary$SubmittedDate": "

The date when the request was submitted.

", - "ViewBillingRequest$Start": "

The beginning date and time for the time period for which you want a list of billing records. Specify the date and time in Coordinated Universal time (UTC).

", - "ViewBillingRequest$End": "

The end date and time for the time period for which you want a list of billing records. Specify the date and time in Coordinated Universal time (UTC).

" + "ViewBillingRequest$Start": "

The beginning date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).

", + "ViewBillingRequest$End": "

The end date and time for the time period for which you want a list of billing records. Specify the date and time in Unix time format and Coordinated Universal time (UTC).

" } }, "TransferDomainRequest": { @@ -706,12 +756,22 @@ } }, "TransferDomainResponse": { - "base": "

The TranserDomain response includes the following element.

", + "base": "

The TransferDomain response includes the following element.

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

The TransferDomainToAnotherAwsAccount request includes the following elements.

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

The TransferDomainToAnotherAwsAccount response includes the following elements.

", "refs": { } }, "Transferable": { - "base": "

Whether the domain name can be transferred to Amazon Route 53.

You can transfer only domains that have a value of TRANSFERABLE for Transferable.

Valid values:

TRANSFERABLE

The domain name can be transferred to Amazon Route 53.

UNTRANSFERRABLE

The domain name can't be transferred to Amazon Route 53.

DONT_KNOW

Reserved for future use.

", + "base": "

Whether the domain name can be transferred to Route 53.

You can transfer only domains that have a value of TRANSFERABLE for Transferable.

Valid values:

TRANSFERABLE

The domain name can be transferred to Route 53.

UNTRANSFERRABLE

The domain name can't be transferred to Route 53.

DONT_KNOW

Reserved for future use.

", "refs": { "DomainTransferability$Transferable": null } diff --git a/models/apis/route53domains/2014-05-15/smoke.json b/models/apis/route53domains/2014-05-15/smoke.json new file mode 100644 index 00000000000..0b6a1ed3317 --- /dev/null +++ b/models/apis/route53domains/2014-05-15/smoke.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "defaultRegion": "us-east-1", + "testCases": [ + { + "operationName": "ListDomains", + "input": {}, + "errorExpectedFromService": false + }, + { + "operationName": "GetDomainDetail", + "input": { + "DomainName": "fake-domain-name" + }, + "errorExpectedFromService": true + } + ] +} diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 1dac9933cd5..e00dc7f0dc0 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1570,6 +1570,36 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-ca-central-1" : { + "credentialScope" : { + "region" : "ca-central-1" + }, + "hostname" : "ds-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "hostname" : "ds-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "ds-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "hostname" : "ds-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "hostname" : "ds-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, @@ -6443,6 +6473,18 @@ }, "ds" : { "endpoints" : { + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "hostname" : "ds-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "hostname" : "ds-fips.us-gov-west-1.amazonaws.com" + }, "us-gov-east-1" : { }, "us-gov-west-1" : { } } diff --git a/service/costexplorer/api.go b/service/costexplorer/api.go index 6603d2bb261..17b0940c012 100644 --- a/service/costexplorer/api.go +++ b/service/costexplorer/api.go @@ -4958,6 +4958,13 @@ func (s *GetReservationUtilizationOutput) SetUtilizationsByTime(v []*Utilization type GetRightsizingRecommendationInput struct { _ struct{} `type:"structure"` + // Enables you to customize recommendations across two attributes. You can choose + // to view recommendations for instances within the same instance families or + // across different instance families. You can also choose to view your estimated + // savings associated with recommendations with consideration of existing Savings + // Plans or RI benefits, or niether. + Configuration *RightsizingRecommendationConfiguration `type:"structure"` + // Use Expression to filter by cost or by usage. There are two patterns: // // * Simple dimension values - You can set the dimension name and values @@ -5019,6 +5026,11 @@ func (s *GetRightsizingRecommendationInput) Validate() error { if s.Service == nil { invalidParams.Add(request.NewErrParamRequired("Service")) } + if s.Configuration != nil { + if err := s.Configuration.Validate(); err != nil { + invalidParams.AddNested("Configuration", err.(request.ErrInvalidParams)) + } + } if s.Filter != nil { if err := s.Filter.Validate(); err != nil { invalidParams.AddNested("Filter", err.(request.ErrInvalidParams)) @@ -5031,6 +5043,12 @@ func (s *GetRightsizingRecommendationInput) Validate() error { return nil } +// SetConfiguration sets the Configuration field's value. +func (s *GetRightsizingRecommendationInput) SetConfiguration(v *RightsizingRecommendationConfiguration) *GetRightsizingRecommendationInput { + s.Configuration = v + return s +} + // SetFilter sets the Filter field's value. func (s *GetRightsizingRecommendationInput) SetFilter(v *Expression) *GetRightsizingRecommendationInput { s.Filter = v @@ -5058,6 +5076,13 @@ func (s *GetRightsizingRecommendationInput) SetService(v string) *GetRightsizing type GetRightsizingRecommendationOutput struct { _ struct{} `type:"structure"` + // Enables you to customize recommendations across two attributes. You can choose + // to view recommendations for instances within the same instance families or + // across different instance families. You can also choose to view your estimated + // savings associated with recommendations with consideration of existing Savings + // Plans or RI benefits, or niether. + Configuration *RightsizingRecommendationConfiguration `type:"structure"` + // Information regarding this specific recommendation set. Metadata *RightsizingRecommendationMetadata `type:"structure"` @@ -5081,6 +5106,12 @@ func (s GetRightsizingRecommendationOutput) GoString() string { return s.String() } +// SetConfiguration sets the Configuration field's value. +func (s *GetRightsizingRecommendationOutput) SetConfiguration(v *RightsizingRecommendationConfiguration) *GetRightsizingRecommendationOutput { + s.Configuration = v + return s +} + // SetMetadata sets the Metadata field's value. func (s *GetRightsizingRecommendationOutput) SetMetadata(v *RightsizingRecommendationMetadata) *GetRightsizingRecommendationOutput { s.Metadata = v @@ -7424,6 +7455,65 @@ func (s *RightsizingRecommendation) SetTerminateRecommendationDetail(v *Terminat return s } +// Enables you to customize recommendations across two attributes. You can choose +// to view recommendations for instances within the same instance families or +// across different instance families. You can also choose to view your estimated +// savings associated with recommendations with consideration of existing Savings +// Plans or RI benefits, or niether. +type RightsizingRecommendationConfiguration struct { + _ struct{} `type:"structure"` + + // The option to consider RI or Savings Plans discount benefits in your savings + // calculation. The default value is TRUE. + // + // BenefitsConsidered is a required field + BenefitsConsidered *bool `type:"boolean" required:"true"` + + // The option to see recommendations within the same instance family, or recommendations + // for instances across other families. The default value is SAME_INSTANCE_FAMILY. + // + // RecommendationTarget is a required field + RecommendationTarget *string `type:"string" required:"true" enum:"RecommendationTarget"` +} + +// String returns the string representation +func (s RightsizingRecommendationConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RightsizingRecommendationConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RightsizingRecommendationConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RightsizingRecommendationConfiguration"} + if s.BenefitsConsidered == nil { + invalidParams.Add(request.NewErrParamRequired("BenefitsConsidered")) + } + if s.RecommendationTarget == nil { + invalidParams.Add(request.NewErrParamRequired("RecommendationTarget")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBenefitsConsidered sets the BenefitsConsidered field's value. +func (s *RightsizingRecommendationConfiguration) SetBenefitsConsidered(v bool) *RightsizingRecommendationConfiguration { + s.BenefitsConsidered = &v + return s +} + +// SetRecommendationTarget sets the RecommendationTarget field's value. +func (s *RightsizingRecommendationConfiguration) SetRecommendationTarget(v string) *RightsizingRecommendationConfiguration { + s.RecommendationTarget = &v + return s +} + // Metadata for this recommendation set. type RightsizingRecommendationMetadata struct { _ struct{} `type:"structure"` @@ -9048,6 +9138,14 @@ const ( PaymentOptionHeavyUtilization = "HEAVY_UTILIZATION" ) +const ( + // RecommendationTargetSameInstanceFamily is a RecommendationTarget enum value + RecommendationTargetSameInstanceFamily = "SAME_INSTANCE_FAMILY" + + // RecommendationTargetCrossInstanceFamily is a RecommendationTarget enum value + RecommendationTargetCrossInstanceFamily = "CROSS_INSTANCE_FAMILY" +) + const ( // RightsizingTypeTerminate is a RightsizingType enum value RightsizingTypeTerminate = "TERMINATE" diff --git a/service/emr/api.go b/service/emr/api.go index 8b1433e8fab..3633bd5f97e 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -1059,6 +1059,80 @@ func (c *EMR) GetBlockPublicAccessConfigurationWithContext(ctx aws.Context, inpu return out, req.Send() } +const opGetManagedScalingPolicy = "GetManagedScalingPolicy" + +// GetManagedScalingPolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetManagedScalingPolicy 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 GetManagedScalingPolicy for more information on using the GetManagedScalingPolicy +// 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 GetManagedScalingPolicyRequest method. +// req, resp := client.GetManagedScalingPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetManagedScalingPolicy +func (c *EMR) GetManagedScalingPolicyRequest(input *GetManagedScalingPolicyInput) (req *request.Request, output *GetManagedScalingPolicyOutput) { + op := &request.Operation{ + Name: opGetManagedScalingPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetManagedScalingPolicyInput{} + } + + output = &GetManagedScalingPolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetManagedScalingPolicy API operation for Amazon Elastic MapReduce. +// +// Fetches the attached managed scaling policy for an Amazon EMR cluster. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic MapReduce's +// API operation GetManagedScalingPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetManagedScalingPolicy +func (c *EMR) GetManagedScalingPolicy(input *GetManagedScalingPolicyInput) (*GetManagedScalingPolicyOutput, error) { + req, out := c.GetManagedScalingPolicyRequest(input) + return out, req.Send() +} + +// GetManagedScalingPolicyWithContext is the same as GetManagedScalingPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetManagedScalingPolicy 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 *EMR) GetManagedScalingPolicyWithContext(ctx aws.Context, input *GetManagedScalingPolicyInput, opts ...request.Option) (*GetManagedScalingPolicyOutput, error) { + req, out := c.GetManagedScalingPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListBootstrapActions = "ListBootstrapActions" // ListBootstrapActionsRequest generates a "aws/request.Request" representing the @@ -2473,6 +2547,84 @@ func (c *EMR) PutBlockPublicAccessConfigurationWithContext(ctx aws.Context, inpu return out, req.Send() } +const opPutManagedScalingPolicy = "PutManagedScalingPolicy" + +// PutManagedScalingPolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutManagedScalingPolicy 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 PutManagedScalingPolicy for more information on using the PutManagedScalingPolicy +// 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 PutManagedScalingPolicyRequest method. +// req, resp := client.PutManagedScalingPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutManagedScalingPolicy +func (c *EMR) PutManagedScalingPolicyRequest(input *PutManagedScalingPolicyInput) (req *request.Request, output *PutManagedScalingPolicyOutput) { + op := &request.Operation{ + Name: opPutManagedScalingPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutManagedScalingPolicyInput{} + } + + output = &PutManagedScalingPolicyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PutManagedScalingPolicy API operation for Amazon Elastic MapReduce. +// +// Creates or updates a managed scaling policy for an Amazon EMR cluster. The +// managed scaling policy defines the limits for resources, such as EC2 instances +// that can be added or terminated from a cluster. The policy only applies to +// the core and task nodes. The master node cannot be scaled after initial configuration. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic MapReduce's +// API operation PutManagedScalingPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutManagedScalingPolicy +func (c *EMR) PutManagedScalingPolicy(input *PutManagedScalingPolicyInput) (*PutManagedScalingPolicyOutput, error) { + req, out := c.PutManagedScalingPolicyRequest(input) + return out, req.Send() +} + +// PutManagedScalingPolicyWithContext is the same as PutManagedScalingPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See PutManagedScalingPolicy 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 *EMR) PutManagedScalingPolicyWithContext(ctx aws.Context, input *PutManagedScalingPolicyInput, opts ...request.Option) (*PutManagedScalingPolicyOutput, error) { + req, out := c.PutManagedScalingPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemoveAutoScalingPolicy = "RemoveAutoScalingPolicy" // RemoveAutoScalingPolicyRequest generates a "aws/request.Request" representing the @@ -2549,6 +2701,81 @@ func (c *EMR) RemoveAutoScalingPolicyWithContext(ctx aws.Context, input *RemoveA return out, req.Send() } +const opRemoveManagedScalingPolicy = "RemoveManagedScalingPolicy" + +// RemoveManagedScalingPolicyRequest generates a "aws/request.Request" representing the +// client's request for the RemoveManagedScalingPolicy 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 RemoveManagedScalingPolicy for more information on using the RemoveManagedScalingPolicy +// 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 RemoveManagedScalingPolicyRequest method. +// req, resp := client.RemoveManagedScalingPolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveManagedScalingPolicy +func (c *EMR) RemoveManagedScalingPolicyRequest(input *RemoveManagedScalingPolicyInput) (req *request.Request, output *RemoveManagedScalingPolicyOutput) { + op := &request.Operation{ + Name: opRemoveManagedScalingPolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RemoveManagedScalingPolicyInput{} + } + + output = &RemoveManagedScalingPolicyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// RemoveManagedScalingPolicy API operation for Amazon Elastic MapReduce. +// +// Removes a managed scaling policy from a specified EMR cluster. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic MapReduce's +// API operation RemoveManagedScalingPolicy for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveManagedScalingPolicy +func (c *EMR) RemoveManagedScalingPolicy(input *RemoveManagedScalingPolicyInput) (*RemoveManagedScalingPolicyOutput, error) { + req, out := c.RemoveManagedScalingPolicyRequest(input) + return out, req.Send() +} + +// RemoveManagedScalingPolicyWithContext is the same as RemoveManagedScalingPolicy with the addition of +// the ability to pass a context and additional request options. +// +// See RemoveManagedScalingPolicy 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 *EMR) RemoveManagedScalingPolicyWithContext(ctx aws.Context, input *RemoveManagedScalingPolicyInput, opts ...request.Option) (*RemoveManagedScalingPolicyOutput, error) { + req, out := c.RemoveManagedScalingPolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRemoveTags = "RemoveTags" // RemoveTagsRequest generates a "aws/request.Request" representing the @@ -4646,6 +4873,97 @@ func (s *Command) SetScriptPath(v string) *Command { return s } +// The EC2 unit limits for a managed scaling policy. The managed scaling activity +// of a cluster can not be above or below these limits. The limit only applies +// to the core and task nodes. The master node cannot be scaled after initial +// configuration. +type ComputeLimits struct { + _ struct{} `type:"structure"` + + // The upper boundary of EC2 units. It is measured through VCPU cores or instances + // for instance groups and measured through units for instance fleets. Managed + // scaling activities are not allowed beyond this boundary. The limit only applies + // to the core and task nodes. The master node cannot be scaled after initial + // configuration. + // + // MaximumCapacityUnits is a required field + MaximumCapacityUnits *int64 `type:"integer" required:"true"` + + // The upper boundary of on-demand EC2 units. It is measured through VCPU cores + // or instances for instance groups and measured through units for instance + // fleets. The on-demand units are not allowed to scale beyond this boundary. + // The limit only applies to the core and task nodes. The master node cannot + // be scaled after initial configuration. + MaximumOnDemandCapacityUnits *int64 `type:"integer"` + + // The lower boundary of EC2 units. It is measured through VCPU cores or instances + // for instance groups and measured through units for instance fleets. Managed + // scaling activities are not allowed beyond this boundary. The limit only applies + // to the core and task nodes. The master node cannot be scaled after initial + // configuration. + // + // MinimumCapacityUnits is a required field + MinimumCapacityUnits *int64 `type:"integer" required:"true"` + + // The unit type used for specifying a managed scaling policy. + // + // UnitType is a required field + UnitType *string `type:"string" required:"true" enum:"ComputeLimitsUnitType"` +} + +// String returns the string representation +func (s ComputeLimits) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ComputeLimits) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ComputeLimits) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ComputeLimits"} + if s.MaximumCapacityUnits == nil { + invalidParams.Add(request.NewErrParamRequired("MaximumCapacityUnits")) + } + if s.MinimumCapacityUnits == nil { + invalidParams.Add(request.NewErrParamRequired("MinimumCapacityUnits")) + } + if s.UnitType == nil { + invalidParams.Add(request.NewErrParamRequired("UnitType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaximumCapacityUnits sets the MaximumCapacityUnits field's value. +func (s *ComputeLimits) SetMaximumCapacityUnits(v int64) *ComputeLimits { + s.MaximumCapacityUnits = &v + return s +} + +// SetMaximumOnDemandCapacityUnits sets the MaximumOnDemandCapacityUnits field's value. +func (s *ComputeLimits) SetMaximumOnDemandCapacityUnits(v int64) *ComputeLimits { + s.MaximumOnDemandCapacityUnits = &v + return s +} + +// SetMinimumCapacityUnits sets the MinimumCapacityUnits field's value. +func (s *ComputeLimits) SetMinimumCapacityUnits(v int64) *ComputeLimits { + s.MinimumCapacityUnits = &v + return s +} + +// SetUnitType sets the UnitType field's value. +func (s *ComputeLimits) SetUnitType(v string) *ComputeLimits { + s.UnitType = &v + return s +} + // // Amazon EMR releases 4.x or later. // @@ -5521,6 +5839,12 @@ type GetBlockPublicAccessConfigurationOutput struct { // and public access is allowed on this port. You can change this by updating // the block public access configuration to remove the exception. // + // For accounts that created clusters in a Region before November 25, 2019, + // block public access is disabled by default in that Region. To use this feature, + // you must manually enable and configure it. For accounts that did not create + // an EMR cluster in a Region before this date, block public access is enabled + // by default in that Region. + // // BlockPublicAccessConfiguration is a required field BlockPublicAccessConfiguration *BlockPublicAccessConfiguration `type:"structure" required:"true"` @@ -5555,6 +5879,68 @@ func (s *GetBlockPublicAccessConfigurationOutput) SetBlockPublicAccessConfigurat return s } +type GetManagedScalingPolicyInput struct { + _ struct{} `type:"structure"` + + // Specifies the ID of the cluster for which the managed scaling policy will + // be fetched. + // + // ClusterId is a required field + ClusterId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s GetManagedScalingPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetManagedScalingPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetManagedScalingPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetManagedScalingPolicyInput"} + if s.ClusterId == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClusterId sets the ClusterId field's value. +func (s *GetManagedScalingPolicyInput) SetClusterId(v string) *GetManagedScalingPolicyInput { + s.ClusterId = &v + return s +} + +type GetManagedScalingPolicyOutput struct { + _ struct{} `type:"structure"` + + // Specifies the managed scaling policy that is attached to an Amazon EMR cluster. + ManagedScalingPolicy *ManagedScalingPolicy `type:"structure"` +} + +// String returns the string representation +func (s GetManagedScalingPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetManagedScalingPolicyOutput) GoString() string { + return s.String() +} + +// SetManagedScalingPolicy sets the ManagedScalingPolicy field's value. +func (s *GetManagedScalingPolicyOutput) SetManagedScalingPolicy(v *ManagedScalingPolicy) *GetManagedScalingPolicyOutput { + s.ManagedScalingPolicy = v + return s +} + // A job flow step consisting of a JAR file whose main function will be executed. // The main function submits a job for Hadoop to execute and waits for the job // to finish or fail. @@ -8933,6 +9319,51 @@ func (s *ListStepsOutput) SetSteps(v []*StepSummary) *ListStepsOutput { return s } +// Managed scaling policy for an Amazon EMR cluster. The policy specifies the +// limits for resources that can be added or terminated from a cluster. The +// policy only applies to the core and task nodes. The master node cannot be +// scaled after initial configuration. +type ManagedScalingPolicy struct { + _ struct{} `type:"structure"` + + // The EC2 unit limits for a managed scaling policy. The managed scaling activity + // of a cluster is not allowed to go above or below these limits. The limit + // only applies to the core and task nodes. The master node cannot be scaled + // after initial configuration. + ComputeLimits *ComputeLimits `type:"structure"` +} + +// String returns the string representation +func (s ManagedScalingPolicy) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ManagedScalingPolicy) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ManagedScalingPolicy) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ManagedScalingPolicy"} + if s.ComputeLimits != nil { + if err := s.ComputeLimits.Validate(); err != nil { + invalidParams.AddNested("ComputeLimits", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetComputeLimits sets the ComputeLimits field's value. +func (s *ManagedScalingPolicy) SetComputeLimits(v *ComputeLimits) *ManagedScalingPolicy { + s.ComputeLimits = v + return s +} + // A CloudWatch dimension, which is specified using a Key (known as a Name in // CloudWatch), Value pair. By default, Amazon EMR uses one dimension whose // Key is JobFlowID and Value is a variable representing the cluster ID, which @@ -9407,6 +9838,12 @@ type PutBlockPublicAccessConfigurationInput struct { // and public access is allowed on this port. You can change this by updating // BlockPublicSecurityGroupRules to remove the exception. // + // For accounts that created clusters in a Region before November 25, 2019, + // block public access is disabled by default in that Region. To use this feature, + // you must manually enable and configure it. For accounts that did not create + // an EMR cluster in a Region before this date, block public access is enabled + // by default in that Region. + // // BlockPublicAccessConfiguration is a required field BlockPublicAccessConfiguration *BlockPublicAccessConfiguration `type:"structure" required:"true"` } @@ -9459,6 +9896,77 @@ func (s PutBlockPublicAccessConfigurationOutput) GoString() string { return s.String() } +type PutManagedScalingPolicyInput struct { + _ struct{} `type:"structure"` + + // Specifies the ID of an EMR cluster where the managed scaling policy is attached. + // + // ClusterId is a required field + ClusterId *string `type:"string" required:"true"` + + // Specifies the constraints for the managed scaling policy. + // + // ManagedScalingPolicy is a required field + ManagedScalingPolicy *ManagedScalingPolicy `type:"structure" required:"true"` +} + +// String returns the string representation +func (s PutManagedScalingPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutManagedScalingPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutManagedScalingPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutManagedScalingPolicyInput"} + if s.ClusterId == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterId")) + } + if s.ManagedScalingPolicy == nil { + invalidParams.Add(request.NewErrParamRequired("ManagedScalingPolicy")) + } + if s.ManagedScalingPolicy != nil { + if err := s.ManagedScalingPolicy.Validate(); err != nil { + invalidParams.AddNested("ManagedScalingPolicy", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClusterId sets the ClusterId field's value. +func (s *PutManagedScalingPolicyInput) SetClusterId(v string) *PutManagedScalingPolicyInput { + s.ClusterId = &v + return s +} + +// SetManagedScalingPolicy sets the ManagedScalingPolicy field's value. +func (s *PutManagedScalingPolicyInput) SetManagedScalingPolicy(v *ManagedScalingPolicy) *PutManagedScalingPolicyInput { + s.ManagedScalingPolicy = v + return s +} + +type PutManagedScalingPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s PutManagedScalingPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PutManagedScalingPolicyOutput) GoString() string { + return s.String() +} + type RemoveAutoScalingPolicyInput struct { _ struct{} `type:"structure"` @@ -9526,6 +10034,59 @@ func (s RemoveAutoScalingPolicyOutput) GoString() string { return s.String() } +type RemoveManagedScalingPolicyInput struct { + _ struct{} `type:"structure"` + + // Specifies the ID of the cluster from which the managed scaling policy will + // be removed. + // + // ClusterId is a required field + ClusterId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s RemoveManagedScalingPolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RemoveManagedScalingPolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RemoveManagedScalingPolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RemoveManagedScalingPolicyInput"} + if s.ClusterId == nil { + invalidParams.Add(request.NewErrParamRequired("ClusterId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClusterId sets the ClusterId field's value. +func (s *RemoveManagedScalingPolicyInput) SetClusterId(v string) *RemoveManagedScalingPolicyInput { + s.ClusterId = &v + return s +} + +type RemoveManagedScalingPolicyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s RemoveManagedScalingPolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RemoveManagedScalingPolicyOutput) GoString() string { + return s.String() +} + // This input identifies a cluster and a list of tags to remove. type RemoveTagsInput struct { _ struct{} `type:"structure"` @@ -9663,6 +10224,9 @@ type RunJobFlowInput struct { // is not provided, logs are not created. LogUri *string `type:"string"` + // The specified managed scaling policy for an Amazon EMR cluster. + ManagedScalingPolicy *ManagedScalingPolicy `type:"structure"` + // The name of the job flow. // // Name is a required field @@ -9804,6 +10368,11 @@ func (s *RunJobFlowInput) Validate() error { invalidParams.AddNested("KerberosAttributes", err.(request.ErrInvalidParams)) } } + if s.ManagedScalingPolicy != nil { + if err := s.ManagedScalingPolicy.Validate(); err != nil { + invalidParams.AddNested("ManagedScalingPolicy", err.(request.ErrInvalidParams)) + } + } if s.Steps != nil { for i, v := range s.Steps { if v == nil { @@ -9893,6 +10462,12 @@ func (s *RunJobFlowInput) SetLogUri(v string) *RunJobFlowInput { return s } +// SetManagedScalingPolicy sets the ManagedScalingPolicy field's value. +func (s *RunJobFlowInput) SetManagedScalingPolicy(v *ManagedScalingPolicy) *RunJobFlowInput { + s.ManagedScalingPolicy = v + return s +} + // SetName sets the Name field's value. func (s *RunJobFlowInput) SetName(v string) *RunJobFlowInput { s.Name = &v @@ -11404,6 +11979,17 @@ const ( ComparisonOperatorLessThanOrEqual = "LESS_THAN_OR_EQUAL" ) +const ( + // ComputeLimitsUnitTypeInstanceFleetUnits is a ComputeLimitsUnitType enum value + ComputeLimitsUnitTypeInstanceFleetUnits = "InstanceFleetUnits" + + // ComputeLimitsUnitTypeInstances is a ComputeLimitsUnitType enum value + ComputeLimitsUnitTypeInstances = "Instances" + + // ComputeLimitsUnitTypeVcpu is a ComputeLimitsUnitType enum value + ComputeLimitsUnitTypeVcpu = "VCPU" +) + const ( // InstanceCollectionTypeInstanceFleet is a InstanceCollectionType enum value InstanceCollectionTypeInstanceFleet = "INSTANCE_FLEET" diff --git a/service/emr/emriface/interface.go b/service/emr/emriface/interface.go index 1e726df221f..ef1c0ec9dbd 100644 --- a/service/emr/emriface/interface.go +++ b/service/emr/emriface/interface.go @@ -108,6 +108,10 @@ type EMRAPI interface { GetBlockPublicAccessConfigurationWithContext(aws.Context, *emr.GetBlockPublicAccessConfigurationInput, ...request.Option) (*emr.GetBlockPublicAccessConfigurationOutput, error) GetBlockPublicAccessConfigurationRequest(*emr.GetBlockPublicAccessConfigurationInput) (*request.Request, *emr.GetBlockPublicAccessConfigurationOutput) + GetManagedScalingPolicy(*emr.GetManagedScalingPolicyInput) (*emr.GetManagedScalingPolicyOutput, error) + GetManagedScalingPolicyWithContext(aws.Context, *emr.GetManagedScalingPolicyInput, ...request.Option) (*emr.GetManagedScalingPolicyOutput, error) + GetManagedScalingPolicyRequest(*emr.GetManagedScalingPolicyInput) (*request.Request, *emr.GetManagedScalingPolicyOutput) + ListBootstrapActions(*emr.ListBootstrapActionsInput) (*emr.ListBootstrapActionsOutput, error) ListBootstrapActionsWithContext(aws.Context, *emr.ListBootstrapActionsInput, ...request.Option) (*emr.ListBootstrapActionsOutput, error) ListBootstrapActionsRequest(*emr.ListBootstrapActionsInput) (*request.Request, *emr.ListBootstrapActionsOutput) @@ -177,10 +181,18 @@ type EMRAPI interface { PutBlockPublicAccessConfigurationWithContext(aws.Context, *emr.PutBlockPublicAccessConfigurationInput, ...request.Option) (*emr.PutBlockPublicAccessConfigurationOutput, error) PutBlockPublicAccessConfigurationRequest(*emr.PutBlockPublicAccessConfigurationInput) (*request.Request, *emr.PutBlockPublicAccessConfigurationOutput) + PutManagedScalingPolicy(*emr.PutManagedScalingPolicyInput) (*emr.PutManagedScalingPolicyOutput, error) + PutManagedScalingPolicyWithContext(aws.Context, *emr.PutManagedScalingPolicyInput, ...request.Option) (*emr.PutManagedScalingPolicyOutput, error) + PutManagedScalingPolicyRequest(*emr.PutManagedScalingPolicyInput) (*request.Request, *emr.PutManagedScalingPolicyOutput) + RemoveAutoScalingPolicy(*emr.RemoveAutoScalingPolicyInput) (*emr.RemoveAutoScalingPolicyOutput, error) RemoveAutoScalingPolicyWithContext(aws.Context, *emr.RemoveAutoScalingPolicyInput, ...request.Option) (*emr.RemoveAutoScalingPolicyOutput, error) RemoveAutoScalingPolicyRequest(*emr.RemoveAutoScalingPolicyInput) (*request.Request, *emr.RemoveAutoScalingPolicyOutput) + RemoveManagedScalingPolicy(*emr.RemoveManagedScalingPolicyInput) (*emr.RemoveManagedScalingPolicyOutput, error) + RemoveManagedScalingPolicyWithContext(aws.Context, *emr.RemoveManagedScalingPolicyInput, ...request.Option) (*emr.RemoveManagedScalingPolicyOutput, error) + RemoveManagedScalingPolicyRequest(*emr.RemoveManagedScalingPolicyInput) (*request.Request, *emr.RemoveManagedScalingPolicyOutput) + RemoveTags(*emr.RemoveTagsInput) (*emr.RemoveTagsOutput, error) RemoveTagsWithContext(aws.Context, *emr.RemoveTagsInput, ...request.Option) (*emr.RemoveTagsOutput, error) RemoveTagsRequest(*emr.RemoveTagsInput) (*request.Request, *emr.RemoveTagsOutput) diff --git a/service/guardduty/api.go b/service/guardduty/api.go index 793dfc51c8e..b1e8e563acc 100644 --- a/service/guardduty/api.go +++ b/service/guardduty/api.go @@ -68,10 +68,10 @@ func (c *GuardDuty) AcceptInvitationRequest(input *AcceptInvitationInput) (req * // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation func (c *GuardDuty) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) { @@ -140,9 +140,9 @@ func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *re // ArchiveFindings API operation for Amazon GuardDuty. // -// Archives GuardDuty findings specified by the list of finding IDs. +// Archives GuardDuty findings that are specified by the list of finding IDs. // -// Only the master account can archive findings. Member accounts do not have +// Only the master account can archive findings. Member accounts don't have // permission to archive findings from their accounts. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -154,10 +154,10 @@ func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings func (c *GuardDuty) ArchiveFindings(input *ArchiveFindingsInput) (*ArchiveFindingsOutput, error) { @@ -227,8 +227,8 @@ func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *requ // // Creates a single Amazon GuardDuty detector. A detector is a resource that // represents the GuardDuty service. To start using GuardDuty, you must create -// a detector in each region that you enable the service. You can have only -// one detector per account per region. +// a detector in each Region where you enable the service. You can have only +// one detector per account per Region. // // 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 @@ -239,10 +239,10 @@ func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *requ // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector func (c *GuardDuty) CreateDetector(input *CreateDetectorInput) (*CreateDetectorOutput, error) { @@ -321,10 +321,10 @@ func (c *GuardDuty) CreateFilterRequest(input *CreateFilterInput) (req *request. // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilter func (c *GuardDuty) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error) { @@ -392,11 +392,11 @@ func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Re // CreateIPSet API operation for Amazon GuardDuty. // -// Creates a new IPSet, called Trusted IP list in the consoler user interface. -// An IPSet is a list IP addresses trusted for secure communication with AWS -// infrastructure and applications. GuardDuty does not generate findings for -// IP addresses included in IPSets. Only users from the master account can use -// this operation. +// Creates a new IPSet, which is called a trusted IP list in the console user +// interface. An IPSet is a list of IP addresses that are trusted for secure +// communication with AWS infrastructure and applications. GuardDuty doesn't +// generate findings for IP addresses that are included in IPSets. Only users +// from the master account can use this operation. // // 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 @@ -407,10 +407,10 @@ func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet func (c *GuardDuty) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error) { @@ -491,10 +491,10 @@ func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *reques // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers func (c *GuardDuty) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { @@ -562,7 +562,7 @@ func (c *GuardDuty) CreatePublishingDestinationRequest(input *CreatePublishingDe // CreatePublishingDestination API operation for Amazon GuardDuty. // -// Creates a publishing destination to send findings to. The resource to send +// Creates a publishing destination to export findings to. The resource to export // findings to must exist before you use this operation. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -574,10 +574,10 @@ func (c *GuardDuty) CreatePublishingDestinationRequest(input *CreatePublishingDe // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreatePublishingDestination func (c *GuardDuty) CreatePublishingDestination(input *CreatePublishingDestinationInput) (*CreatePublishingDestinationOutput, error) { @@ -659,10 +659,10 @@ func (c *GuardDuty) CreateSampleFindingsRequest(input *CreateSampleFindingsInput // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings func (c *GuardDuty) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error) { @@ -730,9 +730,9 @@ func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput // CreateThreatIntelSet API operation for Amazon GuardDuty. // -// Create a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP -// addresses. GuardDuty generates findings based on ThreatIntelSets. Only users -// of the master account can use this operation. +// Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious +// IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only +// users of the master account can use this operation. // // 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 @@ -743,10 +743,10 @@ func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet func (c *GuardDuty) CreateThreatIntelSet(input *CreateThreatIntelSetInput) (*CreateThreatIntelSetOutput, error) { @@ -814,7 +814,7 @@ func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (r // DeclineInvitations API operation for Amazon GuardDuty. // -// Declines invitations sent to the current member account by AWS account specified +// Declines invitations sent to the current member account by AWS accounts specified // by their account IDs. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -826,10 +826,10 @@ func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (r // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations func (c *GuardDuty) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) { @@ -898,7 +898,7 @@ func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *requ // DeleteDetector API operation for Amazon GuardDuty. // -// Deletes a Amazon GuardDuty detector specified by the detector ID. +// Deletes an Amazon GuardDuty detector that is specified by the detector ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -909,10 +909,10 @@ func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *requ // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector func (c *GuardDuty) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error) { @@ -992,10 +992,10 @@ func (c *GuardDuty) DeleteFilterRequest(input *DeleteFilterInput) (req *request. // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilter func (c *GuardDuty) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error) { @@ -1064,7 +1064,7 @@ func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Re // DeleteIPSet API operation for Amazon GuardDuty. // -// Deletes the IPSet specified by the ipSetId. IPSets are called Trusted IP +// Deletes the IPSet specified by the ipSetId. IPSets are called trusted IP // lists in the console user interface. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1076,10 +1076,10 @@ func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet func (c *GuardDuty) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error) { @@ -1159,10 +1159,10 @@ func (c *GuardDuty) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations func (c *GuardDuty) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) { @@ -1242,10 +1242,10 @@ func (c *GuardDuty) DeleteMembersRequest(input *DeleteMembersInput) (req *reques // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers func (c *GuardDuty) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error) { @@ -1325,10 +1325,10 @@ func (c *GuardDuty) DeletePublishingDestinationRequest(input *DeletePublishingDe // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeletePublishingDestination func (c *GuardDuty) DeletePublishingDestination(input *DeletePublishingDestinationInput) (*DeletePublishingDestinationOutput, error) { @@ -1397,7 +1397,7 @@ func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput // DeleteThreatIntelSet API operation for Amazon GuardDuty. // -// Deletes ThreatIntelSet specified by the ThreatIntelSet ID. +// Deletes the ThreatIntelSet specified by the ThreatIntelSet ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1408,10 +1408,10 @@ func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet func (c *GuardDuty) DeleteThreatIntelSet(input *DeleteThreatIntelSetInput) (*DeleteThreatIntelSetOutput, error) { @@ -1435,6 +1435,89 @@ func (c *GuardDuty) DeleteThreatIntelSetWithContext(ctx aws.Context, input *Dele return out, req.Send() } +const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" + +// DescribeOrganizationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeOrganizationConfiguration 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 DescribeOrganizationConfiguration for more information on using the DescribeOrganizationConfiguration +// 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 DescribeOrganizationConfigurationRequest method. +// req, resp := client.DescribeOrganizationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration +func (c *GuardDuty) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { + op := &request.Operation{ + Name: opDescribeOrganizationConfiguration, + HTTPMethod: "GET", + HTTPPath: "/detector/{detectorId}/admin", + } + + if input == nil { + input = &DescribeOrganizationConfigurationInput{} + } + + output = &DescribeOrganizationConfigurationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeOrganizationConfiguration API operation for Amazon GuardDuty. +// +// Returns information about the account selected as the delegated administrator +// for GuardDuty. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DescribeOrganizationConfiguration for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A bad request exception object. +// +// * InternalServerErrorException +// An internal server error exception object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration +func (c *GuardDuty) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { + req, out := c.DescribeOrganizationConfigurationRequest(input) + return out, req.Send() +} + +// DescribeOrganizationConfigurationWithContext is the same as DescribeOrganizationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeOrganizationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DescribeOrganizationConfigurationWithContext(ctx aws.Context, input *DescribeOrganizationConfigurationInput, opts ...request.Option) (*DescribeOrganizationConfigurationOutput, error) { + req, out := c.DescribeOrganizationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribePublishingDestination = "DescribePublishingDestination" // DescribePublishingDestinationRequest generates a "aws/request.Request" representing the @@ -1491,10 +1574,10 @@ func (c *GuardDuty) DescribePublishingDestinationRequest(input *DescribePublishi // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribePublishingDestination func (c *GuardDuty) DescribePublishingDestination(input *DescribePublishingDestinationInput) (*DescribePublishingDestinationOutput, error) { @@ -1518,6 +1601,90 @@ func (c *GuardDuty) DescribePublishingDestinationWithContext(ctx aws.Context, in return out, req.Send() } +const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount" + +// DisableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the +// client's request for the DisableOrganizationAdminAccount 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 DisableOrganizationAdminAccount for more information on using the DisableOrganizationAdminAccount +// 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 DisableOrganizationAdminAccountRequest method. +// req, resp := client.DisableOrganizationAdminAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisableOrganizationAdminAccount +func (c *GuardDuty) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) { + op := &request.Operation{ + Name: opDisableOrganizationAdminAccount, + HTTPMethod: "POST", + HTTPPath: "/admin/disable", + } + + if input == nil { + input = &DisableOrganizationAdminAccountInput{} + } + + output = &DisableOrganizationAdminAccountOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DisableOrganizationAdminAccount API operation for Amazon GuardDuty. +// +// Disables GuardDuty administrator permissions for an AWS account within the +// Organization. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation DisableOrganizationAdminAccount for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A bad request exception object. +// +// * InternalServerErrorException +// An internal server error exception object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisableOrganizationAdminAccount +func (c *GuardDuty) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) { + req, out := c.DisableOrganizationAdminAccountRequest(input) + return out, req.Send() +} + +// DisableOrganizationAdminAccountWithContext is the same as DisableOrganizationAdminAccount with the addition of +// the ability to pass a context and additional request options. +// +// See DisableOrganizationAdminAccount for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) DisableOrganizationAdminAccountWithContext(ctx aws.Context, input *DisableOrganizationAdminAccountInput, opts ...request.Option) (*DisableOrganizationAdminAccountOutput, error) { + req, out := c.DisableOrganizationAdminAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount" // DisassociateFromMasterAccountRequest generates a "aws/request.Request" representing the @@ -1574,10 +1741,10 @@ func (c *GuardDuty) DisassociateFromMasterAccountRequest(input *DisassociateFrom // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount func (c *GuardDuty) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error) { @@ -1657,10 +1824,10 @@ func (c *GuardDuty) DisassociateMembersRequest(input *DisassociateMembersInput) // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers func (c *GuardDuty) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error) { @@ -1684,6 +1851,90 @@ func (c *GuardDuty) DisassociateMembersWithContext(ctx aws.Context, input *Disas return out, req.Send() } +const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount" + +// EnableOrganizationAdminAccountRequest generates a "aws/request.Request" representing the +// client's request for the EnableOrganizationAdminAccount 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 EnableOrganizationAdminAccount for more information on using the EnableOrganizationAdminAccount +// 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 EnableOrganizationAdminAccountRequest method. +// req, resp := client.EnableOrganizationAdminAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EnableOrganizationAdminAccount +func (c *GuardDuty) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) { + op := &request.Operation{ + Name: opEnableOrganizationAdminAccount, + HTTPMethod: "POST", + HTTPPath: "/admin/enable", + } + + if input == nil { + input = &EnableOrganizationAdminAccountInput{} + } + + output = &EnableOrganizationAdminAccountOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// EnableOrganizationAdminAccount API operation for Amazon GuardDuty. +// +// Enables GuardDuty administrator permissions for an AWS account within the +// organization. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation EnableOrganizationAdminAccount for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A bad request exception object. +// +// * InternalServerErrorException +// An internal server error exception object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EnableOrganizationAdminAccount +func (c *GuardDuty) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) { + req, out := c.EnableOrganizationAdminAccountRequest(input) + return out, req.Send() +} + +// EnableOrganizationAdminAccountWithContext is the same as EnableOrganizationAdminAccount with the addition of +// the ability to pass a context and additional request options. +// +// See EnableOrganizationAdminAccount for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) EnableOrganizationAdminAccountWithContext(ctx aws.Context, input *EnableOrganizationAdminAccountInput, opts ...request.Option) (*EnableOrganizationAdminAccountOutput, error) { + req, out := c.EnableOrganizationAdminAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetDetector = "GetDetector" // GetDetectorRequest generates a "aws/request.Request" representing the @@ -1739,10 +1990,10 @@ func (c *GuardDuty) GetDetectorRequest(input *GetDetectorInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector func (c *GuardDuty) GetDetector(input *GetDetectorInput) (*GetDetectorOutput, error) { @@ -1821,10 +2072,10 @@ func (c *GuardDuty) GetFilterRequest(input *GetFilterInput) (req *request.Reques // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilter func (c *GuardDuty) GetFilter(input *GetFilterInput) (*GetFilterOutput, error) { @@ -1903,10 +2154,10 @@ func (c *GuardDuty) GetFindingsRequest(input *GetFindingsInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings func (c *GuardDuty) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) { @@ -1974,7 +2225,7 @@ func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInp // GetFindingsStatistics API operation for Amazon GuardDuty. // -// Lists Amazon GuardDuty findings' statistics for the specified detector ID. +// Lists Amazon GuardDuty findings statistics for the specified detector ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1985,10 +2236,10 @@ func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInp // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics func (c *GuardDuty) GetFindingsStatistics(input *GetFindingsStatisticsInput) (*GetFindingsStatisticsOutput, error) { @@ -2067,10 +2318,10 @@ func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet func (c *GuardDuty) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error) { @@ -2150,10 +2401,10 @@ func (c *GuardDuty) GetInvitationsCountRequest(input *GetInvitationsCountInput) // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount func (c *GuardDuty) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) { @@ -2233,10 +2484,10 @@ func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) (req * // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount func (c *GuardDuty) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error) { @@ -2316,10 +2567,10 @@ func (c *GuardDuty) GetMembersRequest(input *GetMembersInput) (req *request.Requ // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers func (c *GuardDuty) GetMembers(input *GetMembersInput) (*GetMembersOutput, error) { @@ -2398,10 +2649,10 @@ func (c *GuardDuty) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) (req // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet func (c *GuardDuty) GetThreatIntelSet(input *GetThreatIntelSetInput) (*GetThreatIntelSetOutput, error) { @@ -2470,9 +2721,9 @@ func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *reques // InviteMembers API operation for Amazon GuardDuty. // // Invites other AWS accounts (created as members of the current AWS account -// by CreateMembers) to enable GuardDuty and allow the current AWS account to -// view and manage these accounts' GuardDuty findings on their behalf as the -// master account. +// by CreateMembers) to enable GuardDuty, and allow the current AWS account +// to view and manage these accounts' GuardDuty findings on their behalf as +// the master account. // // 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 @@ -2483,10 +2734,10 @@ func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *reques // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers func (c *GuardDuty) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error) { @@ -2571,10 +2822,10 @@ func (c *GuardDuty) ListDetectorsRequest(input *ListDetectorsInput) (req *reques // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors func (c *GuardDuty) ListDetectors(input *ListDetectorsInput) (*ListDetectorsOutput, error) { @@ -2711,10 +2962,10 @@ func (c *GuardDuty) ListFiltersRequest(input *ListFiltersInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFilters func (c *GuardDuty) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error) { @@ -2851,10 +3102,10 @@ func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request. // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings func (c *GuardDuty) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { @@ -2993,10 +3244,10 @@ func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Requ // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets func (c *GuardDuty) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error) { @@ -3134,10 +3385,10 @@ func (c *GuardDuty) ListInvitationsRequest(input *ListInvitationsInput) (req *re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations func (c *GuardDuty) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { @@ -3263,8 +3514,8 @@ func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Re // ListMembers API operation for Amazon GuardDuty. // -// Lists details about all member accounts for the current GuardDuty master -// account. +// Lists details about associated member accounts for the current GuardDuty +// master account. // // 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 @@ -3275,10 +3526,10 @@ func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers func (c *GuardDuty) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -3306,39 +3557,179 @@ func (c *GuardDuty) ListMembersWithContext(ctx aws.Context, input *ListMembersIn // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See ListMembers method for more information on how to use this operation. +// See ListMembers 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 ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *guardduty.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *GuardDuty) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { + return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMembersPagesWithContext same as ListMembersPages 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 *GuardDuty) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMembersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMembersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" + +// ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the +// client's request for the ListOrganizationAdminAccounts 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 ListOrganizationAdminAccounts for more information on using the ListOrganizationAdminAccounts +// 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 ListOrganizationAdminAccountsRequest method. +// req, resp := client.ListOrganizationAdminAccountsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListOrganizationAdminAccounts +func (c *GuardDuty) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) { + op := &request.Operation{ + Name: opListOrganizationAdminAccounts, + HTTPMethod: "GET", + HTTPPath: "/admin", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListOrganizationAdminAccountsInput{} + } + + output = &ListOrganizationAdminAccountsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListOrganizationAdminAccounts API operation for Amazon GuardDuty. +// +// Lists the accounts configured as AWS Organization delegated administrators. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation ListOrganizationAdminAccounts for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A bad request exception object. +// +// * InternalServerErrorException +// An internal server error exception object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListOrganizationAdminAccounts +func (c *GuardDuty) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) { + req, out := c.ListOrganizationAdminAccountsRequest(input) + return out, req.Send() +} + +// ListOrganizationAdminAccountsWithContext is the same as ListOrganizationAdminAccounts with the addition of +// the ability to pass a context and additional request options. +// +// See ListOrganizationAdminAccounts for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, opts ...request.Option) (*ListOrganizationAdminAccountsOutput, error) { + req, out := c.ListOrganizationAdminAccountsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOrganizationAdminAccounts 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 ListMembers operation. +// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. // pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *guardduty.ListMembersOutput, lastPage bool) bool { +// err := client.ListOrganizationAdminAccountsPages(params, +// func(page *guardduty.ListOrganizationAdminAccountsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *GuardDuty) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { - return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *GuardDuty) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { + return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } -// ListMembersPagesWithContext same as ListMembersPages except +// ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages 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 *GuardDuty) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error { +func (c *GuardDuty) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *ListMembersInput + var inCpy *ListOrganizationAdminAccountsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.ListMembersRequest(inCpy) + req, _ := c.ListOrganizationAdminAccountsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3346,7 +3737,7 @@ func (c *GuardDuty) ListMembersPagesWithContext(ctx aws.Context, input *ListMemb } for p.Next() { - if !fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) { + if !fn(p.Page().(*ListOrganizationAdminAccountsOutput), !p.HasNextPage()) { break } } @@ -3415,10 +3806,10 @@ func (c *GuardDuty) ListPublishingDestinationsRequest(input *ListPublishingDesti // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListPublishingDestinations func (c *GuardDuty) ListPublishingDestinations(input *ListPublishingDestinationsInput) (*ListPublishingDestinationsOutput, error) { @@ -3539,9 +3930,9 @@ func (c *GuardDuty) ListTagsForResourceRequest(input *ListTagsForResourceInput) // ListTagsForResource API operation for Amazon GuardDuty. // // Lists tags for a resource. Tagging is currently supported for detectors, -// finding filters, IP sets, and Threat Intel sets, with a limit of 50 tags +// finding filters, IP sets, and threat intel sets, with a limit of 50 tags // per resource. When invoked, this operation returns all assigned tags for -// a given resource.. +// a given resource. // // 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 @@ -3552,10 +3943,10 @@ func (c *GuardDuty) ListTagsForResourceRequest(input *ListTagsForResourceInput) // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListTagsForResource func (c *GuardDuty) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3642,10 +4033,10 @@ func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets func (c *GuardDuty) ListThreatIntelSets(input *ListThreatIntelSetsInput) (*ListThreatIntelSetsOutput, error) { @@ -3778,10 +4169,10 @@ func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersI // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers func (c *GuardDuty) StartMonitoringMembers(input *StartMonitoringMembersInput) (*StartMonitoringMembersOutput, error) { @@ -3849,8 +4240,8 @@ func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInp // StopMonitoringMembers API operation for Amazon GuardDuty. // -// Stops GuardDuty monitoring for the specified member accounnts. Use the StartMonitoringMembers -// to restart monitoring for those accounts. +// Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers +// operation to restart monitoring for those accounts. // // 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 @@ -3861,10 +4252,10 @@ func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInp // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers func (c *GuardDuty) StopMonitoringMembers(input *StopMonitoringMembersInput) (*StopMonitoringMembersOutput, error) { @@ -3944,10 +4335,10 @@ func (c *GuardDuty) TagResourceRequest(input *TagResourceInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/TagResource func (c *GuardDuty) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4027,10 +4418,10 @@ func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) (req // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings func (c *GuardDuty) UnarchiveFindings(input *UnarchiveFindingsInput) (*UnarchiveFindingsOutput, error) { @@ -4110,10 +4501,10 @@ func (c *GuardDuty) UntagResourceRequest(input *UntagResourceInput) (req *reques // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UntagResource func (c *GuardDuty) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4193,10 +4584,10 @@ func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *requ // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector func (c *GuardDuty) UpdateDetector(input *UpdateDetectorInput) (*UpdateDetectorOutput, error) { @@ -4275,10 +4666,10 @@ func (c *GuardDuty) UpdateFilterRequest(input *UpdateFilterInput) (req *request. // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilter func (c *GuardDuty) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error) { @@ -4358,10 +4749,10 @@ func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackI // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback func (c *GuardDuty) UpdateFindingsFeedback(input *UpdateFindingsFeedbackInput) (*UpdateFindingsFeedbackOutput, error) { @@ -4441,10 +4832,10 @@ func (c *GuardDuty) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Re // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet func (c *GuardDuty) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error) { @@ -4468,6 +4859,89 @@ func (c *GuardDuty) UpdateIPSetWithContext(ctx aws.Context, input *UpdateIPSetIn return out, req.Send() } +const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" + +// UpdateOrganizationConfigurationRequest generates a "aws/request.Request" representing the +// client's request for the UpdateOrganizationConfiguration 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 UpdateOrganizationConfiguration for more information on using the UpdateOrganizationConfiguration +// 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 UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration +func (c *GuardDuty) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { + op := &request.Operation{ + Name: opUpdateOrganizationConfiguration, + HTTPMethod: "POST", + HTTPPath: "/detector/{detectorId}/admin", + } + + if input == nil { + input = &UpdateOrganizationConfigurationInput{} + } + + output = &UpdateOrganizationConfigurationOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateOrganizationConfiguration API operation for Amazon GuardDuty. +// +// Updates the delegated administrator account with the values provided. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon GuardDuty's +// API operation UpdateOrganizationConfiguration for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// A bad request exception object. +// +// * InternalServerErrorException +// An internal server error exception object. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration +func (c *GuardDuty) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { + req, out := c.UpdateOrganizationConfigurationRequest(input) + return out, req.Send() +} + +// UpdateOrganizationConfigurationWithContext is the same as UpdateOrganizationConfiguration with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateOrganizationConfiguration for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *GuardDuty) UpdateOrganizationConfigurationWithContext(ctx aws.Context, input *UpdateOrganizationConfigurationInput, opts ...request.Option) (*UpdateOrganizationConfigurationOutput, error) { + req, out := c.UpdateOrganizationConfigurationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdatePublishingDestination = "UpdatePublishingDestination" // UpdatePublishingDestinationRequest generates a "aws/request.Request" representing the @@ -4524,10 +4998,10 @@ func (c *GuardDuty) UpdatePublishingDestinationRequest(input *UpdatePublishingDe // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdatePublishingDestination func (c *GuardDuty) UpdatePublishingDestination(input *UpdatePublishingDestinationInput) (*UpdatePublishingDestinationOutput, error) { @@ -4596,7 +5070,7 @@ func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput // UpdateThreatIntelSet API operation for Amazon GuardDuty. // -// Updates the ThreatIntelSet specified by ThreatIntelSet ID. +// Updates the ThreatIntelSet specified by the ThreatIntelSet ID. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4607,10 +5081,10 @@ func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput // // Returned Error Types: // * BadRequestException -// Bad request exception object. +// A bad request exception object. // // * InternalServerErrorException -// Internal server error exception object. +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet func (c *GuardDuty) UpdateThreatIntelSet(input *UpdateThreatIntelSetInput) (*UpdateThreatIntelSetOutput, error) { @@ -4642,7 +5116,7 @@ type AcceptInvitationInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // This value is used to validate the master account to the member account. + // The value that is used to validate the master account to the member account. // // InvitationId is a required field InvitationId *string `locationName:"invitationId" type:"string" required:"true"` @@ -4721,7 +5195,7 @@ func (s AcceptInvitationOutput) GoString() string { type AccessKeyDetails struct { _ struct{} `type:"structure"` - // Access key ID of the user. + // The access key ID of the user. AccessKeyId *string `locationName:"accessKeyId" type:"string"` // The principal ID of the user. @@ -4772,12 +5246,12 @@ func (s *AccessKeyDetails) SetUserType(v string) *AccessKeyDetails { type AccountDetail struct { _ struct{} `type:"structure"` - // Member account ID. + // The member account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` - // Member account's email address. + // The email address of the member account. // // Email is a required field Email *string `locationName:"email" min:"1" type:"string" required:"true"` @@ -4827,11 +5301,11 @@ func (s *AccountDetail) SetEmail(v string) *AccountDetail { return s } -// Contains information about action. +// Contains information about actions. type Action struct { _ struct{} `type:"structure"` - // GuardDuty Finding activity type. + // The GuardDuty finding activity type. ActionType *string `locationName:"actionType" type:"string"` // Information about the AWS_API_CALL action described in this finding. @@ -4887,6 +5361,40 @@ func (s *Action) SetPortProbeAction(v *PortProbeAction) *Action { return s } +// The account within the organization specified as the GuardDuty delegated +// administrator. +type AdminAccount struct { + _ struct{} `type:"structure"` + + // The AWS account ID for the account. + AdminAccountId *string `locationName:"adminAccountId" type:"string"` + + // Indicates whether the account is enabled as the delegated administrator. + AdminStatus *string `locationName:"adminStatus" min:"1" type:"string" enum:"AdminStatus"` +} + +// String returns the string representation +func (s AdminAccount) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AdminAccount) GoString() string { + return s.String() +} + +// SetAdminAccountId sets the AdminAccountId field's value. +func (s *AdminAccount) SetAdminAccountId(v string) *AdminAccount { + s.AdminAccountId = &v + return s +} + +// SetAdminStatus sets the AdminStatus field's value. +func (s *AdminAccount) SetAdminStatus(v string) *AdminAccount { + s.AdminStatus = &v + return s +} + type ArchiveFindingsInput struct { _ struct{} `type:"structure"` @@ -4896,7 +5404,7 @@ type ArchiveFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // IDs of the findings that you want to archive. + // The IDs of the findings that you want to archive. // // FindingIds is a required field FindingIds []*string `locationName:"findingIds" type:"list" required:"true"` @@ -4961,19 +5469,19 @@ func (s ArchiveFindingsOutput) GoString() string { type AwsApiCallAction struct { _ struct{} `type:"structure"` - // AWS API name. + // The AWS API name. Api *string `locationName:"api" type:"string"` - // AWS API caller type. + // The AWS API caller type. CallerType *string `locationName:"callerType" type:"string"` - // Domain information for the AWS API call. + // The domain information for the AWS API call. DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"` - // Remote IP information of the connection. + // The remote IP information of the connection. RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` - // AWS service name whose API was invoked. + // The AWS service name whose API was invoked. ServiceName *string `locationName:"serviceName" type:"string"` } @@ -5017,7 +5525,7 @@ func (s *AwsApiCallAction) SetServiceName(v string) *AwsApiCallAction { return s } -// Bad request exception object. +// A bad request exception object. type BadRequestException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -5081,7 +5589,7 @@ func (s *BadRequestException) RequestID() string { type City struct { _ struct{} `type:"structure"` - // City name of the remote IP address. + // The city name of the remote IP address. CityName *string `locationName:"cityName" type:"string"` } @@ -5119,7 +5627,7 @@ type Condition struct { // querying for findings. GreaterThan *int64 `locationName:"greaterThan" type:"long"` - // Represents a greater than equal condition to be applied to a single field + // Represents a greater than or equal condition to be applied to a single field // when querying for findings. GreaterThanOrEqual *int64 `locationName:"greaterThanOrEqual" type:"long"` @@ -5129,7 +5637,7 @@ type Condition struct { // Deprecated: Gt has been deprecated Gt *int64 `locationName:"gt" deprecated:"true" type:"integer"` - // Represents a greater than equal condition to be applied to a single field + // Represents a greater than or equal condition to be applied to a single field // when querying for findings. // // Deprecated: Gte has been deprecated @@ -5139,8 +5647,8 @@ type Condition struct { // for findings. LessThan *int64 `locationName:"lessThan" type:"long"` - // Represents a less than equal condition to be applied to a single field when - // querying for findings. + // Represents a less than or equal condition to be applied to a single field + // when querying for findings. LessThanOrEqual *int64 `locationName:"lessThanOrEqual" type:"long"` // Represents a less than condition to be applied to a single field when querying @@ -5149,8 +5657,8 @@ type Condition struct { // Deprecated: Lt has been deprecated Lt *int64 `locationName:"lt" deprecated:"true" type:"integer"` - // Represents a less than equal condition to be applied to a single field when - // querying for findings. + // Represents a less than or equal condition to be applied to a single field + // when querying for findings. // // Deprecated: Lte has been deprecated Lte *int64 `locationName:"lte" deprecated:"true" type:"integer"` @@ -5161,7 +5669,7 @@ type Condition struct { // Deprecated: Neq has been deprecated Neq []*string `locationName:"neq" deprecated:"true" type:"list"` - // Represents an not equal condition to be applied to a single field when querying + // Represents a not equal condition to be applied to a single field when querying // for findings. NotEquals []*string `locationName:"notEquals" type:"list"` } @@ -5248,15 +5756,14 @@ func (s *Condition) SetNotEquals(v []*string) *Condition { return s } -// Contains information about the country in which the remote IP address is -// located. +// Contains information about the country where the remote IP address is located. type Country struct { _ struct{} `type:"structure"` - // Country code of the remote IP address. + // The country code of the remote IP address. CountryCode *string `locationName:"countryCode" type:"string"` - // Country name of the remote IP address. + // The country name of the remote IP address. CountryName *string `locationName:"countryName" type:"string"` } @@ -5288,12 +5795,12 @@ type CreateDetectorInput struct { // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` - // A boolean value that specifies whether the detector is to be enabled. + // A Boolean value that specifies whether the detector is to be enabled. // // Enable is a required field Enable *bool `locationName:"enable" type:"boolean" required:"true"` - // A enum value that specifies how frequently customer got Finding updates published. + // An enum value that specifies how frequently updated findings are exported. FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The tags to be added to a new detector resource. @@ -5386,14 +5893,117 @@ type CreateFilterInput struct { // The description of the filter. Description *string `locationName:"description" type:"string"` - // The unique ID of the detector of the GuardDuty account for which you want - // to create a filter. + // The unique ID of the detector of the GuardDuty account that you want to create + // a filter for. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` // Represents the criteria to be used in the filter for querying findings. // + // You can only use the following attributes to query findings: + // + // * accountId + // + // * region + // + // * confidence + // + // * id + // + // * resource.accessKeyDetails.accessKeyId + // + // * resource.accessKeyDetails.principalId + // + // * resource.accessKeyDetails.userName + // + // * resource.accessKeyDetails.userType + // + // * resource.instanceDetails.iamInstanceProfile.id + // + // * resource.instanceDetails.imageId + // + // * resource.instanceDetails.instanceId + // + // * resource.instanceDetails.outpostArn + // + // * resource.instanceDetails.networkInterfaces.ipv6Addresses + // + // * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress + // + // * resource.instanceDetails.networkInterfaces.publicDnsName + // + // * resource.instanceDetails.networkInterfaces.publicIp + // + // * resource.instanceDetails.networkInterfaces.securityGroups.groupId + // + // * resource.instanceDetails.networkInterfaces.securityGroups.groupName + // + // * resource.instanceDetails.networkInterfaces.subnetId + // + // * resource.instanceDetails.networkInterfaces.vpcId + // + // * resource.instanceDetails.tags.key + // + // * resource.instanceDetails.tags.value + // + // * resource.resourceType + // + // * service.action.actionType + // + // * service.action.awsApiCallAction.api + // + // * service.action.awsApiCallAction.callerType + // + // * service.action.awsApiCallAction.remoteIpDetails.city.cityName + // + // * service.action.awsApiCallAction.remoteIpDetails.country.countryName + // + // * service.action.awsApiCallAction.remoteIpDetails.ipAddressV4 + // + // * service.action.awsApiCallAction.remoteIpDetails.organization.asn + // + // * service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg + // + // * service.action.awsApiCallAction.serviceName + // + // * service.action.dnsRequestAction.domain + // + // * service.action.networkConnectionAction.blocked + // + // * service.action.networkConnectionAction.connectionDirection + // + // * service.action.networkConnectionAction.localPortDetails.port + // + // * service.action.networkConnectionAction.protocol + // + // * service.action.networkConnectionAction.remoteIpDetails.city.cityName + // + // * service.action.networkConnectionAction.remoteIpDetails.country.countryName + // + // * service.action.networkConnectionAction.remoteIpDetails.ipAddressV4 + // + // * service.action.networkConnectionAction.remoteIpDetails.organization.asn + // + // * service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg + // + // * service.action.networkConnectionAction.remotePortDetails.port + // + // * service.additionalInfo.threatListName + // + // * service.archived When this attribute is set to TRUE, only archived findings + // are listed. When it's set to FALSE, only unarchived findings are listed. + // When this attribute is not set, all existing findings are listed. + // + // * service.resourceRole + // + // * severity + // + // * type + // + // * updatedAt Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or + // YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds. + // // FindingCriteria is a required field FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure" required:"true"` @@ -5530,7 +6140,7 @@ func (s *CreateFilterOutput) SetName(v string) *CreateFilterOutput { type CreateIPSetInput struct { _ struct{} `type:"structure"` - // A boolean value that indicates whether GuardDuty is to start using the uploaded + // A Boolean value that indicates whether GuardDuty is to start using the uploaded // IPSet. // // Activate is a required field @@ -5539,8 +6149,8 @@ type CreateIPSetInput struct { // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` - // The unique ID of the detector of the GuardDuty account for which you want - // to create an IPSet. + // The unique ID of the detector of the GuardDuty account that you want to create + // an IPSet for. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -5550,14 +6160,15 @@ type CreateIPSetInput struct { // Format is a required field Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"IpSetFormat"` - // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) + // The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // Location is a required field Location *string `locationName:"location" min:"1" type:"string" required:"true"` - // The user friendly name to identify the IPSet. This name is displayed in all - // findings that are triggered by activity that involves IP addresses included - // in this IPSet. + // The user-friendly name to identify the IPSet. + // + // Allowed characters are alphanumerics, spaces, hyphens (-), and underscores + // (_). // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` @@ -5692,8 +6303,8 @@ type CreateMembersInput struct { // AccountDetails is a required field AccountDetails []*AccountDetail `locationName:"accountDetails" min:"1" type:"list" required:"true"` - // The unique ID of the detector of the GuardDuty account with which you want - // to associate member accounts. + // The unique ID of the detector of the GuardDuty account that you want to associate + // member accounts with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -5756,8 +6367,8 @@ func (s *CreateMembersInput) SetDetectorId(v string) *CreateMembersInput { type CreateMembersOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that include the accountIds of the unprocessed accounts + // and a result string that explains why each was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -5785,14 +6396,14 @@ type CreatePublishingDestinationInput struct { // The idempotency token for the request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` - // Properties of the publishing destination, including the ARNs for the destination - // and the KMS key used for encryption. + // The properties of the publishing destination, including the ARNs for the + // destination and the KMS key used for encryption. // // DestinationProperties is a required field DestinationProperties *DestinationProperties `locationName:"destinationProperties" type:"structure" required:"true"` - // The type of resource for the publishing destination. Currently only S3 is - // supported. + // The type of resource for the publishing destination. Currently only Amazon + // S3 buckets are supported. // // DestinationType is a required field DestinationType *string `locationName:"destinationType" min:"1" type:"string" required:"true" enum:"DestinationType"` @@ -5865,7 +6476,7 @@ func (s *CreatePublishingDestinationInput) SetDetectorId(v string) *CreatePublis type CreatePublishingDestinationOutput struct { _ struct{} `type:"structure"` - // The ID of the publishing destination created. + // The ID of the publishing destination that is created. // // DestinationId is a required field DestinationId *string `locationName:"destinationId" type:"string" required:"true"` @@ -5895,7 +6506,7 @@ type CreateSampleFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // Types of sample findings to generate. + // The types of sample findings to generate. FindingTypes []*string `locationName:"findingTypes" type:"list"` } @@ -5954,7 +6565,7 @@ func (s CreateSampleFindingsOutput) GoString() string { type CreateThreatIntelSetInput struct { _ struct{} `type:"structure"` - // A boolean value that indicates whether GuardDuty is to start using the uploaded + // A Boolean value that indicates whether GuardDuty is to start using the uploaded // ThreatIntelSet. // // Activate is a required field @@ -5963,8 +6574,8 @@ type CreateThreatIntelSetInput struct { // The idempotency token for the create request. ClientToken *string `locationName:"clientToken" type:"string" idempotencyToken:"true"` - // The unique ID of the detector of the GuardDuty account for which you want - // to create a threatIntelSet. + // The unique ID of the detector of the GuardDuty account that you want to create + // a threatIntelSet for. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -5974,18 +6585,18 @@ type CreateThreatIntelSetInput struct { // Format is a required field Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"ThreatIntelSetFormat"` - // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). + // The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // Location is a required field Location *string `locationName:"location" min:"1" type:"string" required:"true"` - // A user-friendly ThreatIntelSet name that is displayed in all finding generated + // A user-friendly ThreatIntelSet name displayed in all findings that are generated // by activity that involves IP addresses included in this ThreatIntelSet. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The tags to be added to a new Threat List resource. + // The tags to be added to a new threat list resource. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } @@ -6151,8 +6762,8 @@ func (s *DeclineInvitationsInput) SetAccountIds(v []*string) *DeclineInvitations type DeclineInvitationsOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain the unprocessed account and a result string + // that explains why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -6232,12 +6843,12 @@ func (s DeleteDetectorOutput) GoString() string { type DeleteFilterInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the filter is associated with. + // The unique ID of the detector that the filter is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // The name of the filter you want to delete. + // The name of the filter that you want to delete. // // FilterName is a required field FilterName *string `location:"uri" locationName:"filterName" type:"string" required:"true"` @@ -6418,8 +7029,8 @@ func (s *DeleteInvitationsInput) SetAccountIds(v []*string) *DeleteInvitationsIn type DeleteInvitationsOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain the unprocessed account and a result string + // that explains why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -6579,64 +7190,126 @@ func (s *DeletePublishingDestinationInput) SetDestinationId(v string) *DeletePub } // SetDetectorId sets the DetectorId field's value. -func (s *DeletePublishingDestinationInput) SetDetectorId(v string) *DeletePublishingDestinationInput { +func (s *DeletePublishingDestinationInput) SetDetectorId(v string) *DeletePublishingDestinationInput { + s.DetectorId = &v + return s +} + +type DeletePublishingDestinationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeletePublishingDestinationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeletePublishingDestinationOutput) GoString() string { + return s.String() +} + +type DeleteThreatIntelSetInput struct { + _ struct{} `type:"structure"` + + // The unique ID of the detector that the threatIntelSet is associated with. + // + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` + + // The unique ID of the threatIntelSet that you want to delete. + // + // ThreatIntelSetId is a required field + ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteThreatIntelSetInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThreatIntelSetInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThreatIntelSetInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThreatIntelSetInput"} + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.DetectorId != nil && len(*s.DetectorId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DetectorId", 1)) + } + if s.ThreatIntelSetId == nil { + invalidParams.Add(request.NewErrParamRequired("ThreatIntelSetId")) + } + if s.ThreatIntelSetId != nil && len(*s.ThreatIntelSetId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ThreatIntelSetId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDetectorId sets the DetectorId field's value. +func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput { s.DetectorId = &v return s } -type DeletePublishingDestinationOutput struct { +// SetThreatIntelSetId sets the ThreatIntelSetId field's value. +func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput { + s.ThreatIntelSetId = &v + return s +} + +type DeleteThreatIntelSetOutput struct { _ struct{} `type:"structure"` } // String returns the string representation -func (s DeletePublishingDestinationOutput) String() string { +func (s DeleteThreatIntelSetOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeletePublishingDestinationOutput) GoString() string { +func (s DeleteThreatIntelSetOutput) GoString() string { return s.String() } -type DeleteThreatIntelSetInput struct { +type DescribeOrganizationConfigurationInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the threatIntelSet is associated with. + // The ID of the detector to retrieve information about the delegated administrator + // from. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - - // The unique ID of the threatIntelSet you want to delete. - // - // ThreatIntelSetId is a required field - ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` } // String returns the string representation -func (s DeleteThreatIntelSetInput) String() string { +func (s DescribeOrganizationConfigurationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteThreatIntelSetInput) GoString() string { +func (s DescribeOrganizationConfigurationInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteThreatIntelSetInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteThreatIntelSetInput"} +func (s *DescribeOrganizationConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeOrganizationConfigurationInput"} if s.DetectorId == nil { invalidParams.Add(request.NewErrParamRequired("DetectorId")) } if s.DetectorId != nil && len(*s.DetectorId) < 1 { invalidParams.Add(request.NewErrParamMinLen("DetectorId", 1)) } - if s.ThreatIntelSetId == nil { - invalidParams.Add(request.NewErrParamRequired("ThreatIntelSetId")) - } - if s.ThreatIntelSetId != nil && len(*s.ThreatIntelSetId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ThreatIntelSetId", 1)) - } if invalidParams.Len() > 0 { return invalidParams @@ -6645,31 +7318,49 @@ func (s *DeleteThreatIntelSetInput) Validate() error { } // SetDetectorId sets the DetectorId field's value. -func (s *DeleteThreatIntelSetInput) SetDetectorId(v string) *DeleteThreatIntelSetInput { +func (s *DescribeOrganizationConfigurationInput) SetDetectorId(v string) *DescribeOrganizationConfigurationInput { s.DetectorId = &v return s } -// SetThreatIntelSetId sets the ThreatIntelSetId field's value. -func (s *DeleteThreatIntelSetInput) SetThreatIntelSetId(v string) *DeleteThreatIntelSetInput { - s.ThreatIntelSetId = &v - return s -} - -type DeleteThreatIntelSetOutput struct { +type DescribeOrganizationConfigurationOutput struct { _ struct{} `type:"structure"` + + // Indicates whether GuardDuty is automatically enabled for accounts added to + // the organization. + // + // AutoEnable is a required field + AutoEnable *bool `locationName:"autoEnable" type:"boolean" required:"true"` + + // Indicates whether the maximum number of allowed member accounts are already + // associated with the delegated administrator master account. + // + // MemberAccountLimitReached is a required field + MemberAccountLimitReached *bool `locationName:"memberAccountLimitReached" type:"boolean" required:"true"` } // String returns the string representation -func (s DeleteThreatIntelSetOutput) String() string { +func (s DescribeOrganizationConfigurationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DeleteThreatIntelSetOutput) GoString() string { +func (s DescribeOrganizationConfigurationOutput) GoString() string { return s.String() } +// SetAutoEnable sets the AutoEnable field's value. +func (s *DescribeOrganizationConfigurationOutput) SetAutoEnable(v bool) *DescribeOrganizationConfigurationOutput { + s.AutoEnable = &v + return s +} + +// SetMemberAccountLimitReached sets the MemberAccountLimitReached field's value. +func (s *DescribeOrganizationConfigurationOutput) SetMemberAccountLimitReached(v bool) *DescribeOrganizationConfigurationOutput { + s.MemberAccountLimitReached = &v + return s +} + type DescribePublishingDestinationInput struct { _ struct{} `type:"structure"` @@ -6743,7 +7434,8 @@ type DescribePublishingDestinationOutput struct { // DestinationProperties is a required field DestinationProperties *DestinationProperties `locationName:"destinationProperties" type:"structure" required:"true"` - // The type of the publishing destination. Currently, only S3 is supported. + // The type of publishing destination. Currently, only Amazon S3 buckets are + // supported. // // DestinationType is a required field DestinationType *string `locationName:"destinationType" min:"1" type:"string" required:"true" enum:"DestinationType"` @@ -6800,8 +7492,8 @@ func (s *DescribePublishingDestinationOutput) SetStatus(v string) *DescribePubli return s } -// Contains information about a publishing destination, including the ID, type, -// and status. +// Contains information about the publishing destination, including the ID, +// type, and status. type Destination struct { _ struct{} `type:"structure"` @@ -6811,7 +7503,7 @@ type Destination struct { DestinationId *string `locationName:"destinationId" type:"string" required:"true"` // The type of resource used for the publishing destination. Currently, only - // S3 is supported. + // Amazon S3 buckets are supported. // // DestinationType is a required field DestinationType *string `locationName:"destinationType" min:"1" type:"string" required:"true" enum:"DestinationType"` @@ -6850,8 +7542,8 @@ func (s *Destination) SetStatus(v string) *Destination { return s } -// Contains the ARN of the resource to publish to, such as an S3 bucket, and -// the ARN of the KMS key to use to encrypt published findings. +// Contains the Amazon Resource Name (ARN) of the resource to publish to, such +// as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings. type DestinationProperties struct { _ struct{} `type:"structure"` @@ -6884,6 +7576,59 @@ func (s *DestinationProperties) SetKmsKeyArn(v string) *DestinationProperties { return s } +type DisableOrganizationAdminAccountInput struct { + _ struct{} `type:"structure"` + + // The AWS Account ID for the Organizations account to be disabled as a GuardDuty + // delegated administrator. + // + // AdminAccountId is a required field + AdminAccountId *string `locationName:"adminAccountId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisableOrganizationAdminAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisableOrganizationAdminAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisableOrganizationAdminAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisableOrganizationAdminAccountInput"} + if s.AdminAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AdminAccountId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdminAccountId sets the AdminAccountId field's value. +func (s *DisableOrganizationAdminAccountInput) SetAdminAccountId(v string) *DisableOrganizationAdminAccountInput { + s.AdminAccountId = &v + return s +} + +type DisableOrganizationAdminAccountOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DisableOrganizationAdminAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisableOrganizationAdminAccountOutput) GoString() string { + return s.String() +} + type DisassociateFromMasterAccountInput struct { _ struct{} `type:"structure"` @@ -6943,13 +7688,13 @@ type DisassociateMembersInput struct { _ struct{} `type:"structure"` // A list of account IDs of the GuardDuty member accounts that you want to disassociate - // from master. + // from the master account. // // AccountIds is a required field AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"` // The unique ID of the detector of the GuardDuty account whose members you - // want to disassociate from master. + // want to disassociate from the master account. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -7002,8 +7747,8 @@ func (s *DisassociateMembersInput) SetDetectorId(v string) *DisassociateMembersI type DisassociateMembersOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain the unprocessed account and a result string + // that explains why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -7029,7 +7774,7 @@ func (s *DisassociateMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccou type DnsRequestAction struct { _ struct{} `type:"structure"` - // Domain information for the API request. + // The domain information for the API request. Domain *string `locationName:"domain" type:"string"` } @@ -7053,7 +7798,7 @@ func (s *DnsRequestAction) SetDomain(v string) *DnsRequestAction { type DomainDetails struct { _ struct{} `type:"structure"` - // Domain information for the AWS API call. + // The domain information for the AWS API call. Domain *string `locationName:"domain" type:"string"` } @@ -7073,6 +7818,59 @@ func (s *DomainDetails) SetDomain(v string) *DomainDetails { return s } +type EnableOrganizationAdminAccountInput struct { + _ struct{} `type:"structure"` + + // The AWS Account ID for the Organizations account to be enabled as a GuardDuty + // delegated administrator. + // + // AdminAccountId is a required field + AdminAccountId *string `locationName:"adminAccountId" type:"string" required:"true"` +} + +// String returns the string representation +func (s EnableOrganizationAdminAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnableOrganizationAdminAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EnableOrganizationAdminAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EnableOrganizationAdminAccountInput"} + if s.AdminAccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AdminAccountId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAdminAccountId sets the AdminAccountId field's value. +func (s *EnableOrganizationAdminAccountInput) SetAdminAccountId(v string) *EnableOrganizationAdminAccountInput { + s.AdminAccountId = &v + return s +} + +type EnableOrganizationAdminAccountOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s EnableOrganizationAdminAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnableOrganizationAdminAccountOutput) GoString() string { + return s.String() +} + // Contains information about the reason that the finding was generated. type Evidence struct { _ struct{} `type:"structure"` @@ -7107,7 +7905,7 @@ type Finding struct { // AccountId is a required field AccountId *string `locationName:"accountId" type:"string" required:"true"` - // The ARN for the finding. + // The ARN of the finding. // // Arn is a required field Arn *string `locationName:"arn" type:"string" required:"true"` @@ -7115,7 +7913,7 @@ type Finding struct { // The confidence score for the finding. Confidence *float64 `locationName:"confidence" type:"double"` - // The time and date at which the finding was created. + // The time and date when the finding was created. // // CreatedAt is a required field CreatedAt *string `locationName:"createdAt" type:"string" required:"true"` @@ -7131,7 +7929,7 @@ type Finding struct { // The partition associated with the finding. Partition *string `locationName:"partition" type:"string"` - // The Region in which the finding was generated. + // The Region where the finding was generated. // // Region is a required field Region *string `locationName:"region" type:"string" required:"true"` @@ -7155,15 +7953,15 @@ type Finding struct { // Severity is a required field Severity *float64 `locationName:"severity" type:"double" required:"true"` - // The title for the finding. + // The title of the finding. Title *string `locationName:"title" type:"string"` - // The type of the finding. + // The type of finding. // // Type is a required field Type *string `locationName:"type" min:"1" type:"string" required:"true"` - // The time and date at which the finding was laste updated. + // The time and date when the finding was last updated. // // UpdatedAt is a required field UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"` @@ -7298,7 +8096,7 @@ func (s *FindingCriteria) SetCriterion(v map[string]*Condition) *FindingCriteria type FindingStatistics struct { _ struct{} `type:"structure"` - // Represents a map of severity to count statistic for a set of findings + // Represents a map of severity to count statistics for a set of findings. CountBySeverity map[string]*int64 `locationName:"countBySeverity" type:"map"` } @@ -7322,10 +8120,10 @@ func (s *FindingStatistics) SetCountBySeverity(v map[string]*int64) *FindingStat type GeoLocation struct { _ struct{} `type:"structure"` - // Latitude information of remote IP address. + // The latitude information of the remote IP address. Lat *float64 `locationName:"lat" type:"double"` - // Longitude information of remote IP address. + // The longitude information of the remote IP address. Lon *float64 `locationName:"lon" type:"double"` } @@ -7395,10 +8193,10 @@ func (s *GetDetectorInput) SetDetectorId(v string) *GetDetectorInput { type GetDetectorOutput struct { _ struct{} `type:"structure"` - // Detector creation timestamp. + // The timestamp of when the detector was created. CreatedAt *string `locationName:"createdAt" type:"string"` - // Finding publishing frequency. + // The publishing frequency of the finding. FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` // The GuardDuty service role. @@ -7414,7 +8212,7 @@ type GetDetectorOutput struct { // The tags of the detector resource. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - // Detector last update timestamp. + // The last-updated timestamp for the detector. UpdatedAt *string `locationName:"updatedAt" type:"string"` } @@ -7467,7 +8265,7 @@ func (s *GetDetectorOutput) SetUpdatedAt(v string) *GetDetectorOutput { type GetFilterInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the filter is associated with. + // The unique ID of the detector that the filter is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -7607,7 +8405,7 @@ type GetFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // IDs of the findings that you want to retrieve. + // The IDs of the findings that you want to retrieve. // // FindingIds is a required field FindingIds []*string `locationName:"findingIds" type:"list" required:"true"` @@ -7697,10 +8495,10 @@ type GetFindingsStatisticsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // Represents the criteria used for querying findings. + // Represents the criteria that is used for querying findings. FindingCriteria *FindingCriteria `locationName:"findingCriteria" type:"structure"` - // Types of finding statistics to retrieve. + // The types of finding statistics to retrieve. // // FindingStatisticTypes is a required field FindingStatisticTypes []*string `locationName:"findingStatisticTypes" type:"list" required:"true"` @@ -7756,7 +8554,7 @@ func (s *GetFindingsStatisticsInput) SetFindingStatisticTypes(v []*string) *GetF type GetFindingsStatisticsOutput struct { _ struct{} `type:"structure"` - // Finding statistics object. + // The finding statistics object. // // FindingStatistics is a required field FindingStatistics *FindingStatistics `locationName:"findingStatistics" type:"structure" required:"true"` @@ -7781,7 +8579,7 @@ func (s *GetFindingsStatisticsOutput) SetFindingStatistics(v *FindingStatistics) type GetIPSetInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the ipSet is associated with. + // The unique ID of the detector that the IPSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -7844,22 +8642,22 @@ type GetIPSetOutput struct { // Format is a required field Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"IpSetFormat"` - // The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) + // The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // Location is a required field Location *string `locationName:"location" min:"1" type:"string" required:"true"` - // The user friendly name for the IPSet. + // The user-friendly name for the IPSet. // // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` - // The status of ipSet file uploaded. + // The status of IPSet file that was uploaded. // // Status is a required field Status *string `locationName:"status" min:"1" type:"string" required:"true" enum:"IpSetStatus"` - // The tags of the IP set resource. + // The tags of the IPSet resource. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } @@ -7984,7 +8782,7 @@ func (s *GetMasterAccountInput) SetDetectorId(v string) *GetMasterAccountInput { type GetMasterAccountOutput struct { _ struct{} `type:"structure"` - // Master account details. + // The master account details. // // Master is a required field Master *Master `locationName:"master" type:"structure" required:"true"` @@ -8073,8 +8871,8 @@ type GetMembersOutput struct { // Members is a required field Members []*Member `locationName:"members" type:"list" required:"true"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain the unprocessed account and a result string + // that explains why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -8105,12 +8903,12 @@ func (s *GetMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *GetM type GetThreatIntelSetInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the threatIntelSet is associated with. + // The unique ID of the detector that the threatIntelSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // The unique ID of the threatIntelSet you want to get. + // The unique ID of the threatIntelSet that you want to get. // // ThreatIntelSetId is a required field ThreatIntelSetId *string `location:"uri" locationName:"threatIntelSetId" type:"string" required:"true"` @@ -8168,12 +8966,12 @@ type GetThreatIntelSetOutput struct { // Format is a required field Format *string `locationName:"format" min:"1" type:"string" required:"true" enum:"ThreatIntelSetFormat"` - // The URI of the file that contains the ThreatIntelSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). + // The URI of the file that contains the ThreatIntelSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. // // Location is a required field Location *string `locationName:"location" min:"1" type:"string" required:"true"` - // A user-friendly ThreatIntelSet name that is displayed in all finding generated + // A user-friendly ThreatIntelSet name displayed in all findings that are generated // by activity that involves IP addresses included in this ThreatIntelSet. // // Name is a required field @@ -8184,7 +8982,7 @@ type GetThreatIntelSetOutput struct { // Status is a required field Status *string `locationName:"status" min:"1" type:"string" required:"true" enum:"ThreatIntelSetStatus"` - // The tags of the Threat List resource. + // The tags of the threat list resource. Tags map[string]*string `locationName:"tags" min:"1" type:"map"` } @@ -8232,10 +9030,10 @@ func (s *GetThreatIntelSetOutput) SetTags(v map[string]*string) *GetThreatIntelS type IamInstanceProfile struct { _ struct{} `type:"structure"` - // AWS EC2 instance profile ARN. + // The profile ARN of the EC2 instance. Arn *string `locationName:"arn" type:"string"` - // AWS EC2 instance profile ID. + // The profile ID of the EC2 instance. Id *string `locationName:"id" type:"string"` } @@ -8265,7 +9063,7 @@ func (s *IamInstanceProfile) SetId(v string) *IamInstanceProfile { type InstanceDetails struct { _ struct{} `type:"structure"` - // The availability zone of the EC2 instance. + // The Availability Zone of the EC2 instance. AvailabilityZone *string `locationName:"availabilityZone" type:"string"` // The profile information of the EC2 instance. @@ -8289,7 +9087,7 @@ type InstanceDetails struct { // The launch time of the EC2 instance. LaunchTime *string `locationName:"launchTime" type:"string"` - // The network interface information of the EC2 instance. + // The elastic network interface information of the EC2 instance. NetworkInterfaces []*NetworkInterface `locationName:"networkInterfaces" type:"list"` // The Amazon Resource Name (ARN) of the AWS Outpost. Only applicable to AWS @@ -8394,7 +9192,7 @@ func (s *InstanceDetails) SetTags(v []*Tag) *InstanceDetails { return s } -// Internal server error exception object. +// An internal server error exception object. type InternalServerErrorException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -8458,14 +9256,14 @@ func (s *InternalServerErrorException) RequestID() string { type Invitation struct { _ struct{} `type:"structure"` - // The ID of the account from which the invitations was sent. + // The ID of the account that the invitation was sent from. AccountId *string `locationName:"accountId" min:"12" type:"string"` // The ID of the invitation. This value is used to validate the inviter account // to the member account. InvitationId *string `locationName:"invitationId" type:"string"` - // Timestamp at which the invitation was sent. + // The timestamp when the invitation was sent. InvitedAt *string `locationName:"invitedAt" type:"string"` // The status of the relationship between the inviter and invitee accounts. @@ -8515,13 +9313,13 @@ type InviteMembersInput struct { // AccountIds is a required field AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"` - // The unique ID of the detector of the GuardDuty account with which you want - // to invite members. + // The unique ID of the detector of the GuardDuty account that you want to invite + // members with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // A boolean value that specifies whether you want to disable email notification + // A Boolean value that specifies whether you want to disable email notification // to the accounts that you’re inviting to GuardDuty as members. DisableEmailNotification *bool `locationName:"disableEmailNotification" type:"boolean"` @@ -8589,8 +9387,8 @@ func (s *InviteMembersInput) SetMessage(v string) *InviteMembersInput { type InviteMembersOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain the unprocessed account and a result string + // that explains why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -8615,14 +9413,14 @@ func (s *InviteMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAccount) *I type ListDetectorsInput struct { _ struct{} `type:"structure"` - // You can use this parameter to indicate the maximum number of items you want - // in the response. The default value is 50. The maximum value is 50. + // You can use this parameter to indicate the maximum number of items that you + // want in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls - // to the action fill nextToken in the request with the value of NextToken from - // the previous response to continue listing data. + // to the action, fill nextToken in the request with the value of NextToken + // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -8664,13 +9462,13 @@ func (s *ListDetectorsInput) SetNextToken(v string) *ListDetectorsInput { type ListDetectorsOutput struct { _ struct{} `type:"structure"` - // A list of detector Ids. + // A list of detector IDs. // // DetectorIds is a required field DetectorIds []*string `locationName:"detectorIds" type:"list" required:"true"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` } @@ -8699,19 +9497,19 @@ func (s *ListDetectorsOutput) SetNextToken(v string) *ListDetectorsOutput { type ListFiltersInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the filter is associated with. + // The unique ID of the detector that the filter is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // You can use this parameter to indicate the maximum number of items you want - // in the response. The default value is 50. The maximum value is 50. + // You can use this parameter to indicate the maximum number of items that you + // want in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls - // to the action fill nextToken in the request with the value of NextToken from - // the previous response to continue listing data. + // to the action, fill nextToken in the request with the value of NextToken + // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -8765,13 +9563,13 @@ func (s *ListFiltersInput) SetNextToken(v string) *ListFiltersInput { type ListFiltersOutput struct { _ struct{} `type:"structure"` - // A list of filter names + // A list of filter names. // // FilterNames is a required field FilterNames []*string `locationName:"filterNames" type:"list" required:"true"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` } @@ -8832,8 +9630,6 @@ type ListFindingsInput struct { // // * resource.instanceDetails.instanceId // - // * resource.instanceDetails.outpostArn - // // * resource.instanceDetails.networkInterfaces.ipv6Addresses // // * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress @@ -8884,8 +9680,6 @@ type ListFindingsInput struct { // // * service.action.networkConnectionAction.protocol // - // * service.action.networkConnectionAction.localIpDetails.ipAddressV4 - // // * service.action.networkConnectionAction.remoteIpDetails.city.cityName // // * service.action.networkConnectionAction.remoteIpDetails.country.countryName @@ -8920,8 +9714,8 @@ type ListFindingsInput struct { // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls - // to the action fill nextToken in the request with the value of NextToken from - // the previous response to continue listing data. + // to the action, fill nextToken in the request with the value of NextToken + // from the previous response to continue listing data. NextToken *string `locationName:"nextToken" type:"string"` // Represents the criteria used for sorting findings. @@ -8990,13 +9784,13 @@ func (s *ListFindingsInput) SetSortCriteria(v *SortCriteria) *ListFindingsInput type ListFindingsOutput struct { _ struct{} `type:"structure"` - // The IDs of the findings you are listing. + // The IDs of the findings that you're listing. // // FindingIds is a required field FindingIds []*string `locationName:"findingIds" type:"list" required:"true"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` } @@ -9025,7 +9819,7 @@ func (s *ListFindingsOutput) SetNextToken(v string) *ListFindingsOutput { type ListIPSetsInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the ipSet is associated with. + // The unique ID of the detector that the IPSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -9036,8 +9830,8 @@ type ListIPSetsInput struct { // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls - // to the action fill nextToken in the request with the value of NextToken from - // the previous response to continue listing data. + // to the action, fill nextToken in the request with the value of NextToken + // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -9096,8 +9890,8 @@ type ListIPSetsOutput struct { // IpSetIds is a required field IpSetIds []*string `locationName:"ipSetIds" type:"list" required:"true"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` } @@ -9126,14 +9920,14 @@ func (s *ListIPSetsOutput) SetNextToken(v string) *ListIPSetsOutput { type ListInvitationsInput struct { _ struct{} `type:"structure"` - // You can use this parameter to indicate the maximum number of items you want - // in the response. The default value is 50. The maximum value is 50. + // You can use this parameter to indicate the maximum number of items that you + // want in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls - // to the action fill nextToken in the request with the value of NextToken from - // the previous response to continue listing data. + // to the action, fill nextToken in the request with the value of NextToken + // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -9178,8 +9972,8 @@ type ListInvitationsOutput struct { // A list of invitation descriptions. Invitations []*Invitation `locationName:"invitations" type:"list"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` } @@ -9219,12 +10013,14 @@ type ListMembersInput struct { // You can use this parameter when paginating results. Set the value of this // parameter to null on your first call to the list action. For subsequent calls - // to the action fill nextToken in the request with the value of NextToken from - // the previous response to continue listing data. + // to the action, fill nextToken in the request with the value of NextToken + // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // Specifies whether to only return associated members or to return all members - // (including members which haven't been invited yet or have been disassociated). + // Specifies what member accounts the response includes based on their relationship + // status with the master account. The default value is "true". If set to "false" + // the response includes all existing member accounts (including members who + // haven't been invited yet or have been disassociated). OnlyAssociated *string `location:"querystring" locationName:"onlyAssociated" type:"string"` } @@ -9287,8 +10083,8 @@ type ListMembersOutput struct { // A list of members. Members []*Member `locationName:"members" type:"list"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` } @@ -9314,6 +10110,88 @@ func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput { return s } +type ListOrganizationAdminAccountsInput struct { + _ struct{} `type:"structure"` + + // The maximum number of results to return in the response. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // A token to use for paginating results that are returned in the response. + // Set the value of this parameter to null for the first request to a list action. + // For subsequent calls, use the NextToken value returned from the previous + // request to continue listing results after the first page. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListOrganizationAdminAccountsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOrganizationAdminAccountsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOrganizationAdminAccountsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOrganizationAdminAccountsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListOrganizationAdminAccountsInput) SetMaxResults(v int64) *ListOrganizationAdminAccountsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOrganizationAdminAccountsInput) SetNextToken(v string) *ListOrganizationAdminAccountsInput { + s.NextToken = &v + return s +} + +type ListOrganizationAdminAccountsOutput struct { + _ struct{} `type:"structure"` + + // An AdminAccounts object that includes a list of accounts configured as GuardDuty + // delegated administrators. + AdminAccounts []*AdminAccount `locationName:"adminAccounts" type:"list"` + + // The pagination parameter to be used on the next list operation to retrieve + // more items. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s ListOrganizationAdminAccountsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListOrganizationAdminAccountsOutput) GoString() string { + return s.String() +} + +// SetAdminAccounts sets the AdminAccounts field's value. +func (s *ListOrganizationAdminAccountsOutput) SetAdminAccounts(v []*AdminAccount) *ListOrganizationAdminAccountsOutput { + s.AdminAccounts = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOrganizationAdminAccountsOutput) SetNextToken(v string) *ListOrganizationAdminAccountsOutput { + s.NextToken = &v + return s +} + type ListPublishingDestinationsInput struct { _ struct{} `type:"structure"` @@ -9325,10 +10203,10 @@ type ListPublishingDestinationsInput struct { // The maximum number of results to return in the response. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - // A token to use for paginating results returned in the repsonse. Set the value - // of this parameter to null for the first request to a list action. For subsequent - // calls, use the NextToken value returned from the previous request to continue - // listing results after the first page. + // A token to use for paginating results that are returned in the response. + // Set the value of this parameter to null for the first request to a list action. + // For subsequent calls, use the NextToken value returned from the previous + // request to continue listing results after the first page. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -9382,16 +10260,16 @@ func (s *ListPublishingDestinationsInput) SetNextToken(v string) *ListPublishing type ListPublishingDestinationsOutput struct { _ struct{} `type:"structure"` - // A Destinations obect that includes information about each publishing destination + // A Destinations object that includes information about each publishing destination // returned. // // Destinations is a required field Destinations []*Destination `locationName:"destinations" type:"list" required:"true"` - // A token to use for paginating results returned in the repsonse. Set the value - // of this parameter to null for the first request to a list action. For subsequent - // calls, use the NextToken value returned from the previous request to continue - // listing results after the first page. + // A token to use for paginating results that are returned in the response. + // Set the value of this parameter to null for the first request to a list action. + // For subsequent calls, use the NextToken value returned from the previous + // request to continue listing results after the first page. NextToken *string `locationName:"nextToken" type:"string"` } @@ -9420,7 +10298,7 @@ func (s *ListPublishingDestinationsOutput) SetNextToken(v string) *ListPublishin type ListTagsForResourceInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) for the given GuardDuty resource + // The Amazon Resource Name (ARN) for the given GuardDuty resource. // // ResourceArn is a required field ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` @@ -9484,18 +10362,18 @@ func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForRe type ListThreatIntelSetsInput struct { _ struct{} `type:"structure"` - // The unique ID of the detector the threatIntelSet is associated with. + // The unique ID of the detector that the threatIntelSet is associated with. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // You can use this parameter to indicate the maximum number of items you want - // in the response. The default value is 50. The maximum value is 50. + // You can use this parameter to indicate the maximum number of items that you + // want in the response. The default value is 50. The maximum value is 50. MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` // You can use this parameter to paginate results in the response. Set the value // of this parameter to null on your first call to the list action. For subsequent - // calls to the action fill nextToken in the request with the value of NextToken + // calls to the action, fill nextToken in the request with the value of NextToken // from the previous response to continue listing data. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` } @@ -9550,8 +10428,8 @@ func (s *ListThreatIntelSetsInput) SetNextToken(v string) *ListThreatIntelSetsIn type ListThreatIntelSetsOutput struct { _ struct{} `type:"structure"` - // Pagination parameter to be used on the next list operation to retrieve more - // items. + // The pagination parameter to be used on the next list operation to retrieve + // more items. NextToken *string `locationName:"nextToken" type:"string"` // The IDs of the ThreatIntelSet resources. @@ -9586,7 +10464,7 @@ func (s *ListThreatIntelSetsOutput) SetThreatIntelSetIds(v []*string) *ListThrea type LocalIpDetails struct { _ struct{} `type:"structure"` - // IPV4 remote address of the connection. + // The IPv4 local address of the connection. IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` } @@ -9610,10 +10488,10 @@ func (s *LocalIpDetails) SetIpAddressV4(v string) *LocalIpDetails { type LocalPortDetails struct { _ struct{} `type:"structure"` - // Port number of the local connection. + // The port number of the local connection. Port *int64 `locationName:"port" type:"integer"` - // Port name of the local connection. + // The port name of the local connection. PortName *string `locationName:"portName" type:"string"` } @@ -9639,17 +10517,17 @@ func (s *LocalPortDetails) SetPortName(v string) *LocalPortDetails { return s } -// Contains information about the Master account and invitation. +// Contains information about the master account and invitation. type Master struct { _ struct{} `type:"structure"` - // The ID of the account used as the Master account. + // The ID of the account used as the master account. AccountId *string `locationName:"accountId" min:"12" type:"string"` - // This value is used to validate the master account to the member account. + // The value used to validate the master account to the member account. InvitationId *string `locationName:"invitationId" type:"string"` - // Timestamp at which the invitation was sent. + // The timestamp when the invitation was sent. InvitedAt *string `locationName:"invitedAt" type:"string"` // The status of the relationship between the master and member accounts. @@ -9690,27 +10568,27 @@ func (s *Master) SetRelationshipStatus(v string) *Master { return s } -// Continas information about the member account +// Contains information about the member account. type Member struct { _ struct{} `type:"structure"` - // Member account ID. + // The ID of the member account. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` - // Member account's detector ID. + // The detector ID of the member account. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` - // Member account's email address. + // The email address of the member account. // // Email is a required field Email *string `locationName:"email" min:"1" type:"string" required:"true"` - // Timestamp at which the invitation was sent + // The timestamp when the invitation was sent. InvitedAt *string `locationName:"invitedAt" type:"string"` - // Master account ID. + // The master account ID. // // MasterId is a required field MasterId *string `locationName:"masterId" type:"string" required:"true"` @@ -9720,7 +10598,7 @@ type Member struct { // RelationshipStatus is a required field RelationshipStatus *string `locationName:"relationshipStatus" type:"string" required:"true"` - // Member last updated timestamp. + // The last-updated timestamp of the member. // // UpdatedAt is a required field UpdatedAt *string `locationName:"updatedAt" type:"string" required:"true"` @@ -9783,25 +10661,25 @@ func (s *Member) SetUpdatedAt(v string) *Member { type NetworkConnectionAction struct { _ struct{} `type:"structure"` - // Network connection blocked information. + // Indicates whether EC2 blocked the network connection to your instance. Blocked *bool `locationName:"blocked" type:"boolean"` - // Network connection direction. + // The network connection direction. ConnectionDirection *string `locationName:"connectionDirection" type:"string"` - // Local IP information of the connection. + // The local IP information of the connection. LocalIpDetails *LocalIpDetails `locationName:"localIpDetails" type:"structure"` - // Local port information of the connection. + // The local port information of the connection. LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"` - // Network connection protocol. + // The network connection protocol. Protocol *string `locationName:"protocol" type:"string"` - // Remote IP information of the connection. + // The remote IP information of the connection. RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` - // Remote port information of the connection. + // The remote port information of the connection. RemotePortDetails *RemotePortDetails `locationName:"remotePortDetails" type:"structure"` } @@ -9857,32 +10735,32 @@ func (s *NetworkConnectionAction) SetRemotePortDetails(v *RemotePortDetails) *Ne return s } -// Contains information about the network interface of the Ec2 instance. +// Contains information about the elastic network interface of the EC2 instance. type NetworkInterface struct { _ struct{} `type:"structure"` - // A list of EC2 instance IPv6 address information. + // A list of IPv6 addresses for the EC2 instance. Ipv6Addresses []*string `locationName:"ipv6Addresses" type:"list"` - // The ID of the network interface + // The ID of the network interface. NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` - // Private DNS name of the EC2 instance. + // The private DNS name of the EC2 instance. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` - // Private IP address of the EC2 instance. + // The private IP address of the EC2 instance. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` // Other private IP address information of the EC2 instance. PrivateIpAddresses []*PrivateIpAddressDetails `locationName:"privateIpAddresses" type:"list"` - // Public DNS name of the EC2 instance. + // The public DNS name of the EC2 instance. PublicDnsName *string `locationName:"publicDnsName" type:"string"` - // Public IP address of the EC2 instance. + // The public IP address of the EC2 instance. PublicIp *string `locationName:"publicIp" type:"string"` - // Security groups associated with the EC2 instance. + // The security groups associated with the EC2 instance. SecurityGroups []*SecurityGroup `locationName:"securityGroups" type:"list"` // The subnet ID of the EC2 instance. @@ -9962,20 +10840,21 @@ func (s *NetworkInterface) SetVpcId(v string) *NetworkInterface { return s } -// Continas information about the ISP organization of the remote IP address. +// Contains information about the ISP organization of the remote IP address. type Organization struct { _ struct{} `type:"structure"` - // Autonomous system number of the internet provider of the remote IP address. + // The Autonomous System Number (ASN) of the internet provider of the remote + // IP address. Asn *string `locationName:"asn" type:"string"` - // Organization that registered this ASN. + // The organization that registered this ASN. AsnOrg *string `locationName:"asnOrg" type:"string"` - // ISP information for the internet provider. + // The ISP information for the internet provider. Isp *string `locationName:"isp" type:"string"` - // Name of the internet provider. + // The name of the internet provider. Org *string `locationName:"org" type:"string"` } @@ -10017,10 +10896,11 @@ func (s *Organization) SetOrg(v string) *Organization { type PortProbeAction struct { _ struct{} `type:"structure"` - // Port probe blocked information. + // Indicates whether EC2 blocked the port probe to the instance, such as with + // an ACL. Blocked *bool `locationName:"blocked" type:"boolean"` - // A list of port probe details objects. + // A list of objects related to port probe details. PortProbeDetails []*PortProbeDetail `locationName:"portProbeDetails" type:"list"` } @@ -10050,13 +10930,13 @@ func (s *PortProbeAction) SetPortProbeDetails(v []*PortProbeDetail) *PortProbeAc type PortProbeDetail struct { _ struct{} `type:"structure"` - // Local IP information of the connection. + // The local IP information of the connection. LocalIpDetails *LocalIpDetails `locationName:"localIpDetails" type:"structure"` - // Local port information of the connection. + // The local port information of the connection. LocalPortDetails *LocalPortDetails `locationName:"localPortDetails" type:"structure"` - // Remote IP information of the connection. + // The remote IP information of the connection. RemoteIpDetails *RemoteIpDetails `locationName:"remoteIpDetails" type:"structure"` } @@ -10092,10 +10972,10 @@ func (s *PortProbeDetail) SetRemoteIpDetails(v *RemoteIpDetails) *PortProbeDetai type PrivateIpAddressDetails struct { _ struct{} `type:"structure"` - // Private DNS name of the EC2 instance. + // The private DNS name of the EC2 instance. PrivateDnsName *string `locationName:"privateDnsName" type:"string"` - // Private IP address of the EC2 instance. + // The private IP address of the EC2 instance. PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"` } @@ -10121,14 +11001,14 @@ func (s *PrivateIpAddressDetails) SetPrivateIpAddress(v string) *PrivateIpAddres return s } -// Contains information about the product code for the Ec2 instance. +// Contains information about the product code for the EC2 instance. type ProductCode struct { _ struct{} `type:"structure"` - // Product code information. + // The product code information. Code *string `locationName:"code" type:"string"` - // Product code type. + // The product code type. ProductType *string `locationName:"productType" type:"string"` } @@ -10154,23 +11034,23 @@ func (s *ProductCode) SetProductType(v string) *ProductCode { return s } -// Continas information about the remote IP address of the connection. +// Contains information about the remote IP address of the connection. type RemoteIpDetails struct { _ struct{} `type:"structure"` - // City information of the remote IP address. + // The city information of the remote IP address. City *City `locationName:"city" type:"structure"` - // Country code of the remote IP address. + // The country code of the remote IP address. Country *Country `locationName:"country" type:"structure"` - // Location information of the remote IP address. + // The location information of the remote IP address. GeoLocation *GeoLocation `locationName:"geoLocation" type:"structure"` - // IPV4 remote address of the connection. + // The IPv4 remote address of the connection. IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` - // ISP Organization information of the remote IP address. + // The ISP organization information of the remote IP address. Organization *Organization `locationName:"organization" type:"structure"` } @@ -10218,10 +11098,10 @@ func (s *RemoteIpDetails) SetOrganization(v *Organization) *RemoteIpDetails { type RemotePortDetails struct { _ struct{} `type:"structure"` - // Port number of the remote connection. + // The port number of the remote connection. Port *int64 `locationName:"port" type:"integer"` - // Port name of the remote connection. + // The port name of the remote connection. PortName *string `locationName:"portName" type:"string"` } @@ -10260,7 +11140,7 @@ type Resource struct { // prompted GuardDuty to generate a finding. InstanceDetails *InstanceDetails `locationName:"instanceDetails" type:"structure"` - // The type of the AWS resource. + // The type of AWS resource. ResourceType *string `locationName:"resourceType" type:"string"` } @@ -10296,10 +11176,10 @@ func (s *Resource) SetResourceType(v string) *Resource { type SecurityGroup struct { _ struct{} `type:"structure"` - // EC2 instance's security group ID. + // The security group ID of the EC2 instance. GroupId *string `locationName:"groupId" type:"string"` - // EC2 instance's security group name. + // The security group name of the EC2 instance. GroupName *string `locationName:"groupName" type:"string"` } @@ -10329,36 +11209,36 @@ func (s *SecurityGroup) SetGroupName(v string) *SecurityGroup { type Service struct { _ struct{} `type:"structure"` - // Information about the activity described in a finding. + // Information about the activity that is described in a finding. Action *Action `locationName:"action" type:"structure"` // Indicates whether this finding is archived. Archived *bool `locationName:"archived" type:"boolean"` - // Total count of the occurrences of this finding type. + // The total count of the occurrences of this finding type. Count *int64 `locationName:"count" type:"integer"` - // Detector ID for the GuardDuty service. + // The detector ID for the GuardDuty service. DetectorId *string `locationName:"detectorId" min:"1" type:"string"` - // First seen timestamp of the activity that prompted GuardDuty to generate + // The first-seen timestamp of the activity that prompted GuardDuty to generate // this finding. EventFirstSeen *string `locationName:"eventFirstSeen" type:"string"` - // Last seen timestamp of the activity that prompted GuardDuty to generate this - // finding. + // The last-seen timestamp of the activity that prompted GuardDuty to generate + // this finding. EventLastSeen *string `locationName:"eventLastSeen" type:"string"` // An evidence object associated with the service. Evidence *Evidence `locationName:"evidence" type:"structure"` - // Resource role information for this finding. + // The resource role information for this finding. ResourceRole *string `locationName:"resourceRole" type:"string"` // The name of the AWS service (GuardDuty) that generated a finding. ServiceName *string `locationName:"serviceName" type:"string"` - // Feedback left about the finding. + // Feedback that was submitted about the finding. UserFeedback *string `locationName:"userFeedback" type:"string"` } @@ -10436,11 +11316,11 @@ func (s *Service) SetUserFeedback(v string) *Service { type SortCriteria struct { _ struct{} `type:"structure"` - // Represents the finding attribute (for example, accountId) by which to sort - // findings. + // Represents the finding attribute (for example, accountId) to sort findings + // by. AttributeName *string `locationName:"attributeName" type:"string"` - // Order by which the sorted findings are to be displayed. + // The order by which the sorted findings are to be displayed. OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` } @@ -10528,8 +11408,8 @@ func (s *StartMonitoringMembersInput) SetDetectorId(v string) *StartMonitoringMe type StartMonitoringMembersOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain the unprocessed account and a result string + // that explains why it was unprocessed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -10554,14 +11434,13 @@ func (s *StartMonitoringMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAc type StopMonitoringMembersInput struct { _ struct{} `type:"structure"` - // A list of account IDs of the GuardDuty member accounts whose findings you - // want the master account to stop monitoring. + // A list of account IDs for the member accounts to stop monitoring. // // AccountIds is a required field AccountIds []*string `locationName:"accountIds" min:"1" type:"list" required:"true"` - // The unique ID of the detector of the GuardDuty account that you want to stop - // from monitor members' findings. + // The unique ID of the detector associated with the GuardDuty master account + // that is monitoring member accounts. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -10614,8 +11493,9 @@ func (s *StopMonitoringMembersInput) SetDetectorId(v string) *StopMonitoringMemb type StopMonitoringMembersOutput struct { _ struct{} `type:"structure"` - // A list of objects containing the unprocessed account and a result string - // explaining why it was unprocessed. + // A list of objects that contain an accountId for each account that could not + // be processed, and a result string that indicates why the account was not + // processed. // // UnprocessedAccounts is a required field UnprocessedAccounts []*UnprocessedAccount `locationName:"unprocessedAccounts" type:"list" required:"true"` @@ -10637,14 +11517,14 @@ func (s *StopMonitoringMembersOutput) SetUnprocessedAccounts(v []*UnprocessedAcc return s } -// Contains information about a tag associated with the Ec2 instance. +// Contains information about a tag associated with the EC2 instance. type Tag struct { _ struct{} `type:"structure"` - // EC2 instance tag key. + // The EC2 instance tag key. Key *string `locationName:"key" type:"string"` - // EC2 instance tag value. + // The EC2 instance tag value. Value *string `locationName:"value" type:"string"` } @@ -10786,7 +11666,7 @@ type UnarchiveFindingsInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // IDs of the findings to unarchive. + // The IDs of the findings to unarchive. // // FindingIds is a required field FindingIds []*string `locationName:"findingIds" type:"list" required:"true"` @@ -10847,11 +11727,11 @@ func (s UnarchiveFindingsOutput) GoString() string { return s.String() } -// Contains information about the accounts that were not processed. +// Contains information about the accounts that weren't processed. type UnprocessedAccount struct { _ struct{} `type:"structure"` - // AWS Account ID. + // The AWS account ID. // // AccountId is a required field AccountId *string `locationName:"accountId" min:"12" type:"string" required:"true"` @@ -10967,7 +11847,7 @@ type UpdateDetectorInput struct { // Specifies whether the detector is enabled or not enabled. Enable *bool `locationName:"enable" type:"boolean"` - // A enum value that specifies how frequently findings are exported, such as + // An enum value that specifies how frequently findings are exported, such as // to CloudWatch Events. FindingPublishingFrequency *string `locationName:"findingPublishingFrequency" type:"string" enum:"FindingPublishingFrequency"` } @@ -11174,7 +12054,7 @@ type UpdateFindingsFeedbackInput struct { // Feedback is a required field Feedback *string `locationName:"feedback" type:"string" required:"true" enum:"Feedback"` - // IDs of the findings that you want to mark as useful or not useful. + // The IDs of the findings that you want to mark as useful or not useful. // // FindingIds is a required field FindingIds []*string `locationName:"findingIds" type:"list" required:"true"` @@ -11253,7 +12133,7 @@ func (s UpdateFindingsFeedbackOutput) GoString() string { type UpdateIPSetInput struct { _ struct{} `type:"structure"` - // The updated boolean value that specifies whether the IPSet is active or not. + // The updated Boolean value that specifies whether the IPSet is active or not. Activate *bool `locationName:"activate" type:"boolean"` // The detectorID that specifies the GuardDuty service whose IPSet you want @@ -11267,7 +12147,7 @@ type UpdateIPSetInput struct { // IpSetId is a required field IpSetId *string `location:"uri" locationName:"ipSetId" type:"string" required:"true"` - // The updated URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key). + // The updated URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. Location *string `locationName:"location" min:"1" type:"string"` // The unique ID that specifies the IPSet that you want to update. @@ -11356,10 +12236,79 @@ func (s UpdateIPSetOutput) GoString() string { return s.String() } +type UpdateOrganizationConfigurationInput struct { + _ struct{} `type:"structure"` + + // Indicates whether to automatically enable member accounts in the organization. + // + // AutoEnable is a required field + AutoEnable *bool `locationName:"autoEnable" type:"boolean" required:"true"` + + // The ID of the detector to update the delegated administrator for. + // + // DetectorId is a required field + DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateOrganizationConfigurationInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateOrganizationConfigurationInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateOrganizationConfigurationInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateOrganizationConfigurationInput"} + if s.AutoEnable == nil { + invalidParams.Add(request.NewErrParamRequired("AutoEnable")) + } + if s.DetectorId == nil { + invalidParams.Add(request.NewErrParamRequired("DetectorId")) + } + if s.DetectorId != nil && len(*s.DetectorId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DetectorId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAutoEnable sets the AutoEnable field's value. +func (s *UpdateOrganizationConfigurationInput) SetAutoEnable(v bool) *UpdateOrganizationConfigurationInput { + s.AutoEnable = &v + return s +} + +// SetDetectorId sets the DetectorId field's value. +func (s *UpdateOrganizationConfigurationInput) SetDetectorId(v string) *UpdateOrganizationConfigurationInput { + s.DetectorId = &v + return s +} + +type UpdateOrganizationConfigurationOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateOrganizationConfigurationOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateOrganizationConfigurationOutput) GoString() string { + return s.String() +} + type UpdatePublishingDestinationInput struct { _ struct{} `type:"structure"` - // The ID of the detector associated with the publishing destinations to update. + // The ID of the publishing destination to update. // // DestinationId is a required field DestinationId *string `location:"uri" locationName:"destinationId" type:"string" required:"true"` @@ -11368,7 +12317,7 @@ type UpdatePublishingDestinationInput struct { // of the publishing destination. DestinationProperties *DestinationProperties `locationName:"destinationProperties" type:"structure"` - // The ID of the + // The ID of the detector associated with the publishing destinations to update. // // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` @@ -11441,7 +12390,7 @@ func (s UpdatePublishingDestinationOutput) GoString() string { type UpdateThreatIntelSetInput struct { _ struct{} `type:"structure"` - // The updated boolean value that specifies whether the ThreateIntelSet is active + // The updated Boolean value that specifies whether the ThreateIntelSet is active // or not. Activate *bool `locationName:"activate" type:"boolean"` @@ -11451,8 +12400,8 @@ type UpdateThreatIntelSetInput struct { // DetectorId is a required field DetectorId *string `location:"uri" locationName:"detectorId" min:"1" type:"string" required:"true"` - // The updated URI of the file that contains the ThreateIntelSet. For example - // (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key) + // The updated URI of the file that contains the ThreateIntelSet. For example: + // https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key. Location *string `locationName:"location" min:"1" type:"string"` // The unique ID that specifies the ThreatIntelSet that you want to update. @@ -11546,6 +12495,14 @@ func (s UpdateThreatIntelSetOutput) GoString() string { return s.String() } +const ( + // AdminStatusEnabled is a AdminStatus enum value + AdminStatusEnabled = "ENABLED" + + // AdminStatusDisableInProgress is a AdminStatus enum value + AdminStatusDisableInProgress = "DISABLE_IN_PROGRESS" +) + const ( // DestinationTypeS3 is a DestinationType enum value DestinationTypeS3 = "S3" diff --git a/service/guardduty/doc.go b/service/guardduty/doc.go index fcc8098dfda..c14c9641279 100644 --- a/service/guardduty/doc.go +++ b/service/guardduty/doc.go @@ -5,19 +5,22 @@ // // Amazon GuardDuty is a continuous security monitoring service that analyzes // and processes the following data sources: VPC Flow Logs, AWS CloudTrail event -// logs, and DNS logs. It uses threat intelligence feeds, such as lists of malicious -// IPs and domains, and machine learning to identify unexpected and potentially -// unauthorized and malicious activity within your AWS environment. This can +// logs, and DNS logs. It uses threat intelligence feeds (such as lists of malicious +// IPs and domains) and machine learning to identify unexpected, potentially +// unauthorized, and malicious activity within your AWS environment. This can // include issues like escalations of privileges, uses of exposed credentials, // or communication with malicious IPs, URLs, or domains. For example, GuardDuty -// can detect compromised EC2 instances serving malware or mining bitcoin. It -// also monitors AWS account access behavior for signs of compromise, such as -// unauthorized infrastructure deployments, like instances deployed in a region -// that has never been used, or unusual API calls, like a password policy change -// to reduce password strength. GuardDuty informs you of the status of your -// AWS environment by producing security findings that you can view in the GuardDuty -// console or through Amazon CloudWatch events. For more information, see Amazon -// GuardDuty User Guide (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html). +// can detect compromised EC2 instances that serve malware or mine bitcoin. +// +// GuardDuty also monitors AWS account access behavior for signs of compromise. +// Some examples of this are unauthorized infrastructure deployments such as +// EC2 instances deployed in a Region that has never been used, or unusual API +// calls like a password policy change to reduce password strength. +// +// GuardDuty informs you of the status of your AWS environment by producing +// security findings that you can view in the GuardDuty console or through Amazon +// CloudWatch events. For more information, see the Amazon GuardDuty User Guide +// (https://docs.aws.amazon.com/guardduty/latest/ug/what-is-guardduty.html) . // // See https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28 for more information on this service. // diff --git a/service/guardduty/errors.go b/service/guardduty/errors.go index 63b0c1f7db7..8a4f92d1b3f 100644 --- a/service/guardduty/errors.go +++ b/service/guardduty/errors.go @@ -11,13 +11,13 @@ const ( // ErrCodeBadRequestException for service response error code // "BadRequestException". // - // Bad request exception object. + // A bad request exception object. ErrCodeBadRequestException = "BadRequestException" // ErrCodeInternalServerErrorException for service response error code // "InternalServerErrorException". // - // Internal server error exception object. + // An internal server error exception object. ErrCodeInternalServerErrorException = "InternalServerErrorException" ) diff --git a/service/guardduty/guarddutyiface/interface.go b/service/guardduty/guarddutyiface/interface.go index b4a622e4035..707783a7113 100644 --- a/service/guardduty/guarddutyiface/interface.go +++ b/service/guardduty/guarddutyiface/interface.go @@ -128,10 +128,18 @@ type GuardDutyAPI interface { DeleteThreatIntelSetWithContext(aws.Context, *guardduty.DeleteThreatIntelSetInput, ...request.Option) (*guardduty.DeleteThreatIntelSetOutput, error) DeleteThreatIntelSetRequest(*guardduty.DeleteThreatIntelSetInput) (*request.Request, *guardduty.DeleteThreatIntelSetOutput) + DescribeOrganizationConfiguration(*guardduty.DescribeOrganizationConfigurationInput) (*guardduty.DescribeOrganizationConfigurationOutput, error) + DescribeOrganizationConfigurationWithContext(aws.Context, *guardduty.DescribeOrganizationConfigurationInput, ...request.Option) (*guardduty.DescribeOrganizationConfigurationOutput, error) + DescribeOrganizationConfigurationRequest(*guardduty.DescribeOrganizationConfigurationInput) (*request.Request, *guardduty.DescribeOrganizationConfigurationOutput) + DescribePublishingDestination(*guardduty.DescribePublishingDestinationInput) (*guardduty.DescribePublishingDestinationOutput, error) DescribePublishingDestinationWithContext(aws.Context, *guardduty.DescribePublishingDestinationInput, ...request.Option) (*guardduty.DescribePublishingDestinationOutput, error) DescribePublishingDestinationRequest(*guardduty.DescribePublishingDestinationInput) (*request.Request, *guardduty.DescribePublishingDestinationOutput) + DisableOrganizationAdminAccount(*guardduty.DisableOrganizationAdminAccountInput) (*guardduty.DisableOrganizationAdminAccountOutput, error) + DisableOrganizationAdminAccountWithContext(aws.Context, *guardduty.DisableOrganizationAdminAccountInput, ...request.Option) (*guardduty.DisableOrganizationAdminAccountOutput, error) + DisableOrganizationAdminAccountRequest(*guardduty.DisableOrganizationAdminAccountInput) (*request.Request, *guardduty.DisableOrganizationAdminAccountOutput) + DisassociateFromMasterAccount(*guardduty.DisassociateFromMasterAccountInput) (*guardduty.DisassociateFromMasterAccountOutput, error) DisassociateFromMasterAccountWithContext(aws.Context, *guardduty.DisassociateFromMasterAccountInput, ...request.Option) (*guardduty.DisassociateFromMasterAccountOutput, error) DisassociateFromMasterAccountRequest(*guardduty.DisassociateFromMasterAccountInput) (*request.Request, *guardduty.DisassociateFromMasterAccountOutput) @@ -140,6 +148,10 @@ type GuardDutyAPI interface { DisassociateMembersWithContext(aws.Context, *guardduty.DisassociateMembersInput, ...request.Option) (*guardduty.DisassociateMembersOutput, error) DisassociateMembersRequest(*guardduty.DisassociateMembersInput) (*request.Request, *guardduty.DisassociateMembersOutput) + EnableOrganizationAdminAccount(*guardduty.EnableOrganizationAdminAccountInput) (*guardduty.EnableOrganizationAdminAccountOutput, error) + EnableOrganizationAdminAccountWithContext(aws.Context, *guardduty.EnableOrganizationAdminAccountInput, ...request.Option) (*guardduty.EnableOrganizationAdminAccountOutput, error) + EnableOrganizationAdminAccountRequest(*guardduty.EnableOrganizationAdminAccountInput) (*request.Request, *guardduty.EnableOrganizationAdminAccountOutput) + GetDetector(*guardduty.GetDetectorInput) (*guardduty.GetDetectorOutput, error) GetDetectorWithContext(aws.Context, *guardduty.GetDetectorInput, ...request.Option) (*guardduty.GetDetectorOutput, error) GetDetectorRequest(*guardduty.GetDetectorInput) (*request.Request, *guardduty.GetDetectorOutput) @@ -222,6 +234,13 @@ type GuardDutyAPI interface { ListMembersPages(*guardduty.ListMembersInput, func(*guardduty.ListMembersOutput, bool) bool) error ListMembersPagesWithContext(aws.Context, *guardduty.ListMembersInput, func(*guardduty.ListMembersOutput, bool) bool, ...request.Option) error + ListOrganizationAdminAccounts(*guardduty.ListOrganizationAdminAccountsInput) (*guardduty.ListOrganizationAdminAccountsOutput, error) + ListOrganizationAdminAccountsWithContext(aws.Context, *guardduty.ListOrganizationAdminAccountsInput, ...request.Option) (*guardduty.ListOrganizationAdminAccountsOutput, error) + ListOrganizationAdminAccountsRequest(*guardduty.ListOrganizationAdminAccountsInput) (*request.Request, *guardduty.ListOrganizationAdminAccountsOutput) + + ListOrganizationAdminAccountsPages(*guardduty.ListOrganizationAdminAccountsInput, func(*guardduty.ListOrganizationAdminAccountsOutput, bool) bool) error + ListOrganizationAdminAccountsPagesWithContext(aws.Context, *guardduty.ListOrganizationAdminAccountsInput, func(*guardduty.ListOrganizationAdminAccountsOutput, bool) bool, ...request.Option) error + ListPublishingDestinations(*guardduty.ListPublishingDestinationsInput) (*guardduty.ListPublishingDestinationsOutput, error) ListPublishingDestinationsWithContext(aws.Context, *guardduty.ListPublishingDestinationsInput, ...request.Option) (*guardduty.ListPublishingDestinationsOutput, error) ListPublishingDestinationsRequest(*guardduty.ListPublishingDestinationsInput) (*request.Request, *guardduty.ListPublishingDestinationsOutput) @@ -276,6 +295,10 @@ type GuardDutyAPI interface { UpdateIPSetWithContext(aws.Context, *guardduty.UpdateIPSetInput, ...request.Option) (*guardduty.UpdateIPSetOutput, error) UpdateIPSetRequest(*guardduty.UpdateIPSetInput) (*request.Request, *guardduty.UpdateIPSetOutput) + UpdateOrganizationConfiguration(*guardduty.UpdateOrganizationConfigurationInput) (*guardduty.UpdateOrganizationConfigurationOutput, error) + UpdateOrganizationConfigurationWithContext(aws.Context, *guardduty.UpdateOrganizationConfigurationInput, ...request.Option) (*guardduty.UpdateOrganizationConfigurationOutput, error) + UpdateOrganizationConfigurationRequest(*guardduty.UpdateOrganizationConfigurationInput) (*request.Request, *guardduty.UpdateOrganizationConfigurationOutput) + UpdatePublishingDestination(*guardduty.UpdatePublishingDestinationInput) (*guardduty.UpdatePublishingDestinationOutput, error) UpdatePublishingDestinationWithContext(aws.Context, *guardduty.UpdatePublishingDestinationInput, ...request.Option) (*guardduty.UpdatePublishingDestinationOutput, error) UpdatePublishingDestinationRequest(*guardduty.UpdatePublishingDestinationInput) (*request.Request, *guardduty.UpdatePublishingDestinationOutput) diff --git a/service/route53domains/api.go b/service/route53domains/api.go index e4c31934ad0..e3e02e0b0ce 100644 --- a/service/route53domains/api.go +++ b/service/route53domains/api.go @@ -13,6 +13,200 @@ import ( "github.com/aws/aws-sdk-go/private/protocol/jsonrpc" ) +const opAcceptDomainTransferFromAnotherAwsAccount = "AcceptDomainTransferFromAnotherAwsAccount" + +// AcceptDomainTransferFromAnotherAwsAccountRequest generates a "aws/request.Request" representing the +// client's request for the AcceptDomainTransferFromAnotherAwsAccount 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 AcceptDomainTransferFromAnotherAwsAccount for more information on using the AcceptDomainTransferFromAnotherAwsAccount +// 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 AcceptDomainTransferFromAnotherAwsAccountRequest method. +// req, resp := client.AcceptDomainTransferFromAnotherAwsAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccount +func (c *Route53Domains) AcceptDomainTransferFromAnotherAwsAccountRequest(input *AcceptDomainTransferFromAnotherAwsAccountInput) (req *request.Request, output *AcceptDomainTransferFromAnotherAwsAccountOutput) { + op := &request.Operation{ + Name: opAcceptDomainTransferFromAnotherAwsAccount, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AcceptDomainTransferFromAnotherAwsAccountInput{} + } + + output = &AcceptDomainTransferFromAnotherAwsAccountOutput{} + req = c.newRequest(op, input, output) + return +} + +// AcceptDomainTransferFromAnotherAwsAccount API operation for Amazon Route 53 Domains. +// +// Accepts the transfer of a domain from another AWS account to the current +// AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html). +// +// Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) +// or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// provides additional information, for example, Domain Transfer from Aws Account +// 111122223333 has been cancelled. +// +// 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 Route 53 Domains's +// API operation AcceptDomainTransferFromAnotherAwsAccount for usage and error information. +// +// Returned Error Types: +// * InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// * OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// * DomainLimitExceeded +// The number of domains has exceeded the allowed threshold for the account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccount +func (c *Route53Domains) AcceptDomainTransferFromAnotherAwsAccount(input *AcceptDomainTransferFromAnotherAwsAccountInput) (*AcceptDomainTransferFromAnotherAwsAccountOutput, error) { + req, out := c.AcceptDomainTransferFromAnotherAwsAccountRequest(input) + return out, req.Send() +} + +// AcceptDomainTransferFromAnotherAwsAccountWithContext is the same as AcceptDomainTransferFromAnotherAwsAccount with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptDomainTransferFromAnotherAwsAccount 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 *Route53Domains) AcceptDomainTransferFromAnotherAwsAccountWithContext(ctx aws.Context, input *AcceptDomainTransferFromAnotherAwsAccountInput, opts ...request.Option) (*AcceptDomainTransferFromAnotherAwsAccountOutput, error) { + req, out := c.AcceptDomainTransferFromAnotherAwsAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCancelDomainTransferToAnotherAwsAccount = "CancelDomainTransferToAnotherAwsAccount" + +// CancelDomainTransferToAnotherAwsAccountRequest generates a "aws/request.Request" representing the +// client's request for the CancelDomainTransferToAnotherAwsAccount 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 CancelDomainTransferToAnotherAwsAccount for more information on using the CancelDomainTransferToAnotherAwsAccount +// 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 CancelDomainTransferToAnotherAwsAccountRequest method. +// req, resp := client.CancelDomainTransferToAnotherAwsAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccount +func (c *Route53Domains) CancelDomainTransferToAnotherAwsAccountRequest(input *CancelDomainTransferToAnotherAwsAccountInput) (req *request.Request, output *CancelDomainTransferToAnotherAwsAccountOutput) { + op := &request.Operation{ + Name: opCancelDomainTransferToAnotherAwsAccount, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CancelDomainTransferToAnotherAwsAccountInput{} + } + + output = &CancelDomainTransferToAnotherAwsAccountOutput{} + req = c.newRequest(op, input, output) + return +} + +// CancelDomainTransferToAnotherAwsAccount API operation for Amazon Route 53 Domains. +// +// Cancels the transfer of a domain from the current AWS account to another +// AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html). +// +// You must cancel the transfer before the other AWS account accepts the transfer +// using AcceptDomainTransferFromAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html). +// +// Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) +// or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// provides additional information, for example, Domain Transfer from Aws Account +// 111122223333 has been cancelled. +// +// 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 Route 53 Domains's +// API operation CancelDomainTransferToAnotherAwsAccount for usage and error information. +// +// Returned Error Types: +// * InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// * OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccount +func (c *Route53Domains) CancelDomainTransferToAnotherAwsAccount(input *CancelDomainTransferToAnotherAwsAccountInput) (*CancelDomainTransferToAnotherAwsAccountOutput, error) { + req, out := c.CancelDomainTransferToAnotherAwsAccountRequest(input) + return out, req.Send() +} + +// CancelDomainTransferToAnotherAwsAccountWithContext is the same as CancelDomainTransferToAnotherAwsAccount with the addition of +// the ability to pass a context and additional request options. +// +// See CancelDomainTransferToAnotherAwsAccount 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 *Route53Domains) CancelDomainTransferToAnotherAwsAccountWithContext(ctx aws.Context, input *CancelDomainTransferToAnotherAwsAccountInput, opts ...request.Option) (*CancelDomainTransferToAnotherAwsAccountOutput, error) { + req, out := c.CancelDomainTransferToAnotherAwsAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCheckDomainAvailability = "CheckDomainAvailability" // CheckDomainAvailabilityRequest generates a "aws/request.Request" representing the @@ -70,9 +264,10 @@ func (c *Route53Domains) CheckDomainAvailabilityRequest(input *CheckDomainAvaila // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -154,9 +349,10 @@ func (c *Route53Domains) CheckDomainTransferabilityRequest(input *CheckDomainTra // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -242,9 +438,10 @@ func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainIn // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * OperationLimitExceeded // The number of operations or jobs running exceeded the allowed threshold for @@ -332,9 +529,10 @@ func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoR // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -422,9 +620,10 @@ func (c *Route53Domains) DisableDomainTransferLockRequest(input *DisableDomainTr // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * DuplicateRequest // The request is already in progress for the domain. @@ -511,11 +710,11 @@ func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRen // domain registration is billed to your AWS account. // // The period during which you can renew a domain name varies by TLD. For a -// list of TLDs and their renewal policies, see "Renewal, restoration, and deletion -// times" (http://wiki.gandi.net/en/domains/renew#renewal_restoration_and_deletion_times) -// on the website for our registrar associate, Gandi. Amazon Route 53 requires -// that you renew before the end of the renewal period that is listed on the -// Gandi website so we can complete processing before the deadline. +// list of TLDs and their renewal policies, see Domains That You Can Register +// with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) +// in the Amazon Route 53 Developer Guide. Route 53 requires that you renew +// before the end of the renewal period so we can complete processing before +// the deadline. // // 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 @@ -526,9 +725,10 @@ func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRen // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -617,9 +817,10 @@ func (c *Route53Domains) EnableDomainTransferLockRequest(input *EnableDomainTran // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * DuplicateRequest // The request is already in progress for the domain. @@ -716,9 +917,10 @@ func (c *Route53Domains) GetContactReachabilityStatusRequest(input *GetContactRe // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * OperationLimitExceeded // The number of operations or jobs running exceeded the allowed threshold for @@ -806,9 +1008,10 @@ func (c *Route53Domains) GetDomainDetailRequest(input *GetDomainDetailInput) (re // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -879,9 +1082,7 @@ func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestions // GetDomainSuggestions API operation for Amazon Route 53 Domains. // -// The GetDomainSuggestions operation returns a list of suggested domain names -// given a string, which can either be a domain name or simply a word or phrase -// (without spaces). +// The GetDomainSuggestions operation returns a list of suggested domain names. // // 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 @@ -892,9 +1093,10 @@ func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestions // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -976,9 +1178,10 @@ func (c *Route53Domains) GetOperationDetailRequest(input *GetOperationDetailInpu // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail func (c *Route53Domains) GetOperationDetail(input *GetOperationDetailInput) (*GetOperationDetailOutput, error) { @@ -1064,9 +1267,10 @@ func (c *Route53Domains) ListDomainsRequest(input *ListDomainsInput) (req *reque // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomains func (c *Route53Domains) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { @@ -1192,7 +1396,9 @@ func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req // ListOperations API operation for Amazon Route 53 Domains. // -// This operation returns the operation IDs of operations that are not yet complete. +// Returns information about all of the operations that return an operation +// ID and that have ever been performed on domains that were registered by the +// current account. // // 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 @@ -1203,9 +1409,10 @@ func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperations func (c *Route53Domains) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) { @@ -1340,9 +1547,10 @@ func (c *Route53Domains) ListTagsForDomainRequest(input *ListTagsForDomainInput) // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * OperationLimitExceeded // The number of operations or jobs running exceeded the allowed threshold for @@ -1424,10 +1632,9 @@ func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req // // When you register a domain, Amazon Route 53 does the following: // -// * Creates a Amazon Route 53 hosted zone that has the same name as the -// domain. Amazon Route 53 assigns four name servers to your hosted zone -// and automatically updates your domain registration with the names of these -// name servers. +// * Creates a Route 53 hosted zone that has the same name as the domain. +// Route 53 assigns four name servers to your hosted zone and automatically +// updates your domain registration with the names of these name servers. // // * Enables autorenew, so your domain registration will renew automatically // each year. We'll notify you in advance of the renewal date so you can @@ -1455,9 +1662,10 @@ func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -1497,6 +1705,100 @@ func (c *Route53Domains) RegisterDomainWithContext(ctx aws.Context, input *Regis return out, req.Send() } +const opRejectDomainTransferFromAnotherAwsAccount = "RejectDomainTransferFromAnotherAwsAccount" + +// RejectDomainTransferFromAnotherAwsAccountRequest generates a "aws/request.Request" representing the +// client's request for the RejectDomainTransferFromAnotherAwsAccount 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 RejectDomainTransferFromAnotherAwsAccount for more information on using the RejectDomainTransferFromAnotherAwsAccount +// 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 RejectDomainTransferFromAnotherAwsAccountRequest method. +// req, resp := client.RejectDomainTransferFromAnotherAwsAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccount +func (c *Route53Domains) RejectDomainTransferFromAnotherAwsAccountRequest(input *RejectDomainTransferFromAnotherAwsAccountInput) (req *request.Request, output *RejectDomainTransferFromAnotherAwsAccountOutput) { + op := &request.Operation{ + Name: opRejectDomainTransferFromAnotherAwsAccount, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RejectDomainTransferFromAnotherAwsAccountInput{} + } + + output = &RejectDomainTransferFromAnotherAwsAccountOutput{} + req = c.newRequest(op, input, output) + return +} + +// RejectDomainTransferFromAnotherAwsAccount API operation for Amazon Route 53 Domains. +// +// Rejects the transfer of a domain from another AWS account to the current +// AWS account. You initiate a transfer between AWS accounts using TransferDomainToAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html). +// +// Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) +// or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// provides additional information, for example, Domain Transfer from Aws Account +// 111122223333 has been cancelled. +// +// 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 Route 53 Domains's +// API operation RejectDomainTransferFromAnotherAwsAccount for usage and error information. +// +// Returned Error Types: +// * InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// * OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccount +func (c *Route53Domains) RejectDomainTransferFromAnotherAwsAccount(input *RejectDomainTransferFromAnotherAwsAccountInput) (*RejectDomainTransferFromAnotherAwsAccountOutput, error) { + req, out := c.RejectDomainTransferFromAnotherAwsAccountRequest(input) + return out, req.Send() +} + +// RejectDomainTransferFromAnotherAwsAccountWithContext is the same as RejectDomainTransferFromAnotherAwsAccount with the addition of +// the ability to pass a context and additional request options. +// +// See RejectDomainTransferFromAnotherAwsAccount 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 *Route53Domains) RejectDomainTransferFromAnotherAwsAccountWithContext(ctx aws.Context, input *RejectDomainTransferFromAnotherAwsAccountInput, opts ...request.Option) (*RejectDomainTransferFromAnotherAwsAccountOutput, error) { + req, out := c.RejectDomainTransferFromAnotherAwsAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRenewDomain = "RenewDomain" // RenewDomainRequest generates a "aws/request.Request" representing the @@ -1547,7 +1849,7 @@ func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *reque // We recommend that you renew your domain several weeks before the expiration // date. Some TLD registries delete domains before the expiration date if you // haven't renewed far enough in advance. For more information about renewing -// domain registration, see Renewing Registration for a Domain (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-renew.html) +// domain registration, see Renewing Registration for a Domain (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-renew.html) // in the Amazon Route 53 Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1559,9 +1861,10 @@ func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *reque // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -1655,9 +1958,10 @@ func (c *Route53Domains) ResendContactReachabilityEmailRequest(input *ResendCont // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * OperationLimitExceeded // The number of operations or jobs running exceeded the allowed threshold for @@ -1744,9 +2048,10 @@ func (c *Route53Domains) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuth // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -1817,23 +2122,31 @@ func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req // TransferDomain API operation for Amazon Route 53 Domains. // -// This operation transfers a domain from another registrar to Amazon Route -// 53. When the transfer is complete, the domain is registered either with Amazon -// Registrar (for .com, .net, and .org domains) or with our registrar associate, -// Gandi (for all other TLDs). +// Transfers a domain from another registrar to Amazon Route 53. When the transfer +// is complete, the domain is registered either with Amazon Registrar (for .com, +// .net, and .org domains) or with our registrar associate, Gandi (for all other +// TLDs). // -// For transfer requirements, a detailed procedure, and information about viewing -// the status of a domain transfer, see Transferring Registration for a Domain -// to Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html) -// in the Amazon Route 53 Developer Guide. +// For more information about transferring domains, see the following topics: +// +// * For transfer requirements, a detailed procedure, and information about +// viewing the status of a domain that you're transferring to Route 53, see +// Transferring Registration for a Domain to Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html) +// in the Amazon Route 53 Developer Guide. +// +// * For information about how to transfer a domain from one AWS account +// to another, see TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html). +// +// * For information about how to transfer a domain to another domain registrar, +// see Transferring a Domain from Amazon Route 53 to Another Registrar (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-from-route-53.html) +// in the Amazon Route 53 Developer Guide. // // If the registrar for your domain is also the DNS service provider for the -// domain, we highly recommend that you consider transferring your DNS service -// to Amazon Route 53 or to another DNS service provider before you transfer -// your registration. Some registrars provide free DNS service when you purchase -// a domain registration. When you transfer the registration, the previous registrar -// will not renew your domain registration and could end your DNS service at -// any time. +// domain, we highly recommend that you transfer your DNS service to Route 53 +// or to another DNS service provider before you transfer your registration. +// Some registrars provide free DNS service when you purchase a domain registration. +// When you transfer the registration, the previous registrar will not renew +// your domain registration and could end your DNS service at any time. // // If the registrar for your domain is also the DNS service provider for the // domain and you don't transfer DNS service to another provider, your website, @@ -1853,9 +2166,10 @@ func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * UnsupportedTLD // Amazon Route 53 does not support this top-level domain (TLD). @@ -1895,6 +2209,121 @@ func (c *Route53Domains) TransferDomainWithContext(ctx aws.Context, input *Trans return out, req.Send() } +const opTransferDomainToAnotherAwsAccount = "TransferDomainToAnotherAwsAccount" + +// TransferDomainToAnotherAwsAccountRequest generates a "aws/request.Request" representing the +// client's request for the TransferDomainToAnotherAwsAccount 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 TransferDomainToAnotherAwsAccount for more information on using the TransferDomainToAnotherAwsAccount +// 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 TransferDomainToAnotherAwsAccountRequest method. +// req, resp := client.TransferDomainToAnotherAwsAccountRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccount +func (c *Route53Domains) TransferDomainToAnotherAwsAccountRequest(input *TransferDomainToAnotherAwsAccountInput) (req *request.Request, output *TransferDomainToAnotherAwsAccountOutput) { + op := &request.Operation{ + Name: opTransferDomainToAnotherAwsAccount, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &TransferDomainToAnotherAwsAccountInput{} + } + + output = &TransferDomainToAnotherAwsAccountOutput{} + req = c.newRequest(op, input, output) + return +} + +// TransferDomainToAnotherAwsAccount API operation for Amazon Route 53 Domains. +// +// Transfers a domain from the current AWS account to another AWS account. Note +// the following: +// +// * The AWS account that you're transferring the domain to must accept the +// transfer. If the other account doesn't accept the transfer within 3 days, +// we cancel the transfer. See AcceptDomainTransferFromAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html). +// +// * You can cancel the transfer before the other account accepts it. See +// CancelDomainTransferToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_CancelDomainTransferToAnotherAwsAccount.html). +// +// * The other account can reject the transfer. See RejectDomainTransferFromAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_RejectDomainTransferFromAnotherAwsAccount.html). +// +// When you transfer a domain from one AWS account to another, Route 53 doesn't +// transfer the hosted zone that is associated with the domain. DNS resolution +// isn't affected if the domain and the hosted zone are owned by separate accounts, +// so transferring the hosted zone is optional. For information about transferring +// the hosted zone to another AWS account, see Migrating a Hosted Zone to a +// Different AWS Account (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zones-migrating.html) +// in the Amazon Route 53 Developer Guide. +// +// Use either ListOperations (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ListOperations.html) +// or GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// to determine whether the operation succeeded. GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// provides additional information, for example, Domain Transfer from Aws Account +// 111122223333 has been cancelled. +// +// 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 Route 53 Domains's +// API operation TransferDomainToAnotherAwsAccount for usage and error information. +// +// Returned Error Types: +// * InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// * OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// * DuplicateRequest +// The request is already in progress for the domain. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccount +func (c *Route53Domains) TransferDomainToAnotherAwsAccount(input *TransferDomainToAnotherAwsAccountInput) (*TransferDomainToAnotherAwsAccountOutput, error) { + req, out := c.TransferDomainToAnotherAwsAccountRequest(input) + return out, req.Send() +} + +// TransferDomainToAnotherAwsAccountWithContext is the same as TransferDomainToAnotherAwsAccount with the addition of +// the ability to pass a context and additional request options. +// +// See TransferDomainToAnotherAwsAccount 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 *Route53Domains) TransferDomainToAnotherAwsAccountWithContext(ctx aws.Context, input *TransferDomainToAnotherAwsAccountInput, opts ...request.Option) (*TransferDomainToAnotherAwsAccountOutput, error) { + req, out := c.TransferDomainToAnotherAwsAccountRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateDomainContact = "UpdateDomainContact" // UpdateDomainContactRequest generates a "aws/request.Request" representing the @@ -1957,9 +2386,10 @@ func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactIn // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * DuplicateRequest // The request is already in progress for the domain. @@ -2049,9 +2479,19 @@ func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainCo // This operation affects only the contact information for the specified contact // type (registrant, administrator, or tech). If the request succeeds, Amazon // Route 53 returns an operation ID that you can use with GetOperationDetail +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) // to track the progress and completion of the action. If the request doesn't // complete successfully, the domain registrant will be notified by email. // +// By disabling the privacy service via API, you consent to the publication +// of the contact information provided for this domain via the public WHOIS +// database. You certify that you are the registrant of this domain name and +// have the authority to make this decision. You may withdraw your consent at +// any time by enabling privacy protection using either UpdateDomainContactPrivacy +// or the Route 53 console. Enabling privacy protection removes the contact +// information provided for this domain from the WHOIS database. For more information +// on our privacy practices, see https://aws.amazon.com/privacy/ (https://aws.amazon.com/privacy/). +// // 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. @@ -2061,9 +2501,10 @@ func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainCo // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * DuplicateRequest // The request is already in progress for the domain. @@ -2162,9 +2603,10 @@ func (c *Route53Domains) UpdateDomainNameserversRequest(input *UpdateDomainNames // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * DuplicateRequest // The request is already in progress for the domain. @@ -2260,9 +2702,10 @@ func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainIn // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // * OperationLimitExceeded // The number of operations or jobs running exceeded the allowed threshold for @@ -2349,9 +2792,10 @@ func (c *Route53Domains) ViewBillingRequest(input *ViewBillingInput) (req *reque // // Returned Error Types: // * InvalidInput -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBilling func (c *Route53Domains) ViewBilling(input *ViewBillingInput) (*ViewBillingOutput, error) { @@ -2359,20 +2803,103 @@ func (c *Route53Domains) ViewBilling(input *ViewBillingInput) (*ViewBillingOutpu return out, req.Send() } -// ViewBillingWithContext is the same as ViewBilling with the addition of -// the ability to pass a context and additional request options. -// -// See ViewBilling 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 *Route53Domains) ViewBillingWithContext(ctx aws.Context, input *ViewBillingInput, opts ...request.Option) (*ViewBillingOutput, error) { - req, out := c.ViewBillingRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() +// ViewBillingWithContext is the same as ViewBilling with the addition of +// the ability to pass a context and additional request options. +// +// See ViewBilling 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 *Route53Domains) ViewBillingWithContext(ctx aws.Context, input *ViewBillingInput, opts ...request.Option) (*ViewBillingOutput, error) { + req, out := c.ViewBillingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// The AcceptDomainTransferFromAnotherAwsAccount request includes the following +// elements. +type AcceptDomainTransferFromAnotherAwsAccountInput struct { + _ struct{} `type:"structure"` + + // The name of the domain that was specified when another AWS account submitted + // a TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html) + // request. + // + // DomainName is a required field + DomainName *string `type:"string" required:"true"` + + // The password that was returned by the TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html) + // request. + // + // Password is a required field + Password *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s AcceptDomainTransferFromAnotherAwsAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptDomainTransferFromAnotherAwsAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AcceptDomainTransferFromAnotherAwsAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AcceptDomainTransferFromAnotherAwsAccountInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + if s.Password == nil { + invalidParams.Add(request.NewErrParamRequired("Password")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *AcceptDomainTransferFromAnotherAwsAccountInput) SetDomainName(v string) *AcceptDomainTransferFromAnotherAwsAccountInput { + s.DomainName = &v + return s +} + +// SetPassword sets the Password field's value. +func (s *AcceptDomainTransferFromAnotherAwsAccountInput) SetPassword(v string) *AcceptDomainTransferFromAnotherAwsAccountInput { + s.Password = &v + return s +} + +// The AcceptDomainTransferFromAnotherAwsAccount response includes the following +// element. +type AcceptDomainTransferFromAnotherAwsAccountOutput struct { + _ struct{} `type:"structure"` + + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s AcceptDomainTransferFromAnotherAwsAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptDomainTransferFromAnotherAwsAccountOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *AcceptDomainTransferFromAnotherAwsAccountOutput) SetOperationId(v string) *AcceptDomainTransferFromAnotherAwsAccountOutput { + s.OperationId = &v + return s } // Information for one billing record. @@ -2385,8 +2912,8 @@ type BillingRecord struct { // The name of the domain that the billing record applies to. If the domain // name contains characters other than a-z, 0-9, and - (hyphen), such as an // internationalized domain name, then this value is in Punycode. For more information, - // see DNS Domain Name Format (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) - // in the Amazon Route 53 Developer Guidezzz. + // see DNS Domain Name Format (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html) + // in the Amazon Route 53 Developer Guide. DomainName *string `type:"string"` // The ID of the invoice that is associated with the billing record. @@ -2441,15 +2968,100 @@ func (s *BillingRecord) SetPrice(v float64) *BillingRecord { return s } +// The CancelDomainTransferToAnotherAwsAccount request includes the following +// element. +type CancelDomainTransferToAnotherAwsAccountInput struct { + _ struct{} `type:"structure"` + + // The name of the domain for which you want to cancel the transfer to another + // AWS account. + // + // DomainName is a required field + DomainName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CancelDomainTransferToAnotherAwsAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelDomainTransferToAnotherAwsAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelDomainTransferToAnotherAwsAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelDomainTransferToAnotherAwsAccountInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *CancelDomainTransferToAnotherAwsAccountInput) SetDomainName(v string) *CancelDomainTransferToAnotherAwsAccountInput { + s.DomainName = &v + return s +} + +// The CancelDomainTransferToAnotherAwsAccount response includes the following +// element. +type CancelDomainTransferToAnotherAwsAccountOutput struct { + _ struct{} `type:"structure"` + + // The identifier that TransferDomainToAnotherAwsAccount returned to track the + // progress of the request. Because the transfer request was canceled, the value + // is no longer valid, and you can't use GetOperationDetail to query the operation + // status. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s CancelDomainTransferToAnotherAwsAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CancelDomainTransferToAnotherAwsAccountOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *CancelDomainTransferToAnotherAwsAccountOutput) SetOperationId(v string) *CancelDomainTransferToAnotherAwsAccountOutput { + s.OperationId = &v + return s +} + // The CheckDomainAvailability request contains the following elements. type CheckDomainAvailabilityInput struct { _ struct{} `type:"structure"` - // The name of the domain that you want to get availability for. + // The name of the domain that you want to get availability for. The top-level + // domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list + // of supported TLDs, see Domains that You Can Register with Amazon Route 53 + // (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // in the Amazon Route 53 Developer Guide. // - // Constraints: The domain name can contain only the letters a through z, the - // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not - // supported. + // The domain name can contain only the following characters: + // + // * Letters a through z. Domain names are not case sensitive. + // + // * Numbers 0 through 9. + // + // * Hyphen (-). You can't specify a hyphen at the beginning or end of a + // label. + // + // * Period (.) to separate the labels in the name, such as the . in example.com. + // + // Internationalized domain names are not supported for some top-level domains. + // To determine whether the TLD that you want to use supports internationalized + // domain names, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html). + // For more information, see Formatting Internationalized Domain Names (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns). // // DomainName is a required field DomainName *string `type:"string" required:"true"` @@ -2518,9 +3130,9 @@ type CheckDomainAvailabilityOutput struct { // DONT_KNOW // // The TLD registry didn't reply with a definitive answer about whether the - // domain name is available. Amazon Route 53 can return this response for a - // variety of reasons, for example, the registry is performing maintenance. - // Try again later. + // domain name is available. Route 53 can return this response for a variety + // of reasons, for example, the registry is performing maintenance. Try again + // later. // // PENDING // @@ -2573,11 +3185,22 @@ type CheckDomainTransferabilityInput struct { // for the domain. AuthCode *string `type:"string" sensitive:"true"` - // The name of the domain that you want to transfer to Amazon Route 53. + // The name of the domain that you want to transfer to Route 53. The top-level + // domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list + // of supported TLDs, see Domains that You Can Register with Amazon Route 53 + // (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // in the Amazon Route 53 Developer Guide. + // + // The domain name can contain only the following characters: + // + // * Letters a through z. Domain names are not case sensitive. // - // Constraints: The domain name can contain only the letters a through z, the - // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not - // supported. + // * Numbers 0 through 9. + // + // * Hyphen (-). You can't specify a hyphen at the beginning or end of a + // label. + // + // * Period (.) to separate the labels in the name, such as the . in example.com. // // DomainName is a required field DomainName *string `type:"string" required:"true"` @@ -2623,7 +3246,7 @@ type CheckDomainTransferabilityOutput struct { _ struct{} `type:"structure"` // A complex type that contains information about whether the specified domain - // can be transferred to Amazon Route 53. + // can be transferred to Route 53. // // Transferability is a required field Transferability *DomainTransferability `type:"structure" required:"true"` @@ -2659,8 +3282,18 @@ type ContactDetail struct { City *string `type:"string"` // Indicates whether the contact is a person, company, association, or public - // organization. If you choose an option other than PERSON, you must enter an - // organization name, and you can't enable privacy protection for the contact. + // organization. Note the following: + // + // * If you specify a value other than PERSON, you must also specify a value + // for OrganizationName. + // + // * For some TLDs, the privacy protection available depends on the value + // that you specify for Contact Type. For the privacy protection settings + // for your TLD, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // in the Amazon Route 53 Developer Guide + // + // * For .es domains, if you specify PERSON, you must specify INDIVIDUAL + // for the value of ES_LEGAL_FORM. ContactType *string `type:"string" enum:"ContactType"` // Code for the country of the contact's address. @@ -2978,8 +3611,8 @@ func (s *DisableDomainTransferLockInput) SetDomainName(v string) *DisableDomainT type DisableDomainTransferLockOutput struct { _ struct{} `type:"structure"` - // Identifier for tracking the progress of the request. To use this ID to query - // the operation status, use GetOperationDetail. + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -3083,9 +3716,9 @@ type DomainSuggestion struct { // DONT_KNOW // // The TLD registry didn't reply with a definitive answer about whether the - // domain name is available. Amazon Route 53 can return this response for a - // variety of reasons, for example, the registry is performing maintenance. - // Try again later. + // domain name is available. Route 53 can return this response for a variety + // of reasons, for example, the registry is performing maintenance. Try again + // later. // // PENDING // @@ -3148,7 +3781,8 @@ type DomainSummary struct { // DomainName is a required field DomainName *string `type:"string" required:"true"` - // Expiration date of the domain in Coordinated Universal Time (UTC). + // Expiration date of the domain in Unix time format and Coordinated Universal + // Time (UTC). Expiry *time.Time `type:"timestamp"` // Indicates whether a domain is locked from unauthorized transfer to another @@ -3191,11 +3825,11 @@ func (s *DomainSummary) SetTransferLock(v bool) *DomainSummary { } // A complex type that contains information about whether the specified domain -// can be transferred to Amazon Route 53. +// can be transferred to Route 53. type DomainTransferability struct { _ struct{} `type:"structure"` - // Whether the domain name can be transferred to Amazon Route 53. + // Whether the domain name can be transferred to Route 53. // // You can transfer only domains that have a value of TRANSFERABLE for Transferable. // @@ -3203,11 +3837,11 @@ type DomainTransferability struct { // // TRANSFERABLE // - // The domain name can be transferred to Amazon Route 53. + // The domain name can be transferred to Route 53. // // UNTRANSFERRABLE // - // The domain name can't be transferred to Amazon Route 53. + // The domain name can't be transferred to Route 53. // // DONT_KNOW // @@ -3410,39 +4044,144 @@ func (s *EnableDomainTransferLockOutput) SetOperationId(v string) *EnableDomainT type ExtraParam struct { _ struct{} `type:"structure"` - // Name of the additional parameter required by the top-level domain. Here are - // the top-level domains that require additional parameters and which parameters - // they require: + // The name of an additional parameter that is required by a top-level domain. + // Here are the top-level domains that require additional parameters and the + // names of the parameters that they require: + // + // .com.au and .net.au + // + // * AU_ID_NUMBER + // + // * AU_ID_TYPE Valid values include the following: ABN (Australian business + // number) ACN (Australian company number) TM (Trademark number) + // + // .ca + // + // * BRAND_NUMBER + // + // * CA_BUSINESS_ENTITY_TYPE Valid values include the following: BANK (Bank) + // COMMERCIAL_COMPANY (Commercial company) COMPANY (Company) COOPERATION + // (Cooperation) COOPERATIVE (Cooperative) COOPRIX (Cooprix) CORP (Corporation) + // CREDIT_UNION (Credit union) FOMIA (Federation of mutual insurance associations) + // INC (Incorporated) LTD (Limited) LTEE (Limitée) LLC (Limited liability + // corporation) LLP (Limited liability partnership) LTE (Lte.) MBA (Mutual + // benefit association) MIC (Mutual insurance company) NFP (Not-for-profit + // corporation) SA (S.A.) SAVINGS_COMPANY (Savings company) SAVINGS_UNION + // (Savings union) SARL (Société à responsabilité limitée) TRUST (Trust) + // ULC (Unlimited liability corporation) + // + // * CA_LEGAL_TYPE When ContactType is PERSON, valid values include the following: + // ABO (Aboriginal Peoples indigenous to Canada) CCT (Canadian citizen) LGR + // (Legal Representative of a Canadian Citizen or Permanent Resident) RES + // (Permanent resident of Canada) When ContactType is a value other than + // PERSON, valid values include the following: ASS (Canadian unincorporated + // association) CCO (Canadian corporation) EDU (Canadian educational institution) + // GOV (Government or government entity in Canada) HOP (Canadian Hospital) + // INB (Indian Band recognized by the Indian Act of Canada) LAM (Canadian + // Library, Archive, or Museum) MAJ (Her/His Majesty the Queen/King) OMK + // (Official mark registered in Canada) PLT (Canadian Political Party) PRT + // (Partnership Registered in Canada) TDM (Trademark registered in Canada) + // TRD (Canadian Trade Union) TRS (Trust established in Canada) + // + // .es + // + // * ES_IDENTIFICATION Specify the applicable value: For contacts inside + // Spain: Enter your passport ID. For contacts outside of Spain: Enter the + // VAT identification number for the company. For .es domains, the value + // of ContactType must be PERSON. // - // * .com.au and .net.au: AU_ID_NUMBER and AU_ID_TYPE + // * ES_IDENTIFICATION_TYPE Valid values include the following: DNI_AND_NIF + // (For Spanish contacts) NIE (For foreigners with legal residence) OTHER + // (For contacts outside of Spain) // - // * .ca: BRAND_NUMBER, CA_LEGAL_TYPE, and CA_BUSINESS_ENTITY_TYPE + // * ES_LEGAL_FORM Valid values include the following: ASSOCIATION CENTRAL_GOVERNMENT_BODY + // CIVIL_SOCIETY COMMUNITY_OF_OWNERS COMMUNITY_PROPERTY CONSULATE COOPERATIVE + // DESIGNATION_OF_ORIGIN_SUPERVISORY_COUNCIL ECONOMIC_INTEREST_GROUP EMBASSY + // ENTITY_MANAGING_NATURAL_AREAS FARM_PARTNERSHIP FOUNDATION GENERAL_AND_LIMITED_PARTNERSHIP + // GENERAL_PARTNERSHIP INDIVIDUAL LIMITED_COMPANY LOCAL_AUTHORITY LOCAL_PUBLIC_ENTITY + // MUTUAL_INSURANCE_COMPANY NATIONAL_PUBLIC_ENTITY ORDER_OR_RELIGIOUS_INSTITUTION + // OTHERS (Only for contacts outside of Spain) POLITICAL_PARTY PROFESSIONAL_ASSOCIATION + // PUBLIC_LAW_ASSOCIATION PUBLIC_LIMITED_COMPANY REGIONAL_GOVERNMENT_BODY + // REGIONAL_PUBLIC_ENTITY SAVINGS_BANK SPANISH_OFFICE SPORTS_ASSOCIATION + // SPORTS_FEDERATION SPORTS_LIMITED_COMPANY TEMPORARY_ALLIANCE_OF_ENTERPRISES + // TRADE_UNION WORKER_OWNED_COMPANY WORKER_OWNED_LIMITED_COMPANY // - // * .es: ES_IDENTIFICATION, ES_IDENTIFICATION_TYPE, and ES_LEGAL_FORM + // .fi // - // * .fi: BIRTH_DATE_IN_YYYY_MM_DD, FI_BUSINESS_NUMBER, FI_ID_NUMBER, FI_NATIONALITY, - // and FI_ORGANIZATION_TYPE + // * BIRTH_DATE_IN_YYYY_MM_DD // - // * .fr: BRAND_NUMBER, BIRTH_DEPARTMENT, BIRTH_DATE_IN_YYYY_MM_DD, BIRTH_COUNTRY, - // and BIRTH_CITY + // * FI_BUSINESS_NUMBER // - // * .it: BIRTH_COUNTRY, IT_PIN, and IT_REGISTRANT_ENTITY_TYPE + // * FI_ID_NUMBER // - // * .ru: BIRTH_DATE_IN_YYYY_MM_DD and RU_PASSPORT_DATA + // * FI_NATIONALITY Valid values include the following: FINNISH NOT_FINNISH // - // * .se: BIRTH_COUNTRY and SE_ID_NUMBER + // * FI_ORGANIZATION_TYPE Valid values include the following: COMPANY CORPORATION + // GOVERNMENT INSTITUTION POLITICAL_PARTY PUBLIC_COMMUNITY TOWNSHIP // - // * .sg: SG_ID_NUMBER + // .fr // - // * .co.uk, .me.uk, and .org.uk: UK_CONTACT_TYPE and UK_COMPANY_NUMBER + // * BIRTH_CITY // - // In addition, many TLDs require VAT_NUMBER. + // * BIRTH_COUNTRY + // + // * BIRTH_DATE_IN_YYYY_MM_DD + // + // * BIRTH_DEPARTMENT: Specify the INSEE code that corresponds with the department + // where the contact was born. If the contact was born somewhere other than + // France or its overseas departments, specify 99. For more information, + // including a list of departments and the corresponding INSEE numbers, see + // the Wikipedia entry Departments of France (https://en.wikipedia.org/wiki/Departments_of_France). + // + // * BRAND_NUMBER + // + // .it + // + // * IT_NATIONALITY + // + // * IT_PIN + // + // * IT_REGISTRANT_ENTITY_TYPE Valid values include the following: FOREIGNERS + // FREELANCE_WORKERS (Freelance workers and professionals) ITALIAN_COMPANIES + // (Italian companies and one-person companies) NON_PROFIT_ORGANIZATIONS + // OTHER_SUBJECTS PUBLIC_ORGANIZATIONS + // + // .ru + // + // * BIRTH_DATE_IN_YYYY_MM_DD + // + // * RU_PASSPORT_DATA + // + // .se + // + // * BIRTH_COUNTRY + // + // * SE_ID_NUMBER + // + // .sg + // + // * SG_ID_NUMBER + // + // .co.uk, .me.uk, and .org.uk + // + // * UK_CONTACT_TYPE Valid values include the following: CRC (UK Corporation + // by Royal Charter) FCORP (Non-UK Corporation) FIND (Non-UK Individual, + // representing self) FOTHER (Non-UK Entity that does not fit into any other + // category) GOV (UK Government Body) IND (UK Individual (representing self)) + // IP (UK Industrial/Provident Registered Company) LLP (UK Limited Liability + // Partnership) LTD (UK Limited Company) OTHER (UK Entity that does not fit + // into any other category) PLC (UK Public Limited Company) PTNR (UK Partnership) + // RCHAR (UK Registered Charity) SCH (UK School) STAT (UK Statutory Body) + // STRA (UK Sole Trader) + // + // * UK_COMPANY_NUMBER + // + // In addition, many TLDs require a VAT_NUMBER. // // Name is a required field Name *string `type:"string" required:"true" enum:"ExtraParamName"` - // Values corresponding to the additional parameter names required by some top-level - // domains. + // The value that corresponds with the name of an extra parameter. // // Value is a required field Value *string `type:"string" required:"true"` @@ -3621,7 +4360,8 @@ type GetDomainDetailOutput struct { AutoRenew *bool `type:"boolean"` // The date when the domain was created as found in the response to a WHOIS - // query. The date and time is in Coordinated Universal time (UTC). + // query. The date and time is in Unix time format and Coordinated Universal + // time (UTC). CreationDate *time.Time `type:"timestamp"` // Reserved for future use. @@ -3633,7 +4373,7 @@ type GetDomainDetailOutput struct { DomainName *string `type:"string" required:"true"` // The date when the registration for the domain is set to expire. The date - // and time is in Coordinated Universal time (UTC). + // and time is in Unix time format and Coordinated Universal time (UTC). ExpirationDate *time.Time `type:"timestamp"` // The name of the domain. @@ -3666,8 +4406,8 @@ type GetDomainDetailOutput struct { // Reserved for future use. RegistryDomainId *string `type:"string"` - // Reseller of the domain. Domains registered or transferred using Amazon Route - // 53 domains will have "Amazon" as the reseller. + // Reseller of the domain. Domains registered or transferred using Route 53 + // domains will have "Amazon" as the reseller. Reseller *string `type:"string"` // An array of domain name status codes, also known as Extensible Provisioning @@ -3699,7 +4439,7 @@ type GetDomainDetailOutput struct { TechPrivacy *bool `type:"boolean"` // The last updated date of the domain as found in the response to a WHOIS query. - // The date and time is in Coordinated Universal time (UTC). + // The date and time is in Unix time format and Coordinated Universal time (UTC). UpdatedDate *time.Time `type:"timestamp"` // The fully qualified name of the WHOIS server that can answer the WHOIS query @@ -3847,24 +4587,39 @@ type GetDomainSuggestionsInput struct { _ struct{} `type:"structure"` // A domain name that you want to use as the basis for a list of possible domain - // names. The domain name must contain a top-level domain (TLD), such as .com, - // that Amazon Route 53 supports. For a list of TLDs, see Domains that You Can - // Register with Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // names. The top-level domain (TLD), such as .com, must be a TLD that Route + // 53 supports. For a list of supported TLDs, see Domains that You Can Register + // with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) // in the Amazon Route 53 Developer Guide. // + // The domain name can contain only the following characters: + // + // * Letters a through z. Domain names are not case sensitive. + // + // * Numbers 0 through 9. + // + // * Hyphen (-). You can't specify a hyphen at the beginning or end of a + // label. + // + // * Period (.) to separate the labels in the name, such as the . in example.com. + // + // Internationalized domain names are not supported for some top-level domains. + // To determine whether the TLD that you want to use supports internationalized + // domain names, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html). + // // DomainName is a required field DomainName *string `type:"string" required:"true"` - // If OnlyAvailable is true, Amazon Route 53 returns only domain names that - // are available. If OnlyAvailable is false, Amazon Route 53 returns domain - // names without checking whether they're available to be registered. To determine - // whether the domain is available, you can call checkDomainAvailability for - // each suggestion. + // If OnlyAvailable is true, Route 53 returns only domain names that are available. + // If OnlyAvailable is false, Route 53 returns domain names without checking + // whether they're available to be registered. To determine whether the domain + // is available, you can call checkDomainAvailability for each suggestion. // // OnlyAvailable is a required field OnlyAvailable *bool `type:"boolean" required:"true"` - // The number of suggested domain names that you want Amazon Route 53 to return. + // The number of suggested domain names that you want Route 53 to return. Specify + // a value between 1 and 50. // // SuggestionCount is a required field SuggestionCount *int64 `type:"integer" required:"true"` @@ -3941,12 +4696,13 @@ func (s *GetDomainSuggestionsOutput) SetSuggestionsList(v []*DomainSuggestion) * return s } -// The GetOperationDetail request includes the following element. +// The GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html) +// request includes the following element. type GetOperationDetailInput struct { _ struct{} `type:"structure"` - // The identifier for the operation for which you want to get the status. Amazon - // Route 53 returned the identifier in the response to the original request. + // The identifier for the operation for which you want to get the status. Route + // 53 returned the identifier in the response to the original request. // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -4050,9 +4806,10 @@ func (s *GetOperationDetailOutput) SetType(v string) *GetOperationDetailOutput { return s } -// The requested item is not acceptable. For example, for an OperationId it -// might refer to the ID of an operation that is already completed. For a domain -// name, it might not be a valid domain name or belong to the requester account. +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. type InvalidInput struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -4209,7 +4966,7 @@ type ListOperationsInput struct { // An optional parameter that lets you get information about all the operations // that you submitted after a specified date and time. Specify the date and - // time in Coordinated Universal time (UTC). + // time in Unix time format and Coordinated Universal time (UTC). SubmittedSince *time.Time `type:"timestamp"` } @@ -4520,7 +5277,8 @@ func (s *OperationSummary) SetType(v string) *OperationSummary { type RegisterDomainInput struct { _ struct{} `type:"structure"` - // Provides detailed contact information. + // Provides detailed contact information. For information about the values that + // you specify for each element, see ContactDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html). // // AdminContact is a required field AdminContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` @@ -4531,11 +5289,26 @@ type RegisterDomainInput struct { // Default: true AutoRenew *bool `type:"boolean"` - // The domain name that you want to register. + // The domain name that you want to register. The top-level domain (TLD), such + // as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, + // see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // in the Amazon Route 53 Developer Guide. + // + // The domain name can contain only the following characters: + // + // * Letters a through z. Domain names are not case sensitive. + // + // * Numbers 0 through 9. + // + // * Hyphen (-). You can't specify a hyphen at the beginning or end of a + // label. + // + // * Period (.) to separate the labels in the name, such as the . in example.com. // - // Constraints: The domain name can contain only the letters a through z, the - // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not - // supported. + // Internationalized domain names are not supported for some top-level domains. + // To determine whether the TLD that you want to use supports internationalized + // domain names, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html). + // For more information, see Formatting Internationalized Domain Names (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-idns). // // DomainName is a required field DomainName *string `type:"string" required:"true"` @@ -4543,7 +5316,7 @@ type RegisterDomainInput struct { // The number of years that you want to register the domain for. Domains are // registered for a minimum of one year. The maximum period depends on the top-level // domain. For the range of valid values for your domain, see Domains that You - // Can Register with Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) // in the Amazon Route 53 Developer Guide. // // Default: 1 @@ -4582,12 +5355,14 @@ type RegisterDomainInput struct { // Default: true PrivacyProtectTechContact *bool `type:"boolean"` - // Provides detailed contact information. + // Provides detailed contact information. For information about the values that + // you specify for each element, see ContactDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html). // // RegistrantContact is a required field RegistrantContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` - // Provides detailed contact information. + // Provides detailed contact information. For information about the values that + // you specify for each element, see ContactDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_ContactDetail.html). // // TechContact is a required field TechContact *ContactDetail `type:"structure" required:"true" sensitive:"true"` @@ -4710,8 +5485,8 @@ func (s *RegisterDomainInput) SetTechContact(v *ContactDetail) *RegisterDomainIn type RegisterDomainOutput struct { _ struct{} `type:"structure"` - // Identifier for tracking the progress of the request. To use this ID to query - // the operation status, use GetOperationDetail. + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -4733,6 +5508,76 @@ func (s *RegisterDomainOutput) SetOperationId(v string) *RegisterDomainOutput { return s } +// The RejectDomainTransferFromAnotherAwsAccount request includes the following +// element. +type RejectDomainTransferFromAnotherAwsAccountInput struct { + _ struct{} `type:"structure"` + + // The name of the domain that was specified when another AWS account submitted + // a TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html) + // request. + // + // DomainName is a required field + DomainName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s RejectDomainTransferFromAnotherAwsAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectDomainTransferFromAnotherAwsAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *RejectDomainTransferFromAnotherAwsAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "RejectDomainTransferFromAnotherAwsAccountInput"} + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDomainName sets the DomainName field's value. +func (s *RejectDomainTransferFromAnotherAwsAccountInput) SetDomainName(v string) *RejectDomainTransferFromAnotherAwsAccountInput { + s.DomainName = &v + return s +} + +// The RejectDomainTransferFromAnotherAwsAccount response includes the following +// element. +type RejectDomainTransferFromAnotherAwsAccountOutput struct { + _ struct{} `type:"structure"` + + // The identifier that TransferDomainToAnotherAwsAccount returned to track the + // progress of the request. Because the transfer request was rejected, the value + // is no longer valid, and you can't use GetOperationDetail to query the operation + // status. + OperationId *string `type:"string"` +} + +// String returns the string representation +func (s RejectDomainTransferFromAnotherAwsAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectDomainTransferFromAnotherAwsAccountOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *RejectDomainTransferFromAnotherAwsAccountOutput) SetOperationId(v string) *RejectDomainTransferFromAnotherAwsAccountOutput { + s.OperationId = &v + return s +} + // A RenewDomain request includes the number of years that you want to renew // for and the current expiration year. type RenewDomainInput struct { @@ -4751,7 +5596,7 @@ type RenewDomainInput struct { // The number of years that you want to renew the domain for. The maximum number // of years depends on the top-level domain. For the range of valid values for - // your domain, see Domains that You Can Register with Amazon Route 53 (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // your domain, see Domains that You Can Register with Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) // in the Amazon Route 53 Developer Guide. // // Default: 1 @@ -4808,8 +5653,8 @@ func (s *RenewDomainInput) SetDurationInYears(v int64) *RenewDomainInput { type RenewDomainOutput struct { _ struct{} `type:"structure"` - // The identifier for tracking the progress of the request. To use this ID to - // query the operation status, use GetOperationDetail. + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -4834,7 +5679,7 @@ func (s *RenewDomainOutput) SetOperationId(v string) *RenewDomainOutput { type ResendContactReachabilityEmailInput struct { _ struct{} `type:"structure"` - // The name of the domain for which you want Amazon Route 53 to resend a confirmation + // The name of the domain for which you want Route 53 to resend a confirmation // email to the registrant contact. DomainName *string `locationName:"domainName" type:"string"` } @@ -5082,11 +5927,22 @@ type TransferDomainInput struct { // Default: true AutoRenew *bool `type:"boolean"` - // The name of the domain that you want to transfer to Amazon Route 53. + // The name of the domain that you want to transfer to Route 53. The top-level + // domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list + // of supported TLDs, see Domains that You Can Register with Amazon Route 53 + // (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html) + // in the Amazon Route 53 Developer Guide. + // + // The domain name can contain only the following characters: + // + // * Letters a through z. Domain names are not case sensitive. // - // Constraints: The domain name can contain only the letters a through z, the - // numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not - // supported. + // * Numbers 0 through 9. + // + // * Hyphen (-). You can't specify a hyphen at the beginning or end of a + // label. + // + // * Period (.) to separate the labels in the name, such as the . in example.com. // // DomainName is a required field DomainName *string `type:"string" required:"true"` @@ -5280,12 +6136,12 @@ func (s *TransferDomainInput) SetTechContact(v *ContactDetail) *TransferDomainIn return s } -// The TranserDomain response includes the following element. +// The TransferDomain response includes the following element. type TransferDomainOutput struct { _ struct{} `type:"structure"` - // Identifier for tracking the progress of the request. To use this ID to query - // the operation status, use GetOperationDetail. + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -5307,6 +6163,99 @@ func (s *TransferDomainOutput) SetOperationId(v string) *TransferDomainOutput { return s } +// The TransferDomainToAnotherAwsAccount request includes the following elements. +type TransferDomainToAnotherAwsAccountInput struct { + _ struct{} `type:"structure"` + + // The account ID of the AWS account that you want to transfer the domain to, + // for example, 111122223333. + // + // AccountId is a required field + AccountId *string `type:"string" required:"true"` + + // The name of the domain that you want to transfer from the current AWS account + // to another account. + // + // DomainName is a required field + DomainName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s TransferDomainToAnotherAwsAccountInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransferDomainToAnotherAwsAccountInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TransferDomainToAnotherAwsAccountInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TransferDomainToAnotherAwsAccountInput"} + if s.AccountId == nil { + invalidParams.Add(request.NewErrParamRequired("AccountId")) + } + if s.DomainName == nil { + invalidParams.Add(request.NewErrParamRequired("DomainName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccountId sets the AccountId field's value. +func (s *TransferDomainToAnotherAwsAccountInput) SetAccountId(v string) *TransferDomainToAnotherAwsAccountInput { + s.AccountId = &v + return s +} + +// SetDomainName sets the DomainName field's value. +func (s *TransferDomainToAnotherAwsAccountInput) SetDomainName(v string) *TransferDomainToAnotherAwsAccountInput { + s.DomainName = &v + return s +} + +// The TransferDomainToAnotherAwsAccount response includes the following elements. +type TransferDomainToAnotherAwsAccountOutput struct { + _ struct{} `type:"structure"` + + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). + OperationId *string `type:"string"` + + // To finish transferring a domain to another AWS account, the account that + // the domain is being transferred to must submit an AcceptDomainTransferFromAnotherAwsAccount + // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html) + // request. The request must include the value of the Password element that + // was returned in the TransferDomainToAnotherAwsAccount response. + Password *string `type:"string"` +} + +// String returns the string representation +func (s TransferDomainToAnotherAwsAccountOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransferDomainToAnotherAwsAccountOutput) GoString() string { + return s.String() +} + +// SetOperationId sets the OperationId field's value. +func (s *TransferDomainToAnotherAwsAccountOutput) SetOperationId(v string) *TransferDomainToAnotherAwsAccountOutput { + s.OperationId = &v + return s +} + +// SetPassword sets the Password field's value. +func (s *TransferDomainToAnotherAwsAccountOutput) SetPassword(v string) *TransferDomainToAnotherAwsAccountOutput { + s.Password = &v + return s +} + // Amazon Route 53 does not support this top-level domain (TLD). type UnsupportedTLD struct { _ struct{} `type:"structure"` @@ -5449,8 +6398,8 @@ func (s *UpdateDomainContactInput) SetTechContact(v *ContactDetail) *UpdateDomai type UpdateDomainContactOutput struct { _ struct{} `type:"structure"` - // Identifier for tracking the progress of the request. To use this ID to query - // the operation status, use GetOperationDetail. + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -5662,8 +6611,8 @@ func (s *UpdateDomainNameserversInput) SetNameservers(v []*Nameserver) *UpdateDo type UpdateDomainNameserversOutput struct { _ struct{} `type:"structure"` - // Identifier for tracking the progress of the request. To use this ID to query - // the operation status, use GetOperationDetail. + // Identifier for tracking the progress of the request. To query the operation + // status, use GetOperationDetail (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_GetOperationDetail.html). // // OperationId is a required field OperationId *string `type:"string" required:"true"` @@ -5753,7 +6702,8 @@ type ViewBillingInput struct { _ struct{} `type:"structure"` // The end date and time for the time period for which you want a list of billing - // records. Specify the date and time in Coordinated Universal time (UTC). + // records. Specify the date and time in Unix time format and Coordinated Universal + // time (UTC). End *time.Time `type:"timestamp"` // For an initial request for a list of billing records, omit this element. @@ -5773,8 +6723,8 @@ type ViewBillingInput struct { MaxItems *int64 `type:"integer"` // The beginning date and time for the time period for which you want a list - // of billing records. Specify the date and time in Coordinated Universal time - // (UTC). + // of billing records. Specify the date and time in Unix time format and Coordinated + // Universal time (UTC). Start *time.Time `type:"timestamp"` } @@ -6613,6 +7563,12 @@ const ( // ExtraParamNameCaBusinessEntityType is a ExtraParamName enum value ExtraParamNameCaBusinessEntityType = "CA_BUSINESS_ENTITY_TYPE" + // ExtraParamNameCaLegalRepresentative is a ExtraParamName enum value + ExtraParamNameCaLegalRepresentative = "CA_LEGAL_REPRESENTATIVE" + + // ExtraParamNameCaLegalRepresentativeCapacity is a ExtraParamName enum value + ExtraParamNameCaLegalRepresentativeCapacity = "CA_LEGAL_REPRESENTATIVE_CAPACITY" + // ExtraParamNameEsIdentification is a ExtraParamName enum value ExtraParamNameEsIdentification = "ES_IDENTIFICATION" @@ -6634,6 +7590,9 @@ const ( // ExtraParamNameFiOrganizationType is a ExtraParamName enum value ExtraParamNameFiOrganizationType = "FI_ORGANIZATION_TYPE" + // ExtraParamNameItNationality is a ExtraParamName enum value + ExtraParamNameItNationality = "IT_NATIONALITY" + // ExtraParamNameItPin is a ExtraParamName enum value ExtraParamNameItPin = "IT_PIN" @@ -6724,6 +7683,12 @@ const ( // OperationTypePushDomain is a OperationType enum value OperationTypePushDomain = "PUSH_DOMAIN" + + // OperationTypeInternalTransferOutDomain is a OperationType enum value + OperationTypeInternalTransferOutDomain = "INTERNAL_TRANSFER_OUT_DOMAIN" + + // OperationTypeInternalTransferInDomain is a OperationType enum value + OperationTypeInternalTransferInDomain = "INTERNAL_TRANSFER_IN_DOMAIN" ) const ( @@ -6737,7 +7702,7 @@ const ( ReachabilityStatusExpired = "EXPIRED" ) -// Whether the domain name can be transferred to Amazon Route 53. +// Whether the domain name can be transferred to Route 53. // // You can transfer only domains that have a value of TRANSFERABLE for Transferable. // @@ -6745,11 +7710,11 @@ const ( // // TRANSFERABLE // -// The domain name can be transferred to Amazon Route 53. +// The domain name can be transferred to Route 53. // // UNTRANSFERRABLE // -// The domain name can't be transferred to Amazon Route 53. +// The domain name can't be transferred to Route 53. // // DONT_KNOW // diff --git a/service/route53domains/errors.go b/service/route53domains/errors.go index ed8c1f50a81..e41328ae06b 100644 --- a/service/route53domains/errors.go +++ b/service/route53domains/errors.go @@ -23,9 +23,10 @@ const ( // ErrCodeInvalidInput for service response error code // "InvalidInput". // - // The requested item is not acceptable. For example, for an OperationId it - // might refer to the ID of an operation that is already completed. For a domain - // name, it might not be a valid domain name or belong to the requester account. + // The requested item is not acceptable. For example, for APIs that accept a + // domain name, the request might specify a domain name that doesn't belong + // to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, + // the password might be invalid. ErrCodeInvalidInput = "InvalidInput" // ErrCodeOperationLimitExceeded for service response error code diff --git a/service/route53domains/integ_test.go b/service/route53domains/integ_test.go new file mode 100644 index 00000000000..8c084f7ddd3 --- /dev/null +++ b/service/route53domains/integ_test.go @@ -0,0 +1,65 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// +build go1.10,integration + +package route53domains_test + +import ( + "context" + "testing" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awserr" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/awstesting/integration" + "github.com/aws/aws-sdk-go/service/route53domains" +) + +var _ aws.Config +var _ awserr.Error +var _ request.Request + +func TestInteg_00_ListDomains(t *testing.T) { + ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second) + defer cancelFn() + + sess := integration.SessionWithDefaultRegion("us-east-1") + svc := route53domains.New(sess) + params := &route53domains.ListDomainsInput{} + _, err := svc.ListDomainsWithContext(ctx, params, func(r *request.Request) { + r.Handlers.Validate.RemoveByName("core.ValidateParametersHandler") + }) + if err != nil { + t.Errorf("expect no error, got %v", err) + } +} +func TestInteg_01_GetDomainDetail(t *testing.T) { + ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second) + defer cancelFn() + + sess := integration.SessionWithDefaultRegion("us-east-1") + svc := route53domains.New(sess) + params := &route53domains.GetDomainDetailInput{ + DomainName: aws.String("fake-domain-name"), + } + _, err := svc.GetDomainDetailWithContext(ctx, params, func(r *request.Request) { + r.Handlers.Validate.RemoveByName("core.ValidateParametersHandler") + }) + if err == nil { + t.Fatalf("expect request to fail") + } + aerr, ok := err.(awserr.RequestFailure) + if !ok { + t.Fatalf("expect awserr, was %T", err) + } + if len(aerr.Code()) == 0 { + t.Errorf("expect non-empty error code") + } + if len(aerr.Message()) == 0 { + t.Errorf("expect non-empty error message") + } + if v := aerr.Code(); v == request.ErrCodeSerialization { + t.Errorf("expect API error code got serialization failure") + } +} diff --git a/service/route53domains/route53domainsiface/interface.go b/service/route53domains/route53domainsiface/interface.go index 87dfdc1230d..d1ab6012e05 100644 --- a/service/route53domains/route53domainsiface/interface.go +++ b/service/route53domains/route53domainsiface/interface.go @@ -26,7 +26,7 @@ import ( // // myFunc uses an SDK service client to make a request to // // Amazon Route 53 Domains. // func myFunc(svc route53domainsiface.Route53DomainsAPI) bool { -// // Make svc.CheckDomainAvailability request +// // Make svc.AcceptDomainTransferFromAnotherAwsAccount request // } // // func main() { @@ -42,7 +42,7 @@ import ( // type mockRoute53DomainsClient struct { // route53domainsiface.Route53DomainsAPI // } -// func (m *mockRoute53DomainsClient) CheckDomainAvailability(input *route53domains.CheckDomainAvailabilityInput) (*route53domains.CheckDomainAvailabilityOutput, error) { +// func (m *mockRoute53DomainsClient) AcceptDomainTransferFromAnotherAwsAccount(input *route53domains.AcceptDomainTransferFromAnotherAwsAccountInput) (*route53domains.AcceptDomainTransferFromAnotherAwsAccountOutput, error) { // // mock response/functionality // } // @@ -60,6 +60,14 @@ import ( // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type Route53DomainsAPI interface { + AcceptDomainTransferFromAnotherAwsAccount(*route53domains.AcceptDomainTransferFromAnotherAwsAccountInput) (*route53domains.AcceptDomainTransferFromAnotherAwsAccountOutput, error) + AcceptDomainTransferFromAnotherAwsAccountWithContext(aws.Context, *route53domains.AcceptDomainTransferFromAnotherAwsAccountInput, ...request.Option) (*route53domains.AcceptDomainTransferFromAnotherAwsAccountOutput, error) + AcceptDomainTransferFromAnotherAwsAccountRequest(*route53domains.AcceptDomainTransferFromAnotherAwsAccountInput) (*request.Request, *route53domains.AcceptDomainTransferFromAnotherAwsAccountOutput) + + CancelDomainTransferToAnotherAwsAccount(*route53domains.CancelDomainTransferToAnotherAwsAccountInput) (*route53domains.CancelDomainTransferToAnotherAwsAccountOutput, error) + CancelDomainTransferToAnotherAwsAccountWithContext(aws.Context, *route53domains.CancelDomainTransferToAnotherAwsAccountInput, ...request.Option) (*route53domains.CancelDomainTransferToAnotherAwsAccountOutput, error) + CancelDomainTransferToAnotherAwsAccountRequest(*route53domains.CancelDomainTransferToAnotherAwsAccountInput) (*request.Request, *route53domains.CancelDomainTransferToAnotherAwsAccountOutput) + CheckDomainAvailability(*route53domains.CheckDomainAvailabilityInput) (*route53domains.CheckDomainAvailabilityOutput, error) CheckDomainAvailabilityWithContext(aws.Context, *route53domains.CheckDomainAvailabilityInput, ...request.Option) (*route53domains.CheckDomainAvailabilityOutput, error) CheckDomainAvailabilityRequest(*route53domains.CheckDomainAvailabilityInput) (*request.Request, *route53domains.CheckDomainAvailabilityOutput) @@ -126,6 +134,10 @@ type Route53DomainsAPI interface { RegisterDomainWithContext(aws.Context, *route53domains.RegisterDomainInput, ...request.Option) (*route53domains.RegisterDomainOutput, error) RegisterDomainRequest(*route53domains.RegisterDomainInput) (*request.Request, *route53domains.RegisterDomainOutput) + RejectDomainTransferFromAnotherAwsAccount(*route53domains.RejectDomainTransferFromAnotherAwsAccountInput) (*route53domains.RejectDomainTransferFromAnotherAwsAccountOutput, error) + RejectDomainTransferFromAnotherAwsAccountWithContext(aws.Context, *route53domains.RejectDomainTransferFromAnotherAwsAccountInput, ...request.Option) (*route53domains.RejectDomainTransferFromAnotherAwsAccountOutput, error) + RejectDomainTransferFromAnotherAwsAccountRequest(*route53domains.RejectDomainTransferFromAnotherAwsAccountInput) (*request.Request, *route53domains.RejectDomainTransferFromAnotherAwsAccountOutput) + RenewDomain(*route53domains.RenewDomainInput) (*route53domains.RenewDomainOutput, error) RenewDomainWithContext(aws.Context, *route53domains.RenewDomainInput, ...request.Option) (*route53domains.RenewDomainOutput, error) RenewDomainRequest(*route53domains.RenewDomainInput) (*request.Request, *route53domains.RenewDomainOutput) @@ -142,6 +154,10 @@ type Route53DomainsAPI interface { TransferDomainWithContext(aws.Context, *route53domains.TransferDomainInput, ...request.Option) (*route53domains.TransferDomainOutput, error) TransferDomainRequest(*route53domains.TransferDomainInput) (*request.Request, *route53domains.TransferDomainOutput) + TransferDomainToAnotherAwsAccount(*route53domains.TransferDomainToAnotherAwsAccountInput) (*route53domains.TransferDomainToAnotherAwsAccountOutput, error) + TransferDomainToAnotherAwsAccountWithContext(aws.Context, *route53domains.TransferDomainToAnotherAwsAccountInput, ...request.Option) (*route53domains.TransferDomainToAnotherAwsAccountOutput, error) + TransferDomainToAnotherAwsAccountRequest(*route53domains.TransferDomainToAnotherAwsAccountInput) (*request.Request, *route53domains.TransferDomainToAnotherAwsAccountOutput) + UpdateDomainContact(*route53domains.UpdateDomainContactInput) (*route53domains.UpdateDomainContactOutput, error) UpdateDomainContactWithContext(aws.Context, *route53domains.UpdateDomainContactInput, ...request.Option) (*route53domains.UpdateDomainContactOutput, error) UpdateDomainContactRequest(*route53domains.UpdateDomainContactInput) (*request.Request, *route53domains.UpdateDomainContactOutput)