Skip to content

Commit

Permalink
feat(client-transfer): AWS Transfer Family now supports static IP add…
Browse files Browse the repository at this point in the history
…resses for SFTP & AS2 connectors and for async MDNs on AS2 servers.
  • Loading branch information
awstools committed Jan 12, 2024
1 parent 544eec6 commit e2471e2
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ export interface DescribeConnectorCommandOutput extends DescribeConnectorRespons
* // "STRING_VALUE",
* // ],
* // },
* // ServiceManagedEgressIpAddresses: [ // ServiceManagedEgressIpAddresses
* // "STRING_VALUE",
* // ],
* // },
* // };
*
Expand Down
3 changes: 3 additions & 0 deletions clients/client-transfer/src/commands/DescribeServerCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export interface DescribeServerCommandOutput extends DescribeServerResponse, __M
* // S3StorageOptions: { // S3StorageOptions
* // DirectoryListingOptimization: "ENABLED" || "DISABLED",
* // },
* // As2ServiceManagedEgressIpAddresses: [ // ServiceManagedEgressIpAddresses
* // "STRING_VALUE",
* // ],
* // },
* // };
*
Expand Down
17 changes: 16 additions & 1 deletion clients/client-transfer/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ export interface IdentityProviderDetails {

/**
* @public
* <p>The identifier of the Directory Service directory that you want to stop sharing.</p>
* <p>The identifier of the Directory Service directory that you want to use as your identity provider.</p>
*/
DirectoryId?: string;

Expand Down Expand Up @@ -3059,6 +3059,12 @@ export interface DescribedConnector {
* <p>A structure that contains the parameters for an SFTP connector object.</p>
*/
SftpConfig?: SftpConnectorConfig;

/**
* @public
* <p>The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.</p>
*/
ServiceManagedEgressIpAddresses?: string[];
}

/**
Expand Down Expand Up @@ -3860,6 +3866,15 @@ export interface DescribedServer {
* <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>
*/
S3StorageOptions?: S3StorageOptions;

/**
* @public
* <p>The list of egress IP addresses of this server. These IP addresses are only relevant
* for servers that use the AS2 protocol. They are used for sending asynchronous MDNs.</p>
* <p>These IP addresses are assigned automatically when you create an AS2 server. Additionally,
* if you update an existing server and add the AS2 protocol, static IP addresses are assigned as well.</p>
*/
As2ServiceManagedEgressIpAddresses?: string[];
}

/**
Expand Down
2 changes: 2 additions & 0 deletions clients/client-transfer/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5014,6 +5014,8 @@ const de_ListHostKeysResponse = (output: any, context: __SerdeContext): ListHost

// de_SendWorkflowStepStateResponse omitted.

// de_ServiceManagedEgressIpAddresses omitted.

// de_ServiceMetadata omitted.

// de_ServiceUnavailableException omitted.
Expand Down
26 changes: 25 additions & 1 deletion codegen/sdk-codegen/aws-models/transfer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2710,6 +2710,12 @@
"traits": {
"smithy.api#documentation": "<p>A structure that contains the parameters for an SFTP connector object.</p>"
}
},
"ServiceManagedEgressIpAddresses": {
"target": "com.amazonaws.transfer#ServiceManagedEgressIpAddresses",
"traits": {
"smithy.api#documentation": "<p>The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3039,6 +3045,12 @@
"traits": {
"smithy.api#documentation": "<p>Specifies whether or not performance for your Amazon S3 directories is optimized. This is disabled by default.</p>\n <p>By default, home directory mappings have a <code>TYPE</code> of <code>DIRECTORY</code>. If you enable this option, you would then need to explicitly set the <code>HomeDirectoryMapEntry</code>\n <code>Type</code> to <code>FILE</code> if you want a mapping to have a file target.</p>"
}
},
"As2ServiceManagedEgressIpAddresses": {
"target": "com.amazonaws.transfer#ServiceManagedEgressIpAddresses",
"traits": {
"smithy.api#documentation": "<p>The list of egress IP addresses of this server. These IP addresses are only relevant\n for servers that use the AS2 protocol. They are used for sending asynchronous MDNs.</p>\n <p>These IP addresses are assigned automatically when you create an AS2 server. Additionally,\n if you update an existing server and add the AS2 protocol, static IP addresses are assigned as well.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3718,7 +3730,7 @@
"DirectoryId": {
"target": "com.amazonaws.transfer#DirectoryId",
"traits": {
"smithy.api#documentation": "<p>The identifier of the Directory Service directory that you want to stop sharing.</p>"
"smithy.api#documentation": "<p>The identifier of the Directory Service directory that you want to use as your identity provider.</p>"
}
},
"Function": {
Expand Down Expand Up @@ -6351,6 +6363,18 @@
"com.amazonaws.transfer#ServiceErrorMessage": {
"type": "string"
},
"com.amazonaws.transfer#ServiceManagedEgressIpAddress": {
"type": "string",
"traits": {
"smithy.api#pattern": "^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$"
}
},
"com.amazonaws.transfer#ServiceManagedEgressIpAddresses": {
"type": "list",
"member": {
"target": "com.amazonaws.transfer#ServiceManagedEgressIpAddress"
}
},
"com.amazonaws.transfer#ServiceMetadata": {
"type": "structure",
"members": {
Expand Down

0 comments on commit e2471e2

Please sign in to comment.