Skip to content

Commit cbee9e3

Browse files
authored
feat(aws-android-sdk-chimesdkmessaging): update models to latest (#3261)
1 parent 048a824 commit cbee9e3

File tree

8 files changed

+9
-262
lines changed

8 files changed

+9
-262
lines changed

aws-android-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/AmazonChimeSDKMessaging.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ CreateChannelModeratorResult createChannelModerator(
505505
* @param deleteChannelRequest
506506
* @throws BadRequestException
507507
* @throws ForbiddenException
508+
* @throws ConflictException
508509
* @throws UnauthorizedClientException
509510
* @throws ThrottledClientException
510511
* @throws ServiceUnavailableException
@@ -686,6 +687,7 @@ void deleteChannelModerator(DeleteChannelModeratorRequest deleteChannelModerator
686687
* </p>
687688
*
688689
* @param deleteMessagingStreamingConfigurationsRequest
690+
* @throws BadRequestException
689691
* @throws ForbiddenException
690692
* @throws UnauthorizedClientException
691693
* @throws ThrottledClientException

aws-android-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/AmazonChimeSDKMessagingClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,7 @@ public CreateChannelModeratorResult createChannelModerator(
990990
* @param deleteChannelRequest
991991
* @throws BadRequestException
992992
* @throws ForbiddenException
993+
* @throws ConflictException
993994
* @throws UnauthorizedClientException
994995
* @throws ThrottledClientException
995996
* @throws ServiceUnavailableException
@@ -1302,6 +1303,7 @@ public void deleteChannelModerator(DeleteChannelModeratorRequest deleteChannelMo
13021303
* </p>
13031304
*
13041305
* @param deleteMessagingStreamingConfigurationsRequest
1306+
* @throws BadRequestException
13051307
* @throws ForbiddenException
13061308
* @throws UnauthorizedClientException
13071309
* @throws ThrottledClientException

aws-android-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/DeleteChannelRequest.java

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@ public class DeleteChannelRequest extends AmazonWebServiceRequest implements Ser
6060
*/
6161
private String chimeBearer;
6262

63-
/**
64-
* <p>
65-
* The ID of the SubChannel in the request.
66-
* </p>
67-
* <p>
68-
* <b>Constraints:</b><br/>
69-
* <b>Length: </b>1 - 128<br/>
70-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
71-
*/
72-
private String subChannelId;
73-
7463
/**
7564
* <p>
7665
* The ARN of the channel being deleted.
@@ -203,63 +192,6 @@ public DeleteChannelRequest withChimeBearer(String chimeBearer) {
203192
return this;
204193
}
205194

206-
/**
207-
* <p>
208-
* The ID of the SubChannel in the request.
209-
* </p>
210-
* <p>
211-
* <b>Constraints:</b><br/>
212-
* <b>Length: </b>1 - 128<br/>
213-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
214-
*
215-
* @return <p>
216-
* The ID of the SubChannel in the request.
217-
* </p>
218-
*/
219-
public String getSubChannelId() {
220-
return subChannelId;
221-
}
222-
223-
/**
224-
* <p>
225-
* The ID of the SubChannel in the request.
226-
* </p>
227-
* <p>
228-
* <b>Constraints:</b><br/>
229-
* <b>Length: </b>1 - 128<br/>
230-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
231-
*
232-
* @param subChannelId <p>
233-
* The ID of the SubChannel in the request.
234-
* </p>
235-
*/
236-
public void setSubChannelId(String subChannelId) {
237-
this.subChannelId = subChannelId;
238-
}
239-
240-
/**
241-
* <p>
242-
* The ID of the SubChannel in the request.
243-
* </p>
244-
* <p>
245-
* Returns a reference to this object so that method calls can be chained
246-
* together.
247-
* <p>
248-
* <b>Constraints:</b><br/>
249-
* <b>Length: </b>1 - 128<br/>
250-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
251-
*
252-
* @param subChannelId <p>
253-
* The ID of the SubChannel in the request.
254-
* </p>
255-
* @return A reference to this updated object so that method calls can be
256-
* chained together.
257-
*/
258-
public DeleteChannelRequest withSubChannelId(String subChannelId) {
259-
this.subChannelId = subChannelId;
260-
return this;
261-
}
262-
263195
/**
264196
* Returns a string representation of this object; useful for testing and
265197
* debugging.
@@ -274,9 +206,7 @@ public String toString() {
274206
if (getChannelArn() != null)
275207
sb.append("ChannelArn: " + getChannelArn() + ",");
276208
if (getChimeBearer() != null)
277-
sb.append("ChimeBearer: " + getChimeBearer() + ",");
278-
if (getSubChannelId() != null)
279-
sb.append("SubChannelId: " + getSubChannelId());
209+
sb.append("ChimeBearer: " + getChimeBearer());
280210
sb.append("}");
281211
return sb.toString();
282212
}
@@ -289,8 +219,6 @@ public int hashCode() {
289219
hashCode = prime * hashCode + ((getChannelArn() == null) ? 0 : getChannelArn().hashCode());
290220
hashCode = prime * hashCode
291221
+ ((getChimeBearer() == null) ? 0 : getChimeBearer().hashCode());
292-
hashCode = prime * hashCode
293-
+ ((getSubChannelId() == null) ? 0 : getSubChannelId().hashCode());
294222
return hashCode;
295223
}
296224

@@ -315,11 +243,6 @@ public boolean equals(Object obj) {
315243
if (other.getChimeBearer() != null
316244
&& other.getChimeBearer().equals(this.getChimeBearer()) == false)
317245
return false;
318-
if (other.getSubChannelId() == null ^ this.getSubChannelId() == null)
319-
return false;
320-
if (other.getSubChannelId() != null
321-
&& other.getSubChannelId().equals(this.getSubChannelId()) == false)
322-
return false;
323246
return true;
324247
}
325248
}

aws-android-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/UpdateChannelReadMarkerRequest.java

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,6 @@ public class UpdateChannelReadMarkerRequest extends AmazonWebServiceRequest impl
5959
*/
6060
private String chimeBearer;
6161

62-
/**
63-
* <p>
64-
* The ID of the SubChannel in the request.
65-
* </p>
66-
* <p>
67-
* <b>Constraints:</b><br/>
68-
* <b>Length: </b>1 - 128<br/>
69-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
70-
*/
71-
private String subChannelId;
72-
7362
/**
7463
* <p>
7564
* The ARN of the channel.
@@ -202,63 +191,6 @@ public UpdateChannelReadMarkerRequest withChimeBearer(String chimeBearer) {
202191
return this;
203192
}
204193

205-
/**
206-
* <p>
207-
* The ID of the SubChannel in the request.
208-
* </p>
209-
* <p>
210-
* <b>Constraints:</b><br/>
211-
* <b>Length: </b>1 - 128<br/>
212-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
213-
*
214-
* @return <p>
215-
* The ID of the SubChannel in the request.
216-
* </p>
217-
*/
218-
public String getSubChannelId() {
219-
return subChannelId;
220-
}
221-
222-
/**
223-
* <p>
224-
* The ID of the SubChannel in the request.
225-
* </p>
226-
* <p>
227-
* <b>Constraints:</b><br/>
228-
* <b>Length: </b>1 - 128<br/>
229-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
230-
*
231-
* @param subChannelId <p>
232-
* The ID of the SubChannel in the request.
233-
* </p>
234-
*/
235-
public void setSubChannelId(String subChannelId) {
236-
this.subChannelId = subChannelId;
237-
}
238-
239-
/**
240-
* <p>
241-
* The ID of the SubChannel in the request.
242-
* </p>
243-
* <p>
244-
* Returns a reference to this object so that method calls can be chained
245-
* together.
246-
* <p>
247-
* <b>Constraints:</b><br/>
248-
* <b>Length: </b>1 - 128<br/>
249-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
250-
*
251-
* @param subChannelId <p>
252-
* The ID of the SubChannel in the request.
253-
* </p>
254-
* @return A reference to this updated object so that method calls can be
255-
* chained together.
256-
*/
257-
public UpdateChannelReadMarkerRequest withSubChannelId(String subChannelId) {
258-
this.subChannelId = subChannelId;
259-
return this;
260-
}
261-
262194
/**
263195
* Returns a string representation of this object; useful for testing and
264196
* debugging.
@@ -273,9 +205,7 @@ public String toString() {
273205
if (getChannelArn() != null)
274206
sb.append("ChannelArn: " + getChannelArn() + ",");
275207
if (getChimeBearer() != null)
276-
sb.append("ChimeBearer: " + getChimeBearer() + ",");
277-
if (getSubChannelId() != null)
278-
sb.append("SubChannelId: " + getSubChannelId());
208+
sb.append("ChimeBearer: " + getChimeBearer());
279209
sb.append("}");
280210
return sb.toString();
281211
}
@@ -288,8 +218,6 @@ public int hashCode() {
288218
hashCode = prime * hashCode + ((getChannelArn() == null) ? 0 : getChannelArn().hashCode());
289219
hashCode = prime * hashCode
290220
+ ((getChimeBearer() == null) ? 0 : getChimeBearer().hashCode());
291-
hashCode = prime * hashCode
292-
+ ((getSubChannelId() == null) ? 0 : getSubChannelId().hashCode());
293221
return hashCode;
294222
}
295223

@@ -314,11 +242,6 @@ public boolean equals(Object obj) {
314242
if (other.getChimeBearer() != null
315243
&& other.getChimeBearer().equals(this.getChimeBearer()) == false)
316244
return false;
317-
if (other.getSubChannelId() == null ^ this.getSubChannelId() == null)
318-
return false;
319-
if (other.getSubChannelId() != null
320-
&& other.getSubChannelId().equals(this.getSubChannelId()) == false)
321-
return false;
322245
return true;
323246
}
324247
}

aws-android-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/UpdateChannelReadMarkerResult.java

Lines changed: 1 addition & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@ public class UpdateChannelReadMarkerResult implements Serializable {
3131
*/
3232
private String channelArn;
3333

34-
/**
35-
* <p>
36-
* The ID of the SubChannel in the response.
37-
* </p>
38-
* <p>
39-
* <b>Constraints:</b><br/>
40-
* <b>Length: </b>1 - 128<br/>
41-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
42-
*/
43-
private String subChannelId;
44-
4534
/**
4635
* <p>
4736
* The ARN of the channel.
@@ -105,63 +94,6 @@ public UpdateChannelReadMarkerResult withChannelArn(String channelArn) {
10594
return this;
10695
}
10796

108-
/**
109-
* <p>
110-
* The ID of the SubChannel in the response.
111-
* </p>
112-
* <p>
113-
* <b>Constraints:</b><br/>
114-
* <b>Length: </b>1 - 128<br/>
115-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
116-
*
117-
* @return <p>
118-
* The ID of the SubChannel in the response.
119-
* </p>
120-
*/
121-
public String getSubChannelId() {
122-
return subChannelId;
123-
}
124-
125-
/**
126-
* <p>
127-
* The ID of the SubChannel in the response.
128-
* </p>
129-
* <p>
130-
* <b>Constraints:</b><br/>
131-
* <b>Length: </b>1 - 128<br/>
132-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
133-
*
134-
* @param subChannelId <p>
135-
* The ID of the SubChannel in the response.
136-
* </p>
137-
*/
138-
public void setSubChannelId(String subChannelId) {
139-
this.subChannelId = subChannelId;
140-
}
141-
142-
/**
143-
* <p>
144-
* The ID of the SubChannel in the response.
145-
* </p>
146-
* <p>
147-
* Returns a reference to this object so that method calls can be chained
148-
* together.
149-
* <p>
150-
* <b>Constraints:</b><br/>
151-
* <b>Length: </b>1 - 128<br/>
152-
* <b>Pattern: </b>[-_a-zA-Z0-9]*<br/>
153-
*
154-
* @param subChannelId <p>
155-
* The ID of the SubChannel in the response.
156-
* </p>
157-
* @return A reference to this updated object so that method calls can be
158-
* chained together.
159-
*/
160-
public UpdateChannelReadMarkerResult withSubChannelId(String subChannelId) {
161-
this.subChannelId = subChannelId;
162-
return this;
163-
}
164-
16597
/**
16698
* Returns a string representation of this object; useful for testing and
16799
* debugging.
@@ -174,9 +106,7 @@ public String toString() {
174106
StringBuilder sb = new StringBuilder();
175107
sb.append("{");
176108
if (getChannelArn() != null)
177-
sb.append("ChannelArn: " + getChannelArn() + ",");
178-
if (getSubChannelId() != null)
179-
sb.append("SubChannelId: " + getSubChannelId());
109+
sb.append("ChannelArn: " + getChannelArn());
180110
sb.append("}");
181111
return sb.toString();
182112
}
@@ -187,8 +117,6 @@ public int hashCode() {
187117
int hashCode = 1;
188118

189119
hashCode = prime * hashCode + ((getChannelArn() == null) ? 0 : getChannelArn().hashCode());
190-
hashCode = prime * hashCode
191-
+ ((getSubChannelId() == null) ? 0 : getSubChannelId().hashCode());
192120
return hashCode;
193121
}
194122

@@ -208,11 +136,6 @@ public boolean equals(Object obj) {
208136
if (other.getChannelArn() != null
209137
&& other.getChannelArn().equals(this.getChannelArn()) == false)
210138
return false;
211-
if (other.getSubChannelId() == null ^ this.getSubChannelId() == null)
212-
return false;
213-
if (other.getSubChannelId() != null
214-
&& other.getSubChannelId().equals(this.getSubChannelId()) == false)
215-
return false;
216139
return true;
217140
}
218141
}

aws-android-sdk-chimesdkmessaging/src/main/java/com/amazonaws/services/chimesdkmessaging/model/transform/DeleteChannelRequestMarshaller.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ public Request<DeleteChannelRequest> marshall(DeleteChannelRequest deleteChannel
6464
"{channelArn}",
6565
(deleteChannelRequest.getChannelArn() == null) ? "" : StringUtils
6666
.fromString(deleteChannelRequest.getChannelArn()));
67-
if (deleteChannelRequest.getSubChannelId() != null) {
68-
request.addParameter("sub-channel-id",
69-
StringUtils.fromString(deleteChannelRequest.getSubChannelId()));
70-
}
7167
request.setResourcePath(uriResourcePath);
7268
String encodedUriResourcePath = "/channels/{channelArn}";
7369
encodedUriResourcePath = encodedUriResourcePath.replace(

0 commit comments

Comments
 (0)