Skip to content

Commit 7f11d4a

Browse files
Add support to receive dual stack MediaPlacement URLs in Chime Meetings SDK
1 parent f4f8319 commit 7f11d4a

25 files changed

+780
-173
lines changed

generator/ServiceModels/chime-sdk-meetings/chime-sdk-meetings-2021-07-15.api.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,8 @@
539539
"MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"},
540540
"PrimaryMeetingId":{"shape":"PrimaryMeetingId"},
541541
"TenantIds":{"shape":"TenantIdList"},
542-
"Tags":{"shape":"TagList"}
542+
"Tags":{"shape":"TagList"},
543+
"MediaPlacementNetworkType":{"shape":"MediaPlacementNetworkType"}
543544
}
544545
},
545546
"CreateMeetingResponse":{
@@ -569,7 +570,8 @@
569570
"Attendees":{"shape":"CreateMeetingWithAttendeesRequestItemList"},
570571
"PrimaryMeetingId":{"shape":"PrimaryMeetingId"},
571572
"TenantIds":{"shape":"TenantIdList"},
572-
"Tags":{"shape":"TagList"}
573+
"Tags":{"shape":"TagList"},
574+
"MediaPlacementNetworkType":{"shape":"MediaPlacementNetworkType"}
573575
}
574576
},
575577
"CreateMeetingWithAttendeesRequestItemList":{
@@ -804,6 +806,13 @@
804806
"EventIngestionUrl":{"shape":"String"}
805807
}
806808
},
809+
"MediaPlacementNetworkType":{
810+
"type":"string",
811+
"enum":[
812+
"Ipv4Only",
813+
"DualStack"
814+
]
815+
},
807816
"MediaRegion":{
808817
"type":"string",
809818
"max":64,

generator/ServiceModels/chime-sdk-meetings/chime-sdk-meetings-2021-07-15.docs.json

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

generator/ServiceModels/chime-sdk-meetings/chime-sdk-meetings-2021-07-15.normal.json

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

sdk/src/Services/ChimeSDKMeetings/Generated/Model/Attendee.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ internal bool IsSetAttendeeId()
104104
/// </para>
105105
/// </li> <li>
106106
/// <para>
107+
/// If meeting features is defined as <c>Video:MaxResolution:None</c> but <c>Content:MaxResolution</c>
108+
/// is defined as something other than <c>None</c> and attendee capabilities are not defined
109+
/// in the API request, then the default attendee video capability is set to <c>Receive</c>
110+
/// and attendee content capability is set to <c>SendReceive</c>. This is because content
111+
/// <c>SendReceive</c> requires video to be at least <c>Receive</c>.
112+
/// </para>
113+
/// </li> <li>
114+
/// <para>
107115
/// When you change an <c>audio</c> capability from <c>None</c> or <c>Receive</c> to <c>Send</c>
108116
/// or <c>SendReceive</c> , and if the attendee left their microphone unmuted, audio will
109117
/// flow from the attendee to the other meeting participants.

sdk/src/Services/ChimeSDKMeetings/Generated/Model/AttendeeCapabilities.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ namespace Amazon.ChimeSDKMeetings.Model
6363
/// </para>
6464
/// </li> <li>
6565
/// <para>
66+
/// If meeting features is defined as <c>Video:MaxResolution:None</c> but <c>Content:MaxResolution</c>
67+
/// is defined as something other than <c>None</c> and attendee capabilities are not defined
68+
/// in the API request, then the default attendee video capability is set to <c>Receive</c>
69+
/// and attendee content capability is set to <c>SendReceive</c>. This is because content
70+
/// <c>SendReceive</c> requires video to be at least <c>Receive</c>.
71+
/// </para>
72+
/// </li> <li>
73+
/// <para>
6674
/// When you change an <c>audio</c> capability from <c>None</c> or <c>Receive</c> to <c>Send</c>
6775
/// or <c>SendReceive</c> , and an attendee unmutes their microphone, audio flows from
6876
/// the attendee to the other meeting participants.

sdk/src/Services/ChimeSDKMeetings/Generated/Model/BatchCreateAttendeeRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Amazon.ChimeSDKMeetings.Model
3232
/// <summary>
3333
/// Container for the parameters to the BatchCreateAttendee operation.
3434
/// Creates up to 100 attendees for an active Amazon Chime SDK meeting. For more information
35-
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html">Using
35+
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
3636
/// the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.
3737
/// </summary>
3838
public partial class BatchCreateAttendeeRequest : AmazonChimeSDKMeetingsRequest

sdk/src/Services/ChimeSDKMeetings/Generated/Model/BatchUpdateAttendeeCapabilitiesExceptRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ namespace Amazon.ChimeSDKMeetings.Model
6666
/// </para>
6767
/// </li> <li>
6868
/// <para>
69+
/// If meeting features is defined as <c>Video:MaxResolution:None</c> but <c>Content:MaxResolution</c>
70+
/// is defined as something other than <c>None</c> and attendee capabilities are not defined
71+
/// in the API request, then the default attendee video capability is set to <c>Receive</c>
72+
/// and attendee content capability is set to <c>SendReceive</c>. This is because content
73+
/// <c>SendReceive</c> requires video to be at least <c>Receive</c>.
74+
/// </para>
75+
/// </li> <li>
76+
/// <para>
6977
/// When you change an <c>audio</c> capability from <c>None</c> or <c>Receive</c> to <c>Send</c>
7078
/// or <c>SendReceive</c> , and if the attendee left their microphone unmuted, audio will
7179
/// flow from the attendee to the other meeting participants.

sdk/src/Services/ChimeSDKMeetings/Generated/Model/CreateAttendeeRequest.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Amazon.ChimeSDKMeetings.Model
3232
/// <summary>
3333
/// Container for the parameters to the CreateAttendee operation.
3434
/// Creates a new attendee for an active Amazon Chime SDK meeting. For more information
35-
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html">Using
35+
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
3636
/// the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.
3737
/// </summary>
3838
public partial class CreateAttendeeRequest : AmazonChimeSDKMeetingsRequest
@@ -80,6 +80,14 @@ public partial class CreateAttendeeRequest : AmazonChimeSDKMeetingsRequest
8080
/// </para>
8181
/// </li> <li>
8282
/// <para>
83+
/// If meeting features is defined as <c>Video:MaxResolution:None</c> but <c>Content:MaxResolution</c>
84+
/// is defined as something other than <c>None</c> and attendee capabilities are not defined
85+
/// in the API request, then the default attendee video capability is set to <c>Receive</c>
86+
/// and attendee content capability is set to <c>SendReceive</c>. This is because content
87+
/// <c>SendReceive</c> requires video to be at least <c>Receive</c>.
88+
/// </para>
89+
/// </li> <li>
90+
/// <para>
8391
/// When you change an <c>audio</c> capability from <c>None</c> or <c>Receive</c> to <c>Send</c>
8492
/// or <c>SendReceive</c> , and if the attendee left their microphone unmuted, audio will
8593
/// flow from the attendee to the other meeting participants.

sdk/src/Services/ChimeSDKMeetings/Generated/Model/CreateMeetingRequest.cs

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,33 @@ namespace Amazon.ChimeSDKMeetings.Model
3232
/// <summary>
3333
/// Container for the parameters to the CreateMeeting operation.
3434
/// Creates a new Amazon Chime SDK meeting in the specified media Region with no initial
35-
/// attendees. For more information about specifying media Regions, see <a href="https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html">Amazon
36-
/// Chime SDK Media Regions</a> in the <i>Amazon Chime Developer Guide</i>. For more information
37-
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html">Using
38-
/// the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.
35+
/// attendees. For more information about specifying media Regions, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions">Available
36+
/// Regions</a> and <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/chime-sdk-meetings-regions.html">Using
37+
/// meeting Regions</a>, both in the <i>Amazon Chime SDK Developer Guide</i>. For more
38+
/// information about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
39+
/// the Amazon Chime SDK</a> in the <i>Amazon Chime SDK Developer Guide</i>.
40+
///
41+
/// <note>
42+
/// <para>
43+
/// If you use this API in conjuction with the and APIs, and you don't specify the <c>MeetingFeatures.Content.MaxResolution</c>
44+
/// or <c>MeetingFeatures.Video.MaxResolution</c> parameters, the following defaults are
45+
/// used:
46+
/// </para>
47+
/// <ul> <li>
48+
/// <para>
49+
/// Content.MaxResolution: FHD
50+
/// </para>
51+
/// </li> <li>
52+
/// <para>
53+
/// Video.MaxResolution: HD
54+
/// </para>
55+
/// </li> </ul> </note>
3956
/// </summary>
4057
public partial class CreateMeetingRequest : AmazonChimeSDKMeetingsRequest
4158
{
4259
private string _clientRequestToken;
4360
private string _externalMeetingId;
61+
private MediaPlacementNetworkType _mediaPlacementNetworkType;
4462
private string _mediaRegion;
4563
private MeetingFeaturesConfiguration _meetingFeatures;
4664
private string _meetingHostId;
@@ -97,6 +115,25 @@ internal bool IsSetExternalMeetingId()
97115
return this._externalMeetingId != null;
98116
}
99117

118+
/// <summary>
119+
/// Gets and sets the property MediaPlacementNetworkType.
120+
/// <para>
121+
/// The type of network for the media placement. Either IPv4 only or dual-stack (IPv4
122+
/// and IPv6).
123+
/// </para>
124+
/// </summary>
125+
public MediaPlacementNetworkType MediaPlacementNetworkType
126+
{
127+
get { return this._mediaPlacementNetworkType; }
128+
set { this._mediaPlacementNetworkType = value; }
129+
}
130+
131+
// Check to see if MediaPlacementNetworkType property is set
132+
internal bool IsSetMediaPlacementNetworkType()
133+
{
134+
return this._mediaPlacementNetworkType != null;
135+
}
136+
100137
/// <summary>
101138
/// Gets and sets the property MediaRegion.
102139
/// <para>

sdk/src/Services/ChimeSDKMeetings/Generated/Model/CreateMeetingWithAttendeesRequest.cs

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,34 @@ namespace Amazon.ChimeSDKMeetings.Model
3232
/// <summary>
3333
/// Container for the parameters to the CreateMeetingWithAttendees operation.
3434
/// Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees.
35-
/// For more information about specifying media Regions, see <a href="https://docs.aws.amazon.com/chime/latest/dg/chime-sdk-meetings-regions.html">Amazon
36-
/// Chime SDK Media Regions</a> in the <i>Amazon Chime Developer Guide</i>. For more information
37-
/// about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime/latest/dg/meetings-sdk.html">Using
38-
/// the Amazon Chime SDK</a> in the <i>Amazon Chime Developer Guide</i>.
35+
/// For more information about specifying media Regions, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions">Available
36+
/// Regions</a> and <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/chime-sdk-meetings-regions.html">Using
37+
/// meeting Regions</a>, both in the <i>Amazon Chime SDK Developer Guide</i>. For more
38+
/// information about the Amazon Chime SDK, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/meetings-sdk.html">Using
39+
/// the Amazon Chime SDK</a> in the <i>Amazon Chime SDK Developer Guide</i>.
40+
///
41+
/// <note>
42+
/// <para>
43+
/// If you use this API in conjuction with the and APIs, and you don't specify the <c>MeetingFeatures.Content.MaxResolution</c>
44+
/// or <c>MeetingFeatures.Video.MaxResolution</c> parameters, the following defaults are
45+
/// used:
46+
/// </para>
47+
/// <ul> <li>
48+
/// <para>
49+
/// Content.MaxResolution: FHD
50+
/// </para>
51+
/// </li> <li>
52+
/// <para>
53+
/// Video.MaxResolution: HD
54+
/// </para>
55+
/// </li> </ul> </note>
3956
/// </summary>
4057
public partial class CreateMeetingWithAttendeesRequest : AmazonChimeSDKMeetingsRequest
4158
{
4259
private List<CreateAttendeeRequestItem> _attendees = AWSConfigs.InitializeCollections ? new List<CreateAttendeeRequestItem>() : null;
4360
private string _clientRequestToken;
4461
private string _externalMeetingId;
62+
private MediaPlacementNetworkType _mediaPlacementNetworkType;
4563
private string _mediaRegion;
4664
private MeetingFeaturesConfiguration _meetingFeatures;
4765
private string _meetingHostId;
@@ -117,6 +135,25 @@ internal bool IsSetExternalMeetingId()
117135
return this._externalMeetingId != null;
118136
}
119137

138+
/// <summary>
139+
/// Gets and sets the property MediaPlacementNetworkType.
140+
/// <para>
141+
/// The type of network for the media placement. Either IPv4 only or dual-stack (IPv4
142+
/// and IPv6).
143+
/// </para>
144+
/// </summary>
145+
public MediaPlacementNetworkType MediaPlacementNetworkType
146+
{
147+
get { return this._mediaPlacementNetworkType; }
148+
set { this._mediaPlacementNetworkType = value; }
149+
}
150+
151+
// Check to see if MediaPlacementNetworkType property is set
152+
internal bool IsSetMediaPlacementNetworkType()
153+
{
154+
return this._mediaPlacementNetworkType != null;
155+
}
156+
120157
/// <summary>
121158
/// Gets and sets the property MediaRegion.
122159
/// <para>

0 commit comments

Comments
 (0)