AWS code-library documentation change
Summary
Added PowerShell V5 example for PollForJobs action with sample output and API reference
Security assessment
The change adds a code example demonstrating normal API usage without any security controls, warnings, or authentication context
Diff
diff --git a/code-library/latest/ug/codepipeline_example_codepipeline_PollForJobs_section.md b/code-library/latest/ug/codepipeline_example_codepipeline_PollForJobs_section.md index e94a48a0b..5a6e88a27 100644 --- a//code-library/latest/ug/codepipeline_example_codepipeline_PollForJobs_section.md +++ b//code-library/latest/ug/codepipeline_example_codepipeline_PollForJobs_section.md @@ -129,0 +130,21 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example gets information about all actionable jobs for the specified action category, owner, provider, version, and query parameters.** + + + Get-CPActionableJobList -ActionTypeId_Category Build -ActionTypeId_Owner Custom -ActionTypeId_Provider MyCustomProviderName -ActionTypeId_Version 1 -QueryParam @{"ProjectName" = "MyProjectName"} + + +**Output:** + + + AccountId Data Id Nonce + --------- ---- -- ----- + 80398EXAMPLE Amazon.CodePipeline.Model.JobData 0de392f5-712d-4f41-ace3-f57a0EXAMPLE 3 + + * For API details, see [PollForJobs](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +