Skip to content

Commit e3f2b9c

Browse files
author
AWS
committed
AWS Transfer Family Update: This release adds a new parameter StructuredLogDestinations to CreateServer, UpdateServer APIs.
1 parent 3665cc1 commit e3f2b9c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Transfer Family",
4+
"contributor": "",
5+
"description": "This release adds a new parameter StructuredLogDestinations to CreateServer, UpdateServer APIs."
6+
}

services/transfer/src/main/resources/codegen-resources/service-2.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,6 +1418,10 @@
14181418
"WorkflowDetails":{
14191419
"shape":"WorkflowDetails",
14201420
"documentation":"<p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p> <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects while the file is still being uploaded.</p>"
1421+
},
1422+
"StructuredLogDestinations":{
1423+
"shape":"StructuredLogDestinations",
1424+
"documentation":"<p>Specifies the log groups to which your server logs are sent.</p> <p>To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows:</p> <p> <code>arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*</code> </p> <p>For example, <code>arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*</code> </p> <p>If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an <code>update-server</code> call. For example:</p> <p> <code>update-server --server-id s-1234567890abcdef0 --structured-log-destinations</code> </p>"
14211425
}
14221426
}
14231427
},
@@ -2417,6 +2421,10 @@
24172421
"WorkflowDetails":{
24182422
"shape":"WorkflowDetails",
24192423
"documentation":"<p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p> <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects while the file is still being uploaded.</p>"
2424+
},
2425+
"StructuredLogDestinations":{
2426+
"shape":"StructuredLogDestinations",
2427+
"documentation":"<p>Specifies the log groups to which your server logs are sent.</p> <p>To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows:</p> <p> <code>arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*</code> </p> <p>For example, <code>arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*</code> </p> <p>If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an <code>update-server</code> call. For example:</p> <p> <code>update-server --server-id s-1234567890abcdef0 --structured-log-destinations</code> </p>"
24202428
}
24212429
},
24222430
"documentation":"<p>Describes the properties of a file transfer protocol-enabled server that was specified.</p>"
@@ -4250,6 +4258,12 @@
42504258
}
42514259
}
42524260
},
4261+
"StructuredLogDestinations":{
4262+
"type":"list",
4263+
"member":{"shape":"Arn"},
4264+
"max":1,
4265+
"min":0
4266+
},
42534267
"SubnetId":{"type":"string"},
42544268
"SubnetIds":{
42554269
"type":"list",
@@ -4713,6 +4727,10 @@
47134727
"WorkflowDetails":{
47144728
"shape":"WorkflowDetails",
47154729
"documentation":"<p>Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.</p> <p>In addition to a workflow to execute when a file is uploaded completely, <code>WorkflowDetails</code> can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when the server session disconnects while the file is still being uploaded.</p> <p>To remove an associated workflow from a server, you can provide an empty <code>OnUpload</code> object, as in the following example.</p> <p> <code>aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{\"OnUpload\":[]}'</code> </p>"
4730+
},
4731+
"StructuredLogDestinations":{
4732+
"shape":"StructuredLogDestinations",
4733+
"documentation":"<p>Specifies the log groups to which your server logs are sent.</p> <p>To specify a log group, you must provide the ARN for an existing log group. In this case, the format of the log group is as follows:</p> <p> <code>arn:aws:logs:region-name:amazon-account-id:log-group:log-group-name:*</code> </p> <p>For example, <code>arn:aws:logs:us-east-1:111122223333:log-group:mytestgroup:*</code> </p> <p>If you have previously specified a log group for a server, you can clear it, and in effect turn off structured logging, by providing an empty value for this parameter in an <code>update-server</code> call. For example:</p> <p> <code>update-server --server-id s-1234567890abcdef0 --structured-log-destinations</code> </p>"
47164734
}
47174735
}
47184736
},

0 commit comments

Comments
 (0)