Skip to content

Commit d13c883

Browse files
Updated generated files.
1 parent 69db7ba commit d13c883

File tree

1,117 files changed

+30717
-17441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,117 files changed

+30717
-17441
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,8 @@ Protocol tests can be found in the `sdk/test/ProtocolTests` directory. Protocol
876876
* This is the initial SDK release for AWS Telco Network Builder (TNB). AWS Telco Network Builder is a network automation service that helps you deploy and manage telecom networks.
877877
* [AWSSDK.TranscribeService](https://www.nuget.org/packages/AWSSDK.TranscribeService/)
878878
* Amazon Transcribe Public Preview Release
879+
* [AWSSDK.TranscribeStreaming](https://www.nuget.org/packages/AWSSDK.TranscribeStreaming/)
880+
* Amazon Transcribe Streaming service provides operations and objects for transcribing streaming speech to text.
879881
* [AWSSDK.Transfer](https://www.nuget.org/packages/AWSSDK.Transfer/)
880882
* AWS Transfer for SFTP is a fully managed service that enables transfer of secure data over the internet into and out of Amazon S3. SFTP is deeply embedded in data exchange workflows across different industries such as financial services, healthcare, advertising, and retail, among others.
881883
* [AWSSDK.Translate](https://www.nuget.org/packages/AWSSDK.Translate/)

sdk/AWSSDK.CodeAnalysis.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AWSSDK.Tnb.CodeAnalysis", "
781781
EndProject
782782
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AWSSDK.TranscribeService.CodeAnalysis", "code-analysis/ServiceAnalysis/TranscribeService/AWSSDK.TranscribeService.CodeAnalysis.csproj", "{1569BF27-B6F7-4B32-BD44-36D1D4E028BC}"
783783
EndProject
784-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AWSSDK.TranscribeStreaming.CodeAnalysis", "code-analysis/ServiceAnalysis/TranscribeStreaming/AWSSDK.TranscribeStreaming.CodeAnalysis.csproj", "{623EE51F-8E8B-4444-B7BB-A270F0F86295}"
784+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AWSSDK.TranscribeStreaming.CodeAnalysis", "code-analysis/ServiceAnalysis/TranscribeStreaming/AWSSDK.TranscribeStreaming.CodeAnalysis.csproj", "{4837DCE6-EEAF-4FA2-A390-0452D094DA91}"
785785
EndProject
786786
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AWSSDK.Transfer.CodeAnalysis", "code-analysis/ServiceAnalysis/Transfer/AWSSDK.Transfer.CodeAnalysis.csproj", "{AFC9445E-50F8-4F28-9C86-2396020ED970}"
787787
EndProject
@@ -2382,10 +2382,10 @@ Global
23822382
{1569BF27-B6F7-4B32-BD44-36D1D4E028BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
23832383
{1569BF27-B6F7-4B32-BD44-36D1D4E028BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
23842384
{1569BF27-B6F7-4B32-BD44-36D1D4E028BC}.Release|Any CPU.Build.0 = Release|Any CPU
2385-
{623EE51F-8E8B-4444-B7BB-A270F0F86295}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2386-
{623EE51F-8E8B-4444-B7BB-A270F0F86295}.Debug|Any CPU.Build.0 = Debug|Any CPU
2387-
{623EE51F-8E8B-4444-B7BB-A270F0F86295}.Release|Any CPU.ActiveCfg = Release|Any CPU
2388-
{623EE51F-8E8B-4444-B7BB-A270F0F86295}.Release|Any CPU.Build.0 = Release|Any CPU
2385+
{4837DCE6-EEAF-4FA2-A390-0452D094DA91}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2386+
{4837DCE6-EEAF-4FA2-A390-0452D094DA91}.Debug|Any CPU.Build.0 = Debug|Any CPU
2387+
{4837DCE6-EEAF-4FA2-A390-0452D094DA91}.Release|Any CPU.ActiveCfg = Release|Any CPU
2388+
{4837DCE6-EEAF-4FA2-A390-0452D094DA91}.Release|Any CPU.Build.0 = Release|Any CPU
23892389
{AFC9445E-50F8-4F28-9C86-2396020ED970}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23902390
{AFC9445E-50F8-4F28-9C86-2396020ED970}.Debug|Any CPU.Build.0 = Debug|Any CPU
23912391
{AFC9445E-50F8-4F28-9C86-2396020ED970}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -2859,7 +2859,7 @@ Global
28592859
{98DF67C0-394D-47FF-82E7-D86EAA973B69} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
28602860
{FF5B64C8-5A93-4F22-A9A4-7DDD6076E118} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
28612861
{1569BF27-B6F7-4B32-BD44-36D1D4E028BC} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
2862-
{623EE51F-8E8B-4444-B7BB-A270F0F86295} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
2862+
{4837DCE6-EEAF-4FA2-A390-0452D094DA91} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
28632863
{AFC9445E-50F8-4F28-9C86-2396020ED970} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
28642864
{0C6C821A-0A1D-4618-A8A8-38752F65113A} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}
28652865
{1552A00A-42A4-4EE4-B5B0-A54D7CFF57BD} = {1523203C-CD16-4B4A-8F9D-8ECCA3A327AA}

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,18 @@
524524
<max>128</max>
525525
<pattern>[a-zA-Z0-9_.-]+</pattern>
526526
</property-value-rule>
527+
<property-value-rule>
528+
<property>Amazon.Kinesis.Model.SubscribeToShardRequest.ConsumerARN</property>
529+
<min>1</min>
530+
<max>2048</max>
531+
<pattern>^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+</pattern>
532+
</property-value-rule>
533+
<property-value-rule>
534+
<property>Amazon.Kinesis.Model.SubscribeToShardRequest.ShardId</property>
535+
<min>1</min>
536+
<max>128</max>
537+
<pattern>[a-zA-Z0-9_.-]+</pattern>
538+
</property-value-rule>
527539
<property-value-rule>
528540
<property>Amazon.Kinesis.Model.UpdateShardCountRequest.StreamARN</property>
529541
<min>1</min>
@@ -748,18 +760,6 @@
748760
<property>Amazon.Kinesis.Model.SubscribeToShardEvent.MillisBehindLatest</property>
749761
<min>0</min>
750762
</property-value-rule>
751-
<property-value-rule>
752-
<property>Amazon.Kinesis.Model.SubscribeToShardInput.ConsumerARN</property>
753-
<min>1</min>
754-
<max>2048</max>
755-
<pattern>^(arn):aws.*:kinesis:.*:\d{12}:.*stream\/[a-zA-Z0-9_.-]+\/consumer\/[a-zA-Z0-9_.-]+:[0-9]+</pattern>
756-
</property-value-rule>
757-
<property-value-rule>
758-
<property>Amazon.Kinesis.Model.SubscribeToShardInput.ShardId</property>
759-
<min>1</min>
760-
<max>128</max>
761-
<pattern>[a-zA-Z0-9_.-]+</pattern>
762-
</property-value-rule>
763763
<property-value-rule>
764764
<property>Amazon.Kinesis.Model.Tag.Key</property>
765765
<min>1</min>

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,22 @@
183183
<property>Amazon.LexRuntimeV2.Model.RecognizeUtteranceResponse.SessionStateValue</property>
184184
<min>1</min>
185185
</property-value-rule>
186+
<property-value-rule>
187+
<property>Amazon.LexRuntimeV2.Model.StartConversationRequest.BotId</property>
188+
<min>10</min>
189+
<max>10</max>
190+
<pattern>^[0-9a-zA-Z]+$</pattern>
191+
</property-value-rule>
192+
<property-value-rule>
193+
<property>Amazon.LexRuntimeV2.Model.StartConversationRequest.LocaleId</property>
194+
<min>1</min>
195+
</property-value-rule>
196+
<property-value-rule>
197+
<property>Amazon.LexRuntimeV2.Model.StartConversationRequest.SessionId</property>
198+
<min>2</min>
199+
<max>100</max>
200+
<pattern>[0-9a-zA-Z._:-]+</pattern>
201+
</property-value-rule>
186202
<property-value-rule>
187203
<property>Amazon.LexRuntimeV2.Model.ActiveContext.Name</property>
188204
<min>1</min>
@@ -346,22 +362,6 @@
346362
<property>Amazon.LexRuntimeV2.Model.SessionState.OriginatingRequestId</property>
347363
<min>1</min>
348364
</property-value-rule>
349-
<property-value-rule>
350-
<property>Amazon.LexRuntimeV2.Model.StartConversationRequest.BotId</property>
351-
<min>10</min>
352-
<max>10</max>
353-
<pattern>^[0-9a-zA-Z]+$</pattern>
354-
</property-value-rule>
355-
<property-value-rule>
356-
<property>Amazon.LexRuntimeV2.Model.StartConversationRequest.LocaleId</property>
357-
<min>1</min>
358-
</property-value-rule>
359-
<property-value-rule>
360-
<property>Amazon.LexRuntimeV2.Model.StartConversationRequest.SessionId</property>
361-
<min>2</min>
362-
<max>100</max>
363-
<pattern>[0-9a-zA-Z._:-]+</pattern>
364-
</property-value-rule>
365365
<property-value-rule>
366366
<property>Amazon.LexRuntimeV2.Model.TextInputEvent.EventId</property>
367367
<min>2</min>

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

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,35 @@
8282
<max>1224</max>
8383
<pattern>arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}</pattern>
8484
</property-value-rule>
85+
<property-value-rule>
86+
<property>Amazon.QBusiness.Model.ChatRequest.ApplicationId</property>
87+
<min>36</min>
88+
<max>36</max>
89+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
90+
</property-value-rule>
91+
<property-value-rule>
92+
<property>Amazon.QBusiness.Model.ChatRequest.ClientToken</property>
93+
<min>1</min>
94+
<max>100</max>
95+
</property-value-rule>
96+
<property-value-rule>
97+
<property>Amazon.QBusiness.Model.ChatRequest.ConversationId</property>
98+
<min>36</min>
99+
<max>36</max>
100+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
101+
</property-value-rule>
102+
<property-value-rule>
103+
<property>Amazon.QBusiness.Model.ChatRequest.ParentMessageId</property>
104+
<min>36</min>
105+
<max>36</max>
106+
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
107+
</property-value-rule>
108+
<property-value-rule>
109+
<property>Amazon.QBusiness.Model.ChatRequest.UserId</property>
110+
<min>1</min>
111+
<max>1024</max>
112+
<pattern>\P{C}*</pattern>
113+
</property-value-rule>
85114
<property-value-rule>
86115
<property>Amazon.QBusiness.Model.ChatSyncRequest.ApplicationId</property>
87116
<min>36</min>
@@ -2070,35 +2099,6 @@
20702099
<max>350</max>
20712100
<pattern>\P{C}*</pattern>
20722101
</property-value-rule>
2073-
<property-value-rule>
2074-
<property>Amazon.QBusiness.Model.ChatInput.ApplicationId</property>
2075-
<min>36</min>
2076-
<max>36</max>
2077-
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
2078-
</property-value-rule>
2079-
<property-value-rule>
2080-
<property>Amazon.QBusiness.Model.ChatInput.ClientToken</property>
2081-
<min>1</min>
2082-
<max>100</max>
2083-
</property-value-rule>
2084-
<property-value-rule>
2085-
<property>Amazon.QBusiness.Model.ChatInput.ConversationId</property>
2086-
<min>36</min>
2087-
<max>36</max>
2088-
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
2089-
</property-value-rule>
2090-
<property-value-rule>
2091-
<property>Amazon.QBusiness.Model.ChatInput.ParentMessageId</property>
2092-
<min>36</min>
2093-
<max>36</max>
2094-
<pattern>[a-zA-Z0-9][a-zA-Z0-9-]{35}</pattern>
2095-
</property-value-rule>
2096-
<property-value-rule>
2097-
<property>Amazon.QBusiness.Model.ChatInput.UserId</property>
2098-
<min>1</min>
2099-
<max>1024</max>
2100-
<pattern>\P{C}*</pattern>
2101-
</property-value-rule>
21022102
<property-value-rule>
21032103
<property>Amazon.QBusiness.Model.ConflictException.ResourceId</property>
21042104
<min>1</min>
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<TargetFramework>netstandard2.0</TargetFramework>
4+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
5+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
6+
<ProjectGuid>{4837DCE6-EEAF-4FA2-A390-0452D094DA91}</ProjectGuid>
7+
<RootNamespace>Amazon.TranscribeStreaming.CodeAnalysis</RootNamespace>
8+
<AssemblyName>AWSSDK.TranscribeStreaming.CodeAnalysis</AssemblyName>
9+
10+
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute>
11+
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
12+
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute>
13+
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
14+
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
15+
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
16+
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
17+
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
18+
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="2.9.8" />
22+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.3.1" />
23+
</ItemGroup>
24+
25+
<ItemGroup>
26+
<EmbeddedResource Include="Generated/PropertyValueRules.xml">
27+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
28+
</EmbeddedResource>
29+
</ItemGroup>
30+
31+
<ItemGroup>
32+
<ProjectReference Include="../../SharedAnalysisCode/SharedAnalysisCode.csproj" />
33+
</ItemGroup>
34+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using Microsoft.CodeAnalysis;
2+
using Microsoft.CodeAnalysis.Diagnostics;
3+
4+
using Amazon.CodeAnalysis.Shared;
5+
6+
namespace Amazon.TranscribeStreaming.CodeAnalysis
7+
{
8+
[DiagnosticAnalyzer(LanguageNames.CSharp)]
9+
public class NullCollectionInitializerAnalyzer : AbstractNullCollectionInitializerAnalyzer
10+
{
11+
protected override string GetModelNamespace()
12+
{
13+
return "Amazon.TranscribeStreaming.Model";
14+
}
15+
}
16+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Collections.Immutable;
4+
using System.Reflection;
5+
using System.Linq;
6+
using System.Xml.Linq;
7+
using System.Threading;
8+
using Microsoft.CodeAnalysis;
9+
using Microsoft.CodeAnalysis.CSharp;
10+
using Microsoft.CodeAnalysis.CSharp.Syntax;
11+
using Microsoft.CodeAnalysis.Diagnostics;
12+
13+
using Amazon.CodeAnalysis.Shared;
14+
15+
namespace Amazon.TranscribeStreaming.CodeAnalysis
16+
{
17+
[DiagnosticAnalyzer(LanguageNames.CSharp)]
18+
public class PropertyValueAssignmentAnalyzer : AbstractPropertyValueAssignmentAnalyzer
19+
{
20+
public override string GetServiceName()
21+
{
22+
return "TranscribeStreaming";
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)