Skip to content

Commit 353d6e1

Browse files
feat(aws-android-sdk-chimesdkmessaging): update models to latest (#3334)
Co-authored-by: Erica Eaton <[email protected]>
1 parent d184901 commit 353d6e1

24 files changed

+1281
-178
lines changed

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

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
/**
2323
* Interface for accessing Amazon ChimeSDK Messaging
2424
* <p>
25-
* The Amazon Chime SDK Messaging APIs in this section allow software developers
25+
* The Amazon Chime SDK messaging APIs in this section allow software developers
2626
* to send and receive messages in custom messaging applications. These APIs
27-
* depend on the frameworks provided by the Amazon Chime SDK Identity APIs. For
27+
* depend on the frameworks provided by the Amazon Chime SDK identity APIs. For
2828
* more information about the messaging APIs, see <a href=
2929
* "https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html"
3030
* >Amazon Chime SDK messaging</a>.
@@ -158,8 +158,9 @@ BatchCreateChannelMembershipResult batchCreateChannelMembership(
158158

159159
/**
160160
* <p>
161-
* Calls back Chime SDK Messaging with a processing response message. This
162-
* should be invoked from the processor Lambda. This is a developer API.
161+
* Calls back Amazon Chime SDK messaging with a processing response message.
162+
* This should be invoked from the processor Lambda. This is a developer
163+
* API.
163164
* </p>
164165
* <p>
165166
* You can return one of the following processing responses:
@@ -315,7 +316,7 @@ CreateChannelBanResult createChannelBan(CreateChannelBanRequest createChannelBan
315316
* <note>
316317
* <p>
317318
* Channel flows don't process Control or System messages. For more
318-
* information about the message types provided by Chime SDK Messaging,
319+
* information about the message types provided by Chime SDK messaging,
319320
* refer to <a href=
320321
* "https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types"
321322
* >Message types</a> in the <i>Amazon Chime developer guide</i>.
@@ -981,7 +982,7 @@ void disassociateChannelFlow(DisassociateChannelFlowRequest disassociateChannelF
981982
* <p>
982983
* Gets the membership preferences of an <code>AppInstanceUser</code> or
983984
* <code>AppInstanceBot</code> for the specified channel. A user or a bot
984-
* must be a member of the channel and own the membership to be able to
985+
* must be a member of the channel and own the membership in order to
985986
* retrieve membership preferences. Users or bots in the
986987
* <code>AppInstanceAdmin</code> and channel moderator roles can't retrieve
987988
* preferences for other users or bots. Banned users or bots can't retrieve
@@ -1083,7 +1084,7 @@ GetChannelMessageResult getChannelMessage(GetChannelMessageRequest getChannelMes
10831084
* <dt>DENIED</dt>
10841085
* <dd>
10851086
* <p>
1086-
* Messasge denied by the processor
1087+
* Message denied by the processor
10871088
* </p>
10881089
* </dd>
10891090
* </dl>
@@ -1290,7 +1291,7 @@ ListChannelMembershipsResult listChannelMemberships(
12901291

12911292
/**
12921293
* <p>
1293-
* Lists all channels that anr <code>AppInstanceUser</code> or
1294+
* Lists all channels that an <code>AppInstanceUser</code> or
12941295
* <code>AppInstanceBot</code> is a part of. Only an
12951296
* <code>AppInstanceAdmin</code> can call the API with a user ARN that is
12961297
* not their own.
@@ -1622,12 +1623,12 @@ PutChannelExpirationSettingsResult putChannelExpirationSettings(
16221623
/**
16231624
* <p>
16241625
* Sets the membership preferences of an <code>AppInstanceUser</code> or
1625-
* <code>AppIntanceBot</code> for the specified channel. The user or bot
1626+
* <code>AppInstanceBot</code> for the specified channel. The user or bot
16261627
* must be a member of the channel. Only the user or bot who owns the
16271628
* membership can set preferences. Users or bots in the
16281629
* <code>AppInstanceAdmin</code> and channel moderator roles can't set
1629-
* preferences for other users or users. Banned users or bots can't set
1630-
* membership preferences for the channel from which they are banned.
1630+
* preferences for other users. Banned users or bots can't set membership
1631+
* preferences for the channel from which they are banned.
16311632
* </p>
16321633
* <note>
16331634
* <p>
@@ -1774,9 +1775,13 @@ SearchChannelsResult searchChannels(SearchChannelsRequest searchChannelsRequest)
17741775
* that makes the API call as the value in the header.
17751776
* </p>
17761777
* <p>
1777-
* Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB
1778-
* of metadata. <code>CONTROL</code> messages can contain 30 bytes of data
1779-
* and no metadata.
1778+
* Also, <code>STANDARD</code> messages can be up to 4KB in size and contain
1779+
* metadata. Metadata is arbitrary, and you can use it in a variety of ways,
1780+
* such as containing a link to an attachment.
1781+
* </p>
1782+
* <p>
1783+
* <code>CONTROL</code> messages are limited to 30 bytes and do not contain
1784+
* metadata.
17801785
* </p>
17811786
* </note>
17821787
*

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

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
* completes.
3737
* <p>
3838
* <p>
39-
* The Amazon Chime SDK Messaging APIs in this section allow software developers
39+
* The Amazon Chime SDK messaging APIs in this section allow software developers
4040
* to send and receive messages in custom messaging applications. These APIs
41-
* depend on the frameworks provided by the Amazon Chime SDK Identity APIs. For
41+
* depend on the frameworks provided by the Amazon Chime SDK identity APIs. For
4242
* more information about the messaging APIs, see <a href=
4343
* "https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html"
4444
* >Amazon Chime SDK messaging</a>.
@@ -482,8 +482,9 @@ public BatchCreateChannelMembershipResult batchCreateChannelMembership(
482482

483483
/**
484484
* <p>
485-
* Calls back Chime SDK Messaging with a processing response message. This
486-
* should be invoked from the processor Lambda. This is a developer API.
485+
* Calls back Amazon Chime SDK messaging with a processing response message.
486+
* This should be invoked from the processor Lambda. This is a developer
487+
* API.
487488
* </p>
488489
* <p>
489490
* You can return one of the following processing responses:
@@ -718,7 +719,7 @@ public CreateChannelBanResult createChannelBan(CreateChannelBanRequest createCha
718719
* <note>
719720
* <p>
720721
* Channel flows don't process Control or System messages. For more
721-
* information about the message types provided by Chime SDK Messaging,
722+
* information about the message types provided by Chime SDK messaging,
722723
* refer to <a href=
723724
* "https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types"
724725
* >Message types</a> in the <i>Amazon Chime developer guide</i>.
@@ -1831,7 +1832,7 @@ public void disassociateChannelFlow(
18311832
* <p>
18321833
* Gets the membership preferences of an <code>AppInstanceUser</code> or
18331834
* <code>AppInstanceBot</code> for the specified channel. A user or a bot
1834-
* must be a member of the channel and own the membership to be able to
1835+
* must be a member of the channel and own the membership in order to
18351836
* retrieve membership preferences. Users or bots in the
18361837
* <code>AppInstanceAdmin</code> and channel moderator roles can't retrieve
18371838
* preferences for other users or bots. Banned users or bots can't retrieve
@@ -1988,7 +1989,7 @@ public GetChannelMessageResult getChannelMessage(
19881989
* <dt>DENIED</dt>
19891990
* <dd>
19901991
* <p>
1991-
* Messasge denied by the processor
1992+
* Message denied by the processor
19921993
* </p>
19931994
* </dd>
19941995
* </dl>
@@ -2355,7 +2356,7 @@ public ListChannelMembershipsResult listChannelMemberships(
23552356

23562357
/**
23572358
* <p>
2358-
* Lists all channels that anr <code>AppInstanceUser</code> or
2359+
* Lists all channels that an <code>AppInstanceUser</code> or
23592360
* <code>AppInstanceBot</code> is a part of. Only an
23602361
* <code>AppInstanceAdmin</code> can call the API with a user ARN that is
23612362
* not their own.
@@ -2928,12 +2929,12 @@ public PutChannelExpirationSettingsResult putChannelExpirationSettings(
29282929
/**
29292930
* <p>
29302931
* Sets the membership preferences of an <code>AppInstanceUser</code> or
2931-
* <code>AppIntanceBot</code> for the specified channel. The user or bot
2932+
* <code>AppInstanceBot</code> for the specified channel. The user or bot
29322933
* must be a member of the channel. Only the user or bot who owns the
29332934
* membership can set preferences. Users or bots in the
29342935
* <code>AppInstanceAdmin</code> and channel moderator roles can't set
2935-
* preferences for other users or users. Banned users or bots can't set
2936-
* membership preferences for the channel from which they are banned.
2936+
* preferences for other users. Banned users or bots can't set membership
2937+
* preferences for the channel from which they are banned.
29372938
* </p>
29382939
* <note>
29392940
* <p>
@@ -3187,9 +3188,13 @@ public SearchChannelsResult searchChannels(SearchChannelsRequest searchChannelsR
31873188
* that makes the API call as the value in the header.
31883189
* </p>
31893190
* <p>
3190-
* Also, <code>STANDARD</code> messages can contain 4KB of data and the 1KB
3191-
* of metadata. <code>CONTROL</code> messages can contain 30 bytes of data
3192-
* and no metadata.
3191+
* Also, <code>STANDARD</code> messages can be up to 4KB in size and contain
3192+
* metadata. Metadata is arbitrary, and you can use it in a variety of ways,
3193+
* such as containing a link to an attachment.
3194+
* </p>
3195+
* <p>
3196+
* <code>CONTROL</code> messages are limited to 30 bytes and do not contain
3197+
* metadata.
31933198
* </p>
31943199
* </note>
31953200
*

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* <p>
24-
* Calls back Chime SDK Messaging with a processing response message. This
25-
* should be invoked from the processor Lambda. This is a developer API.
24+
* Calls back Amazon Chime SDK messaging with a processing response message.
25+
* This should be invoked from the processor Lambda. This is a developer API.
2626
* </p>
2727
* <p>
2828
* You can return one of the following processing responses:

0 commit comments

Comments
 (0)