Skip to content

Commit f85196f

Browse files
This launch enables customers to manage contents of their remote directories, by deleting old files or moving files to archive folders in remote servers once they have been retrieved. Customers will be able to automate the process using event-driven architecture.
1 parent 454aa3c commit f85196f

28 files changed

+1939
-55
lines changed

generator/ServiceModels/transfer/transfer-2018-11-05.api.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,38 @@
847847
{"shape":"ServiceUnavailableException"}
848848
]
849849
},
850+
"StartRemoteDelete":{
851+
"name":"StartRemoteDelete",
852+
"http":{
853+
"method":"POST",
854+
"requestUri":"/"
855+
},
856+
"input":{"shape":"StartRemoteDeleteRequest"},
857+
"output":{"shape":"StartRemoteDeleteResponse"},
858+
"errors":[
859+
{"shape":"ResourceNotFoundException"},
860+
{"shape":"InvalidRequestException"},
861+
{"shape":"ThrottlingException"},
862+
{"shape":"InternalServiceError"},
863+
{"shape":"ServiceUnavailableException"}
864+
]
865+
},
866+
"StartRemoteMove":{
867+
"name":"StartRemoteMove",
868+
"http":{
869+
"method":"POST",
870+
"requestUri":"/"
871+
},
872+
"input":{"shape":"StartRemoteMoveRequest"},
873+
"output":{"shape":"StartRemoteMoveResponse"},
874+
"errors":[
875+
{"shape":"ResourceNotFoundException"},
876+
{"shape":"InvalidRequestException"},
877+
{"shape":"ThrottlingException"},
878+
{"shape":"InternalServiceError"},
879+
{"shape":"ServiceUnavailableException"}
880+
]
881+
},
850882
"StartServer":{
851883
"name":"StartServer",
852884
"http":{
@@ -1595,6 +1627,12 @@
15951627
"HostKeyId":{"shape":"HostKeyId"}
15961628
}
15971629
},
1630+
"DeleteId":{
1631+
"type":"string",
1632+
"max":512,
1633+
"min":1,
1634+
"pattern":"[0-9a-zA-Z./-]+"
1635+
},
15981636
"DeleteProfileRequest":{
15991637
"type":"structure",
16001638
"required":["ProfileId"],
@@ -2956,6 +2994,12 @@
29562994
"min":1,
29572995
"pattern":"[\\p{Print}\\p{Blank}]+"
29582996
},
2997+
"MoveId":{
2998+
"type":"string",
2999+
"max":512,
3000+
"min":1,
3001+
"pattern":"[0-9a-zA-Z./-]+"
3002+
},
29593003
"NextToken":{
29603004
"type":"string",
29613005
"max":6144,
@@ -3453,6 +3497,44 @@
34533497
"TransferId":{"shape":"TransferId"}
34543498
}
34553499
},
3500+
"StartRemoteDeleteRequest":{
3501+
"type":"structure",
3502+
"required":[
3503+
"ConnectorId",
3504+
"DeletePath"
3505+
],
3506+
"members":{
3507+
"ConnectorId":{"shape":"ConnectorId"},
3508+
"DeletePath":{"shape":"FilePath"}
3509+
}
3510+
},
3511+
"StartRemoteDeleteResponse":{
3512+
"type":"structure",
3513+
"required":["DeleteId"],
3514+
"members":{
3515+
"DeleteId":{"shape":"DeleteId"}
3516+
}
3517+
},
3518+
"StartRemoteMoveRequest":{
3519+
"type":"structure",
3520+
"required":[
3521+
"ConnectorId",
3522+
"SourcePath",
3523+
"TargetPath"
3524+
],
3525+
"members":{
3526+
"ConnectorId":{"shape":"ConnectorId"},
3527+
"SourcePath":{"shape":"FilePath"},
3528+
"TargetPath":{"shape":"FilePath"}
3529+
}
3530+
},
3531+
"StartRemoteMoveResponse":{
3532+
"type":"structure",
3533+
"required":["MoveId"],
3534+
"members":{
3535+
"MoveId":{"shape":"MoveId"}
3536+
}
3537+
},
34563538
"StartServerRequest":{
34573539
"type":"structure",
34583540
"required":["ServerId"],

generator/ServiceModels/transfer/transfer-2018-11-05.docs.json

Lines changed: 58 additions & 19 deletions
Large diffs are not rendered by default.

generator/ServiceModels/transfer/transfer-2018-11-05.normal.json

Lines changed: 123 additions & 18 deletions
Large diffs are not rendered by default.

sdk/code-analysis/ServiceAnalysis/Transfer/Generated/PropertyValueRules.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -924,6 +924,48 @@
924924
<max>512</max>
925925
<pattern>[0-9a-zA-Z./-]+</pattern>
926926
</property-value-rule>
927+
<property-value-rule>
928+
<property>Amazon.Transfer.Model.StartRemoteDeleteRequest.ConnectorId</property>
929+
<min>19</min>
930+
<max>19</max>
931+
<pattern>c-([0-9a-f]{17})</pattern>
932+
</property-value-rule>
933+
<property-value-rule>
934+
<property>Amazon.Transfer.Model.StartRemoteDeleteRequest.DeletePath</property>
935+
<min>1</min>
936+
<max>1024</max>
937+
<pattern>(.)+</pattern>
938+
</property-value-rule>
939+
<property-value-rule>
940+
<property>Amazon.Transfer.Model.StartRemoteDeleteResponse.DeleteId</property>
941+
<min>1</min>
942+
<max>512</max>
943+
<pattern>[0-9a-zA-Z./-]+</pattern>
944+
</property-value-rule>
945+
<property-value-rule>
946+
<property>Amazon.Transfer.Model.StartRemoteMoveRequest.ConnectorId</property>
947+
<min>19</min>
948+
<max>19</max>
949+
<pattern>c-([0-9a-f]{17})</pattern>
950+
</property-value-rule>
951+
<property-value-rule>
952+
<property>Amazon.Transfer.Model.StartRemoteMoveRequest.SourcePath</property>
953+
<min>1</min>
954+
<max>1024</max>
955+
<pattern>(.)+</pattern>
956+
</property-value-rule>
957+
<property-value-rule>
958+
<property>Amazon.Transfer.Model.StartRemoteMoveRequest.TargetPath</property>
959+
<min>1</min>
960+
<max>1024</max>
961+
<pattern>(.)+</pattern>
962+
</property-value-rule>
963+
<property-value-rule>
964+
<property>Amazon.Transfer.Model.StartRemoteMoveResponse.MoveId</property>
965+
<min>1</min>
966+
<max>512</max>
967+
<pattern>[0-9a-zA-Z./-]+</pattern>
968+
</property-value-rule>
927969
<property-value-rule>
928970
<property>Amazon.Transfer.Model.StartServerRequest.ServerId</property>
929971
<min>19</min>

sdk/src/Services/Transfer/Generated/Model/As2ConnectorConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ internal bool IsSetLocalProfileId()
185185
/// <summary>
186186
/// Gets and sets the property MdnResponse.
187187
/// <para>
188-
/// Used for outbound requests (from an Transfer Family server to a partner AS2 server)
188+
/// Used for outbound requests (from an Transfer Family connector to a partner AS2 server)
189189
/// to determine whether the partner response for transfers is synchronous or asynchronous.
190190
/// Specify either of the following values:
191191
/// </para>

sdk/src/Services/Transfer/Generated/Model/CreateServerRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ internal bool IsSetIdentityProviderType()
346346
/// Gets and sets the property LoggingRole.
347347
/// <para>
348348
/// The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that
349-
/// allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents.
349+
/// allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.
350350
/// When set, you can view user activity in your CloudWatch logs.
351351
/// </para>
352352
/// </summary>

sdk/src/Services/Transfer/Generated/Model/DescribedCertificate.cs

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ public partial class DescribedCertificate
5252
/// <summary>
5353
/// Gets and sets the property ActiveDate.
5454
/// <para>
55-
/// An optional date that specifies when the certificate becomes active.
55+
/// An optional date that specifies when the certificate becomes active. If you do not
56+
/// specify a value, <c>ActiveDate</c> takes the same value as <c>NotBeforeDate</c>, which
57+
/// is specified by the CA.
5658
/// </para>
5759
/// </summary>
5860
public DateTime ActiveDate
@@ -166,7 +168,9 @@ internal bool IsSetDescription()
166168
/// <summary>
167169
/// Gets and sets the property InactiveDate.
168170
/// <para>
169-
/// An optional date that specifies when the certificate becomes inactive.
171+
/// An optional date that specifies when the certificate becomes inactive. If you do not
172+
/// specify a value, <c>InactiveDate</c> takes the same value as <c>NotAfterDate</c>,
173+
/// which is specified by the CA.
170174
/// </para>
171175
/// </summary>
172176
public DateTime InactiveDate
@@ -239,8 +243,19 @@ internal bool IsSetSerial()
239243
/// <summary>
240244
/// Gets and sets the property Status.
241245
/// <para>
242-
/// Currently, the only available status is <c>ACTIVE</c>: all other values are reserved
243-
/// for future use.
246+
/// A certificate's status can be either <c>ACTIVE</c> or <c>INACTIVE</c>.
247+
/// </para>
248+
///
249+
/// <para>
250+
/// You can set <c>ActiveDate</c> and <c>InactiveDate</c> in the <c>UpdateCertificate</c>
251+
/// call. If you set values for these parameters, those values are used to determine whether
252+
/// the certificate has a status of <c>ACTIVE</c> or <c>INACTIVE</c>.
253+
/// </para>
254+
///
255+
/// <para>
256+
/// If you don't set values for <c>ActiveDate</c> and <c>InactiveDate</c>, we use the
257+
/// <c>NotBefore</c> and <c>NotAfter</c> date as specified on the X509 certificate to
258+
/// determine when a certificate is active and when it is inactive.
244259
/// </para>
245260
/// </summary>
246261
public CertificateStatusType Status

sdk/src/Services/Transfer/Generated/Model/DescribedServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ internal bool IsSetIdentityProviderType()
263263
/// Gets and sets the property LoggingRole.
264264
/// <para>
265265
/// The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that
266-
/// allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFSevents.
266+
/// allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events.
267267
/// When set, you can view user activity in your CloudWatch logs.
268268
/// </para>
269269
/// </summary>

sdk/src/Services/Transfer/Generated/Model/ImportCertificateRequest.cs

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@ namespace Amazon.Transfer.Model
3333
/// Container for the parameters to the ImportCertificate operation.
3434
/// Imports the signing and encryption certificates that you need to create local (AS2)
3535
/// profiles and partner profiles.
36+
///
37+
///
38+
/// <para>
39+
/// You can import both the certificate and its chain in the <c>Certificate</c> parameter.
40+
/// </para>
41+
/// <note>
42+
/// <para>
43+
/// If you use the <c>Certificate</c> parameter to upload both the certificate and its
44+
/// chain, don't use the <c>CertificateChain</c> parameter.
45+
/// </para>
46+
/// </note>
3647
/// </summary>
3748
public partial class ImportCertificateRequest : AmazonTransferRequest
3849
{
@@ -48,7 +59,9 @@ public partial class ImportCertificateRequest : AmazonTransferRequest
4859
/// <summary>
4960
/// Gets and sets the property ActiveDate.
5061
/// <para>
51-
/// An optional date that specifies when the certificate becomes active.
62+
/// An optional date that specifies when the certificate becomes active. If you do not
63+
/// specify a value, <c>ActiveDate</c> takes the same value as <c>NotBeforeDate</c>, which
64+
/// is specified by the CA.
5265
/// </para>
5366
/// </summary>
5467
public DateTime ActiveDate
@@ -74,7 +87,13 @@ internal bool IsSetActiveDate()
7487
/// For the SDK, specify the raw content of a certificate file. For example, <c>--certificate
7588
/// "`cat encryption-cert.pem`"</c>.
7689
/// </para>
77-
/// </li> </ul>
90+
/// </li> </ul> <note>
91+
/// <para>
92+
/// You can provide both the certificate and its chain in this parameter, without needing
93+
/// to use the <c>CertificateChain</c> parameter. If you use this parameter for both the
94+
/// certificate and its chain, do not use the <c>CertificateChain</c> parameter.
95+
/// </para>
96+
/// </note>
7897
/// </summary>
7998
[AWSProperty(Required=true, Sensitive=true, Min=1, Max=16384)]
8099
public string Certificate
@@ -131,7 +150,9 @@ internal bool IsSetDescription()
131150
/// <summary>
132151
/// Gets and sets the property InactiveDate.
133152
/// <para>
134-
/// An optional date that specifies when the certificate becomes inactive.
153+
/// An optional date that specifies when the certificate becomes inactive. If you do not
154+
/// specify a value, <c>InactiveDate</c> takes the same value as <c>NotAfterDate</c>,
155+
/// which is specified by the CA.
135156
/// </para>
136157
/// </summary>
137158
public DateTime InactiveDate
@@ -149,7 +170,7 @@ internal bool IsSetInactiveDate()
149170
/// <summary>
150171
/// Gets and sets the property PrivateKey. <ul> <li>
151172
/// <para>
152-
/// For the CLI, provide a file path for a private key in URI format.For example, <c>--private-key
173+
/// For the CLI, provide a file path for a private key in URI format. For example, <c>--private-key
153174
/// file://encryption-key.pem</c>. Alternatively, you can provide the raw content of the
154175
/// private key file.
155176
/// </para>

0 commit comments

Comments
 (0)