Skip to content

Commit 72d5d46

Browse files
committed
tweak comment wording
Signed-off-by: Craig Disselkoen <[email protected]>
1 parent 0ad832e commit 72d5d46

File tree

70 files changed

+394
-394
lines changed

Some content is hidden

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

70 files changed

+394
-394
lines changed

lambda-events/src/event/activemq/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct ActiveMqEvent {
1313
#[serde(default)]
1414
pub event_source_arn: Option<String>,
1515
pub messages: Vec<ActiveMqMessage>,
16-
/// Catchall to catch any additional fields that were present but not expected by this struct.
16+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
1717
/// Enabled with Cargo feature `catch-all-fields`.
1818
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
1919
#[cfg(feature = "catch-all-fields")]
@@ -50,7 +50,7 @@ pub struct ActiveMqMessage {
5050
#[serde(deserialize_with = "deserialize_lambda_map")]
5151
#[serde(default)]
5252
pub properties: HashMap<String, String>,
53-
/// Catchall to catch any additional fields that were present but not expected by this struct.
53+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
5454
/// Enabled with Cargo feature `catch-all-fields`.
5555
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5656
#[cfg(feature = "catch-all-fields")]
@@ -64,7 +64,7 @@ pub struct ActiveMqMessage {
6464
pub struct ActiveMqDestination {
6565
#[serde(default)]
6666
pub physical_name: Option<String>,
67-
/// Catchall to catch any additional fields that were present but not expected by this struct.
67+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
6868
/// Enabled with Cargo feature `catch-all-fields`.
6969
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
7070
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/alb/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct AlbTargetGroupRequest {
3232
#[serde(default, deserialize_with = "deserialize_nullish_boolean")]
3333
pub is_base64_encoded: bool,
3434
pub body: Option<String>,
35-
/// Catchall to catch any additional fields that were present but not expected by this struct.
35+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
3636
/// Enabled with Cargo feature `catch-all-fields`.
3737
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
3838
#[cfg(feature = "catch-all-fields")]
@@ -46,7 +46,7 @@ pub struct AlbTargetGroupRequest {
4646
#[serde(rename_all = "camelCase")]
4747
pub struct AlbTargetGroupRequestContext {
4848
pub elb: ElbContext,
49-
/// Catchall to catch any additional fields that were present but not expected by this struct.
49+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
5050
/// Enabled with Cargo feature `catch-all-fields`.
5151
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5252
#[cfg(feature = "catch-all-fields")]
@@ -62,7 +62,7 @@ pub struct ElbContext {
6262
/// nolint: stylecheck
6363
#[serde(default)]
6464
pub target_group_arn: Option<String>,
65-
/// Catchall to catch any additional fields that were present but not expected by this struct.
65+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
6666
/// Enabled with Cargo feature `catch-all-fields`.
6767
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
6868
#[cfg(feature = "catch-all-fields")]
@@ -88,7 +88,7 @@ pub struct AlbTargetGroupResponse {
8888
pub body: Option<Body>,
8989
#[serde(default, deserialize_with = "deserialize_nullish_boolean")]
9090
pub is_base64_encoded: bool,
91-
/// Catchall to catch any additional fields that were present but not expected by this struct.
91+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
9292
/// Enabled with Cargo feature `catch-all-fields`.
9393
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
9494
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/apigw/mod.rs

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

lambda-events/src/event/appsync/mod.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ where
1717
pub operation: AppSyncOperation,
1818
#[serde(bound = "")]
1919
pub payload: Option<T1>,
20-
/// Catchall to catch any additional fields that were present but not expected by this struct.
20+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
2121
/// Enabled with Cargo feature `catch-all-fields`.
2222
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
2323
#[cfg(feature = "catch-all-fields")]
@@ -45,7 +45,7 @@ pub struct AppSyncIamIdentity {
4545
pub username: Option<String>,
4646
#[serde(default)]
4747
pub user_arn: Option<String>,
48-
/// Catchall to catch any additional fields that were present but not expected by this struct.
48+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
4949
/// Enabled with Cargo feature `catch-all-fields`.
5050
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5151
#[cfg(feature = "catch-all-fields")]
@@ -75,7 +75,7 @@ where
7575
pub source_ip: Vec<String>,
7676
#[serde(default)]
7777
pub default_auth_strategy: Option<String>,
78-
/// Catchall to catch any additional fields that were present but not expected by this struct.
78+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
7979
/// Enabled with Cargo feature `catch-all-fields`.
8080
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
8181
#[cfg(feature = "catch-all-fields")]
@@ -93,7 +93,7 @@ pub struct AppSyncLambdaAuthorizerRequest {
9393
#[serde(default)]
9494
pub authorization_token: Option<String>,
9595
pub request_context: AppSyncLambdaAuthorizerRequestContext,
96-
/// Catchall to catch any additional fields that were present but not expected by this struct.
96+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
9797
/// Enabled with Cargo feature `catch-all-fields`.
9898
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
9999
#[cfg(feature = "catch-all-fields")]
@@ -126,7 +126,7 @@ where
126126
#[serde(default)]
127127
#[serde(bound = "")]
128128
pub variables: HashMap<String, T1>,
129-
/// Catchall to catch any additional fields that were present but not expected by this struct.
129+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
130130
/// Enabled with Cargo feature `catch-all-fields`.
131131
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
132132
#[cfg(feature = "catch-all-fields")]
@@ -150,7 +150,7 @@ where
150150
pub resolver_context: HashMap<String, T1>,
151151
pub denied_fields: Option<Vec<String>>,
152152
pub ttl_override: Option<i64>,
153-
/// Catchall to catch any additional fields that were present but not expected by this struct.
153+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
154154
/// Enabled with Cargo feature `catch-all-fields`.
155155
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
156156
#[cfg(feature = "catch-all-fields")]
@@ -189,7 +189,7 @@ where
189189
pub prev: Option<AppSyncPrevResult>,
190190
#[serde(bound = "")]
191191
pub stash: TStash,
192-
/// Catchall to catch any additional fields that were present but not expected by this struct.
192+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
193193
/// Enabled with Cargo feature `catch-all-fields`.
194194
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
195195
#[cfg(feature = "catch-all-fields")]
@@ -209,7 +209,7 @@ pub struct AppSyncRequest {
209209
pub headers: HashMap<String, Option<String>>,
210210
#[serde(default)]
211211
pub domain_name: Option<String>,
212-
/// Catchall to catch any additional fields that were present but not expected by this struct.
212+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
213213
/// Enabled with Cargo feature `catch-all-fields`.
214214
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
215215
#[cfg(feature = "catch-all-fields")]
@@ -233,7 +233,7 @@ where
233233
pub field_name: String,
234234
#[serde(bound = "")]
235235
pub variables: T,
236-
/// Catchall to catch any additional fields that were present but not expected by this struct.
236+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
237237
/// Enabled with Cargo feature `catch-all-fields`.
238238
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
239239
#[cfg(feature = "catch-all-fields")]
@@ -250,7 +250,7 @@ where
250250
{
251251
#[serde(bound = "")]
252252
pub result: T,
253-
/// Catchall to catch any additional fields that were present but not expected by this struct.
253+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
254254
/// Enabled with Cargo feature `catch-all-fields`.
255255
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
256256
#[cfg(feature = "catch-all-fields")]
@@ -280,7 +280,7 @@ where
280280
pub claims: T,
281281
pub issuer: String,
282282
pub sub: String,
283-
/// Catchall to catch any additional fields that were present but not expected by this struct.
283+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
284284
/// Enabled with Cargo feature `catch-all-fields`.
285285
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
286286
#[cfg(feature = "catch-all-fields")]
@@ -298,7 +298,7 @@ where
298298
{
299299
#[serde(bound = "")]
300300
pub resolver_context: T,
301-
/// Catchall to catch any additional fields that were present but not expected by this struct.
301+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
302302
/// Enabled with Cargo feature `catch-all-fields`.
303303
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
304304
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/autoscaling/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ where
4141
#[serde(default)]
4242
#[serde(bound = "")]
4343
pub detail: HashMap<String, T1>,
44-
/// Catchall to catch any additional fields that were present but not expected by this struct.
44+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
4545
/// Enabled with Cargo feature `catch-all-fields`.
4646
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
4747
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/bedrock_agent_runtime/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub struct AgentEvent {
3131
pub session_attributes: HashMap<String, String>,
3232
/// Contains prompt attributes and their values.
3333
pub prompt_session_attributes: HashMap<String, String>,
34-
/// Catchall to catch any additional fields that were present but not expected by this struct.
34+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
3535
/// Enabled with Cargo feature `catch-all-fields`.
3636
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
3737
#[cfg(feature = "catch-all-fields")]
@@ -45,7 +45,7 @@ pub struct AgentEvent {
4545
pub struct RequestBody {
4646
/// Contains the request body and its properties
4747
pub content: HashMap<String, Content>,
48-
/// Catchall to catch any additional fields that were present but not expected by this struct.
48+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
4949
/// Enabled with Cargo feature `catch-all-fields`.
5050
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5151
#[cfg(feature = "catch-all-fields")]
@@ -59,7 +59,7 @@ pub struct RequestBody {
5959
pub struct Content {
6060
/// The content of the request body
6161
pub properties: Vec<Property>,
62-
/// Catchall to catch any additional fields that were present but not expected by this struct.
62+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
6363
/// Enabled with Cargo feature `catch-all-fields`.
6464
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
6565
#[cfg(feature = "catch-all-fields")]
@@ -77,7 +77,7 @@ pub struct Property {
7777
pub r#type: String,
7878
/// The value of the parameter
7979
pub value: String,
80-
/// Catchall to catch any additional fields that were present but not expected by this struct.
80+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
8181
/// Enabled with Cargo feature `catch-all-fields`.
8282
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
8383
#[cfg(feature = "catch-all-fields")]
@@ -95,7 +95,7 @@ pub struct Parameter {
9595
pub r#type: String,
9696
/// The value of the parameter
9797
pub value: String,
98-
/// Catchall to catch any additional fields that were present but not expected by this struct.
98+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
9999
/// Enabled with Cargo feature `catch-all-fields`.
100100
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
101101
#[cfg(feature = "catch-all-fields")]
@@ -115,7 +115,7 @@ pub struct Agent {
115115
pub alias: String,
116116
/// The version of the agent.
117117
pub version: String,
118-
/// Catchall to catch any additional fields that were present but not expected by this struct.
118+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
119119
/// Enabled with Cargo feature `catch-all-fields`.
120120
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
121121
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/chime_bot/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub struct ChimeBotEvent {
1919
pub event_timestamp: DateTime<Utc>,
2020
#[serde(rename = "Message")]
2121
pub message: Option<String>,
22-
/// Catchall to catch any additional fields that were present but not expected by this struct.
22+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
2323
/// Enabled with Cargo feature `catch-all-fields`.
2424
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
2525
#[cfg(feature = "catch-all-fields")]
@@ -37,7 +37,7 @@ pub struct ChimeBotEventSender {
3737
#[serde(default)]
3838
#[serde(rename = "SenderIdType")]
3939
pub sender_id_type: Option<String>,
40-
/// Catchall to catch any additional fields that were present but not expected by this struct.
40+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
4141
/// Enabled with Cargo feature `catch-all-fields`.
4242
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
4343
#[cfg(feature = "catch-all-fields")]
@@ -55,7 +55,7 @@ pub struct ChimeBotEventDiscussion {
5555
#[serde(default)]
5656
#[serde(rename = "DiscussionType")]
5757
pub discussion_type: Option<String>,
58-
/// Catchall to catch any additional fields that were present but not expected by this struct.
58+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
5959
/// Enabled with Cargo feature `catch-all-fields`.
6060
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
6161
#[cfg(feature = "catch-all-fields")]
@@ -73,7 +73,7 @@ pub struct ChimeBotEventInboundHttpsEndpoint {
7373
#[serde(default)]
7474
#[serde(rename = "Url")]
7575
pub url: Option<String>,
76-
/// Catchall to catch any additional fields that were present but not expected by this struct.
76+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
7777
/// Enabled with Cargo feature `catch-all-fields`.
7878
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
7979
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/clientvpn/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub struct ClientVpnConnectionHandlerRequest {
3131
#[serde(default)]
3232
#[serde(rename = "schema-version")]
3333
pub schema_version: Option<String>,
34-
/// Catchall to catch any additional fields that were present but not expected by this struct.
34+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
3535
/// Enabled with Cargo feature `catch-all-fields`.
3636
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
3737
#[cfg(feature = "catch-all-fields")]
@@ -52,7 +52,7 @@ pub struct ClientVpnConnectionHandlerResponse {
5252
#[serde(default)]
5353
#[serde(rename = "schema-version")]
5454
pub schema_version: Option<String>,
55-
/// Catchall to catch any additional fields that were present but not expected by this struct.
55+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
5656
/// Enabled with Cargo feature `catch-all-fields`.
5757
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
5858
#[cfg(feature = "catch-all-fields")]

lambda-events/src/event/cloudformation/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ where
3535
pub logical_resource_id: String,
3636
#[serde(bound = "")]
3737
pub resource_properties: P2,
38-
/// Catchall to catch any additional fields that were present but not expected by this struct.
38+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
3939
/// Enabled with Cargo feature `catch-all-fields`.
4040
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
4141
#[cfg(feature = "catch-all-fields")]
@@ -64,7 +64,7 @@ where
6464
pub resource_properties: P2,
6565
#[serde(bound = "")]
6666
pub old_resource_properties: P1,
67-
/// Catchall to catch any additional fields that were present but not expected by this struct.
67+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
6868
/// Enabled with Cargo feature `catch-all-fields`.
6969
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
7070
#[cfg(feature = "catch-all-fields")]
@@ -90,7 +90,7 @@ where
9090
pub physical_resource_id: String,
9191
#[serde(bound = "")]
9292
pub resource_properties: P2,
93-
/// Catchall to catch any additional fields that were present but not expected by this struct.
93+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
9494
/// Enabled with Cargo feature `catch-all-fields`.
9595
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
9696
#[cfg(feature = "catch-all-fields")]
@@ -110,7 +110,7 @@ pub struct CloudFormationCustomResourceResponse {
110110
pub logical_resource_id: String,
111111
pub no_echo: bool,
112112
pub data: HashMap<String, String>,
113-
/// Catchall to catch any additional fields that were present but not expected by this struct.
113+
/// Catchall to catch any additional fields that were present but not explicitly defined by this struct.
114114
/// Enabled with Cargo feature `catch-all-fields`.
115115
/// If `catch-all-fields` is disabled, any additional fields that are present will be ignored.
116116
#[cfg(feature = "catch-all-fields")]

0 commit comments

Comments
 (0)