Skip to content

Commit f7bd277

Browse files
author
awstools
committed
feat(client-connectcampaigns): Minor pattern updates for Campaign and Dial Request API fields.
1 parent 27cbbe0 commit f7bd277

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

codegen/sdk-codegen/aws-models/connectcampaigns.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@
834834
"min": 20,
835835
"max": 500
836836
},
837-
"smithy.api#pattern": "^arn:.*"
837+
"smithy.api#pattern": "^arn:.*$"
838838
}
839839
},
840840
"com.amazonaws.connectcampaigns#AttributeName": {
@@ -855,7 +855,8 @@
855855
"smithy.api#length": {
856856
"min": 0,
857857
"max": 32767
858-
}
858+
},
859+
"smithy.api#pattern": "^.*$"
859860
}
860861
},
861862
"com.amazonaws.connectcampaigns#Attributes": {
@@ -956,7 +957,8 @@
956957
"smithy.api#length": {
957958
"min": 0,
958959
"max": 256
959-
}
960+
},
961+
"smithy.api#pattern": "^[\\S]*$"
960962
}
961963
},
962964
"com.amazonaws.connectcampaigns#CampaignIdList": {
@@ -1058,8 +1060,9 @@
10581060
"smithy.api#documentation": "Client provided parameter used for idempotency. Its value must be unique for each request.",
10591061
"smithy.api#length": {
10601062
"min": 0,
1061-
"max": 64
1062-
}
1063+
"max": 200
1064+
},
1065+
"smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$"
10631066
}
10641067
},
10651068
"com.amazonaws.connectcampaigns#ConflictException": {
@@ -1397,6 +1400,7 @@
13971400
"min": 0,
13981401
"max": 20
13991402
},
1403+
"smithy.api#pattern": "^[\\d\\-+]*$",
14001404
"smithy.api#sensitive": {}
14011405
}
14021406
},
@@ -1435,7 +1439,12 @@
14351439
"com.amazonaws.connectcampaigns#DialRequestId": {
14361440
"type": "string",
14371441
"traits": {
1438-
"smithy.api#documentation": "Identifier representing a Dial request"
1442+
"smithy.api#documentation": "Identifier representing a Dial request",
1443+
"smithy.api#length": {
1444+
"min": 0,
1445+
"max": 256
1446+
},
1447+
"smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$"
14391448
}
14401449
},
14411450
"com.amazonaws.connectcampaigns#DialRequestList": {
@@ -1893,7 +1902,8 @@
18931902
"smithy.api#length": {
18941903
"min": 0,
18951904
"max": 256
1896-
}
1905+
},
1906+
"smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$"
18971907
}
18981908
},
18991909
"com.amazonaws.connectcampaigns#InstanceIdFilter": {

0 commit comments

Comments
 (0)