Skip to content

Commit

Permalink
feat(client-transfer): No API changes from previous release. This rel…
Browse files Browse the repository at this point in the history
…ease migrated the model to Smithy keeping all features unchanged.
  • Loading branch information
awstools committed Oct 26, 2023
1 parent 8e3c248 commit 6bd6402
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 68 deletions.
18 changes: 9 additions & 9 deletions clients/client-transfer/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -917,25 +917,25 @@ export class ThrottlingException extends __BaseException {
export interface SftpConnectorConfig {
/**
* @public
* <p>The identifier for the secret (in Amazon Web Services Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier can be either the Amazon Resource Name (ARN) or the name of the secret.</p>
* <p>The identifier for the secret (in Amazon Web Services Secrets Manager) that contains the SFTP user's private key, password, or both. The identifier must be the Amazon Resource Name (ARN) of the secret.</p>
*/
UserSecretId?: string;

/**
* @public
* <p>The public portion of the host key, or keys, that are used to identify the external server to which you are connecting.
* You can use the <code>ssh-keyscan</code> command against the SFTP server to retrieve the necessary key.</p>
* <p>The three standard SSH public key format elements are <code><key type></code>,
* <code><body base64></code>, and an optional <code><comment></code>, with spaces
* between each element. Specify only the <code><key type></code> and <code><body
* base64></code>: do not enter the <code><comment></code> portion of the key.</p>
* <p>The three standard SSH public key format elements are <code>&lt;key type&gt;</code>,
* <code>&lt;body base64&gt;</code>, and an optional <code>&lt;comment&gt;</code>, with spaces
* between each element. Specify only the <code>&lt;key type&gt;</code> and <code>&lt;body
* base64&gt;</code>: do not enter the <code>&lt;comment&gt;</code> portion of the key.</p>
* <p>For the trusted host key, Transfer Family accepts RSA and ECDSA keys.</p>
* <ul>
* <li>
* <p>For RSA keys, the <code><key type></code> string is <code>ssh-rsa</code>.</p>
* <p>For RSA keys, the <code>&lt;key type&gt;</code> string is <code>ssh-rsa</code>.</p>
* </li>
* <li>
* <p>For ECDSA keys, the <code><key type></code> string is either
* <p>For ECDSA keys, the <code>&lt;key type&gt;</code> string is either
* <code>ecdsa-sha2-nistp256</code>, <code>ecdsa-sha2-nistp384</code>, or
* <code>ecdsa-sha2-nistp521</code>, depending on the size of the key you generated.</p>
* </li>
Expand Down Expand Up @@ -1876,8 +1876,8 @@ export interface CreateUserRequest {
* @public
* <p>The public portion of the Secure Shell (SSH) key used to authenticate the user to the
* server.</p>
* <p>The three standard SSH public key format elements are <code><key type></code>,
* <code><body base64></code>, and an optional <code><comment></code>, with spaces
* <p>The three standard SSH public key format elements are <code>&lt;key type&gt;</code>,
* <code>&lt;body base64&gt;</code>, and an optional <code>&lt;comment&gt;</code>, with spaces
* between each element.</p>
* <p>Transfer Family accepts RSA, ECDSA, and ED25519 keys.</p>
* <ul>
Expand Down
4 changes: 2 additions & 2 deletions clients/client-transfer/src/waiters/waitForServerOffline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const waitForServerOffline = async (
params: WaiterConfiguration<TransferClient>,
input: DescribeServerCommandInput
): Promise<WaiterResult> => {
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
/**
Expand All @@ -50,7 +50,7 @@ export const waitUntilServerOffline = async (
params: WaiterConfiguration<TransferClient>,
input: DescribeServerCommandInput
): Promise<WaiterResult> => {
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
4 changes: 2 additions & 2 deletions clients/client-transfer/src/waiters/waitForServerOnline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const waitForServerOnline = async (
params: WaiterConfiguration<TransferClient>,
input: DescribeServerCommandInput
): Promise<WaiterResult> => {
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
};
/**
Expand All @@ -50,7 +50,7 @@ export const waitUntilServerOnline = async (
params: WaiterConfiguration<TransferClient>,
input: DescribeServerCommandInput
): Promise<WaiterResult> => {
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
return checkExceptions(result);
};
Loading

0 comments on commit 6bd6402

Please sign in to comment.