AWS code-library documentation change
Summary
Added PowerShell V5 example for creating app uploads in Device Farm
Security assessment
General operational example for file uploads without security implications or guidance.
Diff
diff --git a/code-library/latest/ug/device-farm_example_device-farm_CreateUpload_section.md b/code-library/latest/ug/device-farm_example_device-farm_CreateUpload_section.md index 4e6015a64..cae280cf1 100644 --- a//code-library/latest/ug/device-farm_example_device-farm_CreateUpload_section.md +++ b//code-library/latest/ug/device-farm_example_device-farm_CreateUpload_section.md @@ -74,0 +75,14 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example creates an AWS Device Farm upload for an Android app. You can get the project ARN from the output of New-DFProject or Get-DFProjectList. Use the signed URL in the New-DFUpload output to upload a file to Device Farm.** + + + New-DFUpload -ContentType "application/octet-stream" -ProjectArn "arn:aws:devicefarm:us-west-2:123456789012:project:EXAMPLEa-7ec1-4741-9c1f-d3e04EXAMPLE" -Name "app.apk" -Type ANDROID_APP + + + * For API details, see [CreateUpload](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +