@@ -6,44 +6,44 @@ module Weather
66 # This module contains a schema composed of shapes used by the client.
77 module Schema
88
9- CityCoordinates = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#CityCoordinates' , name : ' CityCoordinates' )
10- CityId = ::Smithy ::Schema ::Shapes ::StringShape . new ( id : ' example.weather#CityId' , name : ' CityId' , traits : { "smithy.api#pattern" => "^[A-Za-z0-9 ]+$" } )
11- CitySummaries = ::Smithy ::Schema ::Shapes ::ListShape . new ( id : ' example.weather#CitySummaries' , name : ' CitySummaries' )
12- CitySummary = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#CitySummary' , name : ' CitySummary' , traits : { "smithy.api#references" => [ { "resource" => "example.weather#City" } ] } )
13- GetCityInput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#GetCityInput' , name : ' GetCityInput' )
14- GetCityOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#GetCityOutput' , name : ' GetCityOutput' )
15- GetCurrentTimeOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#GetCurrentTimeOutput' , name : ' GetCurrentTimeOutput' )
16- GetForecastInput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#GetForecastInput' , name : ' GetForecastInput' )
17- GetForecastOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#GetForecastOutput' , name : ' GetForecastOutput' )
18- ListCitiesInput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#ListCitiesInput' , name : ' ListCitiesInput' )
19- ListCitiesOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#ListCitiesOutput' , name : ' ListCitiesOutput' )
20- NoSuchResource = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : ' example.weather#NoSuchResource' , name : ' NoSuchResource' , traits : { "smithy.api#error" => "client" } )
9+ CityCoordinates = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#CityCoordinates" , name : " CityCoordinates" )
10+ CityId = ::Smithy ::Schema ::Shapes ::StringShape . new ( id : " example.weather#CityId" , name : " CityId" , traits : { "smithy.api#pattern" => "^[A-Za-z0-9 ]+$" } )
11+ CitySummaries = ::Smithy ::Schema ::Shapes ::ListShape . new ( id : " example.weather#CitySummaries" , name : " CitySummaries" )
12+ CitySummary = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#CitySummary" , name : " CitySummary" , traits : { "smithy.api#references" => [ { "resource" => "example.weather#City" } ] } )
13+ GetCityInput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#GetCityInput" , name : " GetCityInput" )
14+ GetCityOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#GetCityOutput" , name : " GetCityOutput" )
15+ GetCurrentTimeOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#GetCurrentTimeOutput" , name : " GetCurrentTimeOutput" )
16+ GetForecastInput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#GetForecastInput" , name : " GetForecastInput" )
17+ GetForecastOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#GetForecastOutput" , name : " GetForecastOutput" )
18+ ListCitiesInput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#ListCitiesInput" , name : " ListCitiesInput" )
19+ ListCitiesOutput = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#ListCitiesOutput" , name : " ListCitiesOutput" )
20+ NoSuchResource = ::Smithy ::Schema ::Shapes ::StructureShape . new ( id : " example.weather#NoSuchResource" , name : " NoSuchResource" , traits : { "smithy.api#error" => "client" } )
2121
22- CityCoordinates . add_member ( :latitude , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Float , location_name : ' latitude' , traits : { "smithy.api#required" => { } } ) )
23- CityCoordinates . add_member ( :longitude , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Float , location_name : ' longitude' , traits : { "smithy.api#required" => { } } ) )
22+ CityCoordinates . add_member ( :latitude , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Float , location_name : " latitude" , traits : { "smithy.api#required" => { } } ) )
23+ CityCoordinates . add_member ( :longitude , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Float , location_name : " longitude" , traits : { "smithy.api#required" => { } } ) )
2424 CityCoordinates . type = Types ::CityCoordinates
2525 CitySummaries . member = ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CitySummary )
26- CitySummary . add_member ( :city_id , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityId , location_name : ' cityId' , traits : { "smithy.api#required" => { } } ) )
27- CitySummary . add_member ( :name , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : ' name' , traits : { "smithy.api#required" => { } } ) )
26+ CitySummary . add_member ( :city_id , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityId , location_name : " cityId" , traits : { "smithy.api#required" => { } } ) )
27+ CitySummary . add_member ( :name , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : " name" , traits : { "smithy.api#required" => { } } ) )
2828 CitySummary . type = Types ::CitySummary
29- GetCityInput . add_member ( :city_id , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityId , location_name : ' cityId' , traits : { "smithy.api#required" => { } } ) )
29+ GetCityInput . add_member ( :city_id , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityId , location_name : " cityId" , traits : { "smithy.api#required" => { } } ) )
3030 GetCityInput . type = Types ::GetCityInput
31- GetCityOutput . add_member ( :name , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : ' name' , traits : { "smithy.api#notProperty" => { } , "smithy.api#required" => { } } ) )
32- GetCityOutput . add_member ( :coordinates , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityCoordinates , location_name : ' coordinates' , traits : { "smithy.api#required" => { } } ) )
31+ GetCityOutput . add_member ( :name , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : " name" , traits : { "smithy.api#notProperty" => { } , "smithy.api#required" => { } } ) )
32+ GetCityOutput . add_member ( :coordinates , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityCoordinates , location_name : " coordinates" , traits : { "smithy.api#required" => { } } ) )
3333 GetCityOutput . type = Types ::GetCityOutput
34- GetCurrentTimeOutput . add_member ( :time , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Timestamp , location_name : ' time' , traits : { "smithy.api#required" => { } } ) )
34+ GetCurrentTimeOutput . add_member ( :time , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Timestamp , location_name : " time" , traits : { "smithy.api#required" => { } } ) )
3535 GetCurrentTimeOutput . type = Types ::GetCurrentTimeOutput
36- GetForecastInput . add_member ( :city_id , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityId , location_name : ' cityId' , traits : { "smithy.api#required" => { } } ) )
36+ GetForecastInput . add_member ( :city_id , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CityId , location_name : " cityId" , traits : { "smithy.api#required" => { } } ) )
3737 GetForecastInput . type = Types ::GetForecastInput
38- GetForecastOutput . add_member ( :chance_of_rain , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Float , location_name : ' chanceOfRain' ) )
38+ GetForecastOutput . add_member ( :chance_of_rain , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Float , location_name : " chanceOfRain" ) )
3939 GetForecastOutput . type = Types ::GetForecastOutput
40- ListCitiesInput . add_member ( :next_token , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : ' nextToken' ) )
41- ListCitiesInput . add_member ( :page_size , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Integer , location_name : ' pageSize' ) )
40+ ListCitiesInput . add_member ( :next_token , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : " nextToken" ) )
41+ ListCitiesInput . add_member ( :page_size , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::Integer , location_name : " pageSize" ) )
4242 ListCitiesInput . type = Types ::ListCitiesInput
43- ListCitiesOutput . add_member ( :next_token , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : ' nextToken' ) )
44- ListCitiesOutput . add_member ( :items , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CitySummaries , location_name : ' items' , traits : { "smithy.api#required" => { } } ) )
43+ ListCitiesOutput . add_member ( :next_token , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : " nextToken" ) )
44+ ListCitiesOutput . add_member ( :items , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : CitySummaries , location_name : " items" , traits : { "smithy.api#required" => { } } ) )
4545 ListCitiesOutput . type = Types ::ListCitiesOutput
46- NoSuchResource . add_member ( :resource_type , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : ' resourceType' , traits : { "smithy.api#required" => { } } ) )
46+ NoSuchResource . add_member ( :resource_type , ::Smithy ::Schema ::Shapes ::ShapeRef . new ( shape : ::Smithy ::Schema ::Shapes ::Prelude ::String , location_name : " resourceType" , traits : { "smithy.api#required" => { } } ) )
4747 NoSuchResource . type = Types ::NoSuchResource
4848
4949 Weather = ::Smithy ::Schema ::Shapes ::ServiceShape . new do |service |
0 commit comments