@@ -97,6 +97,83 @@ export interface AppInstanceAdminSummary {
97
97
Admin ?: Identity ;
98
98
}
99
99
100
+ /**
101
+ * @public
102
+ * @enum
103
+ */
104
+ export const StandardMessages = {
105
+ ALL : "ALL" ,
106
+ AUTO : "AUTO" ,
107
+ MENTIONS : "MENTIONS" ,
108
+ NONE : "NONE" ,
109
+ } as const ;
110
+
111
+ /**
112
+ * @public
113
+ */
114
+ export type StandardMessages = ( typeof StandardMessages ) [ keyof typeof StandardMessages ] ;
115
+
116
+ /**
117
+ * @public
118
+ * @enum
119
+ */
120
+ export const TargetedMessages = {
121
+ ALL : "ALL" ,
122
+ NONE : "NONE" ,
123
+ } as const ;
124
+
125
+ /**
126
+ * @public
127
+ */
128
+ export type TargetedMessages = ( typeof TargetedMessages ) [ keyof typeof TargetedMessages ] ;
129
+
130
+ /**
131
+ * @public
132
+ * <p>Specifies the type of message that triggers a bot.</p>
133
+ */
134
+ export interface InvokedBy {
135
+ /**
136
+ * <p>Sets standard messages as the bot trigger. For standard messages:</p>
137
+ * <ul>
138
+ * <li>
139
+ * <p>
140
+ * <code>ALL</code>: The bot processes all standard messages.</p>
141
+ * </li>
142
+ * <li>
143
+ * <p>
144
+ * <code>AUTO</code>: The bot responds to ALL messages when the channel has one other non-hidden member, and responds to MENTIONS when the
145
+ * channel has more than one other non-hidden member.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>
149
+ * <code>MENTIONS</code>: The bot processes all standard messages that have a message attribute with <code>CHIME.mentions</code> and a
150
+ * value of the bot ARN.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>
154
+ * <code>NONE</code>: The bot processes no standard messages.</p>
155
+ * </li>
156
+ * </ul>
157
+ */
158
+ StandardMessages : StandardMessages | string | undefined ;
159
+
160
+ /**
161
+ * <p>Sets targeted messages as the bot trigger. For targeted messages:</p>
162
+ * <ul>
163
+ * <li>
164
+ * <p>
165
+ * <code>ALL</code>: The bot processes all <code>TargetedMessages</code> sent to it. The bot then responds with a targeted message back to the sender.
166
+ * </p>
167
+ * </li>
168
+ * <li>
169
+ * <p>
170
+ * <code>NONE</code>: The bot processes no targeted messages.</p>
171
+ * </li>
172
+ * </ul>
173
+ */
174
+ TargetedMessages : TargetedMessages | string | undefined ;
175
+ }
176
+
100
177
/**
101
178
* @public
102
179
* @enum
@@ -116,9 +193,18 @@ export type RespondsTo = (typeof RespondsTo)[keyof typeof RespondsTo];
116
193
*/
117
194
export interface LexConfiguration {
118
195
/**
119
- * <p>Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.</p>
196
+ * <important>
197
+ * <p>
198
+ * <b>Deprecated</b>. Use <code>InvokedBy</code> instead.</p>
199
+ * </important>
200
+ * <p>Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.</p>
120
201
*/
121
- RespondsTo : RespondsTo | string | undefined ;
202
+ RespondsTo ?: RespondsTo | string ;
203
+
204
+ /**
205
+ * <p>Specifies the type of message that triggers a bot.</p>
206
+ */
207
+ InvokedBy ?: InvokedBy ;
122
208
123
209
/**
124
210
* <p>The ARN of the Amazon Lex V2 bot's alias. The ARN uses this format:
@@ -1586,6 +1672,11 @@ export interface UpdateAppInstanceBotRequest {
1586
1672
* <p>The metadata of the <code>AppInstanceBot</code>.</p>
1587
1673
*/
1588
1674
Metadata : string | undefined ;
1675
+
1676
+ /**
1677
+ * <p>The configuration for the bot update.</p>
1678
+ */
1679
+ Configuration ?: Configuration ;
1589
1680
}
1590
1681
1591
1682
/**
@@ -1752,8 +1843,6 @@ export const EndpointAttributesFilterSensitiveLog = (obj: EndpointAttributes): a
1752
1843
*/
1753
1844
export const AppInstanceUserEndpointFilterSensitiveLog = ( obj : AppInstanceUserEndpoint ) : any => ( {
1754
1845
...obj ,
1755
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
1756
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
1757
1846
...( obj . Name && { Name : SENSITIVE_STRING } ) ,
1758
1847
...( obj . EndpointAttributes && { EndpointAttributes : EndpointAttributesFilterSensitiveLog ( obj . EndpointAttributes ) } ) ,
1759
1848
} ) ;
@@ -1763,8 +1852,6 @@ export const AppInstanceUserEndpointFilterSensitiveLog = (obj: AppInstanceUserEn
1763
1852
*/
1764
1853
export const AppInstanceUserEndpointSummaryFilterSensitiveLog = ( obj : AppInstanceUserEndpointSummary ) : any => ( {
1765
1854
...obj ,
1766
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
1767
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
1768
1855
...( obj . Name && { Name : SENSITIVE_STRING } ) ,
1769
1856
} ) ;
1770
1857
@@ -1825,17 +1912,6 @@ export const CreateAppInstanceUserRequestFilterSensitiveLog = (obj: CreateAppIns
1825
1912
...( obj . Tags && { Tags : obj . Tags . map ( ( item ) => TagFilterSensitiveLog ( item ) ) } ) ,
1826
1913
} ) ;
1827
1914
1828
- /**
1829
- * @internal
1830
- */
1831
- export const DeregisterAppInstanceUserEndpointRequestFilterSensitiveLog = (
1832
- obj : DeregisterAppInstanceUserEndpointRequest
1833
- ) : any => ( {
1834
- ...obj ,
1835
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
1836
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
1837
- } ) ;
1838
-
1839
1915
/**
1840
1916
* @internal
1841
1917
*/
@@ -1868,17 +1944,6 @@ export const DescribeAppInstanceUserResponseFilterSensitiveLog = (obj: DescribeA
1868
1944
...( obj . AppInstanceUser && { AppInstanceUser : AppInstanceUserFilterSensitiveLog ( obj . AppInstanceUser ) } ) ,
1869
1945
} ) ;
1870
1946
1871
- /**
1872
- * @internal
1873
- */
1874
- export const DescribeAppInstanceUserEndpointRequestFilterSensitiveLog = (
1875
- obj : DescribeAppInstanceUserEndpointRequest
1876
- ) : any => ( {
1877
- ...obj ,
1878
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
1879
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
1880
- } ) ;
1881
-
1882
1947
/**
1883
1948
* @internal
1884
1949
*/
@@ -2011,17 +2076,6 @@ export const RegisterAppInstanceUserEndpointRequestFilterSensitiveLog = (
2011
2076
...( obj . EndpointAttributes && { EndpointAttributes : EndpointAttributesFilterSensitiveLog ( obj . EndpointAttributes ) } ) ,
2012
2077
} ) ;
2013
2078
2014
- /**
2015
- * @internal
2016
- */
2017
- export const RegisterAppInstanceUserEndpointResponseFilterSensitiveLog = (
2018
- obj : RegisterAppInstanceUserEndpointResponse
2019
- ) : any => ( {
2020
- ...obj ,
2021
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
2022
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
2023
- } ) ;
2024
-
2025
2079
/**
2026
2080
* @internal
2027
2081
*/
@@ -2072,18 +2126,5 @@ export const UpdateAppInstanceUserEndpointRequestFilterSensitiveLog = (
2072
2126
obj : UpdateAppInstanceUserEndpointRequest
2073
2127
) : any => ( {
2074
2128
...obj ,
2075
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
2076
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
2077
2129
...( obj . Name && { Name : SENSITIVE_STRING } ) ,
2078
2130
} ) ;
2079
-
2080
- /**
2081
- * @internal
2082
- */
2083
- export const UpdateAppInstanceUserEndpointResponseFilterSensitiveLog = (
2084
- obj : UpdateAppInstanceUserEndpointResponse
2085
- ) : any => ( {
2086
- ...obj ,
2087
- ...( obj . AppInstanceUserArn && { AppInstanceUserArn : SENSITIVE_STRING } ) ,
2088
- ...( obj . EndpointId && { EndpointId : SENSITIVE_STRING } ) ,
2089
- } ) ;
0 commit comments