aws-sdk-ec2 1.351.0 → 1.352.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +326 -17
- data/lib/aws-sdk-ec2/client_api.rb +190 -1
- data/lib/aws-sdk-ec2/endpoints.rb +70 -0
- data/lib/aws-sdk-ec2/network_interface.rb +20 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-ec2/plugins/region_validation.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +839 -142
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
@@ -9,7 +9,7 @@ module Aws
|
|
9
9
|
def after_initialize(client)
|
10
10
|
if region = client.config.region
|
11
11
|
if matches = region.match(/^(\w+-\w+-\d+)[a-z]$/)
|
12
|
-
msg = ":region option must a region name, not an availability "\
|
12
|
+
msg = ":region option must be a region name, not an availability "\
|
13
13
|
"zone name; try `#{matches[1]}' instead of `#{matches[0]}'"
|
14
14
|
raise ArgumentError, msg
|
15
15
|
end
|