Skip to content

Commit f3f03f9

Browse files
4.1.663
1 parent 0f29638 commit f3f03f9

40 files changed

+1699
-838
lines changed

Include/sdk/_sdk-versions.json

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

changelogs/CHANGELOG.2024.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
### 4.1.662 (2024-09-23 21:02Z)
1+
### 4.1.663 (2024-09-24 21:41Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.892.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Kinesis
4+
* Modified cmdlet New-KINStream: added parameter Tag.
5+
* Amazon Pinpoint SMS Voice V2
6+
* Added cmdlet Get-SMSVResourcePolicy leveraging the GetResourcePolicy service API.
7+
* Added cmdlet Remove-SMSVResourcePolicy leveraging the DeleteResourcePolicy service API.
8+
* Added cmdlet Write-SMSVResourcePolicy leveraging the PutResourcePolicy service API.
9+
* Modified cmdlet Get-SMSVOptOutList: added parameter Owner.
10+
* Modified cmdlet Get-SMSVPhoneNumber: added parameter Owner.
11+
* Modified cmdlet Get-SMSVPool: added parameter Owner.
12+
* Modified cmdlet Get-SMSVSenderId: added parameter Owner.
13+
14+
### 4.1.662 (2024-09-23 21:02Z)
215
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.891.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
316
* Amazon EMR Serverless
417
* Modified cmdlet New-EMRServerlessApplication: added parameters SchedulerConfiguration_MaxConcurrentRun and SchedulerConfiguration_QueueTimeoutMinute.

changelogs/CHANGELOG.ALL.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
### 4.1.662 (2024-09-23 21:02Z)
1+
### 4.1.663 (2024-09-24 21:41Z)
2+
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.892.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
3+
* Amazon Kinesis
4+
* Modified cmdlet New-KINStream: added parameter Tag.
5+
* Amazon Pinpoint SMS Voice V2
6+
* Added cmdlet Get-SMSVResourcePolicy leveraging the GetResourcePolicy service API.
7+
* Added cmdlet Remove-SMSVResourcePolicy leveraging the DeleteResourcePolicy service API.
8+
* Added cmdlet Write-SMSVResourcePolicy leveraging the PutResourcePolicy service API.
9+
* Modified cmdlet Get-SMSVOptOutList: added parameter Owner.
10+
* Modified cmdlet Get-SMSVPhoneNumber: added parameter Owner.
11+
* Modified cmdlet Get-SMSVPool: added parameter Owner.
12+
* Modified cmdlet Get-SMSVSenderId: added parameter Owner.
13+
14+
### 4.1.662 (2024-09-23 21:02Z)
215
* AWS Tools for PowerShell now use AWS .NET SDK 3.7.891.0 and leverage its new features and improvements. Please find a description of the changes at https://github.com/aws/aws-sdk-net/blob/main/changelogs/SDK.CHANGELOG.ALL.md.
316
* Amazon EMR Serverless
417
* Modified cmdlet New-EMRServerlessApplication: added parameters SchedulerConfiguration_MaxConcurrentRun and SchedulerConfiguration_QueueTimeoutMinute.

generator/AWSPSGeneratorLib/Config/ServiceConfig/pinpoint-sms-voice-v2.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@
123123
<Params />
124124
<TypesNotToFlatten />
125125
</ServiceOperation>
126+
<ServiceOperation MethodName="DeleteResourcePolicy" OutputProperty="*" Verb="Remove" Noun="ResourcePolicy" ShouldProcessTarget="ResourceArn" PipelineParameter="ResourceArn" NoPipelineParameter="false">
127+
<Params />
128+
<TypesNotToFlatten />
129+
</ServiceOperation>
126130
<ServiceOperation MethodName="DeleteTextMessageSpendLimitOverride" OutputProperty="*" Verb="Remove" Noun="TextMessageSpendLimitOverride" AnonymousShouldProcessTarget="true" PipelineParameter="" NoPipelineParameter="true">
127131
<Params />
128132
<TypesNotToFlatten />
@@ -227,6 +231,10 @@
227231
<Params />
228232
<TypesNotToFlatten />
229233
</ServiceOperation>
234+
<ServiceOperation MethodName="GetResourcePolicy" OutputProperty="*" Verb="Get" Noun="ResourcePolicy" PipelineParameter="ResourceArn" NoPipelineParameter="false">
235+
<Params />
236+
<TypesNotToFlatten />
237+
</ServiceOperation>
230238
<ServiceOperation MethodName="ListPoolOriginationIdentities" OutputProperty="*" Verb="Get" Noun="PoolOriginationIdentityList" PipelineParameter="PoolId" NoPipelineParameter="false">
231239
<Params />
232240
<TypesNotToFlatten />
@@ -251,6 +259,10 @@
251259
<Params />
252260
<TypesNotToFlatten />
253261
</ServiceOperation>
262+
<ServiceOperation MethodName="PutResourcePolicy" OutputProperty="*" Verb="Write" Noun="ResourcePolicy" ShouldProcessTarget="ResourceArn" PipelineParameter="ResourceArn" NoPipelineParameter="false">
263+
<Params />
264+
<TypesNotToFlatten />
265+
</ServiceOperation>
254266
<ServiceOperation MethodName="ReleasePhoneNumber" OutputProperty="*" Verb="Remove" Noun="PhoneNumber" ShouldProcessTarget="PhoneNumberId" PipelineParameter="PhoneNumberId" NoPipelineParameter="false">
255267
<Params />
256268
<TypesNotToFlatten />

modules/AWSPowerShell/AWSAliases.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21964,6 +21964,8 @@ Set-Alias -Name Delete-SMSVRegistrationAttachment -Value Remove-SMSVRegistration
2196421964
Set-Alias -Name SMSV-DeleteRegistrationAttachment -Value Remove-SMSVRegistrationAttachment
2196521965
Set-Alias -Name Delete-SMSVRegistrationFieldValue -Value Remove-SMSVRegistrationFieldValue
2196621966
Set-Alias -Name SMSV-DeleteRegistrationFieldValue -Value Remove-SMSVRegistrationFieldValue
21967+
Set-Alias -Name Delete-SMSVResourcePolicy -Value Remove-SMSVResourcePolicy
21968+
Set-Alias -Name SMSV-DeleteResourcePolicy -Value Remove-SMSVResourcePolicy
2196721969
Set-Alias -Name Delete-SMSVTextMessageSpendLimitOverride -Value Remove-SMSVTextMessageSpendLimitOverride
2196821970
Set-Alias -Name SMSV-DeleteTextMessageSpendLimitOverride -Value Remove-SMSVTextMessageSpendLimitOverride
2196921971
Set-Alias -Name Delete-SMSVVerifiedDestinationNumber -Value Remove-SMSVVerifiedDestinationNumber
@@ -22034,6 +22036,7 @@ Set-Alias -Name SMSV-DisassociateProtectConfiguration -Value Unregister-SMSVProt
2203422036
Set-Alias -Name Discard-SMSVRegistrationVersion -Value Close-SMSVRegistrationVersion
2203522037
Set-Alias -Name SMSV-DiscardRegistrationVersion -Value Close-SMSVRegistrationVersion
2203622038
Set-Alias -Name SMSV-GetProtectConfigurationCountryRuleSet -Value Get-SMSVProtectConfigurationCountryRuleSet
22039+
Set-Alias -Name SMSV-GetResourcePolicy -Value Get-SMSVResourcePolicy
2203722040
Set-Alias -Name List-SMSVPoolOriginationIdentities -Value Get-SMSVPoolOriginationIdentityList
2203822041
Set-Alias -Name List-SMSVPoolOriginationIdentityList -Value Get-SMSVPoolOriginationIdentityList
2203922042
Set-Alias -Name SMSV-ListPoolOriginationIdentities -Value Get-SMSVPoolOriginationIdentityList
@@ -22048,6 +22051,8 @@ Set-Alias -Name Put-SMSVOptedOutNumber -Value Set-SMSVOptedOutNumber
2204822051
Set-Alias -Name SMSV-PutOptedOutNumber -Value Set-SMSVOptedOutNumber
2204922052
Set-Alias -Name Put-SMSVRegistrationFieldValue -Value Set-SMSVRegistrationFieldValue
2205022053
Set-Alias -Name SMSV-PutRegistrationFieldValue -Value Set-SMSVRegistrationFieldValue
22054+
Set-Alias -Name Put-SMSVResourcePolicy -Value Write-SMSVResourcePolicy
22055+
Set-Alias -Name SMSV-PutResourcePolicy -Value Write-SMSVResourcePolicy
2205122056
Set-Alias -Name Release-SMSVPhoneNumber -Value Remove-SMSVPhoneNumber
2205222057
Set-Alias -Name SMSV-ReleasePhoneNumber -Value Remove-SMSVPhoneNumber
2205322058
Set-Alias -Name Release-SMSVSenderId -Value Remove-SMSVSenderId

modules/AWSPowerShell/AWSPowerShellCompleters.psm1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53003,6 +53003,18 @@ $SMSV_Completers = {
5300353003
break
5300453004
}
5300553005

53006+
# Amazon.PinpointSMSVoiceV2.Owner
53007+
{
53008+
($_ -eq "Get-SMSVOptOutList/Owner") -Or
53009+
($_ -eq "Get-SMSVPhoneNumber/Owner") -Or
53010+
($_ -eq "Get-SMSVPool/Owner") -Or
53011+
($_ -eq "Get-SMSVSenderId/Owner")
53012+
}
53013+
{
53014+
$v = "SELF","SHARED"
53015+
break
53016+
}
53017+
5300653018
# Amazon.PinpointSMSVoiceV2.RequestableNumberType
5300753019
"New-SMSVPhoneNumber/NumberType"
5300853020
{
@@ -53046,6 +53058,7 @@ $SMSV_map = @{
5304653058
"MessageType"=@("New-SMSVPhoneNumber","New-SMSVPool","Send-SMSVTextMessage","Set-SMSVDefaultMessageType")
5304753059
"NumberCapability"=@("Get-SMSVProtectConfigurationCountryRuleSet","Update-SMSVProtectConfigurationCountryRuleSet")
5304853060
"NumberType"=@("New-SMSVPhoneNumber")
53061+
"Owner"=@("Get-SMSVOptOutList","Get-SMSVPhoneNumber","Get-SMSVPool","Get-SMSVSenderId")
5304953062
"VerificationChannel"=@("Send-SMSVDestinationNumberVerificationCode")
5305053063
"VoiceId"=@("Send-SMSVVoiceMessage")
5305153064
}
@@ -53126,6 +53139,7 @@ $SMSV_SelectMap = @{
5312653139
"Remove-SMSVRegistration",
5312753140
"Remove-SMSVRegistrationAttachment",
5312853141
"Remove-SMSVRegistrationFieldValue",
53142+
"Remove-SMSVResourcePolicy",
5312953143
"Remove-SMSVTextMessageSpendLimitOverride",
5313053144
"Remove-SMSVVerifiedDestinationNumber",
5313153145
"Remove-SMSVVoiceMessageSpendLimitOverride",
@@ -53152,12 +53166,14 @@ $SMSV_SelectMap = @{
5315253166
"Unregister-SMSVProtectConfiguration",
5315353167
"Close-SMSVRegistrationVersion",
5315453168
"Get-SMSVProtectConfigurationCountryRuleSet",
53169+
"Get-SMSVResourcePolicy",
5315553170
"Get-SMSVPoolOriginationIdentityList",
5315653171
"Get-SMSVRegistrationAssociationList",
5315753172
"Get-SMSVResourceTagList",
5315853173
"Set-SMSVKeyword",
5315953174
"Set-SMSVOptedOutNumber",
5316053175
"Set-SMSVRegistrationFieldValue",
53176+
"Write-SMSVResourcePolicy",
5316153177
"Remove-SMSVPhoneNumber",
5316253178
"Remove-SMSVSenderId",
5316353179
"New-SMSVPhoneNumber",

modules/AWSPowerShell/Cmdlets/Kinesis/Basic/New-KINStream-Cmdlet.cs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ namespace Amazon.PowerShell.Cmdlets.KIN
7070
/// You can use <a>DescribeStreamSummary</a> to check the stream status, which is returned
7171
/// in <c>StreamStatus</c>.
7272
/// </para><para><a>CreateStream</a> has a limit of five transactions per second per account.
73+
/// </para><para>
74+
/// You can add tags to the stream when making a <c>CreateStream</c> request by setting
75+
/// the <c>Tags</c> parameter. If you pass <c>Tags</c> parameter, in addition to having
76+
/// <c>kinesis:createStream</c> permission, you must also have <c>kinesis:addTagsToStream</c>
77+
/// permission for the stream that will be created. Tags will take effect from the <c>CREATING</c>
78+
/// status of the stream.
7379
/// </para>
7480
/// </summary>
7581
[Cmdlet("New", "KINStream", SupportsShouldProcess = true, ConfirmImpact = ConfirmImpact.Medium)]
@@ -129,6 +135,17 @@ public partial class NewKINStreamCmdlet : AmazonKinesisClientCmdlet, IExecutor
129135
public System.String StreamName { get; set; }
130136
#endregion
131137

138+
#region Parameter Tag
139+
/// <summary>
140+
/// <para>
141+
/// <para>A set of up to 10 key-value pairs to use to create the tags.</para>
142+
/// </para>
143+
/// </summary>
144+
[System.Management.Automation.Parameter(ValueFromPipelineByPropertyName = true)]
145+
[Alias("Tags")]
146+
public System.Collections.Hashtable Tag { get; set; }
147+
#endregion
148+
132149
#region Parameter Select
133150
/// <summary>
134151
/// Use the -Select parameter to control the cmdlet output. The cmdlet doesn't have a return value by default.
@@ -199,6 +216,14 @@ protected override void ProcessRecord()
199216
WriteWarning("You are passing $null as a value for parameter StreamName which is marked as required. In case you believe this parameter was incorrectly marked as required, report this by opening an issue at https://github.com/aws/aws-tools-for-powershell/issues.");
200217
}
201218
#endif
219+
if (this.Tag != null)
220+
{
221+
context.Tag = new Dictionary<System.String, System.String>(StringComparer.Ordinal);
222+
foreach (var hashKey in this.Tag.Keys)
223+
{
224+
context.Tag.Add((String)hashKey, (System.String)(this.Tag[hashKey]));
225+
}
226+
}
202227

203228
// allow further manipulation of loaded context prior to processing
204229
PostExecutionContextLoad(context);
@@ -242,6 +267,10 @@ public object Execute(ExecutorContext context)
242267
{
243268
request.StreamName = cmdletContext.StreamName;
244269
}
270+
if (cmdletContext.Tag != null)
271+
{
272+
request.Tags = cmdletContext.Tag;
273+
}
245274

246275
CmdletOutput output;
247276

@@ -306,6 +335,7 @@ internal partial class CmdletContext : ExecutorContext
306335
public System.Int32? ShardCount { get; set; }
307336
public Amazon.Kinesis.StreamMode StreamModeDetails_StreamMode { get; set; }
308337
public System.String StreamName { get; set; }
338+
public Dictionary<System.String, System.String> Tag { get; set; }
309339
public System.Func<Amazon.Kinesis.Model.CreateStreamResponse, NewKINStreamCmdlet, object> Select { get; set; } =
310340
(response, cmdlet) => null;
311341
}

modules/AWSPowerShell/Cmdlets/Kinesis/Basic/Register-KINStreamConsumer-Cmdlet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace Amazon.PowerShell.Cmdlets.KIN
3939
/// You can register up to 20 consumers per stream. A given consumer can only be registered
4040
/// with one stream at a time.
4141
/// </para><para>
42-
/// For an example of how to use this operations, see <a href="/streams/latest/dev/building-enhanced-consumers-api.html">Enhanced
42+
/// For an example of how to use this operation, see <a href="https://docs.aws.amazon.com/streams/latest/dev/building-enhanced-consumers-api.html">Enhanced
4343
/// Fan-Out Using the Kinesis Data Streams API</a>.
4444
/// </para><para>
4545
/// The use of this operation has a limit of five transactions per second per account.

modules/AWSPowerShell/Cmdlets/PinpointSMSVoiceV2/AWS.Tools.PinpointSMSVoiceV2.Completers.psm1

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ $SMSV_Completers = {
116116
break
117117
}
118118

119+
# Amazon.PinpointSMSVoiceV2.Owner
120+
{
121+
($_ -eq "Get-SMSVOptOutList/Owner") -Or
122+
($_ -eq "Get-SMSVPhoneNumber/Owner") -Or
123+
($_ -eq "Get-SMSVPool/Owner") -Or
124+
($_ -eq "Get-SMSVSenderId/Owner")
125+
}
126+
{
127+
$v = "SELF","SHARED"
128+
break
129+
}
130+
119131
# Amazon.PinpointSMSVoiceV2.RequestableNumberType
120132
"New-SMSVPhoneNumber/NumberType"
121133
{
@@ -159,6 +171,7 @@ $SMSV_map = @{
159171
"MessageType"=@("New-SMSVPhoneNumber","New-SMSVPool","Send-SMSVTextMessage","Set-SMSVDefaultMessageType")
160172
"NumberCapability"=@("Get-SMSVProtectConfigurationCountryRuleSet","Update-SMSVProtectConfigurationCountryRuleSet")
161173
"NumberType"=@("New-SMSVPhoneNumber")
174+
"Owner"=@("Get-SMSVOptOutList","Get-SMSVPhoneNumber","Get-SMSVPool","Get-SMSVSenderId")
162175
"VerificationChannel"=@("Send-SMSVDestinationNumberVerificationCode")
163176
"VoiceId"=@("Send-SMSVVoiceMessage")
164177
}
@@ -239,6 +252,7 @@ $SMSV_SelectMap = @{
239252
"Remove-SMSVRegistration",
240253
"Remove-SMSVRegistrationAttachment",
241254
"Remove-SMSVRegistrationFieldValue",
255+
"Remove-SMSVResourcePolicy",
242256
"Remove-SMSVTextMessageSpendLimitOverride",
243257
"Remove-SMSVVerifiedDestinationNumber",
244258
"Remove-SMSVVoiceMessageSpendLimitOverride",
@@ -265,12 +279,14 @@ $SMSV_SelectMap = @{
265279
"Unregister-SMSVProtectConfiguration",
266280
"Close-SMSVRegistrationVersion",
267281
"Get-SMSVProtectConfigurationCountryRuleSet",
282+
"Get-SMSVResourcePolicy",
268283
"Get-SMSVPoolOriginationIdentityList",
269284
"Get-SMSVRegistrationAssociationList",
270285
"Get-SMSVResourceTagList",
271286
"Set-SMSVKeyword",
272287
"Set-SMSVOptedOutNumber",
273288
"Set-SMSVRegistrationFieldValue",
289+
"Write-SMSVResourcePolicy",
274290
"Remove-SMSVPhoneNumber",
275291
"Remove-SMSVSenderId",
276292
"New-SMSVPhoneNumber",

modules/AWSPowerShell/Cmdlets/PinpointSMSVoiceV2/AWS.Tools.PinpointSMSVoiceV2.psd1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5
108108
'Get-SMSVRegistrationSectionDefinition',
109109
'Get-SMSVRegistrationTypeDefinition',
110110
'Get-SMSVRegistrationVersion',
111+
'Get-SMSVResourcePolicy',
111112
'Get-SMSVResourceTagList',
112113
'Get-SMSVSenderId',
113114
'Get-SMSVSpendLimit',
@@ -140,6 +141,7 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5
140141
'Remove-SMSVRegistration',
141142
'Remove-SMSVRegistrationAttachment',
142143
'Remove-SMSVRegistrationFieldValue',
144+
'Remove-SMSVResourcePolicy',
143145
'Remove-SMSVResourceTag',
144146
'Remove-SMSVSenderId',
145147
'Remove-SMSVTextMessageSpendLimitOverride',
@@ -167,7 +169,8 @@ This version of AWS Tools for PowerShell is compatible with Windows PowerShell 5
167169
'Update-SMSVPool',
168170
'Update-SMSVProtectConfiguration',
169171
'Update-SMSVProtectConfigurationCountryRuleSet',
170-
'Update-SMSVSenderId')
172+
'Update-SMSVSenderId',
173+
'Write-SMSVResourcePolicy')
171174

172175
# Variables to export from this module
173176
VariablesToExport = '*'

0 commit comments

Comments
 (0)