diff --git a/CHANGELOG.md b/CHANGELOG.md index ca7e38468e..c7fdf773ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.44.97 (2022-09-13) +=== + +### Service Client Updates +* `service/customer-profiles`: Updates service API and documentation +* `service/drs`: Updates service API and documentation +* `service/ec2`: Updates service API and documentation + * Two new features for local gateway route tables: support for static routes targeting Elastic Network Interfaces and direct VPC routing. +* `service/evidently`: Updates service API and documentation +* `service/kendra`: Updates service API and documentation + * This release enables our customer to choose the option of Sharepoint 2019 for the on-premise Sharepoint connector. +* `service/transfer`: Updates service API and documentation + * This release introduces the ability to have multiple server host keys for any of your Transfer Family servers that use the SFTP protocol. + Release v1.44.96 (2022-09-12) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 7ec5aa0aaa..04038dea1f 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -18710,6 +18710,9 @@ var awsPartition = partition{ }, "rolesanywhere": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-east-1", }: endpoint{}, @@ -18731,6 +18734,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -18740,6 +18746,9 @@ var awsPartition = partition{ endpointKey{ Region: "eu-north-1", }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, endpointKey{ Region: "eu-west-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 43c5f9307e..82b5a3e06a 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.44.96" +const SDKVersion = "1.44.97" diff --git a/models/apis/customer-profiles/2020-08-15/api-2.json b/models/apis/customer-profiles/2020-08-15/api-2.json index 54425ee890..c580bdaa21 100644 --- a/models/apis/customer-profiles/2020-08-15/api-2.json +++ b/models/apis/customer-profiles/2020-08-15/api-2.json @@ -1343,7 +1343,8 @@ "LastUpdatedAt":{"shape":"timestamp"}, "Tags":{"shape":"TagMap"}, "ObjectTypeNames":{"shape":"ObjectTypeNames"}, - "WorkflowId":{"shape":"string1To255"} + "WorkflowId":{"shape":"string1To255"}, + "IsUnstructured":{"shape":"optionalBoolean"} } }, "GetMatchesRequest":{ @@ -1720,7 +1721,8 @@ "LastUpdatedAt":{"shape":"timestamp"}, "Tags":{"shape":"TagMap"}, "ObjectTypeNames":{"shape":"ObjectTypeNames"}, - "WorkflowId":{"shape":"string1To255"} + "WorkflowId":{"shape":"string1To255"}, + "IsUnstructured":{"shape":"optionalBoolean"} } }, "ListIntegrationsRequest":{ @@ -2191,7 +2193,8 @@ "LastUpdatedAt":{"shape":"timestamp"}, "Tags":{"shape":"TagMap"}, "ObjectTypeNames":{"shape":"ObjectTypeNames"}, - "WorkflowId":{"shape":"string1To255"} + "WorkflowId":{"shape":"string1To255"}, + "IsUnstructured":{"shape":"optionalBoolean"} } }, "PutProfileObjectRequest":{ diff --git a/models/apis/customer-profiles/2020-08-15/docs-2.json b/models/apis/customer-profiles/2020-08-15/docs-2.json index 97aa191f67..ec8d8c7b31 100644 --- a/models/apis/customer-profiles/2020-08-15/docs-2.json +++ b/models/apis/customer-profiles/2020-08-15/docs-2.json @@ -2,7 +2,7 @@ "version": "2.0", "service": "Amazon Connect Customer Profiles

Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information about the Amazon Connect Customer Profiles API, including supported operations, data types, parameters, and schemas.

Amazon Connect Customer Profiles is a unified customer profile for your contact center that has pre-built connectors powered by AppFlow that make it easy to combine customer information from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your enterprise resource planning (ERP), with contact history from your Amazon Connect contact center.

If you're new to Amazon Connect , you might find it helpful to also review the Amazon Connect Administrator Guide.

", "operations": { - "AddProfileKey": "

Associates a new key value with a specific profile, such as a Contact Trace Record (CTR) ContactId.

A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.

", + "AddProfileKey": "

Associates a new key value with a specific profile, such as a Contact Record ContactId.

A profile object can have a single unique key and any number of additional keys that can be used to identify the profile that it belongs to.

", "CreateDomain": "

Creates a domain, which is a container for all customer data, such as customer profile attributes, object types, profile keys, and encryption keys. You can create multiple domains, and each domain can have multiple third-party integrations.

Each Amazon Connect instance can be associated with only one domain. Multiple Amazon Connect instances can be associated with one domain.

Use this API or UpdateDomain to enable identity resolution: set Matching to true.

To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.

", "CreateIntegrationWorkflow": "

Creates an integration workflow. An integration workflow is an async process which ingests historic data and sets up an integration for ongoing updates. The supported Amazon AppFlow sources are Salesforce, ServiceNow, and Marketo.

", "CreateProfile": "

Creates a standard profile.

A standard profile represents the following attributes for a customer profile in a domain.

", @@ -32,13 +32,13 @@ "ListTagsForResource": "

Displays the tags associated with an Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

", "ListWorkflows": "

Query to list all workflows.

", "MergeProfiles": "

Runs an AWS Lambda job that does the following:

  1. All the profileKeys in the ProfileToBeMerged will be moved to the main profile.

  2. All the objects in the ProfileToBeMerged will be moved to the main profile.

  3. All the ProfileToBeMerged will be deleted at the end.

  4. All the profileKeys in the ProfileIdsToBeMerged will be moved to the main profile.

  5. Standard fields are merged as follows:

    1. Fields are always \"union\"-ed if there are no conflicts in standard fields or attributeKeys.

    2. When there are conflicting fields:

      1. If no SourceProfileIds entry is specified, the main Profile value is always taken.

      2. If a SourceProfileIds entry is specified, the specified profileId is always taken, even if it is a NULL value.

You can use MergeProfiles together with GetMatches, which returns potentially matching profiles, or use it with the results of another matching system. After profiles have been merged, they cannot be separated (unmerged).

", - "PutIntegration": "

Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect.

An integration can belong to only one domain.

", - "PutProfileObject": "

Adds additional objects to customer profiles of a given ObjectType.

When adding a specific profile object, like a Contact Trace Record (CTR), an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional CTRs with the same phone number will be mapped to the same inferred profile.

When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition.

PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.

", - "PutProfileObjectType": "

Defines a ProfileObjectType.

", + "PutIntegration": "

Adds an integration between the service and a third-party service, which includes Amazon AppFlow and Amazon Connect.

An integration can belong to only one domain.

To add or remove tags on an existing Integration, see TagResource / UntagResource.

", + "PutProfileObject": "

Adds additional objects to customer profiles of a given ObjectType.

When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile.

When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition.

PutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.

", + "PutProfileObjectType": "

Defines a ProfileObjectType.

To add or remove tags on an existing ObjectType, see TagResource/UntagResource.

", "SearchProfiles": "

Searches for profiles within a specific domain name using name, phone number, email address, account number, or a custom defined index.

", "TagResource": "

Assigns one or more tags (key-value pairs) to the specified Amazon Connect Customer Profiles resource. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.

You can use the TagResource action with a resource that already has tags. If you specify a new tag key, this tag is appended to the list of tags associated with the resource. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a resource.

", "UntagResource": "

Removes one or more tags from the specified Amazon Connect Customer Profiles resource. In Connect Customer Profiles, domains, profile object types, and integrations can be tagged.

", - "UpdateDomain": "

Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.

After a domain is created, the name can’t be changed.

Use this API or CreateDomain to enable identity resolution: set Matching to true.

To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.

", + "UpdateDomain": "

Updates the properties of a domain, including creating or selecting a dead letter queue or an encryption key.

After a domain is created, the name can’t be changed.

Use this API or CreateDomain to enable identity resolution: set Matching to true.

To prevent cross-service impersonation when you call this API, see Cross-service confused deputy prevention for sample policies that you should apply.

To add or remove tags on an existing Domain, see TagResource/UntagResource.

", "UpdateProfile": "

Updates the properties of a profile. The ProfileId is required for updating a customer profile.

When calling the UpdateProfile API, specifying an empty string value means that any existing value will be removed. Not specifying a string value means that any value already there will be kept.

" }, "shapes": { @@ -1397,10 +1397,13 @@ "base": null, "refs": { "AutoMerging$Enabled": "

The flag that enables the auto-merging of duplicate profiles.

", + "GetIntegrationResponse$IsUnstructured": "

Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition

", "ListAccountIntegrationsRequest$IncludeHidden": "

Boolean to indicate if hidden integration should be returned. Defaults to False.

", + "ListIntegrationItem$IsUnstructured": "

Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition

", "ListIntegrationsRequest$IncludeHidden": "

Boolean to indicate if hidden integration should be returned. Defaults to False.

", "MatchingRequest$Enabled": "

The flag that enables the matching process of duplicate profiles.

", - "MatchingResponse$Enabled": "

The flag that enables the matching process of duplicate profiles.

" + "MatchingResponse$Enabled": "

The flag that enables the matching process of duplicate profiles.

", + "PutIntegrationResponse$IsUnstructured": "

Boolean to indicate if the Flow associated with the Integration is created via Appflow console or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition

" } }, "requestValueList": { diff --git a/models/apis/drs/2020-02-26/api-2.json b/models/apis/drs/2020-02-26/api-2.json index d9c75930a6..ae1e8aa9d7 100644 --- a/models/apis/drs/2020-02-26/api-2.json +++ b/models/apis/drs/2020-02-26/api-2.json @@ -734,7 +734,7 @@ "dataReplicationInitiation":{"shape":"DataReplicationInitiation"}, "dataReplicationState":{"shape":"DataReplicationState"}, "etaDateTime":{"shape":"ISO8601DatetimeString"}, - "lagDuration":{"shape":"ISO8601DatetimeString"}, + "lagDuration":{"shape":"ISO8601DurationString"}, "replicatedDisks":{"shape":"DataReplicationInfoReplicatedDisks"} } }, @@ -1130,6 +1130,11 @@ "min":19, "pattern":"^[1-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-1][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\\.[0-9]+)?Z$" }, + "ISO8601DurationString":{ + "type":"string", + "max":64, + "min":1 + }, "IdentificationHints":{ "type":"structure", "members":{ @@ -1321,7 +1326,7 @@ "type":"structure", "members":{ "addedToServiceDateTime":{"shape":"ISO8601DatetimeString"}, - "elapsedReplicationDuration":{"shape":"ISO8601DatetimeString"}, + "elapsedReplicationDuration":{"shape":"ISO8601DurationString"}, "firstByteDateTime":{"shape":"ISO8601DatetimeString"}, "lastLaunch":{"shape":"LifeCycleLastLaunch"}, "lastSeenByServiceDateTime":{"shape":"ISO8601DatetimeString"} diff --git a/models/apis/drs/2020-02-26/docs-2.json b/models/apis/drs/2020-02-26/docs-2.json index 9d84f6e4f4..97b8878bab 100644 --- a/models/apis/drs/2020-02-26/docs-2.json +++ b/models/apis/drs/2020-02-26/docs-2.json @@ -500,7 +500,6 @@ "base": null, "refs": { "DataReplicationInfo$etaDateTime": "

An estimate of when the data replication will be completed.

", - "DataReplicationInfo$lagDuration": "

Data replication lag duration.

", "DataReplicationInitiation$nextAttemptDateTime": "

The date and time of the next attempt to initiate data replication.

", "DataReplicationInitiation$startDateTime": "

The date and time of the current attempt to initiate data replication.

", "DescribeJobsRequestFilters$fromDate": "

The start date in a date range query.

", @@ -511,7 +510,6 @@ "Job$endDateTime": "

The date and time of when the Job ended.

", "JobLog$logDateTime": "

The date and time the log was taken.

", "LifeCycle$addedToServiceDateTime": "

The date and time of when the Source Server was added to the service.

", - "LifeCycle$elapsedReplicationDuration": "

The amount of time that the Source Server has been replicating for.

", "LifeCycle$firstByteDateTime": "

The date and time of the first byte that was replicated from the Source Server.

", "LifeCycle$lastSeenByServiceDateTime": "

The date and time this Source Server was last seen by the service.

", "LifeCycleLastLaunchInitiated$apiCallDateTime": "

The date and time the last Source Server launch was initiated.

", @@ -530,6 +528,13 @@ "SourceProperties$lastUpdatedDateTime": "

The date and time the Source Properties were last updated on.

" } }, + "ISO8601DurationString": { + "base": null, + "refs": { + "DataReplicationInfo$lagDuration": "

Data replication lag duration.

", + "LifeCycle$elapsedReplicationDuration": "

The amount of time that the Source Server has been replicating for.

" + } + }, "IdentificationHints": { "base": "

Hints used to uniquely identify a machine.

", "refs": { diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 6a426f8dc2..ceac1bdf73 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -3923,6 +3923,15 @@ "input":{"shape":"ModifyLaunchTemplateRequest"}, "output":{"shape":"ModifyLaunchTemplateResult"} }, + "ModifyLocalGatewayRoute":{ + "name":"ModifyLocalGatewayRoute", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyLocalGatewayRouteRequest"}, + "output":{"shape":"ModifyLocalGatewayRouteResult"} + }, "ModifyManagedPrefixList":{ "name":"ModifyManagedPrefixList", "http":{ @@ -4800,7 +4809,9 @@ "t4", "m60", "radeon-pro-v520", - "vu9p" + "vu9p", + "inferentia", + "k520" ] }, "AcceleratorNameSet":{ @@ -9564,14 +9575,14 @@ "type":"structure", "required":[ "DestinationCidrBlock", - "LocalGatewayRouteTableId", - "LocalGatewayVirtualInterfaceGroupId" + "LocalGatewayRouteTableId" ], "members":{ "DestinationCidrBlock":{"shape":"String"}, "LocalGatewayRouteTableId":{"shape":"LocalGatewayRoutetableId"}, "LocalGatewayVirtualInterfaceGroupId":{"shape":"LocalGatewayVirtualInterfaceGroupId"}, - "DryRun":{"shape":"Boolean"} + "DryRun":{"shape":"Boolean"}, + "NetworkInterfaceId":{"shape":"NetworkInterfaceId"} } }, "CreateLocalGatewayRouteResult":{ @@ -27153,6 +27164,18 @@ "OwnerId":{ "shape":"String", "locationName":"ownerId" + }, + "SubnetId":{ + "shape":"SubnetId", + "locationName":"subnetId" + }, + "CoipPoolId":{ + "shape":"CoipPoolId", + "locationName":"coipPoolId" + }, + "NetworkInterfaceId":{ + "shape":"NetworkInterfaceId", + "locationName":"networkInterfaceId" } } }, @@ -27203,6 +27226,10 @@ "Tags":{ "shape":"TagList", "locationName":"tagSet" + }, + "Mode":{ + "shape":"LocalGatewayRouteTableMode", + "locationName":"mode" } } }, @@ -27213,6 +27240,13 @@ "locationName":"item" } }, + "LocalGatewayRouteTableMode":{ + "type":"string", + "enum":[ + "direct-vpc-routing", + "coip" + ] + }, "LocalGatewayRouteTableSet":{ "type":"list", "member":{ @@ -28281,6 +28315,29 @@ } } }, + "ModifyLocalGatewayRouteRequest":{ + "type":"structure", + "required":[ + "DestinationCidrBlock", + "LocalGatewayRouteTableId", + "NetworkInterfaceId" + ], + "members":{ + "DestinationCidrBlock":{"shape":"String"}, + "LocalGatewayRouteTableId":{"shape":"LocalGatewayRoutetableId"}, + "NetworkInterfaceId":{"shape":"NetworkInterfaceId"}, + "DryRun":{"shape":"Boolean"} + } + }, + "ModifyLocalGatewayRouteResult":{ + "type":"structure", + "members":{ + "Route":{ + "shape":"LocalGatewayRoute", + "locationName":"route" + } + } + }, "ModifyManagedPrefixListRequest":{ "type":"structure", "required":["PrefixListId"], diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index e66141c761..e9c75f03b2 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -73,7 +73,7 @@ "CreateKeyPair": "

Creates an ED25519 or 2048-bit RSA key pair with the specified name and in the specified PEM or PPK format. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 private key or an unencrypted PPK formatted private key for use with PuTTY. If a key with the specified name already exists, Amazon EC2 returns an error.

The key pair returned to you is available only in the Amazon Web Services Region in which you create it. If you prefer, you can create your own key pair using a third-party tool and upload it to any Region using ImportKeyPair.

You can have up to 5,000 key pairs per Amazon Web Services Region.

For more information, see Amazon EC2 key pairs in the Amazon Elastic Compute Cloud User Guide.

", "CreateLaunchTemplate": "

Creates a launch template.

A launch template contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify a launch template instead of providing the launch parameters in the request. For more information, see Launch an instance from a launch template in the Amazon Elastic Compute Cloud User Guide.

If you want to clone an existing launch template as the basis for creating a new launch template, you can use the Amazon EC2 console. The API, SDKs, and CLI do not support cloning a template. For more information, see Create a launch template from an existing launch template in the Amazon Elastic Compute Cloud User Guide.

", "CreateLaunchTemplateVersion": "

Creates a new version of a launch template. You can specify an existing version of launch template from which to base the new version.

Launch template versions are numbered in the order in which they are created. You cannot specify, change, or replace the numbering of launch template versions.

Launch templates are immutable; after you create a launch template, you can't modify it. Instead, you can create a new version of the launch template that includes any changes you require.

For more information, see Modify a launch template (manage launch template versions) in the Amazon Elastic Compute Cloud User Guide.

", - "CreateLocalGatewayRoute": "

Creates a static route for the specified local gateway route table.

", + "CreateLocalGatewayRoute": "

Creates a static route for the specified local gateway route table. You must specify one of the following targets:

", "CreateLocalGatewayRouteTableVpcAssociation": "

Associates the specified VPC with the specified local gateway route table.

", "CreateManagedPrefixList": "

Creates a managed prefix list. You can specify one or more entries for the prefix list. Each entry consists of a CIDR block and an optional description.

", "CreateNatGateway": "

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon Virtual Private Cloud User Guide.

", @@ -441,6 +441,7 @@ "ModifyIpamResourceCidr": "

Modify a resource CIDR. You can use this action to transfer resource CIDRs between scopes and ignore resource CIDRs that you do not want to manage. If set to false, the resource will not be tracked for overlap, it cannot be auto-imported into a pool, and it will be removed from any pool it has an allocation in.

For more information, see Move resource CIDRs between scopes and Change the monitoring state of resource CIDRs in the Amazon VPC IPAM User Guide.

", "ModifyIpamScope": "

Modify an IPAM scope.

", "ModifyLaunchTemplate": "

Modifies a launch template. You can specify which version of the launch template to set as the default version. When launching an instance, the default version applies when a launch template version is not specified.

", + "ModifyLocalGatewayRoute": "

Modifies the specified local gateway route.

", "ModifyManagedPrefixList": "

Modifies the specified managed prefix list.

Adding or removing entries in a prefix list creates a new version of the prefix list. Changing the name of the prefix list does not affect the version.

If you specify a current version number that does not match the true current version number, the request fails.

", "ModifyNetworkInterfaceAttribute": "

Modifies the specified network interface attribute. You can specify only one attribute at a time. You can use this action to attach and detach security groups from an existing EC2 instance.

", "ModifyPrivateDnsNameOptions": "

Modifies the options for instance hostnames for the specified instance.

", @@ -2234,6 +2235,7 @@ "ModifyIpamResourceCidrRequest$Monitored": "

Determines if the resource is monitored by IPAM. If a resource is monitored, the resource is discovered by IPAM and you can view details about the resource’s CIDR.

", "ModifyIpamScopeRequest$DryRun": "

A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyLaunchTemplateRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "ModifyLocalGatewayRouteRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyManagedPrefixListRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyNetworkInterfaceAttributeRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyPrivateDnsNameOptionsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -3260,6 +3262,7 @@ "CoipPoolId": { "base": null, "refs": { + "LocalGatewayRoute$CoipPoolId": "

The ID of the customer-owned address pool.

", "ModifySubnetAttributeRequest$CustomerOwnedIpv4Pool": "

The customer-owned IPv4 address pool associated with the subnet.

You must set this value when you specify true for MapCustomerOwnedIpOnLaunch.

", "Subnet$CustomerOwnedIpv4Pool": "

The customer-owned IPv4 address pool associated with the subnet.

" } @@ -12119,7 +12122,8 @@ "refs": { "CreateLocalGatewayRouteResult$Route": "

Information about the route.

", "DeleteLocalGatewayRouteResult$Route": "

Information about the route.

", - "LocalGatewayRouteList$member": null + "LocalGatewayRouteList$member": null, + "ModifyLocalGatewayRouteResult$Route": null } }, "LocalGatewayRouteList": { @@ -12146,6 +12150,12 @@ "DescribeLocalGatewayRouteTablesRequest$LocalGatewayRouteTableIds": "

The IDs of the local gateway route tables.

" } }, + "LocalGatewayRouteTableMode": { + "base": null, + "refs": { + "LocalGatewayRouteTable$Mode": "

The mode of the local gateway route table.

" + } + }, "LocalGatewayRouteTableSet": { "base": null, "refs": { @@ -12220,6 +12230,7 @@ "DeleteLocalGatewayRouteRequest$LocalGatewayRouteTableId": "

The ID of the local gateway route table.

", "LocalGatewayRoute$LocalGatewayRouteTableId": "

The ID of the local gateway route table.

", "LocalGatewayRouteTableIdSet$member": null, + "ModifyLocalGatewayRouteRequest$LocalGatewayRouteTableId": "

The ID of the local gateway route table.

", "SearchLocalGatewayRoutesRequest$LocalGatewayRouteTableId": "

The ID of the local gateway route table.

" } }, @@ -12796,6 +12807,16 @@ "refs": { } }, + "ModifyLocalGatewayRouteRequest": { + "base": null, + "refs": { + } + }, + "ModifyLocalGatewayRouteResult": { + "base": null, + "refs": { + } + }, "ModifyManagedPrefixListRequest": { "base": null, "refs": { @@ -13501,6 +13522,7 @@ "AssociateTrunkInterfaceRequest$BranchInterfaceId": "

The ID of the branch network interface.

", "AssociateTrunkInterfaceRequest$TrunkInterfaceId": "

The ID of the trunk network interface.

", "AttachNetworkInterfaceRequest$NetworkInterfaceId": "

The ID of the network interface.

", + "CreateLocalGatewayRouteRequest$NetworkInterfaceId": "

The ID of the network interface.

", "CreateNetworkInterfacePermissionRequest$NetworkInterfaceId": "

The ID of the network interface.

", "CreateRouteRequest$NetworkInterfaceId": "

The ID of a network interface.

", "CreateTrafficMirrorSessionRequest$NetworkInterfaceId": "

The ID of the source network interface.

", @@ -13510,6 +13532,8 @@ "InstanceNetworkInterfaceSpecification$NetworkInterfaceId": "

The ID of the network interface.

If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.

", "LaunchTemplateInstanceNetworkInterfaceSpecification$NetworkInterfaceId": "

The ID of the network interface.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$NetworkInterfaceId": "

The ID of the network interface.

", + "LocalGatewayRoute$NetworkInterfaceId": "

The ID of the network interface.

", + "ModifyLocalGatewayRouteRequest$NetworkInterfaceId": "

The ID of the network interface.

", "ModifyNetworkInterfaceAttributeRequest$NetworkInterfaceId": "

The ID of the network interface.

", "NetworkInterfaceIdList$member": null, "ReplaceRouteRequest$NetworkInterfaceId": "

The ID of a network interface.

", @@ -17722,6 +17746,7 @@ "ModifyIpamScopeRequest$Description": "

The description of the scope you want to modify.

", "ModifyLaunchTemplateRequest$ClientToken": "

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

Constraint: Maximum 128 ASCII characters.

", "ModifyLaunchTemplateRequest$DefaultVersion": "

The version number of the launch template to set as the default version.

", + "ModifyLocalGatewayRouteRequest$DestinationCidrBlock": "

The CIDR block used for destination matches. The value that you provide must match the CIDR of an existing route in the table.

", "ModifyManagedPrefixListRequest$PrefixListName": "

A name for the prefix list.

", "ModifyReservedInstancesRequest$ClientToken": "

A unique, case-sensitive token you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

", "ModifyReservedInstancesResult$ReservedInstancesModificationId": "

The ID for the modification.

", @@ -18521,6 +18546,7 @@ "LaunchTemplateInstanceNetworkInterfaceSpecification$SubnetId": "

The ID of the subnet for the network interface.

", "LaunchTemplateInstanceNetworkInterfaceSpecificationRequest$SubnetId": "

The ID of the subnet for the network interface.

", "LaunchTemplateOverrides$SubnetId": "

The ID of the subnet in which to launch the instances.

", + "LocalGatewayRoute$SubnetId": "

The ID of the subnet.

", "ModifySubnetAttributeRequest$SubnetId": "

The ID of the subnet.

", "RequestSpotLaunchSpecification$SubnetId": "

The ID of the subnet in which to launch the instance.

", "RunInstancesRequest$SubnetId": "

[EC2-VPC] The ID of the subnet to launch the instance into.

If you specify a network interface, you must specify any subnets as part of the network interface.

", diff --git a/models/apis/evidently/2021-02-01/api-2.json b/models/apis/evidently/2021-02-01/api-2.json index 19cd7a4412..38b7fdcbb0 100644 --- a/models/apis/evidently/2021-02-01/api-2.json +++ b/models/apis/evidently/2021-02-01/api-2.json @@ -655,6 +655,10 @@ }, "exception":true }, + "AppConfigResourceId":{ + "type":"string", + "pattern":"[a-z0-9]{4,7}" + }, "Arn":{ "type":"string", "max":2048, @@ -814,6 +818,7 @@ "type":"structure", "required":["name"], "members":{ + "appConfigResource":{"shape":"ProjectAppConfigResourceConfig"}, "dataDelivery":{"shape":"ProjectDataDeliveryConfig"}, "description":{"shape":"Description"}, "name":{"shape":"ProjectName"}, @@ -2025,6 +2030,7 @@ "members":{ "activeExperimentCount":{"shape":"Long"}, "activeLaunchCount":{"shape":"Long"}, + "appConfigResource":{"shape":"ProjectAppConfigResource"}, "arn":{"shape":"ProjectArn"}, "createdTime":{"shape":"Timestamp"}, "dataDelivery":{"shape":"ProjectDataDelivery"}, @@ -2038,6 +2044,26 @@ "tags":{"shape":"TagMap"} } }, + "ProjectAppConfigResource":{ + "type":"structure", + "required":[ + "applicationId", + "configurationProfileId", + "environmentId" + ], + "members":{ + "applicationId":{"shape":"AppConfigResourceId"}, + "configurationProfileId":{"shape":"AppConfigResourceId"}, + "environmentId":{"shape":"AppConfigResourceId"} + } + }, + "ProjectAppConfigResourceConfig":{ + "type":"structure", + "members":{ + "applicationId":{"shape":"AppConfigResourceId"}, + "environmentId":{"shape":"AppConfigResourceId"} + } + }, "ProjectArn":{ "type":"string", "max":2048, @@ -2765,6 +2791,7 @@ "type":"structure", "required":["project"], "members":{ + "appConfigResource":{"shape":"ProjectAppConfigResourceConfig"}, "description":{"shape":"Description"}, "project":{ "shape":"ProjectRef", diff --git a/models/apis/evidently/2021-02-01/docs-2.json b/models/apis/evidently/2021-02-01/docs-2.json index 7466881c0d..197517a317 100644 --- a/models/apis/evidently/2021-02-01/docs-2.json +++ b/models/apis/evidently/2021-02-01/docs-2.json @@ -7,7 +7,7 @@ "CreateFeature": "

Creates an Evidently feature that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see CreateProject.

Don't use this operation to update an existing feature. Instead, use UpdateFeature.

", "CreateLaunch": "

Creates a launch of a given feature. Before you create a launch, you must create the feature to use for the launch.

You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.

Don't use this operation to update an existing launch. Instead, use UpdateLaunch.

", "CreateProject": "

Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.

To update an existing project, use UpdateProject.

", - "CreateSegment": "

Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.

Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allow you to define different traffic splits for the different audience segments.

 <p>For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments-syntax.html"> Segment rule pattern syntax</a>.</p> <p>The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>, which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a> operation, when Evidently assigns a feature variation to a user.</p> 
", + "CreateSegment": "

Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.

Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allows you to define different traffic splits for the different audience segments.

 <p>For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html"> Segment rule pattern syntax</a>.</p> <p>The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>, which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a> operation, when Evidently assigns a feature variation to a user.</p> 
", "DeleteExperiment": "

Deletes an Evidently experiment. The feature used for the experiment is not deleted.

To stop an experiment without deleting it, use StopExperiment.

", "DeleteFeature": "

Deletes an Evidently feature.

", "DeleteLaunch": "

Deletes an Evidently launch. The feature used for the launch is not deleted.

To stop a launch without deleting it, use StopLaunch.

", @@ -15,7 +15,7 @@ "DeleteSegment": "

Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.

", "EvaluateFeature": "

This operation assigns a feature variation to one given user session. You pass in an entityID that represents the user. Evidently then checks the evaluation rules and assigns the variation.

The first rules that are evaluated are the override rules. If the user's entityID matches an override rule, the user is served the variation specified by that rule.

 <p>If there is a current launch with this feature that uses segment overrides, and if the user session's <code>evaluationContext</code> matches a segment rule defined in a segment override, the configuration in the segment overrides is used. For more information about segments, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html">CreateSegment</a> and <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html">Use segments to focus your audience</a>.</p> <p>If there is a launch with no segment overrides, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.</p> <p>If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment.</p> <p>If the experiment uses a segment, then only user sessions with <code>evaluationContext</code> values that match the segment rule are used in the experiment.</p> <p>If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment. </p> <p>If the user is not assigned to a launch or experiment, they are served the default variation.</p> 
", "GetExperiment": "

Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments.

", - "GetExperimentResults": "

Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment.

Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.

", + "GetExperimentResults": "

Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.

Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.

", "GetFeature": "

Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.

", "GetLaunch": "

Returns the details about one launch. You must already know the launch name. To retrieve a list of launches in your account, use ListLaunches.

", "GetProject": "

Returns the details about one launch. You must already know the project name. To retrieve a list of projects in your account, use ListProjects.

", @@ -47,6 +47,16 @@ "refs": { } }, + "AppConfigResourceId": { + "base": null, + "refs": { + "ProjectAppConfigResource$applicationId": "

The ID of the AppConfig application to use for client-side evaluation.

", + "ProjectAppConfigResource$configurationProfileId": "

The ID of the AppConfig profile to use for client-side evaluation.

", + "ProjectAppConfigResource$environmentId": "

The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId.

", + "ProjectAppConfigResourceConfig$applicationId": "

The ID of the AppConfig application to use for client-side evaluation.

", + "ProjectAppConfigResourceConfig$environmentId": "

The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId.

" + } + }, "Arn": { "base": null, "refs": { @@ -988,6 +998,19 @@ "UpdateProjectResponse$project": "

A structure containing information about the updated project.

" } }, + "ProjectAppConfigResource": { + "base": "

This is a structure that defines the configuration of how your application integrates with AppConfig to run client-side evaluation.

", + "refs": { + "Project$appConfigResource": "

This structure defines the configuration of how your application integrates with AppConfig to run client-side evaluation.

" + } + }, + "ProjectAppConfigResourceConfig": { + "base": "

Use this parameter to configure client-side evaluation for your project. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation to assign the variations. This mitigates the latency and availability risks that come with an API call.

ProjectAppConfigResource is a structure that defines the configuration of how your application integrates with AppConfig to run client-side evaluation.

", + "refs": { + "CreateProjectRequest$appConfigResource": "

Use this parameter if the project will use client-side evaluation powered by AppConfig. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation. This mitigates the latency and availability risks that come with an API call. For more information, see Client-side evaluation - powered by AppConfig.

This parameter is a structure that contains information about the AppConfig application and environment that will be used as for client-side evaluation.

To create a project that uses client-side evaluation, you must have the evidently:ExportProjectAsConfiguration permission.

", + "UpdateProjectRequest$appConfigResource": "

Use this parameter if the project will use client-side evaluation powered by AppConfig. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation. This mitigates the latency and availability risks that come with an API call. allows you to

This parameter is a structure that contains information about the AppConfig application that will be used for client-side evaluation.

" + } + }, "ProjectArn": { "base": null, "refs": { @@ -1246,8 +1269,8 @@ "SegmentPattern": { "base": null, "refs": { - "CreateSegmentRequest$pattern": "

The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.

", - "Segment$pattern": "

", + "CreateSegmentRequest$pattern": "

The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.

", + "Segment$pattern": "

The pattern that defines the attributes to use to evalute whether a user session will be in the segment. For more information about the pattern syntax, see Segment rule pattern syntax.

", "TestSegmentPatternRequest$pattern": "

The pattern to test.

" } }, diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index 35c7abee65..d2ec2b2429 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -7360,7 +7360,8 @@ "enum": [ "SHAREPOINT_2013", "SHAREPOINT_2016", - "SHAREPOINT_ONLINE" + "SHAREPOINT_ONLINE", + "SHAREPOINT_2019" ], "type": "string" }, diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index d23fdce019..33b60943e7 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -189,7 +189,7 @@ } }, "AttributeFilter": { - "base": "

Provides filtering the query results based on document attributes.

When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers under the first attribute filter. For example, you can use:

<AndAllFilters>

  1. <OrAllFilters>

  2. <EqualsTo>

If you use more than 2 layers, you receive a ValidationException exception with the message \"AttributeFilter cannot have a depth of more than 2.\"

If you use more than 10 attribute filters in a given list for AndAllFilters or OrAllFilters, you receive a ValidationException with the message \"AttributeFilter cannot have a length of more than 10\".

", + "base": "

Provides filtering the query results based on document attributes or metadata fields.

When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers under the first attribute filter. For example, you can use:

<AndAllFilters>

  1. <OrAllFilters>

  2. <EqualsTo>

If you use more than 2 layers, you receive a ValidationException exception with the message \"AttributeFilter cannot have a depth of more than 2.\"

If you use more than 10 attribute filters in a given list for AndAllFilters or OrAllFilters, you receive a ValidationException with the message \"AttributeFilter cannot have a length of more than 10\".

", "refs": { "AttributeFilter$NotFilter": "

Performs a logical NOT operation on all supplied filters.

", "AttributeFilterList$member": null, @@ -1156,13 +1156,13 @@ "DocumentAttribute": { "base": "

A document attribute or metadata field. To create custom document attributes, see Custom attributes.

", "refs": { - "AttributeFilter$EqualsTo": "

Performs an equals operation on two document attributes.

", - "AttributeFilter$ContainsAll": "

Returns true when a document contains all of the specified document attributes. This filter is only applicable to StringListValue metadata.

", - "AttributeFilter$ContainsAny": "

Returns true when a document contains any of the specified document attributes. This filter is only applicable to StringListValue metadata.

", - "AttributeFilter$GreaterThan": "

Performs a greater than operation on two document attributes. Use with a document attribute of type Date or Long.

", - "AttributeFilter$GreaterThanOrEquals": "

Performs a greater or equals than operation on two document attributes. Use with a document attribute of type Date or Long.

", - "AttributeFilter$LessThan": "

Performs a less than operation on two document attributes. Use with a document attribute of type Date or Long.

", - "AttributeFilter$LessThanOrEquals": "

Performs a less than or equals operation on two document attributes. Use with a document attribute of type Date or Long.

", + "AttributeFilter$EqualsTo": "

Performs an equals operation on two document attributes or metadata fields.

", + "AttributeFilter$ContainsAll": "

Returns true when a document contains all of the specified document attributes or metadata fields. This filter is only applicable to StringListValue metadata.

", + "AttributeFilter$ContainsAny": "

Returns true when a document contains any of the specified document attributes or metadata fields. This filter is only applicable to StringListValue metadata.

", + "AttributeFilter$GreaterThan": "

Performs a greater than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

", + "AttributeFilter$GreaterThanOrEquals": "

Performs a greater or equals than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

", + "AttributeFilter$LessThan": "

Performs a less than operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

", + "AttributeFilter$LessThanOrEquals": "

Performs a less than or equals operation on two document attributes or metadata fields. Use with a document attribute of type Date or Long.

", "DocumentAttributeList$member": null } }, diff --git a/models/apis/transfer/2018-11-05/api-2.json b/models/apis/transfer/2018-11-05/api-2.json index c2bc3c6bff..2a3ab44214 100644 --- a/models/apis/transfer/2018-11-05/api-2.json +++ b/models/apis/transfer/2018-11-05/api-2.json @@ -184,6 +184,21 @@ {"shape":"ResourceNotFoundException"} ] }, + "DeleteHostKey":{ + "name":"DeleteHostKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteHostKeyRequest"}, + "errors":[ + {"shape":"ServiceUnavailableException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "DeleteProfile":{ "name":"DeleteProfile", "http":{ @@ -332,6 +347,21 @@ {"shape":"ResourceNotFoundException"} ] }, + "DescribeHostKey":{ + "name":"DescribeHostKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeHostKeyRequest"}, + "output":{"shape":"DescribeHostKeyResponse"}, + "errors":[ + {"shape":"ServiceUnavailableException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "DescribeProfile":{ "name":"DescribeProfile", "http":{ @@ -422,6 +452,23 @@ {"shape":"ResourceNotFoundException"} ] }, + "ImportHostKey":{ + "name":"ImportHostKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ImportHostKeyRequest"}, + "output":{"shape":"ImportHostKeyResponse"}, + "errors":[ + {"shape":"ServiceUnavailableException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceExistsException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "ImportSshPublicKey":{ "name":"ImportSshPublicKey", "http":{ @@ -519,6 +566,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "ListHostKeys":{ + "name":"ListHostKeys", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListHostKeysRequest"}, + "output":{"shape":"ListHostKeysResponse"}, + "errors":[ + {"shape":"ServiceUnavailableException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidNextTokenException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "ListProfiles":{ "name":"ListProfiles", "http":{ @@ -780,6 +843,22 @@ {"shape":"ResourceNotFoundException"} ] }, + "UpdateHostKey":{ + "name":"UpdateHostKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateHostKeyRequest"}, + "output":{"shape":"UpdateHostKeyResponse"}, + "errors":[ + {"shape":"ServiceUnavailableException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "UpdateProfile":{ "name":"UpdateProfile", "http":{ @@ -1222,6 +1301,17 @@ "ConnectorId":{"shape":"ConnectorId"} } }, + "DeleteHostKeyRequest":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeyId" + ], + "members":{ + "ServerId":{"shape":"ServerId"}, + "HostKeyId":{"shape":"HostKeyId"} + } + }, "DeleteProfileRequest":{ "type":"structure", "required":["ProfileId"], @@ -1364,6 +1454,24 @@ "Execution":{"shape":"DescribedExecution"} } }, + "DescribeHostKeyRequest":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeyId" + ], + "members":{ + "ServerId":{"shape":"ServerId"}, + "HostKeyId":{"shape":"HostKeyId"} + } + }, + "DescribeHostKeyResponse":{ + "type":"structure", + "required":["HostKey"], + "members":{ + "HostKey":{"shape":"DescribedHostKey"} + } + }, "DescribeProfileRequest":{ "type":"structure", "required":["ProfileId"], @@ -1516,6 +1624,19 @@ "Results":{"shape":"ExecutionResults"} } }, + "DescribedHostKey":{ + "type":"structure", + "required":["Arn"], + "members":{ + "Arn":{"shape":"Arn"}, + "HostKeyId":{"shape":"HostKeyId"}, + "HostKeyFingerprint":{"shape":"HostKeyFingerprint"}, + "Description":{"shape":"HostKeyDescription"}, + "Type":{"shape":"HostKeyType"}, + "DateImported":{"shape":"DateImported"}, + "Tags":{"shape":"Tags"} + } + }, "DescribedProfile":{ "type":"structure", "required":["Arn"], @@ -1783,7 +1904,20 @@ "max":4096, "sensitive":true }, + "HostKeyDescription":{ + "type":"string", + "max":200, + "min":0, + "pattern":"^[\\p{Print}]*$" + }, "HostKeyFingerprint":{"type":"string"}, + "HostKeyId":{ + "type":"string", + "max":25, + "min":25, + "pattern":"^hostkey-[0-9a-f]{17}$" + }, + "HostKeyType":{"type":"string"}, "IdentityProviderDetails":{ "type":"structure", "members":{ @@ -1826,6 +1960,30 @@ "CertificateId":{"shape":"CertificateId"} } }, + "ImportHostKeyRequest":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeyBody" + ], + "members":{ + "ServerId":{"shape":"ServerId"}, + "HostKeyBody":{"shape":"HostKey"}, + "Description":{"shape":"HostKeyDescription"}, + "Tags":{"shape":"Tags"} + } + }, + "ImportHostKeyResponse":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeyId" + ], + "members":{ + "ServerId":{"shape":"ServerId"}, + "HostKeyId":{"shape":"HostKeyId"} + } + }, "ImportSshPublicKeyRequest":{ "type":"structure", "required":[ @@ -1973,6 +2131,27 @@ "Executions":{"shape":"ListedExecutions"} } }, + "ListHostKeysRequest":{ + "type":"structure", + "required":["ServerId"], + "members":{ + "MaxResults":{"shape":"MaxResults"}, + "NextToken":{"shape":"NextToken"}, + "ServerId":{"shape":"ServerId"} + } + }, + "ListHostKeysResponse":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeys" + ], + "members":{ + "NextToken":{"shape":"NextToken"}, + "ServerId":{"shape":"ServerId"}, + "HostKeys":{"shape":"ListedHostKeys"} + } + }, "ListProfilesRequest":{ "type":"structure", "members":{ @@ -2143,6 +2322,22 @@ "type":"list", "member":{"shape":"ListedExecution"} }, + "ListedHostKey":{ + "type":"structure", + "required":["Arn"], + "members":{ + "Arn":{"shape":"Arn"}, + "HostKeyId":{"shape":"HostKeyId"}, + "Fingerprint":{"shape":"HostKeyFingerprint"}, + "Description":{"shape":"HostKeyDescription"}, + "Type":{"shape":"HostKeyType"}, + "DateImported":{"shape":"DateImported"} + } + }, + "ListedHostKeys":{ + "type":"list", + "member":{"shape":"ListedHostKey"} + }, "ListedProfile":{ "type":"structure", "members":{ @@ -2848,6 +3043,30 @@ "ConnectorId":{"shape":"ConnectorId"} } }, + "UpdateHostKeyRequest":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeyId", + "Description" + ], + "members":{ + "ServerId":{"shape":"ServerId"}, + "HostKeyId":{"shape":"HostKeyId"}, + "Description":{"shape":"HostKeyDescription"} + } + }, + "UpdateHostKeyResponse":{ + "type":"structure", + "required":[ + "ServerId", + "HostKeyId" + ], + "members":{ + "ServerId":{"shape":"ServerId"}, + "HostKeyId":{"shape":"HostKeyId"} + } + }, "UpdateProfileRequest":{ "type":"structure", "required":["ProfileId"], diff --git a/models/apis/transfer/2018-11-05/docs-2.json b/models/apis/transfer/2018-11-05/docs-2.json index 1f6c11d5e4..6cc5ce584a 100644 --- a/models/apis/transfer/2018-11-05/docs-2.json +++ b/models/apis/transfer/2018-11-05/docs-2.json @@ -13,6 +13,7 @@ "DeleteAgreement": "

Delete the agreement that's specified in the provided AgreementId.

", "DeleteCertificate": "

Deletes the certificate that's specified in the CertificateId parameter.

", "DeleteConnector": "

Deletes the agreement that's specified in the provided ConnectorId.

", + "DeleteHostKey": "

Deletes the host key that's specified in the HoskKeyId parameter.

", "DeleteProfile": "

Deletes the profile that's specified in the ProfileId parameter.

", "DeleteServer": "

Deletes the file transfer protocol-enabled server that you specify.

No response returns from this operation.

", "DeleteSshPublicKey": "

Deletes a user's Secure Shell (SSH) public key.

", @@ -23,18 +24,21 @@ "DescribeCertificate": "

Describes the certificate that's identified by the CertificateId.

", "DescribeConnector": "

Describes the connector that's identified by the ConnectorId.

", "DescribeExecution": "

You can use DescribeExecution to check the details of the execution of the specified workflow.

", + "DescribeHostKey": "

Returns the details of the host key that's specified by the HostKeyId and ServerId.

", "DescribeProfile": "

Returns the details of the profile that's specified by the ProfileId.

", "DescribeSecurityPolicy": "

Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies.

", "DescribeServer": "

Describes a file transfer protocol-enabled server that you specify by passing the ServerId parameter.

The response contains a description of a server's properties. When you set EndpointType to VPC, the response will contain the EndpointDetails.

", "DescribeUser": "

Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its ServerId property.

The response from this call returns the properties of the user associated with the ServerId value that was specified.

", "DescribeWorkflow": "

Describes the specified workflow.

", "ImportCertificate": "

Imports the signing and encryption certificates that you need to create local (AS2) profiles and partner profiles.

", + "ImportHostKey": "

Adds a host key to the server specified by the ServerId parameter.

", "ImportSshPublicKey": "

Adds a Secure Shell (SSH) public key to a user account identified by a UserName value assigned to the specific file transfer protocol-enabled server, identified by ServerId.

The response returns the UserName value, the ServerId value, and the name of the SshPublicKeyId.

", "ListAccesses": "

Lists the details for all the accesses you have on your server.

", "ListAgreements": "

Returns a list of the agreements for the server that's identified by the ServerId that you supply. If you want to limit the results to a certain number, supply a value for the MaxResults parameter. If you ran the command previously and received a value for NextToken, you can supply that value to continue listing agreements from where you left off.

", "ListCertificates": "

Returns a list of the current certificates that have been imported into Transfer Family. If you want to limit the results to a certain number, supply a value for the MaxResults parameter. If you ran the command previously and received a value for the NextToken parameter, you can supply that value to continue listing certificates from where you left off.

", "ListConnectors": "

Lists the connectors for the specified Region.

", "ListExecutions": "

Lists all executions for the specified workflow.

", + "ListHostKeys": "

Returns a list of host keys for the server specified by the ServerId paramter.

", "ListProfiles": "

Returns a list of the profiles for your system. If you want to limit the results to a certain number, supply a value for the MaxResults parameter. If you ran the command previously and received a value for NextToken, you can supply that value to continue listing profiles from where you left off.

", "ListSecurityPolicies": "

Lists the security policies that are attached to your file transfer protocol-enabled servers.

", "ListServers": "

Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.

", @@ -52,6 +56,7 @@ "UpdateAgreement": "

Updates some of the parameters for an existing agreement. Provide the AgreementId and the ServerId for the agreement that you want to update, along with the new values for the parameters to update.

", "UpdateCertificate": "

Updates the active and inactive dates for a certificate.

", "UpdateConnector": "

Updates some of the parameters for an existing connector. Provide the ConnectorId for the connector that you want to update, along with the new values for the parameters to update.

", + "UpdateHostKey": "

Updates the description for the host key specified by the specified by the ServerId and HostKeyId parameters.

", "UpdateProfile": "

Updates some of the parameters for an existing profile. Provide the ProfileId for the profile that you want to update, along with the new values for the parameters to update.

", "UpdateServer": "

Updates the file transfer protocol-enabled server's properties after that server has been created.

The UpdateServer call returns the ServerId of the server you updated.

", "UpdateUser": "

Assigns new properties to a user. Parameters you pass modify any or all of the following: the home directory, role, and policy for the UserName and ServerId you specify.

The response returns the ServerId and the UserName for the updated user.

" @@ -101,6 +106,7 @@ "DescribedAgreement$Arn": "

The unique Amazon Resource Name (ARN) for the agreement.

", "DescribedCertificate$Arn": "

The unique Amazon Resource Name (ARN) for the certificate.

", "DescribedConnector$Arn": "

The unique Amazon Resource Name (ARN) for the connector.

", + "DescribedHostKey$Arn": "

The unique Amazon Resource Name (ARN) for the host key.

", "DescribedProfile$Arn": "

The unique Amazon Resource Name (ARN) for the profile.

", "DescribedServer$Arn": "

Specifies the unique Amazon Resource Name (ARN) of the server.

", "DescribedUser$Arn": "

Specifies the unique Amazon Resource Name (ARN) for the user that was requested to be described.

", @@ -110,6 +116,7 @@ "ListedAgreement$Arn": "

The Amazon Resource Name (ARN) of the specified agreement.

", "ListedCertificate$Arn": "

The Amazon Resource Name (ARN) of the specified certificate.

", "ListedConnector$Arn": "

The Amazon Resource Name (ARN) of the specified connector.

", + "ListedHostKey$Arn": "

Specifies the unique Amazon Resource Name (ARN) of the host key.

", "ListedProfile$Arn": "

The Amazon Resource Name (ARN) of the specified profile.

", "ListedServer$Arn": "

Specifies the unique Amazon Resource Name (ARN) for a server to be listed.

", "ListedUser$Arn": "

Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.

", @@ -365,6 +372,8 @@ "DateImported": { "base": null, "refs": { + "DescribedHostKey$DateImported": "

The date on which the host key was added to the server.

", + "ListedHostKey$DateImported": "

The date on which the host key was added to the server.

", "SshPublicKey$DateImported": "

Specifies the date that the public key was added to the user account.

" } }, @@ -388,6 +397,11 @@ "refs": { } }, + "DeleteHostKeyRequest": { + "base": null, + "refs": { + } + }, "DeleteProfileRequest": { "base": null, "refs": { @@ -469,6 +483,16 @@ "refs": { } }, + "DescribeHostKeyRequest": { + "base": null, + "refs": { + } + }, + "DescribeHostKeyResponse": { + "base": null, + "refs": { + } + }, "DescribeProfileRequest": { "base": null, "refs": { @@ -549,6 +573,12 @@ "DescribeExecutionResponse$Execution": "

The structure that contains the details of the workflow' execution.

" } }, + "DescribedHostKey": { + "base": "

The details for a server host key.

", + "refs": { + "DescribeHostKeyResponse$HostKey": "

Returns the details for the specified host key.

" + } + }, "DescribedProfile": { "base": "

The details for a local or partner AS2 profile. profile.

", "refs": { @@ -795,13 +825,44 @@ "base": null, "refs": { "CreateServerRequest$HostKey": "

The RSA, ECDSA, or ED25519 private key to use for your server.

Use the following command to generate an RSA 2048 bit key with no passphrase:

ssh-keygen -t rsa -b 2048 -N \"\" -m PEM -f my-new-server-key.

Use a minimum value of 2048 for the -b option. You can create a stronger key by using 3072 or 4096.

Use the following command to generate an ECDSA 256 bit key with no passphrase:

ssh-keygen -t ecdsa -b 256 -N \"\" -m PEM -f my-new-server-key.

Valid values for the -b option for ECDSA are 256, 384, and 521.

Use the following command to generate an ED25519 key with no passphrase:

ssh-keygen -t ed25519 -N \"\" -f my-new-server-key.

For all of these commands, you can replace my-new-server-key with a string of your choice.

If you aren't planning to migrate existing users from an existing SFTP-enabled server to a new server, don't update the host key. Accidentally changing a server's host key can be disruptive.

For more information, see Change the host key for your SFTP-enabled server in the Transfer Family User Guide.

", + "ImportHostKeyRequest$HostKeyBody": "

The public key portion of an SSH key pair.

Transfer Family accepts RSA, ECDSA, and ED25519 keys.

", "UpdateServerRequest$HostKey": "

The RSA, ECDSA, or ED25519 private key to use for your server.

Use the following command to generate an RSA 2048 bit key with no passphrase:

ssh-keygen -t rsa -b 2048 -N \"\" -m PEM -f my-new-server-key.

Use a minimum value of 2048 for the -b option. You can create a stronger key by using 3072 or 4096.

Use the following command to generate an ECDSA 256 bit key with no passphrase:

ssh-keygen -t ecdsa -b 256 -N \"\" -m PEM -f my-new-server-key.

Valid values for the -b option for ECDSA are 256, 384, and 521.

Use the following command to generate an ED25519 key with no passphrase:

ssh-keygen -t ed25519 -N \"\" -f my-new-server-key.

For all of these commands, you can replace my-new-server-key with a string of your choice.

If you aren't planning to migrate existing users from an existing SFTP-enabled server to a new server, don't update the host key. Accidentally changing a server's host key can be disruptive.

For more information, see Change the host key for your SFTP-enabled server in the Transfer Family User Guide.

" } }, + "HostKeyDescription": { + "base": null, + "refs": { + "DescribedHostKey$Description": "

The text description for this host key.

", + "ImportHostKeyRequest$Description": "

Enter a text description to identify this host key.

", + "ListedHostKey$Description": "

The current description for the host key. You can change it by calling the UpdateHostKey operation and providing a new description.

", + "UpdateHostKeyRequest$Description": "

Provide an updated description for the host key.

" + } + }, "HostKeyFingerprint": { "base": null, "refs": { - "DescribedServer$HostKeyFingerprint": "

Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the output of the ssh-keygen -l -f my-new-server-key command.

" + "DescribedHostKey$HostKeyFingerprint": "

The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.

", + "DescribedServer$HostKeyFingerprint": "

Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This value is equivalent to the output of the ssh-keygen -l -f my-new-server-key command.

", + "ListedHostKey$Fingerprint": "

The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.

" + } + }, + "HostKeyId": { + "base": null, + "refs": { + "DeleteHostKeyRequest$HostKeyId": "

The ID of the host key that you are deleting.

", + "DescribeHostKeyRequest$HostKeyId": "

Provide the ID of the host key that you want described.

", + "DescribedHostKey$HostKeyId": "

A unique identifier for the host key.

", + "ImportHostKeyResponse$HostKeyId": "

Returns the host key ID for the imported key.

", + "ListedHostKey$HostKeyId": "

", + "UpdateHostKeyRequest$HostKeyId": "

Provide the ID of the host key that you are updating.

", + "UpdateHostKeyResponse$HostKeyId": "

Returns the host key ID for the updated host key.

" + } + }, + "HostKeyType": { + "base": null, + "refs": { + "DescribedHostKey$Type": "

The encryption algorithm used for the host key. The Type is one of the following values:

", + "ListedHostKey$Type": "

The encryption algorithm used for the host key. The Type is one of the following values:

" } }, "IdentityProviderDetails": { @@ -830,6 +891,16 @@ "refs": { } }, + "ImportHostKeyRequest": { + "base": null, + "refs": { + } + }, + "ImportHostKeyResponse": { + "base": null, + "refs": { + } + }, "ImportSshPublicKeyRequest": { "base": null, "refs": { @@ -911,6 +982,16 @@ "refs": { } }, + "ListHostKeysRequest": { + "base": null, + "refs": { + } + }, + "ListHostKeysResponse": { + "base": null, + "refs": { + } + }, "ListProfilesRequest": { "base": null, "refs": { @@ -1031,6 +1112,18 @@ "ListExecutionsResponse$Executions": "

Returns the details for each execution.

" } }, + "ListedHostKey": { + "base": "

Returns properties of the host key that is specified.

", + "refs": { + "ListedHostKeys$member": null + } + }, + "ListedHostKeys": { + "base": null, + "refs": { + "ListHostKeysResponse$HostKeys": "

Returns an array, where each item contains the details of a host key.

" + } + }, "ListedProfile": { "base": "

Returns the properties of the profile that was specified.

", "refs": { @@ -1111,6 +1204,7 @@ "ListCertificatesRequest$MaxResults": "

The maximum number of certificates to return.

", "ListConnectorsRequest$MaxResults": "

The maximum number of connectors to return.

", "ListExecutionsRequest$MaxResults": "

Specifies the maximum number of executions to return.

", + "ListHostKeysRequest$MaxResults": "

The maximum number of host keys to return.

", "ListProfilesRequest$MaxResults": "

The maximum number of profiles to return.

", "ListSecurityPoliciesRequest$MaxResults": "

Specifies the number of security policies to return as a response to the ListSecurityPolicies query.

", "ListServersRequest$MaxResults": "

Specifies the number of servers to return as a response to the ListServers query.

", @@ -1162,6 +1256,8 @@ "ListConnectorsResponse$NextToken": "

Returns a token that you can use to call ListConnectors again and receive additional results, if there are any.

", "ListExecutionsRequest$NextToken": "

ListExecutions returns the NextToken parameter in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional executions.

This is useful for pagination, for instance. If you have 100 executions for a workflow, you might only want to list first 10. If so, call the API by specifying the max-results:

aws transfer list-executions --max-results 10

This returns details for the first 10 executions, as well as the pointer (NextToken) to the eleventh execution. You can now call the API again, supplying the NextToken value you received:

aws transfer list-executions --max-results 10 --next-token $somePointerReturnedFromPreviousListResult

This call returns the next 10 executions, the 11th through the 20th. You can then repeat the call until the details for all 100 executions have been returned.

", "ListExecutionsResponse$NextToken": "

ListExecutions returns the NextToken parameter in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional executions.

", + "ListHostKeysRequest$NextToken": "

When there are additional results that were not returned, a NextToken parameter is returned. You can use that value for a subsequent call to ListHostKeys to continue listing results.

", + "ListHostKeysResponse$NextToken": "

Returns a token that you can use to call ListHostKeys again and receive additional results, if there are any.

", "ListProfilesRequest$NextToken": "

When there are additional results that were not returned, a NextToken parameter is returned. You can use that value for a subsequent call to ListProfiles to continue listing results.

", "ListProfilesResponse$NextToken": "

Returns a token that you can use to call ListProfiles again and receive additional results, if there are any.

", "ListSecurityPoliciesRequest$NextToken": "

When additional results are obtained from the ListSecurityPolicies command, a NextToken parameter is returned in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional security policies.

", @@ -1505,22 +1601,28 @@ "CreateUserResponse$ServerId": "

The ID of the server that the user is attached to.

", "DeleteAccessRequest$ServerId": "

A system-assigned unique identifier for a server that has this user assigned.

", "DeleteAgreementRequest$ServerId": "

The server ID associated with the agreement that you are deleting.

", + "DeleteHostKeyRequest$ServerId": "

Provide the ID of the server that contains the host key that you are deleting.

", "DeleteServerRequest$ServerId": "

A unique system-assigned identifier for a server instance.

", "DeleteSshPublicKeyRequest$ServerId": "

A system-assigned unique identifier for a file transfer protocol-enabled server instance that has the user assigned to it.

", "DeleteUserRequest$ServerId": "

A system-assigned unique identifier for a server instance that has the user assigned to it.

", "DescribeAccessRequest$ServerId": "

A system-assigned unique identifier for a server that has this access assigned.

", "DescribeAccessResponse$ServerId": "

A system-assigned unique identifier for a server that has this access assigned.

", "DescribeAgreementRequest$ServerId": "

The server ID that's associated with the agreement.

", + "DescribeHostKeyRequest$ServerId": "

Provide the ID of the server that contains the host key that you want described.

", "DescribeServerRequest$ServerId": "

A system-assigned unique identifier for a server.

", "DescribeUserRequest$ServerId": "

A system-assigned unique identifier for a server that has this user assigned.

", "DescribeUserResponse$ServerId": "

A system-assigned unique identifier for a server that has this user assigned.

", "DescribedAgreement$ServerId": "

A system-assigned unique identifier for a server instance. This identifier indicates the specific server that the agreement uses.

", "DescribedServer$ServerId": "

Specifies the unique system-assigned identifier for a server that you instantiate.

", + "ImportHostKeyRequest$ServerId": "

Provide the ID of the server that contains the host key that you are importing.

", + "ImportHostKeyResponse$ServerId": "

Returns the server ID that contains the imported key.

", "ImportSshPublicKeyRequest$ServerId": "

A system-assigned unique identifier for a server.

", "ImportSshPublicKeyResponse$ServerId": "

A system-assigned unique identifier for a server.

", "ListAccessesRequest$ServerId": "

A system-assigned unique identifier for a server that has users assigned to it.

", "ListAccessesResponse$ServerId": "

A system-assigned unique identifier for a server that has users assigned to it.

", "ListAgreementsRequest$ServerId": "

The identifier of the server for which you want a list of agreements.

", + "ListHostKeysRequest$ServerId": "

Provide the ID of the server that contains the host keys that you want to view.

", + "ListHostKeysResponse$ServerId": "

Returns the server ID that contains the listed host keys.

", "ListUsersRequest$ServerId": "

A system-assigned unique identifier for a server that has users assigned to it.

", "ListUsersResponse$ServerId": "

A system-assigned unique identifier for a server that the users are assigned to.

", "ListedAgreement$ServerId": "

The unique identifier for the agreement.

", @@ -1531,6 +1633,8 @@ "UpdateAccessRequest$ServerId": "

A system-assigned unique identifier for a server instance. This is the specific server that you added your user to.

", "UpdateAccessResponse$ServerId": "

The ID of the server that the user is attached to.

", "UpdateAgreementRequest$ServerId": "

A system-assigned unique identifier for a server instance. This is the specific server that the agreement uses.

", + "UpdateHostKeyRequest$ServerId": "

Provide the ID of the server that contains the host key that you are updating.

", + "UpdateHostKeyResponse$ServerId": "

Returns the server ID for the server that contains the updated host key.

", "UpdateServerRequest$ServerId": "

A system-assigned unique identifier for a server instance that the user account is assigned to.

", "UpdateServerResponse$ServerId": "

A system-assigned unique identifier for a server that the user account is assigned to.

", "UpdateUserRequest$ServerId": "

A system-assigned unique identifier for a server instance that the user account is assigned to.

", @@ -1723,11 +1827,13 @@ "DescribedAgreement$Tags": "

Key-value pairs that can be used to group and search for agreements.

", "DescribedCertificate$Tags": "

Key-value pairs that can be used to group and search for certificates.

", "DescribedConnector$Tags": "

Key-value pairs that can be used to group and search for connectors.

", + "DescribedHostKey$Tags": "

Key-value pairs that can be used to group and search for host keys.

", "DescribedProfile$Tags": "

Key-value pairs that can be used to group and search for profiles.

", "DescribedServer$Tags": "

Specifies the key-value pairs that you can use to search for and group servers that were assigned to the server that was described.

", "DescribedUser$Tags": "

Specifies the key-value pairs for the user requested. Tag can be used to search for and group users for a variety of purposes.

", "DescribedWorkflow$Tags": "

Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.

", "ImportCertificateRequest$Tags": "

Key-value pairs that can be used to group and search for certificates.

", + "ImportHostKeyRequest$Tags": "

Key-value pairs that can be used to group and search for host keys.

", "ListTagsForResourceResponse$Tags": "

Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.

", "TagResourceRequest$Tags": "

Key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to user accounts for any purpose.

" } @@ -1804,6 +1910,16 @@ "refs": { } }, + "UpdateHostKeyRequest": { + "base": null, + "refs": { + } + }, + "UpdateHostKeyResponse": { + "base": null, + "refs": { + } + }, "UpdateProfileRequest": { "base": null, "refs": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index d2e3571106..19297efd7c 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -10939,6 +10939,7 @@ }, "rolesanywhere" : { "endpoints" : { + "af-south-1" : { }, "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, @@ -10946,9 +10947,11 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, + "eu-south-1" : { }, "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, diff --git a/service/cloudwatchevidently/api.go b/service/cloudwatchevidently/api.go index 02354ba6c9..230136d0ff 100644 --- a/service/cloudwatchevidently/api.go +++ b/service/cloudwatchevidently/api.go @@ -569,10 +569,10 @@ func (c *CloudWatchEvidently) CreateSegmentRequest(input *CreateSegmentInput) (r // // Using a segment in an experiment limits that experiment to evaluate only // the users who match the segment criteria. Using one or more segments in a -// launch allow you to define different traffic splits for the different audience +// launch allows you to define different traffic splits for the different audience // segments. // -//

For more information about segment pattern syntax, see +//

For more information about segment pattern syntax, see // Segment rule pattern syntax.

The pattern that you define for // a segment is matched against the value of evaluationContext, // which is passed into Evidently in the EvaluateFeature @@ -1344,7 +1344,11 @@ func (c *CloudWatchEvidently) GetExperimentResultsRequest(input *GetExperimentRe // // Retrieves the results of a running or completed experiment. No results are // available until there have been 100 events for each variation and at least -// 10 minutes have passed since the start of the experiment. +// 10 minutes have passed since the start of the experiment. To increase the +// statistical power, Evidently performs an additional offline p-value analysis +// at the end of the experiment. Offline p-value analysis can detect statistical +// significance in some cases where the anytime p-values used during the experiment +// do not find statistical significance. // // Experiment results are available up to 63 days after the start of the experiment. // They are not available after that because of CloudWatch data retention policies. @@ -4877,6 +4881,20 @@ func (s *CreateLaunchOutput) SetLaunch(v *Launch) *CreateLaunchOutput { type CreateProjectInput struct { _ struct{} `type:"structure"` + // Use this parameter if the project will use client-side evaluation powered + // by AppConfig. Client-side evaluation allows your application to assign variations + // to user sessions locally instead of by calling the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) + // operation. This mitigates the latency and availability risks that come with + // an API call. For more information, see Client-side evaluation - powered by + // AppConfig. (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-client-side-evaluation.html) + // + // This parameter is a structure that contains information about the AppConfig + // application and environment that will be used as for client-side evaluation. + // + // To create a project that uses client-side evaluation, you must have the evidently:ExportProjectAsConfiguration + // permission. + AppConfigResource *ProjectAppConfigResourceConfig `locationName:"appConfigResource" type:"structure"` + // A structure that contains information about where Evidently is to store evaluation // events for longer term storage, if you choose to do so. If you choose not // to store these events, Evidently deletes them after using them to produce @@ -4945,6 +4963,12 @@ func (s *CreateProjectInput) Validate() error { return nil } +// SetAppConfigResource sets the AppConfigResource field's value. +func (s *CreateProjectInput) SetAppConfigResource(v *ProjectAppConfigResourceConfig) *CreateProjectInput { + s.AppConfigResource = v + return s +} + // SetDataDelivery sets the DataDelivery field's value. func (s *CreateProjectInput) SetDataDelivery(v *ProjectDataDeliveryConfig) *CreateProjectInput { s.DataDelivery = v @@ -5014,7 +5038,7 @@ type CreateSegmentInput struct { Name *string `locationName:"name" min:"1" type:"string" required:"true"` // The pattern to use for the segment. For more information about pattern syntax, - // see Segment rule pattern syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments-syntax.html). + // see Segment rule pattern syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html). // // Pattern is a required field Pattern *string `locationName:"pattern" min:"1" type:"string" required:"true"` @@ -9138,6 +9162,10 @@ type Project struct { // The number of ongoing launches currently in the project. ActiveLaunchCount *int64 `locationName:"activeLaunchCount" type:"long"` + // This structure defines the configuration of how your application integrates + // with AppConfig to run client-side evaluation. + AppConfigResource *ProjectAppConfigResource `locationName:"appConfigResource" type:"structure"` + // The name or ARN of the project. // // Arn is a required field @@ -9215,6 +9243,12 @@ func (s *Project) SetActiveLaunchCount(v int64) *Project { return s } +// SetAppConfigResource sets the AppConfigResource field's value. +func (s *Project) SetAppConfigResource(v *ProjectAppConfigResource) *Project { + s.AppConfigResource = v + return s +} + // SetArn sets the Arn field's value. func (s *Project) SetArn(v string) *Project { s.Arn = &v @@ -9281,6 +9315,115 @@ func (s *Project) SetTags(v map[string]*string) *Project { return s } +// This is a structure that defines the configuration of how your application +// integrates with AppConfig to run client-side evaluation. +type ProjectAppConfigResource struct { + _ struct{} `type:"structure"` + + // The ID of the AppConfig application to use for client-side evaluation. + // + // ApplicationId is a required field + ApplicationId *string `locationName:"applicationId" type:"string" required:"true"` + + // The ID of the AppConfig profile to use for client-side evaluation. + // + // ConfigurationProfileId is a required field + ConfigurationProfileId *string `locationName:"configurationProfileId" type:"string" required:"true"` + + // The ID of the AppConfig environment to use for client-side evaluation. This + // must be an environment that is within the application that you specify for + // applicationId. + // + // EnvironmentId is a required field + EnvironmentId *string `locationName:"environmentId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProjectAppConfigResource) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProjectAppConfigResource) GoString() string { + return s.String() +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *ProjectAppConfigResource) SetApplicationId(v string) *ProjectAppConfigResource { + s.ApplicationId = &v + return s +} + +// SetConfigurationProfileId sets the ConfigurationProfileId field's value. +func (s *ProjectAppConfigResource) SetConfigurationProfileId(v string) *ProjectAppConfigResource { + s.ConfigurationProfileId = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *ProjectAppConfigResource) SetEnvironmentId(v string) *ProjectAppConfigResource { + s.EnvironmentId = &v + return s +} + +// Use this parameter to configure client-side evaluation for your project. +// Client-side evaluation allows your application to assign variations to user +// sessions locally instead of by calling the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) +// operation to assign the variations. This mitigates the latency and availability +// risks that come with an API call. +// +// ProjectAppConfigResource is a structure that defines the configuration of +// how your application integrates with AppConfig to run client-side evaluation. +type ProjectAppConfigResourceConfig struct { + _ struct{} `type:"structure"` + + // The ID of the AppConfig application to use for client-side evaluation. + ApplicationId *string `locationName:"applicationId" type:"string"` + + // The ID of the AppConfig environment to use for client-side evaluation. This + // must be an environment that is within the application that you specify for + // applicationId. + EnvironmentId *string `locationName:"environmentId" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProjectAppConfigResourceConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ProjectAppConfigResourceConfig) GoString() string { + return s.String() +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *ProjectAppConfigResourceConfig) SetApplicationId(v string) *ProjectAppConfigResourceConfig { + s.ApplicationId = &v + return s +} + +// SetEnvironmentId sets the EnvironmentId field's value. +func (s *ProjectAppConfigResourceConfig) SetEnvironmentId(v string) *ProjectAppConfigResourceConfig { + s.EnvironmentId = &v + return s +} + // A structure that contains information about where Evidently is to store evaluation // events for longer term storage. type ProjectDataDelivery struct { @@ -10270,6 +10413,10 @@ type Segment struct { // Name is a required field Name *string `locationName:"name" min:"1" type:"string" required:"true"` + // The pattern that defines the attributes to use to evalute whether a user + // session will be in the segment. For more information about the pattern syntax, + // see Segment rule pattern syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html). + // // Pattern is a required field Pattern *string `locationName:"pattern" min:"1" type:"string" required:"true"` @@ -12195,6 +12342,16 @@ func (s *UpdateProjectDataDeliveryOutput) SetProject(v *Project) *UpdateProjectD type UpdateProjectInput struct { _ struct{} `type:"structure"` + // Use this parameter if the project will use client-side evaluation powered + // by AppConfig. Client-side evaluation allows your application to assign variations + // to user sessions locally instead of by calling the EvaluateFeature (https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) + // operation. This mitigates the latency and availability risks that come with + // an API call. allows you to + // + // This parameter is a structure that contains information about the AppConfig + // application that will be used for client-side evaluation. + AppConfigResource *ProjectAppConfigResourceConfig `locationName:"appConfigResource" type:"structure"` + // An optional description of the project. Description *string `locationName:"description" type:"string"` @@ -12238,6 +12395,12 @@ func (s *UpdateProjectInput) Validate() error { return nil } +// SetAppConfigResource sets the AppConfigResource field's value. +func (s *UpdateProjectInput) SetAppConfigResource(v *ProjectAppConfigResourceConfig) *UpdateProjectInput { + s.AppConfigResource = v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateProjectInput) SetDescription(v string) *UpdateProjectInput { s.Description = &v diff --git a/service/customerprofiles/api.go b/service/customerprofiles/api.go index df21704067..bdd5970a3b 100644 --- a/service/customerprofiles/api.go +++ b/service/customerprofiles/api.go @@ -56,8 +56,8 @@ func (c *CustomerProfiles) AddProfileKeyRequest(input *AddProfileKeyInput) (req // AddProfileKey API operation for Amazon Connect Customer Profiles. // -// Associates a new key value with a specific profile, such as a Contact Trace -// Record (CTR) ContactId. +// Associates a new key value with a specific profile, such as a Contact Record +// ContactId. // // A profile object can have a single unique key and any number of additional // keys that can be used to identify the profile that it belongs to. @@ -2902,6 +2902,9 @@ func (c *CustomerProfiles) PutIntegrationRequest(input *PutIntegrationInput) (re // // An integration can belong to only one domain. // +// To add or remove tags on an existing Integration, see TagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/ +// UntagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html). +// // 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. @@ -2993,10 +2996,10 @@ func (c *CustomerProfiles) PutProfileObjectRequest(input *PutProfileObjectInput) // // Adds additional objects to customer profiles of a given ObjectType. // -// When adding a specific profile object, like a Contact Trace Record (CTR), -// an inferred profile can get created if it is not mapped to an existing profile. -// The resulting profile will only have a phone number populated in the standard -// ProfileObject. Any additional CTRs with the same phone number will be mapped +// When adding a specific profile object, like a Contact Record, an inferred +// profile can get created if it is not mapped to an existing profile. The resulting +// profile will only have a phone number populated in the standard ProfileObject. +// Any additional Contact Records with the same phone number will be mapped // to the same inferred profile. // // When a ProfileObject is created and if a ProfileObjectType already exists @@ -3096,6 +3099,9 @@ func (c *CustomerProfiles) PutProfileObjectTypeRequest(input *PutProfileObjectTy // // Defines a ProfileObjectType. // +// To add or remove tags on an existing ObjectType, see TagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/UntagResource +// (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html). +// // 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. @@ -3480,6 +3486,9 @@ func (c *CustomerProfiles) UpdateDomainRequest(input *UpdateDomainInput) (req *r // confused deputy prevention (https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html) // for sample policies that you should apply. // +// To add or remove tags on an existing Domain, see TagResource (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_TagResource.html)/UntagResource +// (https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UntagResource.html). +// // 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. @@ -7254,6 +7263,11 @@ type GetIntegrationOutput struct { // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` + // Boolean to indicate if the Flow associated with the Integration is created + // via Appflow console or with ObjectTypeName equals _unstructured via API/CLI + // in flowDefinition + IsUnstructured *bool `type:"boolean"` + // The timestamp of when the domain was most recently edited. // // LastUpdatedAt is a required field @@ -7311,6 +7325,12 @@ func (s *GetIntegrationOutput) SetDomainName(v string) *GetIntegrationOutput { return s } +// SetIsUnstructured sets the IsUnstructured field's value. +func (s *GetIntegrationOutput) SetIsUnstructured(v bool) *GetIntegrationOutput { + s.IsUnstructured = &v + return s +} + // SetLastUpdatedAt sets the LastUpdatedAt field's value. func (s *GetIntegrationOutput) SetLastUpdatedAt(v time.Time) *GetIntegrationOutput { s.LastUpdatedAt = &v @@ -8920,6 +8940,11 @@ type ListIntegrationItem struct { // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` + // Boolean to indicate if the Flow associated with the Integration is created + // via Appflow console or with ObjectTypeName equals _unstructured via API/CLI + // in flowDefinition + IsUnstructured *bool `type:"boolean"` + // The timestamp of when the domain was most recently edited. // // LastUpdatedAt is a required field @@ -8977,6 +9002,12 @@ func (s *ListIntegrationItem) SetDomainName(v string) *ListIntegrationItem { return s } +// SetIsUnstructured sets the IsUnstructured field's value. +func (s *ListIntegrationItem) SetIsUnstructured(v bool) *ListIntegrationItem { + s.IsUnstructured = &v + return s +} + // SetLastUpdatedAt sets the LastUpdatedAt field's value. func (s *ListIntegrationItem) SetLastUpdatedAt(v time.Time) *ListIntegrationItem { s.LastUpdatedAt = &v @@ -10914,6 +10945,11 @@ type PutIntegrationOutput struct { // DomainName is a required field DomainName *string `min:"1" type:"string" required:"true"` + // Boolean to indicate if the Flow associated with the Integration is created + // via Appflow console or with ObjectTypeName equals _unstructured via API/CLI + // in flowDefinition + IsUnstructured *bool `type:"boolean"` + // The timestamp of when the domain was most recently edited. // // LastUpdatedAt is a required field @@ -10971,6 +11007,12 @@ func (s *PutIntegrationOutput) SetDomainName(v string) *PutIntegrationOutput { return s } +// SetIsUnstructured sets the IsUnstructured field's value. +func (s *PutIntegrationOutput) SetIsUnstructured(v bool) *PutIntegrationOutput { + s.IsUnstructured = &v + return s +} + // SetLastUpdatedAt sets the LastUpdatedAt field's value. func (s *PutIntegrationOutput) SetLastUpdatedAt(v time.Time) *PutIntegrationOutput { s.LastUpdatedAt = &v diff --git a/service/drs/api.go b/service/drs/api.go index 4df408322c..f7e99050cb 100644 --- a/service/drs/api.go +++ b/service/drs/api.go @@ -4346,7 +4346,7 @@ type DataReplicationInfo struct { EtaDateTime *string `locationName:"etaDateTime" min:"19" type:"string"` // Data replication lag duration. - LagDuration *string `locationName:"lagDuration" min:"19" type:"string"` + LagDuration *string `locationName:"lagDuration" min:"1" type:"string"` // The disks that should be replicated. ReplicatedDisks []*DataReplicationInfoReplicatedDisk `locationName:"replicatedDisks" type:"list"` @@ -6913,7 +6913,7 @@ type LifeCycle struct { AddedToServiceDateTime *string `locationName:"addedToServiceDateTime" min:"19" type:"string"` // The amount of time that the Source Server has been replicating for. - ElapsedReplicationDuration *string `locationName:"elapsedReplicationDuration" min:"19" type:"string"` + ElapsedReplicationDuration *string `locationName:"elapsedReplicationDuration" min:"1" type:"string"` // The date and time of the first byte that was replicated from the Source Server. FirstByteDateTime *string `locationName:"firstByteDateTime" min:"19" type:"string"` diff --git a/service/ec2/api.go b/service/ec2/api.go index d27800fb43..177879d859 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -5903,7 +5903,12 @@ func (c *EC2) CreateLocalGatewayRouteRequest(input *CreateLocalGatewayRouteInput // CreateLocalGatewayRoute API operation for Amazon Elastic Compute Cloud. // -// Creates a static route for the specified local gateway route table. +// Creates a static route for the specified local gateway route table. You must +// specify one of the following targets: +// +// - LocalGatewayVirtualInterfaceGroupId +// +// - NetworkInterfaceId // // 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 @@ -41381,6 +41386,79 @@ func (c *EC2) ModifyLaunchTemplateWithContext(ctx aws.Context, input *ModifyLaun return out, req.Send() } +const opModifyLocalGatewayRoute = "ModifyLocalGatewayRoute" + +// ModifyLocalGatewayRouteRequest generates a "aws/request.Request" representing the +// client's request for the ModifyLocalGatewayRoute 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 ModifyLocalGatewayRoute for more information on using the ModifyLocalGatewayRoute +// 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 ModifyLocalGatewayRouteRequest method. +// req, resp := client.ModifyLocalGatewayRouteRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLocalGatewayRoute +func (c *EC2) ModifyLocalGatewayRouteRequest(input *ModifyLocalGatewayRouteInput) (req *request.Request, output *ModifyLocalGatewayRouteOutput) { + op := &request.Operation{ + Name: opModifyLocalGatewayRoute, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyLocalGatewayRouteInput{} + } + + output = &ModifyLocalGatewayRouteOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyLocalGatewayRoute API operation for Amazon Elastic Compute Cloud. +// +// Modifies the specified local gateway route. +// +// 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 Compute Cloud's +// API operation ModifyLocalGatewayRoute for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLocalGatewayRoute +func (c *EC2) ModifyLocalGatewayRoute(input *ModifyLocalGatewayRouteInput) (*ModifyLocalGatewayRouteOutput, error) { + req, out := c.ModifyLocalGatewayRouteRequest(input) + return out, req.Send() +} + +// ModifyLocalGatewayRouteWithContext is the same as ModifyLocalGatewayRoute with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyLocalGatewayRoute 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 *EC2) ModifyLocalGatewayRouteWithContext(ctx aws.Context, input *ModifyLocalGatewayRouteInput, opts ...request.Option) (*ModifyLocalGatewayRouteOutput, error) { + req, out := c.ModifyLocalGatewayRouteRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyManagedPrefixList = "ModifyManagedPrefixList" // ModifyManagedPrefixListRequest generates a "aws/request.Request" representing the @@ -64572,9 +64650,10 @@ type CreateLocalGatewayRouteInput struct { LocalGatewayRouteTableId *string `type:"string" required:"true"` // The ID of the virtual interface group. - // - // LocalGatewayVirtualInterfaceGroupId is a required field - LocalGatewayVirtualInterfaceGroupId *string `type:"string" required:"true"` + LocalGatewayVirtualInterfaceGroupId *string `type:"string"` + + // The ID of the network interface. + NetworkInterfaceId *string `type:"string"` } // String returns the string representation. @@ -64604,9 +64683,6 @@ func (s *CreateLocalGatewayRouteInput) Validate() error { if s.LocalGatewayRouteTableId == nil { invalidParams.Add(request.NewErrParamRequired("LocalGatewayRouteTableId")) } - if s.LocalGatewayVirtualInterfaceGroupId == nil { - invalidParams.Add(request.NewErrParamRequired("LocalGatewayVirtualInterfaceGroupId")) - } if invalidParams.Len() > 0 { return invalidParams @@ -64638,6 +64714,12 @@ func (s *CreateLocalGatewayRouteInput) SetLocalGatewayVirtualInterfaceGroupId(v return s } +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *CreateLocalGatewayRouteInput) SetNetworkInterfaceId(v string) *CreateLocalGatewayRouteInput { + s.NetworkInterfaceId = &v + return s +} + type CreateLocalGatewayRouteOutput struct { _ struct{} `type:"structure"` @@ -125316,6 +125398,9 @@ func (s *LocalGateway) SetTags(v []*Tag) *LocalGateway { type LocalGatewayRoute struct { _ struct{} `type:"structure"` + // The ID of the customer-owned address pool. + CoipPoolId *string `locationName:"coipPoolId" type:"string"` + // The CIDR block used for destination matches. DestinationCidrBlock *string `locationName:"destinationCidrBlock" type:"string"` @@ -125328,12 +125413,18 @@ type LocalGatewayRoute struct { // The ID of the virtual interface group. LocalGatewayVirtualInterfaceGroupId *string `locationName:"localGatewayVirtualInterfaceGroupId" type:"string"` + // The ID of the network interface. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + // The ID of the Amazon Web Services account that owns the local gateway route. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the route. State *string `locationName:"state" type:"string" enum:"LocalGatewayRouteState"` + // The ID of the subnet. + SubnetId *string `locationName:"subnetId" type:"string"` + // The route type. Type *string `locationName:"type" type:"string" enum:"LocalGatewayRouteType"` } @@ -125356,6 +125447,12 @@ func (s LocalGatewayRoute) GoString() string { return s.String() } +// SetCoipPoolId sets the CoipPoolId field's value. +func (s *LocalGatewayRoute) SetCoipPoolId(v string) *LocalGatewayRoute { + s.CoipPoolId = &v + return s +} + // SetDestinationCidrBlock sets the DestinationCidrBlock field's value. func (s *LocalGatewayRoute) SetDestinationCidrBlock(v string) *LocalGatewayRoute { s.DestinationCidrBlock = &v @@ -125380,6 +125477,12 @@ func (s *LocalGatewayRoute) SetLocalGatewayVirtualInterfaceGroupId(v string) *Lo return s } +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *LocalGatewayRoute) SetNetworkInterfaceId(v string) *LocalGatewayRoute { + s.NetworkInterfaceId = &v + return s +} + // SetOwnerId sets the OwnerId field's value. func (s *LocalGatewayRoute) SetOwnerId(v string) *LocalGatewayRoute { s.OwnerId = &v @@ -125392,6 +125495,12 @@ func (s *LocalGatewayRoute) SetState(v string) *LocalGatewayRoute { return s } +// SetSubnetId sets the SubnetId field's value. +func (s *LocalGatewayRoute) SetSubnetId(v string) *LocalGatewayRoute { + s.SubnetId = &v + return s +} + // SetType sets the Type field's value. func (s *LocalGatewayRoute) SetType(v string) *LocalGatewayRoute { s.Type = &v @@ -125411,6 +125520,9 @@ type LocalGatewayRouteTable struct { // The ID of the local gateway route table. LocalGatewayRouteTableId *string `locationName:"localGatewayRouteTableId" type:"string"` + // The mode of the local gateway route table. + Mode *string `locationName:"mode" type:"string" enum:"LocalGatewayRouteTableMode"` + // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string `locationName:"outpostArn" type:"string"` @@ -125461,6 +125573,12 @@ func (s *LocalGatewayRouteTable) SetLocalGatewayRouteTableId(v string) *LocalGat return s } +// SetMode sets the Mode field's value. +func (s *LocalGatewayRouteTable) SetMode(v string) *LocalGatewayRouteTable { + s.Mode = &v + return s +} + // SetOutpostArn sets the OutpostArn field's value. func (s *LocalGatewayRouteTable) SetOutpostArn(v string) *LocalGatewayRouteTable { s.OutpostArn = &v @@ -129757,6 +129875,124 @@ func (s *ModifyLaunchTemplateOutput) SetLaunchTemplate(v *LaunchTemplate) *Modif return s } +type ModifyLocalGatewayRouteInput struct { + _ struct{} `type:"structure"` + + // The CIDR block used for destination matches. The value that you provide must + // match the CIDR of an existing route in the table. + // + // DestinationCidrBlock is a required field + DestinationCidrBlock *string `type:"string" required:"true"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // The ID of the local gateway route table. + // + // LocalGatewayRouteTableId is a required field + LocalGatewayRouteTableId *string `type:"string" required:"true"` + + // The ID of the network interface. + // + // NetworkInterfaceId is a required field + NetworkInterfaceId *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyLocalGatewayRouteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyLocalGatewayRouteInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyLocalGatewayRouteInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyLocalGatewayRouteInput"} + if s.DestinationCidrBlock == nil { + invalidParams.Add(request.NewErrParamRequired("DestinationCidrBlock")) + } + if s.LocalGatewayRouteTableId == nil { + invalidParams.Add(request.NewErrParamRequired("LocalGatewayRouteTableId")) + } + if s.NetworkInterfaceId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkInterfaceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDestinationCidrBlock sets the DestinationCidrBlock field's value. +func (s *ModifyLocalGatewayRouteInput) SetDestinationCidrBlock(v string) *ModifyLocalGatewayRouteInput { + s.DestinationCidrBlock = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyLocalGatewayRouteInput) SetDryRun(v bool) *ModifyLocalGatewayRouteInput { + s.DryRun = &v + return s +} + +// SetLocalGatewayRouteTableId sets the LocalGatewayRouteTableId field's value. +func (s *ModifyLocalGatewayRouteInput) SetLocalGatewayRouteTableId(v string) *ModifyLocalGatewayRouteInput { + s.LocalGatewayRouteTableId = &v + return s +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *ModifyLocalGatewayRouteInput) SetNetworkInterfaceId(v string) *ModifyLocalGatewayRouteInput { + s.NetworkInterfaceId = &v + return s +} + +type ModifyLocalGatewayRouteOutput struct { + _ struct{} `type:"structure"` + + // Describes a route for a local gateway route table. + Route *LocalGatewayRoute `locationName:"route" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyLocalGatewayRouteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyLocalGatewayRouteOutput) GoString() string { + return s.String() +} + +// SetRoute sets the Route field's value. +func (s *ModifyLocalGatewayRouteOutput) SetRoute(v *LocalGatewayRoute) *ModifyLocalGatewayRouteOutput { + s.Route = v + return s +} + type ModifyManagedPrefixListInput struct { _ struct{} `type:"structure"` @@ -163741,6 +163977,12 @@ const ( // AcceleratorNameVu9p is a AcceleratorName enum value AcceleratorNameVu9p = "vu9p" + + // AcceleratorNameInferentia is a AcceleratorName enum value + AcceleratorNameInferentia = "inferentia" + + // AcceleratorNameK520 is a AcceleratorName enum value + AcceleratorNameK520 = "k520" ) // AcceleratorName_Values returns all elements of the AcceleratorName enum @@ -163753,6 +163995,8 @@ func AcceleratorName_Values() []string { AcceleratorNameM60, AcceleratorNameRadeonProV520, AcceleratorNameVu9p, + AcceleratorNameInferentia, + AcceleratorNameK520, } } @@ -169352,6 +169596,22 @@ func LocalGatewayRouteState_Values() []string { } } +const ( + // LocalGatewayRouteTableModeDirectVpcRouting is a LocalGatewayRouteTableMode enum value + LocalGatewayRouteTableModeDirectVpcRouting = "direct-vpc-routing" + + // LocalGatewayRouteTableModeCoip is a LocalGatewayRouteTableMode enum value + LocalGatewayRouteTableModeCoip = "coip" +) + +// LocalGatewayRouteTableMode_Values returns all elements of the LocalGatewayRouteTableMode enum +func LocalGatewayRouteTableMode_Values() []string { + return []string{ + LocalGatewayRouteTableModeDirectVpcRouting, + LocalGatewayRouteTableModeCoip, + } +} + const ( // LocalGatewayRouteTypeStatic is a LocalGatewayRouteType enum value LocalGatewayRouteTypeStatic = "static" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index 882189f7ea..b6d49f393f 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -2173,6 +2173,10 @@ type EC2API interface { ModifyLaunchTemplateWithContext(aws.Context, *ec2.ModifyLaunchTemplateInput, ...request.Option) (*ec2.ModifyLaunchTemplateOutput, error) ModifyLaunchTemplateRequest(*ec2.ModifyLaunchTemplateInput) (*request.Request, *ec2.ModifyLaunchTemplateOutput) + ModifyLocalGatewayRoute(*ec2.ModifyLocalGatewayRouteInput) (*ec2.ModifyLocalGatewayRouteOutput, error) + ModifyLocalGatewayRouteWithContext(aws.Context, *ec2.ModifyLocalGatewayRouteInput, ...request.Option) (*ec2.ModifyLocalGatewayRouteOutput, error) + ModifyLocalGatewayRouteRequest(*ec2.ModifyLocalGatewayRouteInput) (*request.Request, *ec2.ModifyLocalGatewayRouteOutput) + ModifyManagedPrefixList(*ec2.ModifyManagedPrefixListInput) (*ec2.ModifyManagedPrefixListOutput, error) ModifyManagedPrefixListWithContext(aws.Context, *ec2.ModifyManagedPrefixListInput, ...request.Option) (*ec2.ModifyManagedPrefixListOutput, error) ModifyManagedPrefixListRequest(*ec2.ModifyManagedPrefixListInput) (*request.Request, *ec2.ModifyManagedPrefixListOutput) diff --git a/service/kendra/api.go b/service/kendra/api.go index d37d29aa68..d5a08d000c 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -7089,7 +7089,8 @@ func (s *AssociatePersonasToEntitiesOutput) SetFailedEntityList(v []*FailedEntit return s } -// Provides filtering the query results based on document attributes. +// Provides filtering the query results based on document attributes or metadata +// fields. // // When you use the AndAllFilters or OrAllFilters, filters you can use 2 layers // under the first attribute filter. For example, you can use: @@ -7112,31 +7113,31 @@ type AttributeFilter struct { // Performs a logical AND operation on all supplied filters. AndAllFilters []*AttributeFilter `type:"list"` - // Returns true when a document contains all of the specified document attributes. - // This filter is only applicable to StringListValue metadata. + // Returns true when a document contains all of the specified document attributes + // or metadata fields. This filter is only applicable to StringListValue metadata. ContainsAll *DocumentAttribute `type:"structure"` - // Returns true when a document contains any of the specified document attributes. - // This filter is only applicable to StringListValue metadata. + // Returns true when a document contains any of the specified document attributes + // or metadata fields. This filter is only applicable to StringListValue metadata. ContainsAny *DocumentAttribute `type:"structure"` - // Performs an equals operation on two document attributes. + // Performs an equals operation on two document attributes or metadata fields. EqualsTo *DocumentAttribute `type:"structure"` - // Performs a greater than operation on two document attributes. Use with a - // document attribute of type Date or Long. + // Performs a greater than operation on two document attributes or metadata + // fields. Use with a document attribute of type Date or Long. GreaterThan *DocumentAttribute `type:"structure"` - // Performs a greater or equals than operation on two document attributes. Use - // with a document attribute of type Date or Long. + // Performs a greater or equals than operation on two document attributes or + // metadata fields. Use with a document attribute of type Date or Long. GreaterThanOrEquals *DocumentAttribute `type:"structure"` - // Performs a less than operation on two document attributes. Use with a document - // attribute of type Date or Long. + // Performs a less than operation on two document attributes or metadata fields. + // Use with a document attribute of type Date or Long. LessThan *DocumentAttribute `type:"structure"` - // Performs a less than or equals operation on two document attributes. Use - // with a document attribute of type Date or Long. + // Performs a less than or equals operation on two document attributes or metadata + // fields. Use with a document attribute of type Date or Long. LessThanOrEquals *DocumentAttribute `type:"structure"` // Performs a logical NOT operation on all supplied filters. @@ -29255,6 +29256,9 @@ const ( // SharePointVersionSharepointOnline is a SharePointVersion enum value SharePointVersionSharepointOnline = "SHAREPOINT_ONLINE" + + // SharePointVersionSharepoint2019 is a SharePointVersion enum value + SharePointVersionSharepoint2019 = "SHAREPOINT_2019" ) // SharePointVersion_Values returns all elements of the SharePointVersion enum @@ -29263,6 +29267,7 @@ func SharePointVersion_Values() []string { SharePointVersionSharepoint2013, SharePointVersionSharepoint2016, SharePointVersionSharepointOnline, + SharePointVersionSharepoint2019, } } diff --git a/service/transfer/api.go b/service/transfer/api.go index 541325ffba..a99509d718 100644 --- a/service/transfer/api.go +++ b/service/transfer/api.go @@ -1072,6 +1072,101 @@ func (c *Transfer) DeleteConnectorWithContext(ctx aws.Context, input *DeleteConn return out, req.Send() } +const opDeleteHostKey = "DeleteHostKey" + +// DeleteHostKeyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteHostKey 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 DeleteHostKey for more information on using the DeleteHostKey +// 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 DeleteHostKeyRequest method. +// req, resp := client.DeleteHostKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKey +func (c *Transfer) DeleteHostKeyRequest(input *DeleteHostKeyInput) (req *request.Request, output *DeleteHostKeyOutput) { + op := &request.Operation{ + Name: opDeleteHostKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteHostKeyInput{} + } + + output = &DeleteHostKeyOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteHostKey API operation for AWS Transfer Family. +// +// Deletes the host key that's specified in the HoskKeyId parameter. +// +// 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 AWS Transfer Family's +// API operation DeleteHostKey for usage and error information. +// +// Returned Error Types: +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteHostKey +func (c *Transfer) DeleteHostKey(input *DeleteHostKeyInput) (*DeleteHostKeyOutput, error) { + req, out := c.DeleteHostKeyRequest(input) + return out, req.Send() +} + +// DeleteHostKeyWithContext is the same as DeleteHostKey with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteHostKey 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 *Transfer) DeleteHostKeyWithContext(ctx aws.Context, input *DeleteHostKeyInput, opts ...request.Option) (*DeleteHostKeyOutput, error) { + req, out := c.DeleteHostKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteProfile = "DeleteProfile" // DeleteProfileRequest generates a "aws/request.Request" representing the @@ -2008,6 +2103,98 @@ func (c *Transfer) DescribeExecutionWithContext(ctx aws.Context, input *Describe return out, req.Send() } +const opDescribeHostKey = "DescribeHostKey" + +// DescribeHostKeyRequest generates a "aws/request.Request" representing the +// client's request for the DescribeHostKey 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 DescribeHostKey for more information on using the DescribeHostKey +// 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 DescribeHostKeyRequest method. +// req, resp := client.DescribeHostKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKey +func (c *Transfer) DescribeHostKeyRequest(input *DescribeHostKeyInput) (req *request.Request, output *DescribeHostKeyOutput) { + op := &request.Operation{ + Name: opDescribeHostKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeHostKeyInput{} + } + + output = &DescribeHostKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeHostKey API operation for AWS Transfer Family. +// +// Returns the details of the host key that's specified by the HostKeyId and +// ServerId. +// +// 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 AWS Transfer Family's +// API operation DescribeHostKey for usage and error information. +// +// Returned Error Types: +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeHostKey +func (c *Transfer) DescribeHostKey(input *DescribeHostKeyInput) (*DescribeHostKeyOutput, error) { + req, out := c.DescribeHostKeyRequest(input) + return out, req.Send() +} + +// DescribeHostKeyWithContext is the same as DescribeHostKey with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeHostKey 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 *Transfer) DescribeHostKeyWithContext(ctx aws.Context, input *DescribeHostKeyInput, opts ...request.Option) (*DescribeHostKeyOutput, error) { + req, out := c.DescribeHostKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeProfile = "DescribeProfile" // DescribeProfileRequest generates a "aws/request.Request" representing the @@ -2566,6 +2753,103 @@ func (c *Transfer) ImportCertificateWithContext(ctx aws.Context, input *ImportCe return out, req.Send() } +const opImportHostKey = "ImportHostKey" + +// ImportHostKeyRequest generates a "aws/request.Request" representing the +// client's request for the ImportHostKey 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 ImportHostKey for more information on using the ImportHostKey +// 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 ImportHostKeyRequest method. +// req, resp := client.ImportHostKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKey +func (c *Transfer) ImportHostKeyRequest(input *ImportHostKeyInput) (req *request.Request, output *ImportHostKeyOutput) { + op := &request.Operation{ + Name: opImportHostKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ImportHostKeyInput{} + } + + output = &ImportHostKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// ImportHostKey API operation for AWS Transfer Family. +// +// Adds a host key to the server specified by the ServerId parameter. +// +// 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 AWS Transfer Family's +// API operation ImportHostKey for usage and error information. +// +// Returned Error Types: +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceExistsException +// The requested resource does not exist. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportHostKey +func (c *Transfer) ImportHostKey(input *ImportHostKeyInput) (*ImportHostKeyOutput, error) { + req, out := c.ImportHostKeyRequest(input) + return out, req.Send() +} + +// ImportHostKeyWithContext is the same as ImportHostKey with the addition of +// the ability to pass a context and additional request options. +// +// See ImportHostKey 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 *Transfer) ImportHostKeyWithContext(ctx aws.Context, input *ImportHostKeyInput, opts ...request.Option) (*ImportHostKeyOutput, error) { + req, out := c.ImportHostKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opImportSshPublicKey = "ImportSshPublicKey" // ImportSshPublicKeyRequest generates a "aws/request.Request" representing the @@ -3431,6 +3715,100 @@ func (c *Transfer) ListExecutionsPagesWithContext(ctx aws.Context, input *ListEx return p.Err() } +const opListHostKeys = "ListHostKeys" + +// ListHostKeysRequest generates a "aws/request.Request" representing the +// client's request for the ListHostKeys 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 ListHostKeys for more information on using the ListHostKeys +// 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 ListHostKeysRequest method. +// req, resp := client.ListHostKeysRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeys +func (c *Transfer) ListHostKeysRequest(input *ListHostKeysInput) (req *request.Request, output *ListHostKeysOutput) { + op := &request.Operation{ + Name: opListHostKeys, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListHostKeysInput{} + } + + output = &ListHostKeysOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListHostKeys API operation for AWS Transfer Family. +// +// Returns a list of host keys for the server specified by the ServerId paramter. +// +// 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 AWS Transfer Family's +// API operation ListHostKeys for usage and error information. +// +// Returned Error Types: +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListHostKeys +func (c *Transfer) ListHostKeys(input *ListHostKeysInput) (*ListHostKeysOutput, error) { + req, out := c.ListHostKeysRequest(input) + return out, req.Send() +} + +// ListHostKeysWithContext is the same as ListHostKeys with the addition of +// the ability to pass a context and additional request options. +// +// See ListHostKeys 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 *Transfer) ListHostKeysWithContext(ctx aws.Context, input *ListHostKeysInput, opts ...request.Option) (*ListHostKeysOutput, error) { + req, out := c.ListHostKeysRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListProfiles = "ListProfiles" // ListProfilesRequest generates a "aws/request.Request" representing the @@ -5418,6 +5796,101 @@ func (c *Transfer) UpdateConnectorWithContext(ctx aws.Context, input *UpdateConn return out, req.Send() } +const opUpdateHostKey = "UpdateHostKey" + +// UpdateHostKeyRequest generates a "aws/request.Request" representing the +// client's request for the UpdateHostKey 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 UpdateHostKey for more information on using the UpdateHostKey +// 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 UpdateHostKeyRequest method. +// req, resp := client.UpdateHostKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKey +func (c *Transfer) UpdateHostKeyRequest(input *UpdateHostKeyInput) (req *request.Request, output *UpdateHostKeyOutput) { + op := &request.Operation{ + Name: opUpdateHostKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateHostKeyInput{} + } + + output = &UpdateHostKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateHostKey API operation for AWS Transfer Family. +// +// Updates the description for the host key specified by the specified by the +// ServerId and HostKeyId parameters. +// +// 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 AWS Transfer Family's +// API operation UpdateHostKey for usage and error information. +// +// Returned Error Types: +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. +// +// - ThrottlingException +// The request was denied due to request throttling. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateHostKey +func (c *Transfer) UpdateHostKey(input *UpdateHostKeyInput) (*UpdateHostKeyOutput, error) { + req, out := c.UpdateHostKeyRequest(input) + return out, req.Send() +} + +// UpdateHostKeyWithContext is the same as UpdateHostKey with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateHostKey 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 *Transfer) UpdateHostKeyWithContext(ctx aws.Context, input *UpdateHostKeyInput, opts ...request.Option) (*UpdateHostKeyOutput, error) { + req, out := c.UpdateHostKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateProfile = "UpdateProfile" // UpdateProfileRequest generates a "aws/request.Request" representing the @@ -8079,6 +8552,94 @@ func (s DeleteConnectorOutput) GoString() string { return s.String() } +type DeleteHostKeyInput struct { + _ struct{} `type:"structure"` + + // The ID of the host key that you are deleting. + // + // HostKeyId is a required field + HostKeyId *string `min:"25" type:"string" required:"true"` + + // Provide the ID of the server that contains the host key that you are deleting. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHostKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHostKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteHostKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteHostKeyInput"} + if s.HostKeyId == nil { + invalidParams.Add(request.NewErrParamRequired("HostKeyId")) + } + if s.HostKeyId != nil && len(*s.HostKeyId) < 25 { + invalidParams.Add(request.NewErrParamMinLen("HostKeyId", 25)) + } + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 19 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 19)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *DeleteHostKeyInput) SetHostKeyId(v string) *DeleteHostKeyInput { + s.HostKeyId = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *DeleteHostKeyInput) SetServerId(v string) *DeleteHostKeyInput { + s.ServerId = &v + return s +} + +type DeleteHostKeyOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHostKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteHostKeyOutput) GoString() string { + return s.String() +} + type DeleteProfileInput struct { _ struct{} `type:"structure"` @@ -9036,6 +9597,105 @@ func (s *DescribeExecutionOutput) SetWorkflowId(v string) *DescribeExecutionOutp return s } +type DescribeHostKeyInput struct { + _ struct{} `type:"structure"` + + // Provide the ID of the host key that you want described. + // + // HostKeyId is a required field + HostKeyId *string `min:"25" type:"string" required:"true"` + + // Provide the ID of the server that contains the host key that you want described. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeHostKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeHostKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeHostKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeHostKeyInput"} + if s.HostKeyId == nil { + invalidParams.Add(request.NewErrParamRequired("HostKeyId")) + } + if s.HostKeyId != nil && len(*s.HostKeyId) < 25 { + invalidParams.Add(request.NewErrParamMinLen("HostKeyId", 25)) + } + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 19 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 19)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *DescribeHostKeyInput) SetHostKeyId(v string) *DescribeHostKeyInput { + s.HostKeyId = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *DescribeHostKeyInput) SetServerId(v string) *DescribeHostKeyInput { + s.ServerId = &v + return s +} + +type DescribeHostKeyOutput struct { + _ struct{} `type:"structure"` + + // Returns the details for the specified host key. + // + // HostKey is a required field + HostKey *DescribedHostKey `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeHostKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribeHostKeyOutput) GoString() string { + return s.String() +} + +// SetHostKey sets the HostKey field's value. +func (s *DescribeHostKeyOutput) SetHostKey(v *DescribedHostKey) *DescribeHostKeyOutput { + s.HostKey = v + return s +} + type DescribeProfileInput struct { _ struct{} `type:"structure"` @@ -10100,6 +10760,106 @@ func (s *DescribedExecution) SetStatus(v string) *DescribedExecution { return s } +// The details for a server host key. +type DescribedHostKey struct { + _ struct{} `type:"structure"` + + // The unique Amazon Resource Name (ARN) for the host key. + // + // Arn is a required field + Arn *string `min:"20" type:"string" required:"true"` + + // The date on which the host key was added to the server. + DateImported *time.Time `type:"timestamp"` + + // The text description for this host key. + Description *string `type:"string"` + + // The public key fingerprint, which is a short sequence of bytes used to identify + // the longer public key. + HostKeyFingerprint *string `type:"string"` + + // A unique identifier for the host key. + HostKeyId *string `min:"25" type:"string"` + + // Key-value pairs that can be used to group and search for host keys. + Tags []*Tag `min:"1" type:"list"` + + // The encryption algorithm used for the host key. The Type is one of the following + // values: + // + // * ssh-rsa + // + // * ssh-ed25519 + // + // * ecdsa-sha2-nistp256 + // + // * ecdsa-sha2-nistp384 + // + // * ecdsa-sha2-nistp521 + Type *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribedHostKey) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DescribedHostKey) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *DescribedHostKey) SetArn(v string) *DescribedHostKey { + s.Arn = &v + return s +} + +// SetDateImported sets the DateImported field's value. +func (s *DescribedHostKey) SetDateImported(v time.Time) *DescribedHostKey { + s.DateImported = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribedHostKey) SetDescription(v string) *DescribedHostKey { + s.Description = &v + return s +} + +// SetHostKeyFingerprint sets the HostKeyFingerprint field's value. +func (s *DescribedHostKey) SetHostKeyFingerprint(v string) *DescribedHostKey { + s.HostKeyFingerprint = &v + return s +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *DescribedHostKey) SetHostKeyId(v string) *DescribedHostKey { + s.HostKeyId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *DescribedHostKey) SetTags(v []*Tag) *DescribedHostKey { + s.Tags = v + return s +} + +// SetType sets the Type field's value. +func (s *DescribedHostKey) SetType(v string) *DescribedHostKey { + s.Type = &v + return s +} + // The details for a local or partner AS2 profile. profile. type DescribedProfile struct { _ struct{} `type:"structure"` @@ -11515,6 +12275,150 @@ func (s *ImportCertificateOutput) SetCertificateId(v string) *ImportCertificateO return s } +type ImportHostKeyInput struct { + _ struct{} `type:"structure"` + + // Enter a text description to identify this host key. + Description *string `type:"string"` + + // The public key portion of an SSH key pair. + // + // Transfer Family accepts RSA, ECDSA, and ED25519 keys. + // + // HostKeyBody is a sensitive parameter and its value will be + // replaced with "sensitive" in string returned by ImportHostKeyInput's + // String and GoString methods. + // + // HostKeyBody is a required field + HostKeyBody *string `type:"string" required:"true" sensitive:"true"` + + // Provide the ID of the server that contains the host key that you are importing. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` + + // Key-value pairs that can be used to group and search for host keys. + Tags []*Tag `min:"1" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportHostKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportHostKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ImportHostKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ImportHostKeyInput"} + if s.HostKeyBody == nil { + invalidParams.Add(request.NewErrParamRequired("HostKeyBody")) + } + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 19 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 19)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *ImportHostKeyInput) SetDescription(v string) *ImportHostKeyInput { + s.Description = &v + return s +} + +// SetHostKeyBody sets the HostKeyBody field's value. +func (s *ImportHostKeyInput) SetHostKeyBody(v string) *ImportHostKeyInput { + s.HostKeyBody = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *ImportHostKeyInput) SetServerId(v string) *ImportHostKeyInput { + s.ServerId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *ImportHostKeyInput) SetTags(v []*Tag) *ImportHostKeyInput { + s.Tags = v + return s +} + +type ImportHostKeyOutput struct { + _ struct{} `type:"structure"` + + // Returns the host key ID for the imported key. + // + // HostKeyId is a required field + HostKeyId *string `min:"25" type:"string" required:"true"` + + // Returns the server ID that contains the imported key. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportHostKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ImportHostKeyOutput) GoString() string { + return s.String() +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *ImportHostKeyOutput) SetHostKeyId(v string) *ImportHostKeyOutput { + s.HostKeyId = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *ImportHostKeyOutput) SetServerId(v string) *ImportHostKeyOutput { + s.ServerId = &v + return s +} + type ImportSshPublicKeyInput struct { _ struct{} `type:"structure"` @@ -12520,6 +13424,136 @@ func (s *ListExecutionsOutput) SetWorkflowId(v string) *ListExecutionsOutput { return s } +type ListHostKeysInput struct { + _ struct{} `type:"structure"` + + // The maximum number of host keys to return. + MaxResults *int64 `min:"1" type:"integer"` + + // When there are additional results that were not returned, a NextToken parameter + // is returned. You can use that value for a subsequent call to ListHostKeys + // to continue listing results. + NextToken *string `min:"1" type:"string"` + + // Provide the ID of the server that contains the host keys that you want to + // view. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListHostKeysInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListHostKeysInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListHostKeysInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListHostKeysInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 19 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 19)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListHostKeysInput) SetMaxResults(v int64) *ListHostKeysInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListHostKeysInput) SetNextToken(v string) *ListHostKeysInput { + s.NextToken = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *ListHostKeysInput) SetServerId(v string) *ListHostKeysInput { + s.ServerId = &v + return s +} + +type ListHostKeysOutput struct { + _ struct{} `type:"structure"` + + // Returns an array, where each item contains the details of a host key. + // + // HostKeys is a required field + HostKeys []*ListedHostKey `type:"list" required:"true"` + + // Returns a token that you can use to call ListHostKeys again and receive additional + // results, if there are any. + NextToken *string `min:"1" type:"string"` + + // Returns the server ID that contains the listed host keys. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListHostKeysOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListHostKeysOutput) GoString() string { + return s.String() +} + +// SetHostKeys sets the HostKeys field's value. +func (s *ListHostKeysOutput) SetHostKeys(v []*ListedHostKey) *ListHostKeysOutput { + s.HostKeys = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListHostKeysOutput) SetNextToken(v string) *ListHostKeysOutput { + s.NextToken = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *ListHostKeysOutput) SetServerId(v string) *ListHostKeysOutput { + s.ServerId = &v + return s +} + type ListProfilesInput struct { _ struct{} `type:"structure"` @@ -13590,6 +14624,97 @@ func (s *ListedExecution) SetStatus(v string) *ListedExecution { return s } +// Returns properties of the host key that is specified. +type ListedHostKey struct { + _ struct{} `type:"structure"` + + // Specifies the unique Amazon Resource Name (ARN) of the host key. + // + // Arn is a required field + Arn *string `min:"20" type:"string" required:"true"` + + // The date on which the host key was added to the server. + DateImported *time.Time `type:"timestamp"` + + // The current description for the host key. You can change it by calling the + // UpdateHostKey operation and providing a new description. + Description *string `type:"string"` + + // The public key fingerprint, which is a short sequence of bytes used to identify + // the longer public key. + Fingerprint *string `type:"string"` + + HostKeyId *string `min:"25" type:"string"` + + // The encryption algorithm used for the host key. The Type is one of the following + // values: + // + // * ssh-rsa + // + // * ssh-ed25519 + // + // * ecdsa-sha2-nistp256 + // + // * ecdsa-sha2-nistp384 + // + // * ecdsa-sha2-nistp521 + Type *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListedHostKey) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListedHostKey) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *ListedHostKey) SetArn(v string) *ListedHostKey { + s.Arn = &v + return s +} + +// SetDateImported sets the DateImported field's value. +func (s *ListedHostKey) SetDateImported(v time.Time) *ListedHostKey { + s.DateImported = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *ListedHostKey) SetDescription(v string) *ListedHostKey { + s.Description = &v + return s +} + +// SetFingerprint sets the Fingerprint field's value. +func (s *ListedHostKey) SetFingerprint(v string) *ListedHostKey { + s.Fingerprint = &v + return s +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *ListedHostKey) SetHostKeyId(v string) *ListedHostKey { + s.HostKeyId = &v + return s +} + +// SetType sets the Type field's value. +func (s *ListedHostKey) SetType(v string) *ListedHostKey { + s.Type = &v + return s +} + // Returns the properties of the profile that was specified. type ListedProfile struct { _ struct{} `type:"structure"` @@ -16309,6 +17434,130 @@ func (s *UpdateConnectorOutput) SetConnectorId(v string) *UpdateConnectorOutput return s } +type UpdateHostKeyInput struct { + _ struct{} `type:"structure"` + + // Provide an updated description for the host key. + // + // Description is a required field + Description *string `type:"string" required:"true"` + + // Provide the ID of the host key that you are updating. + // + // HostKeyId is a required field + HostKeyId *string `min:"25" type:"string" required:"true"` + + // Provide the ID of the server that contains the host key that you are updating. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateHostKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateHostKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateHostKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateHostKeyInput"} + if s.Description == nil { + invalidParams.Add(request.NewErrParamRequired("Description")) + } + if s.HostKeyId == nil { + invalidParams.Add(request.NewErrParamRequired("HostKeyId")) + } + if s.HostKeyId != nil && len(*s.HostKeyId) < 25 { + invalidParams.Add(request.NewErrParamMinLen("HostKeyId", 25)) + } + if s.ServerId == nil { + invalidParams.Add(request.NewErrParamRequired("ServerId")) + } + if s.ServerId != nil && len(*s.ServerId) < 19 { + invalidParams.Add(request.NewErrParamMinLen("ServerId", 19)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateHostKeyInput) SetDescription(v string) *UpdateHostKeyInput { + s.Description = &v + return s +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *UpdateHostKeyInput) SetHostKeyId(v string) *UpdateHostKeyInput { + s.HostKeyId = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *UpdateHostKeyInput) SetServerId(v string) *UpdateHostKeyInput { + s.ServerId = &v + return s +} + +type UpdateHostKeyOutput struct { + _ struct{} `type:"structure"` + + // Returns the host key ID for the updated host key. + // + // HostKeyId is a required field + HostKeyId *string `min:"25" type:"string" required:"true"` + + // Returns the server ID for the server that contains the updated host key. + // + // ServerId is a required field + ServerId *string `min:"19" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateHostKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateHostKeyOutput) GoString() string { + return s.String() +} + +// SetHostKeyId sets the HostKeyId field's value. +func (s *UpdateHostKeyOutput) SetHostKeyId(v string) *UpdateHostKeyOutput { + s.HostKeyId = &v + return s +} + +// SetServerId sets the ServerId field's value. +func (s *UpdateHostKeyOutput) SetServerId(v string) *UpdateHostKeyOutput { + s.ServerId = &v + return s +} + type UpdateProfileInput struct { _ struct{} `type:"structure"` diff --git a/service/transfer/transferiface/interface.go b/service/transfer/transferiface/interface.go index b4bf1c7b43..353779024e 100644 --- a/service/transfer/transferiface/interface.go +++ b/service/transfer/transferiface/interface.go @@ -104,6 +104,10 @@ type TransferAPI interface { DeleteConnectorWithContext(aws.Context, *transfer.DeleteConnectorInput, ...request.Option) (*transfer.DeleteConnectorOutput, error) DeleteConnectorRequest(*transfer.DeleteConnectorInput) (*request.Request, *transfer.DeleteConnectorOutput) + DeleteHostKey(*transfer.DeleteHostKeyInput) (*transfer.DeleteHostKeyOutput, error) + DeleteHostKeyWithContext(aws.Context, *transfer.DeleteHostKeyInput, ...request.Option) (*transfer.DeleteHostKeyOutput, error) + DeleteHostKeyRequest(*transfer.DeleteHostKeyInput) (*request.Request, *transfer.DeleteHostKeyOutput) + DeleteProfile(*transfer.DeleteProfileInput) (*transfer.DeleteProfileOutput, error) DeleteProfileWithContext(aws.Context, *transfer.DeleteProfileInput, ...request.Option) (*transfer.DeleteProfileOutput, error) DeleteProfileRequest(*transfer.DeleteProfileInput) (*request.Request, *transfer.DeleteProfileOutput) @@ -144,6 +148,10 @@ type TransferAPI interface { DescribeExecutionWithContext(aws.Context, *transfer.DescribeExecutionInput, ...request.Option) (*transfer.DescribeExecutionOutput, error) DescribeExecutionRequest(*transfer.DescribeExecutionInput) (*request.Request, *transfer.DescribeExecutionOutput) + DescribeHostKey(*transfer.DescribeHostKeyInput) (*transfer.DescribeHostKeyOutput, error) + DescribeHostKeyWithContext(aws.Context, *transfer.DescribeHostKeyInput, ...request.Option) (*transfer.DescribeHostKeyOutput, error) + DescribeHostKeyRequest(*transfer.DescribeHostKeyInput) (*request.Request, *transfer.DescribeHostKeyOutput) + DescribeProfile(*transfer.DescribeProfileInput) (*transfer.DescribeProfileOutput, error) DescribeProfileWithContext(aws.Context, *transfer.DescribeProfileInput, ...request.Option) (*transfer.DescribeProfileOutput, error) DescribeProfileRequest(*transfer.DescribeProfileInput) (*request.Request, *transfer.DescribeProfileOutput) @@ -168,6 +176,10 @@ type TransferAPI interface { ImportCertificateWithContext(aws.Context, *transfer.ImportCertificateInput, ...request.Option) (*transfer.ImportCertificateOutput, error) ImportCertificateRequest(*transfer.ImportCertificateInput) (*request.Request, *transfer.ImportCertificateOutput) + ImportHostKey(*transfer.ImportHostKeyInput) (*transfer.ImportHostKeyOutput, error) + ImportHostKeyWithContext(aws.Context, *transfer.ImportHostKeyInput, ...request.Option) (*transfer.ImportHostKeyOutput, error) + ImportHostKeyRequest(*transfer.ImportHostKeyInput) (*request.Request, *transfer.ImportHostKeyOutput) + ImportSshPublicKey(*transfer.ImportSshPublicKeyInput) (*transfer.ImportSshPublicKeyOutput, error) ImportSshPublicKeyWithContext(aws.Context, *transfer.ImportSshPublicKeyInput, ...request.Option) (*transfer.ImportSshPublicKeyOutput, error) ImportSshPublicKeyRequest(*transfer.ImportSshPublicKeyInput) (*request.Request, *transfer.ImportSshPublicKeyOutput) @@ -207,6 +219,10 @@ type TransferAPI interface { ListExecutionsPages(*transfer.ListExecutionsInput, func(*transfer.ListExecutionsOutput, bool) bool) error ListExecutionsPagesWithContext(aws.Context, *transfer.ListExecutionsInput, func(*transfer.ListExecutionsOutput, bool) bool, ...request.Option) error + ListHostKeys(*transfer.ListHostKeysInput) (*transfer.ListHostKeysOutput, error) + ListHostKeysWithContext(aws.Context, *transfer.ListHostKeysInput, ...request.Option) (*transfer.ListHostKeysOutput, error) + ListHostKeysRequest(*transfer.ListHostKeysInput) (*request.Request, *transfer.ListHostKeysOutput) + ListProfiles(*transfer.ListProfilesInput) (*transfer.ListProfilesOutput, error) ListProfilesWithContext(aws.Context, *transfer.ListProfilesInput, ...request.Option) (*transfer.ListProfilesOutput, error) ListProfilesRequest(*transfer.ListProfilesInput) (*request.Request, *transfer.ListProfilesOutput) @@ -293,6 +309,10 @@ type TransferAPI interface { UpdateConnectorWithContext(aws.Context, *transfer.UpdateConnectorInput, ...request.Option) (*transfer.UpdateConnectorOutput, error) UpdateConnectorRequest(*transfer.UpdateConnectorInput) (*request.Request, *transfer.UpdateConnectorOutput) + UpdateHostKey(*transfer.UpdateHostKeyInput) (*transfer.UpdateHostKeyOutput, error) + UpdateHostKeyWithContext(aws.Context, *transfer.UpdateHostKeyInput, ...request.Option) (*transfer.UpdateHostKeyOutput, error) + UpdateHostKeyRequest(*transfer.UpdateHostKeyInput) (*request.Request, *transfer.UpdateHostKeyOutput) + UpdateProfile(*transfer.UpdateProfileInput) (*transfer.UpdateProfileOutput, error) UpdateProfileWithContext(aws.Context, *transfer.UpdateProfileInput, ...request.Option) (*transfer.UpdateProfileOutput, error) UpdateProfileRequest(*transfer.UpdateProfileInput) (*request.Request, *transfer.UpdateProfileOutput)