# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::Pinpoint # @api private module ClientApi include Seahorse::Model APNSChannelRequest = Shapes::StructureShape.new(name: 'APNSChannelRequest') APNSChannelResponse = Shapes::StructureShape.new(name: 'APNSChannelResponse') APNSMessage = Shapes::StructureShape.new(name: 'APNSMessage') APNSSandboxChannelRequest = Shapes::StructureShape.new(name: 'APNSSandboxChannelRequest') APNSSandboxChannelResponse = Shapes::StructureShape.new(name: 'APNSSandboxChannelResponse') Action = Shapes::StringShape.new(name: 'Action') ActivitiesResponse = Shapes::StructureShape.new(name: 'ActivitiesResponse') ActivityResponse = Shapes::StructureShape.new(name: 'ActivityResponse') AddressConfiguration = Shapes::StructureShape.new(name: 'AddressConfiguration') ApplicationResponse = Shapes::StructureShape.new(name: 'ApplicationResponse') ApplicationSettingsResource = Shapes::StructureShape.new(name: 'ApplicationSettingsResource') ApplicationsResponse = Shapes::StructureShape.new(name: 'ApplicationsResponse') AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension') AttributeType = Shapes::StringShape.new(name: 'AttributeType') BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException') CampaignEmailMessage = Shapes::StructureShape.new(name: 'CampaignEmailMessage') CampaignLimits = Shapes::StructureShape.new(name: 'CampaignLimits') CampaignResponse = Shapes::StructureShape.new(name: 'CampaignResponse') CampaignSmsMessage = Shapes::StructureShape.new(name: 'CampaignSmsMessage') CampaignState = Shapes::StructureShape.new(name: 'CampaignState') CampaignStatus = Shapes::StringShape.new(name: 'CampaignStatus') CampaignsResponse = Shapes::StructureShape.new(name: 'CampaignsResponse') ChannelType = Shapes::StringShape.new(name: 'ChannelType') CreateAppRequest = Shapes::StructureShape.new(name: 'CreateAppRequest') CreateAppResponse = Shapes::StructureShape.new(name: 'CreateAppResponse') CreateApplicationRequest = Shapes::StructureShape.new(name: 'CreateApplicationRequest') CreateCampaignRequest = Shapes::StructureShape.new(name: 'CreateCampaignRequest') CreateCampaignResponse = Shapes::StructureShape.new(name: 'CreateCampaignResponse') CreateImportJobRequest = Shapes::StructureShape.new(name: 'CreateImportJobRequest') CreateImportJobResponse = Shapes::StructureShape.new(name: 'CreateImportJobResponse') CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest') CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse') DefaultMessage = Shapes::StructureShape.new(name: 'DefaultMessage') DefaultPushNotificationMessage = Shapes::StructureShape.new(name: 'DefaultPushNotificationMessage') DeleteApnsChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsChannelRequest') DeleteApnsChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsChannelResponse') DeleteApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelRequest') DeleteApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'DeleteApnsSandboxChannelResponse') DeleteAppRequest = Shapes::StructureShape.new(name: 'DeleteAppRequest') DeleteAppResponse = Shapes::StructureShape.new(name: 'DeleteAppResponse') DeleteCampaignRequest = Shapes::StructureShape.new(name: 'DeleteCampaignRequest') DeleteCampaignResponse = Shapes::StructureShape.new(name: 'DeleteCampaignResponse') DeleteEmailChannelRequest = Shapes::StructureShape.new(name: 'DeleteEmailChannelRequest') DeleteEmailChannelResponse = Shapes::StructureShape.new(name: 'DeleteEmailChannelResponse') DeleteEventStreamRequest = Shapes::StructureShape.new(name: 'DeleteEventStreamRequest') DeleteEventStreamResponse = Shapes::StructureShape.new(name: 'DeleteEventStreamResponse') DeleteGcmChannelRequest = Shapes::StructureShape.new(name: 'DeleteGcmChannelRequest') DeleteGcmChannelResponse = Shapes::StructureShape.new(name: 'DeleteGcmChannelResponse') DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest') DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse') DeleteSmsChannelRequest = Shapes::StructureShape.new(name: 'DeleteSmsChannelRequest') DeleteSmsChannelResponse = Shapes::StructureShape.new(name: 'DeleteSmsChannelResponse') DeliveryStatus = Shapes::StringShape.new(name: 'DeliveryStatus') DimensionType = Shapes::StringShape.new(name: 'DimensionType') DirectMessageConfiguration = Shapes::StructureShape.new(name: 'DirectMessageConfiguration') Duration = Shapes::StringShape.new(name: 'Duration') EmailChannelRequest = Shapes::StructureShape.new(name: 'EmailChannelRequest') EmailChannelResponse = Shapes::StructureShape.new(name: 'EmailChannelResponse') EndpointBatchItem = Shapes::StructureShape.new(name: 'EndpointBatchItem') EndpointBatchRequest = Shapes::StructureShape.new(name: 'EndpointBatchRequest') EndpointDemographic = Shapes::StructureShape.new(name: 'EndpointDemographic') EndpointLocation = Shapes::StructureShape.new(name: 'EndpointLocation') EndpointRequest = Shapes::StructureShape.new(name: 'EndpointRequest') EndpointResponse = Shapes::StructureShape.new(name: 'EndpointResponse') EndpointUser = Shapes::StructureShape.new(name: 'EndpointUser') EventStream = Shapes::StructureShape.new(name: 'EventStream') ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException') Format = Shapes::StringShape.new(name: 'Format') Frequency = Shapes::StringShape.new(name: 'Frequency') GCMChannelRequest = Shapes::StructureShape.new(name: 'GCMChannelRequest') GCMChannelResponse = Shapes::StructureShape.new(name: 'GCMChannelResponse') GCMMessage = Shapes::StructureShape.new(name: 'GCMMessage') GetApnsChannelRequest = Shapes::StructureShape.new(name: 'GetApnsChannelRequest') GetApnsChannelResponse = Shapes::StructureShape.new(name: 'GetApnsChannelResponse') GetApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelRequest') GetApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'GetApnsSandboxChannelResponse') GetAppRequest = Shapes::StructureShape.new(name: 'GetAppRequest') GetAppResponse = Shapes::StructureShape.new(name: 'GetAppResponse') GetApplicationSettingsRequest = Shapes::StructureShape.new(name: 'GetApplicationSettingsRequest') GetApplicationSettingsResponse = Shapes::StructureShape.new(name: 'GetApplicationSettingsResponse') GetAppsRequest = Shapes::StructureShape.new(name: 'GetAppsRequest') GetAppsResponse = Shapes::StructureShape.new(name: 'GetAppsResponse') GetCampaignActivitiesRequest = Shapes::StructureShape.new(name: 'GetCampaignActivitiesRequest') GetCampaignActivitiesResponse = Shapes::StructureShape.new(name: 'GetCampaignActivitiesResponse') GetCampaignRequest = Shapes::StructureShape.new(name: 'GetCampaignRequest') GetCampaignResponse = Shapes::StructureShape.new(name: 'GetCampaignResponse') GetCampaignVersionRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionRequest') GetCampaignVersionResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionResponse') GetCampaignVersionsRequest = Shapes::StructureShape.new(name: 'GetCampaignVersionsRequest') GetCampaignVersionsResponse = Shapes::StructureShape.new(name: 'GetCampaignVersionsResponse') GetCampaignsRequest = Shapes::StructureShape.new(name: 'GetCampaignsRequest') GetCampaignsResponse = Shapes::StructureShape.new(name: 'GetCampaignsResponse') GetEmailChannelRequest = Shapes::StructureShape.new(name: 'GetEmailChannelRequest') GetEmailChannelResponse = Shapes::StructureShape.new(name: 'GetEmailChannelResponse') GetEndpointRequest = Shapes::StructureShape.new(name: 'GetEndpointRequest') GetEndpointResponse = Shapes::StructureShape.new(name: 'GetEndpointResponse') GetEventStreamRequest = Shapes::StructureShape.new(name: 'GetEventStreamRequest') GetEventStreamResponse = Shapes::StructureShape.new(name: 'GetEventStreamResponse') GetGcmChannelRequest = Shapes::StructureShape.new(name: 'GetGcmChannelRequest') GetGcmChannelResponse = Shapes::StructureShape.new(name: 'GetGcmChannelResponse') GetImportJobRequest = Shapes::StructureShape.new(name: 'GetImportJobRequest') GetImportJobResponse = Shapes::StructureShape.new(name: 'GetImportJobResponse') GetImportJobsRequest = Shapes::StructureShape.new(name: 'GetImportJobsRequest') GetImportJobsResponse = Shapes::StructureShape.new(name: 'GetImportJobsResponse') GetSegmentImportJobsRequest = Shapes::StructureShape.new(name: 'GetSegmentImportJobsRequest') GetSegmentImportJobsResponse = Shapes::StructureShape.new(name: 'GetSegmentImportJobsResponse') GetSegmentRequest = Shapes::StructureShape.new(name: 'GetSegmentRequest') GetSegmentResponse = Shapes::StructureShape.new(name: 'GetSegmentResponse') GetSegmentVersionRequest = Shapes::StructureShape.new(name: 'GetSegmentVersionRequest') GetSegmentVersionResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionResponse') GetSegmentVersionsRequest = Shapes::StructureShape.new(name: 'GetSegmentVersionsRequest') GetSegmentVersionsResponse = Shapes::StructureShape.new(name: 'GetSegmentVersionsResponse') GetSegmentsRequest = Shapes::StructureShape.new(name: 'GetSegmentsRequest') GetSegmentsResponse = Shapes::StructureShape.new(name: 'GetSegmentsResponse') GetSmsChannelRequest = Shapes::StructureShape.new(name: 'GetSmsChannelRequest') GetSmsChannelResponse = Shapes::StructureShape.new(name: 'GetSmsChannelResponse') ImportJobRequest = Shapes::StructureShape.new(name: 'ImportJobRequest') ImportJobResource = Shapes::StructureShape.new(name: 'ImportJobResource') ImportJobResponse = Shapes::StructureShape.new(name: 'ImportJobResponse') ImportJobsResponse = Shapes::StructureShape.new(name: 'ImportJobsResponse') InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException') JobStatus = Shapes::StringShape.new(name: 'JobStatus') ListOfActivityResponse = Shapes::ListShape.new(name: 'ListOfActivityResponse') ListOfApplicationResponse = Shapes::ListShape.new(name: 'ListOfApplicationResponse') ListOfCampaignResponse = Shapes::ListShape.new(name: 'ListOfCampaignResponse') ListOfEndpointBatchItem = Shapes::ListShape.new(name: 'ListOfEndpointBatchItem') ListOfImportJobResponse = Shapes::ListShape.new(name: 'ListOfImportJobResponse') ListOfSegmentResponse = Shapes::ListShape.new(name: 'ListOfSegmentResponse') ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource') ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource') ListOf__string = Shapes::ListShape.new(name: 'ListOf__string') MapOfAddressConfiguration = Shapes::MapShape.new(name: 'MapOfAddressConfiguration') MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension') MapOfListOf__string = Shapes::MapShape.new(name: 'MapOfListOf__string') MapOfMessageResult = Shapes::MapShape.new(name: 'MapOfMessageResult') MapOf__double = Shapes::MapShape.new(name: 'MapOf__double') MapOf__integer = Shapes::MapShape.new(name: 'MapOf__integer') MapOf__string = Shapes::MapShape.new(name: 'MapOf__string') Message = Shapes::StructureShape.new(name: 'Message') MessageBody = Shapes::StructureShape.new(name: 'MessageBody') MessageConfiguration = Shapes::StructureShape.new(name: 'MessageConfiguration') MessageRequest = Shapes::StructureShape.new(name: 'MessageRequest') MessageResponse = Shapes::StructureShape.new(name: 'MessageResponse') MessageResult = Shapes::StructureShape.new(name: 'MessageResult') MessageType = Shapes::StringShape.new(name: 'MessageType') MethodNotAllowedException = Shapes::StructureShape.new(name: 'MethodNotAllowedException') NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException') PutEventStreamRequest = Shapes::StructureShape.new(name: 'PutEventStreamRequest') PutEventStreamResponse = Shapes::StructureShape.new(name: 'PutEventStreamResponse') QuietTime = Shapes::StructureShape.new(name: 'QuietTime') RecencyDimension = Shapes::StructureShape.new(name: 'RecencyDimension') RecencyType = Shapes::StringShape.new(name: 'RecencyType') SMSChannelRequest = Shapes::StructureShape.new(name: 'SMSChannelRequest') SMSChannelResponse = Shapes::StructureShape.new(name: 'SMSChannelResponse') SMSMessage = Shapes::StructureShape.new(name: 'SMSMessage') Schedule = Shapes::StructureShape.new(name: 'Schedule') SegmentBehaviors = Shapes::StructureShape.new(name: 'SegmentBehaviors') SegmentDemographics = Shapes::StructureShape.new(name: 'SegmentDemographics') SegmentDimensions = Shapes::StructureShape.new(name: 'SegmentDimensions') SegmentImportResource = Shapes::StructureShape.new(name: 'SegmentImportResource') SegmentLocation = Shapes::StructureShape.new(name: 'SegmentLocation') SegmentResponse = Shapes::StructureShape.new(name: 'SegmentResponse') SegmentType = Shapes::StringShape.new(name: 'SegmentType') SegmentsResponse = Shapes::StructureShape.new(name: 'SegmentsResponse') SendMessagesRequest = Shapes::StructureShape.new(name: 'SendMessagesRequest') SendMessagesResponse = Shapes::StructureShape.new(name: 'SendMessagesResponse') SetDimension = Shapes::StructureShape.new(name: 'SetDimension') TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException') TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource') UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest') UpdateApnsChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsChannelResponse') UpdateApnsSandboxChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelRequest') UpdateApnsSandboxChannelResponse = Shapes::StructureShape.new(name: 'UpdateApnsSandboxChannelResponse') UpdateApplicationSettingsRequest = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsRequest') UpdateApplicationSettingsResponse = Shapes::StructureShape.new(name: 'UpdateApplicationSettingsResponse') UpdateCampaignRequest = Shapes::StructureShape.new(name: 'UpdateCampaignRequest') UpdateCampaignResponse = Shapes::StructureShape.new(name: 'UpdateCampaignResponse') UpdateEmailChannelRequest = Shapes::StructureShape.new(name: 'UpdateEmailChannelRequest') UpdateEmailChannelResponse = Shapes::StructureShape.new(name: 'UpdateEmailChannelResponse') UpdateEndpointRequest = Shapes::StructureShape.new(name: 'UpdateEndpointRequest') UpdateEndpointResponse = Shapes::StructureShape.new(name: 'UpdateEndpointResponse') UpdateEndpointsBatchRequest = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchRequest') UpdateEndpointsBatchResponse = Shapes::StructureShape.new(name: 'UpdateEndpointsBatchResponse') UpdateGcmChannelRequest = Shapes::StructureShape.new(name: 'UpdateGcmChannelRequest') UpdateGcmChannelResponse = Shapes::StructureShape.new(name: 'UpdateGcmChannelResponse') UpdateSegmentRequest = Shapes::StructureShape.new(name: 'UpdateSegmentRequest') UpdateSegmentResponse = Shapes::StructureShape.new(name: 'UpdateSegmentResponse') UpdateSmsChannelRequest = Shapes::StructureShape.new(name: 'UpdateSmsChannelRequest') UpdateSmsChannelResponse = Shapes::StructureShape.new(name: 'UpdateSmsChannelResponse') WriteApplicationSettingsRequest = Shapes::StructureShape.new(name: 'WriteApplicationSettingsRequest') WriteCampaignRequest = Shapes::StructureShape.new(name: 'WriteCampaignRequest') WriteEventStream = Shapes::StructureShape.new(name: 'WriteEventStream') WriteSegmentRequest = Shapes::StructureShape.new(name: 'WriteSegmentRequest') WriteTreatmentResource = Shapes::StructureShape.new(name: 'WriteTreatmentResource') __boolean = Shapes::BooleanShape.new(name: '__boolean') __double = Shapes::FloatShape.new(name: '__double') __integer = Shapes::IntegerShape.new(name: '__integer') __string = Shapes::StringShape.new(name: '__string') __timestamp = Shapes::TimestampShape.new(name: '__timestamp') APNSChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate")) APNSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) APNSChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey")) APNSChannelRequest.struct_class = Types::APNSChannelRequest APNSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) APNSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) APNSChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) APNSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) APNSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) APNSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) APNSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) APNSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) APNSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) APNSChannelResponse.struct_class = Types::APNSChannelResponse APNSMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action")) APNSMessage.add_member(:badge, Shapes::ShapeRef.new(shape: __integer, location_name: "Badge")) APNSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) APNSMessage.add_member(:category, Shapes::ShapeRef.new(shape: __string, location_name: "Category")) APNSMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data")) APNSMessage.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl")) APNSMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent")) APNSMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush")) APNSMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound")) APNSMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions")) APNSMessage.add_member(:thread_id, Shapes::ShapeRef.new(shape: __string, location_name: "ThreadId")) APNSMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title")) APNSMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url")) APNSMessage.struct_class = Types::APNSMessage APNSSandboxChannelRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: __string, location_name: "Certificate")) APNSSandboxChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) APNSSandboxChannelRequest.add_member(:private_key, Shapes::ShapeRef.new(shape: __string, location_name: "PrivateKey")) APNSSandboxChannelRequest.struct_class = Types::APNSSandboxChannelRequest APNSSandboxChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) APNSSandboxChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) APNSSandboxChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) APNSSandboxChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) APNSSandboxChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) APNSSandboxChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) APNSSandboxChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) APNSSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) APNSSandboxChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) APNSSandboxChannelResponse.struct_class = Types::APNSSandboxChannelResponse ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, location_name: "Item")) ActivitiesResponse.struct_class = Types::ActivitiesResponse ActivityResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) ActivityResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, location_name: "CampaignId")) ActivityResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End")) ActivityResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) ActivityResponse.add_member(:result, Shapes::ShapeRef.new(shape: __string, location_name: "Result")) ActivityResponse.add_member(:scheduled_start, Shapes::ShapeRef.new(shape: __string, location_name: "ScheduledStart")) ActivityResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start")) ActivityResponse.add_member(:state, Shapes::ShapeRef.new(shape: __string, location_name: "State")) ActivityResponse.add_member(:successful_endpoint_count, Shapes::ShapeRef.new(shape: __integer, location_name: "SuccessfulEndpointCount")) ActivityResponse.add_member(:timezones_completed_count, Shapes::ShapeRef.new(shape: __integer, location_name: "TimezonesCompletedCount")) ActivityResponse.add_member(:timezones_total_count, Shapes::ShapeRef.new(shape: __integer, location_name: "TimezonesTotalCount")) ActivityResponse.add_member(:total_endpoint_count, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalEndpointCount")) ActivityResponse.add_member(:treatment_id, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentId")) ActivityResponse.struct_class = Types::ActivityResponse AddressConfiguration.add_member(:body_override, Shapes::ShapeRef.new(shape: __string, location_name: "BodyOverride")) AddressConfiguration.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) AddressConfiguration.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context")) AddressConfiguration.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent")) AddressConfiguration.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions")) AddressConfiguration.add_member(:title_override, Shapes::ShapeRef.new(shape: __string, location_name: "TitleOverride")) AddressConfiguration.struct_class = Types::AddressConfiguration ApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) ApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) ApplicationResponse.struct_class = Types::ApplicationResponse ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) ApplicationSettingsResource.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) ApplicationSettingsResource.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) ApplicationSettingsResource.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime")) ApplicationSettingsResource.struct_class = Types::ApplicationSettingsResource ApplicationsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfApplicationResponse, location_name: "Item")) ApplicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) ApplicationsResponse.struct_class = Types::ApplicationsResponse AttributeDimension.add_member(:attribute_type, Shapes::ShapeRef.new(shape: AttributeType, location_name: "AttributeType")) AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values")) AttributeDimension.struct_class = Types::AttributeDimension CampaignEmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) CampaignEmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress")) CampaignEmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody")) CampaignEmailMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title")) CampaignEmailMessage.struct_class = Types::CampaignEmailMessage CampaignLimits.add_member(:daily, Shapes::ShapeRef.new(shape: __integer, location_name: "Daily")) CampaignLimits.add_member(:total, Shapes::ShapeRef.new(shape: __integer, location_name: "Total")) CampaignLimits.struct_class = Types::CampaignLimits CampaignResponse.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfTreatmentResource, location_name: "AdditionalTreatments")) CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) CampaignResponse.add_member(:default_state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "DefaultState")) CampaignResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description")) CampaignResponse.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent")) CampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) CampaignResponse.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused")) CampaignResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) CampaignResponse.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) CampaignResponse.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) CampaignResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) CampaignResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) CampaignResponse.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) CampaignResponse.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion")) CampaignResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State")) CampaignResponse.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) CampaignResponse.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) CampaignResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) CampaignResponse.struct_class = Types::CampaignResponse CampaignSmsMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) CampaignSmsMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType")) CampaignSmsMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId")) CampaignSmsMessage.struct_class = Types::CampaignSmsMessage CampaignState.add_member(:campaign_status, Shapes::ShapeRef.new(shape: CampaignStatus, location_name: "CampaignStatus")) CampaignState.struct_class = Types::CampaignState CampaignsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfCampaignResponse, location_name: "Item")) CampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) CampaignsResponse.struct_class = Types::CampaignsResponse CreateAppRequest.add_member(:create_application_request, Shapes::ShapeRef.new(shape: CreateApplicationRequest, required: true, location_name: "CreateApplicationRequest")) CreateAppRequest.struct_class = Types::CreateAppRequest CreateAppRequest[:payload] = :create_application_request CreateAppRequest[:payload_member] = CreateAppRequest.member(:create_application_request) CreateAppResponse.add_member(:application_response, Shapes::ShapeRef.new(shape: ApplicationResponse, required: true, location_name: "ApplicationResponse")) CreateAppResponse.struct_class = Types::CreateAppResponse CreateAppResponse[:payload] = :application_response CreateAppResponse[:payload_member] = CreateAppResponse.member(:application_response) CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) CreateApplicationRequest.struct_class = Types::CreateApplicationRequest CreateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) CreateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest")) CreateCampaignRequest.struct_class = Types::CreateCampaignRequest CreateCampaignRequest[:payload] = :write_campaign_request CreateCampaignRequest[:payload_member] = CreateCampaignRequest.member(:write_campaign_request) CreateCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) CreateCampaignResponse.struct_class = Types::CreateCampaignResponse CreateCampaignResponse[:payload] = :campaign_response CreateCampaignResponse[:payload_member] = CreateCampaignResponse.member(:campaign_response) CreateImportJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) CreateImportJobRequest.add_member(:import_job_request, Shapes::ShapeRef.new(shape: ImportJobRequest, required: true, location_name: "ImportJobRequest")) CreateImportJobRequest.struct_class = Types::CreateImportJobRequest CreateImportJobRequest[:payload] = :import_job_request CreateImportJobRequest[:payload_member] = CreateImportJobRequest.member(:import_job_request) CreateImportJobResponse.add_member(:import_job_response, Shapes::ShapeRef.new(shape: ImportJobResponse, required: true, location_name: "ImportJobResponse")) CreateImportJobResponse.struct_class = Types::CreateImportJobResponse CreateImportJobResponse[:payload] = :import_job_response CreateImportJobResponse[:payload_member] = CreateImportJobResponse.member(:import_job_response) CreateSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) CreateSegmentRequest.add_member(:write_segment_request, Shapes::ShapeRef.new(shape: WriteSegmentRequest, required: true, location_name: "WriteSegmentRequest")) CreateSegmentRequest.struct_class = Types::CreateSegmentRequest CreateSegmentRequest[:payload] = :write_segment_request CreateSegmentRequest[:payload_member] = CreateSegmentRequest.member(:write_segment_request) CreateSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) CreateSegmentResponse.struct_class = Types::CreateSegmentResponse CreateSegmentResponse[:payload] = :segment_response CreateSegmentResponse[:payload_member] = CreateSegmentResponse.member(:segment_response) DefaultMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) DefaultMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions")) DefaultMessage.struct_class = Types::DefaultMessage DefaultPushNotificationMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action")) DefaultPushNotificationMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) DefaultPushNotificationMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data")) DefaultPushNotificationMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush")) DefaultPushNotificationMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions")) DefaultPushNotificationMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title")) DefaultPushNotificationMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url")) DefaultPushNotificationMessage.struct_class = Types::DefaultPushNotificationMessage DeleteApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteApnsChannelRequest.struct_class = Types::DeleteApnsChannelRequest DeleteApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse")) DeleteApnsChannelResponse.struct_class = Types::DeleteApnsChannelResponse DeleteApnsChannelResponse[:payload] = :apns_channel_response DeleteApnsChannelResponse[:payload_member] = DeleteApnsChannelResponse.member(:apns_channel_response) DeleteApnsSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteApnsSandboxChannelRequest.struct_class = Types::DeleteApnsSandboxChannelRequest DeleteApnsSandboxChannelResponse.add_member(:apns_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSSandboxChannelResponse, required: true, location_name: "APNSSandboxChannelResponse")) DeleteApnsSandboxChannelResponse.struct_class = Types::DeleteApnsSandboxChannelResponse DeleteApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response DeleteApnsSandboxChannelResponse[:payload_member] = DeleteApnsSandboxChannelResponse.member(:apns_sandbox_channel_response) DeleteAppRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteAppRequest.struct_class = Types::DeleteAppRequest DeleteAppResponse.add_member(:application_response, Shapes::ShapeRef.new(shape: ApplicationResponse, required: true, location_name: "ApplicationResponse")) DeleteAppResponse.struct_class = Types::DeleteAppResponse DeleteAppResponse[:payload] = :application_response DeleteAppResponse[:payload_member] = DeleteAppResponse.member(:application_response) DeleteCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) DeleteCampaignRequest.struct_class = Types::DeleteCampaignRequest DeleteCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) DeleteCampaignResponse.struct_class = Types::DeleteCampaignResponse DeleteCampaignResponse[:payload] = :campaign_response DeleteCampaignResponse[:payload_member] = DeleteCampaignResponse.member(:campaign_response) DeleteEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteEmailChannelRequest.struct_class = Types::DeleteEmailChannelRequest DeleteEmailChannelResponse.add_member(:email_channel_response, Shapes::ShapeRef.new(shape: EmailChannelResponse, required: true, location_name: "EmailChannelResponse")) DeleteEmailChannelResponse.struct_class = Types::DeleteEmailChannelResponse DeleteEmailChannelResponse[:payload] = :email_channel_response DeleteEmailChannelResponse[:payload_member] = DeleteEmailChannelResponse.member(:email_channel_response) DeleteEventStreamRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteEventStreamRequest.struct_class = Types::DeleteEventStreamRequest DeleteEventStreamResponse.add_member(:event_stream, Shapes::ShapeRef.new(shape: EventStream, required: true, location_name: "EventStream")) DeleteEventStreamResponse.struct_class = Types::DeleteEventStreamResponse DeleteEventStreamResponse[:payload] = :event_stream DeleteEventStreamResponse[:payload_member] = DeleteEventStreamResponse.member(:event_stream) DeleteGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteGcmChannelRequest.struct_class = Types::DeleteGcmChannelRequest DeleteGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse")) DeleteGcmChannelResponse.struct_class = Types::DeleteGcmChannelResponse DeleteGcmChannelResponse[:payload] = :gcm_channel_response DeleteGcmChannelResponse[:payload_member] = DeleteGcmChannelResponse.member(:gcm_channel_response) DeleteSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) DeleteSegmentRequest.struct_class = Types::DeleteSegmentRequest DeleteSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) DeleteSegmentResponse.struct_class = Types::DeleteSegmentResponse DeleteSegmentResponse[:payload] = :segment_response DeleteSegmentResponse[:payload_member] = DeleteSegmentResponse.member(:segment_response) DeleteSmsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) DeleteSmsChannelRequest.struct_class = Types::DeleteSmsChannelRequest DeleteSmsChannelResponse.add_member(:sms_channel_response, Shapes::ShapeRef.new(shape: SMSChannelResponse, required: true, location_name: "SMSChannelResponse")) DeleteSmsChannelResponse.struct_class = Types::DeleteSmsChannelResponse DeleteSmsChannelResponse[:payload] = :sms_channel_response DeleteSmsChannelResponse[:payload_member] = DeleteSmsChannelResponse.member(:sms_channel_response) DirectMessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: APNSMessage, location_name: "APNSMessage")) DirectMessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: DefaultMessage, location_name: "DefaultMessage")) DirectMessageConfiguration.add_member(:default_push_notification_message, Shapes::ShapeRef.new(shape: DefaultPushNotificationMessage, location_name: "DefaultPushNotificationMessage")) DirectMessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: GCMMessage, location_name: "GCMMessage")) DirectMessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: SMSMessage, location_name: "SMSMessage")) DirectMessageConfiguration.struct_class = Types::DirectMessageConfiguration EmailChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) EmailChannelRequest.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress")) EmailChannelRequest.add_member(:identity, Shapes::ShapeRef.new(shape: __string, location_name: "Identity")) EmailChannelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) EmailChannelRequest.struct_class = Types::EmailChannelRequest EmailChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) EmailChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) EmailChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) EmailChannelResponse.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress")) EmailChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) EmailChannelResponse.add_member(:identity, Shapes::ShapeRef.new(shape: __string, location_name: "Identity")) EmailChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) EmailChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) EmailChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) EmailChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) EmailChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) EmailChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) EmailChannelResponse.struct_class = Types::EmailChannelResponse EndpointBatchItem.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address")) EndpointBatchItem.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes")) EndpointBatchItem.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) EndpointBatchItem.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic")) EndpointBatchItem.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate")) EndpointBatchItem.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus")) EndpointBatchItem.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) EndpointBatchItem.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location")) EndpointBatchItem.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics")) EndpointBatchItem.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut")) EndpointBatchItem.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) EndpointBatchItem.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User")) EndpointBatchItem.struct_class = Types::EndpointBatchItem EndpointBatchRequest.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointBatchItem, location_name: "Item")) EndpointBatchRequest.struct_class = Types::EndpointBatchRequest EndpointDemographic.add_member(:app_version, Shapes::ShapeRef.new(shape: __string, location_name: "AppVersion")) EndpointDemographic.add_member(:locale, Shapes::ShapeRef.new(shape: __string, location_name: "Locale")) EndpointDemographic.add_member(:make, Shapes::ShapeRef.new(shape: __string, location_name: "Make")) EndpointDemographic.add_member(:model, Shapes::ShapeRef.new(shape: __string, location_name: "Model")) EndpointDemographic.add_member(:model_version, Shapes::ShapeRef.new(shape: __string, location_name: "ModelVersion")) EndpointDemographic.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) EndpointDemographic.add_member(:platform_version, Shapes::ShapeRef.new(shape: __string, location_name: "PlatformVersion")) EndpointDemographic.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone")) EndpointDemographic.struct_class = Types::EndpointDemographic EndpointLocation.add_member(:city, Shapes::ShapeRef.new(shape: __string, location_name: "City")) EndpointLocation.add_member(:country, Shapes::ShapeRef.new(shape: __string, location_name: "Country")) EndpointLocation.add_member(:latitude, Shapes::ShapeRef.new(shape: __double, location_name: "Latitude")) EndpointLocation.add_member(:longitude, Shapes::ShapeRef.new(shape: __double, location_name: "Longitude")) EndpointLocation.add_member(:postal_code, Shapes::ShapeRef.new(shape: __string, location_name: "PostalCode")) EndpointLocation.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "Region")) EndpointLocation.struct_class = Types::EndpointLocation EndpointRequest.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address")) EndpointRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes")) EndpointRequest.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) EndpointRequest.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic")) EndpointRequest.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate")) EndpointRequest.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus")) EndpointRequest.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location")) EndpointRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics")) EndpointRequest.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut")) EndpointRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) EndpointRequest.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User")) EndpointRequest.struct_class = Types::EndpointRequest EndpointResponse.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address")) EndpointResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) EndpointResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Attributes")) EndpointResponse.add_member(:channel_type, Shapes::ShapeRef.new(shape: ChannelType, location_name: "ChannelType")) EndpointResponse.add_member(:cohort_id, Shapes::ShapeRef.new(shape: __string, location_name: "CohortId")) EndpointResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) EndpointResponse.add_member(:demographic, Shapes::ShapeRef.new(shape: EndpointDemographic, location_name: "Demographic")) EndpointResponse.add_member(:effective_date, Shapes::ShapeRef.new(shape: __string, location_name: "EffectiveDate")) EndpointResponse.add_member(:endpoint_status, Shapes::ShapeRef.new(shape: __string, location_name: "EndpointStatus")) EndpointResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) EndpointResponse.add_member(:location, Shapes::ShapeRef.new(shape: EndpointLocation, location_name: "Location")) EndpointResponse.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics")) EndpointResponse.add_member(:opt_out, Shapes::ShapeRef.new(shape: __string, location_name: "OptOut")) EndpointResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) EndpointResponse.add_member(:shard_id, Shapes::ShapeRef.new(shape: __string, location_name: "ShardId")) EndpointResponse.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User")) EndpointResponse.struct_class = Types::EndpointResponse EndpointUser.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "UserAttributes")) EndpointUser.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, location_name: "UserId")) EndpointUser.struct_class = Types::EndpointUser EventStream.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) EventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn")) EventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) EventStream.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) EventStream.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastUpdatedBy")) EventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) EventStream.struct_class = Types::EventStream GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey")) GCMChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) GCMChannelRequest.struct_class = Types::GCMChannelRequest GCMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) GCMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential")) GCMChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) GCMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) GCMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) GCMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) GCMChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) GCMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) GCMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) GCMChannelResponse.struct_class = Types::GCMChannelResponse GCMMessage.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action")) GCMMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) GCMMessage.add_member(:collapse_key, Shapes::ShapeRef.new(shape: __string, location_name: "CollapseKey")) GCMMessage.add_member(:data, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Data")) GCMMessage.add_member(:icon_reference, Shapes::ShapeRef.new(shape: __string, location_name: "IconReference")) GCMMessage.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl")) GCMMessage.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl")) GCMMessage.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent")) GCMMessage.add_member(:restricted_package_name, Shapes::ShapeRef.new(shape: __string, location_name: "RestrictedPackageName")) GCMMessage.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush")) GCMMessage.add_member(:small_image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "SmallImageIconUrl")) GCMMessage.add_member(:sound, Shapes::ShapeRef.new(shape: __string, location_name: "Sound")) GCMMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions")) GCMMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title")) GCMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url")) GCMMessage.struct_class = Types::GCMMessage GetApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetApnsChannelRequest.struct_class = Types::GetApnsChannelRequest GetApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse")) GetApnsChannelResponse.struct_class = Types::GetApnsChannelResponse GetApnsChannelResponse[:payload] = :apns_channel_response GetApnsChannelResponse[:payload_member] = GetApnsChannelResponse.member(:apns_channel_response) GetApnsSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetApnsSandboxChannelRequest.struct_class = Types::GetApnsSandboxChannelRequest GetApnsSandboxChannelResponse.add_member(:apns_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSSandboxChannelResponse, required: true, location_name: "APNSSandboxChannelResponse")) GetApnsSandboxChannelResponse.struct_class = Types::GetApnsSandboxChannelResponse GetApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response GetApnsSandboxChannelResponse[:payload_member] = GetApnsSandboxChannelResponse.member(:apns_sandbox_channel_response) GetAppRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetAppRequest.struct_class = Types::GetAppRequest GetAppResponse.add_member(:application_response, Shapes::ShapeRef.new(shape: ApplicationResponse, required: true, location_name: "ApplicationResponse")) GetAppResponse.struct_class = Types::GetAppResponse GetAppResponse[:payload] = :application_response GetAppResponse[:payload_member] = GetAppResponse.member(:application_response) GetApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetApplicationSettingsRequest.struct_class = Types::GetApplicationSettingsRequest GetApplicationSettingsResponse.add_member(:application_settings_resource, Shapes::ShapeRef.new(shape: ApplicationSettingsResource, required: true, location_name: "ApplicationSettingsResource")) GetApplicationSettingsResponse.struct_class = Types::GetApplicationSettingsResponse GetApplicationSettingsResponse[:payload] = :application_settings_resource GetApplicationSettingsResponse[:payload_member] = GetApplicationSettingsResponse.member(:application_settings_resource) GetAppsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetAppsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetAppsRequest.struct_class = Types::GetAppsRequest GetAppsResponse.add_member(:applications_response, Shapes::ShapeRef.new(shape: ApplicationsResponse, required: true, location_name: "ApplicationsResponse")) GetAppsResponse.struct_class = Types::GetAppsResponse GetAppsResponse[:payload] = :applications_response GetAppsResponse[:payload_member] = GetAppsResponse.member(:applications_response) GetCampaignActivitiesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignActivitiesRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignActivitiesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetCampaignActivitiesRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetCampaignActivitiesRequest.struct_class = Types::GetCampaignActivitiesRequest GetCampaignActivitiesResponse.add_member(:activities_response, Shapes::ShapeRef.new(shape: ActivitiesResponse, required: true, location_name: "ActivitiesResponse")) GetCampaignActivitiesResponse.struct_class = Types::GetCampaignActivitiesResponse GetCampaignActivitiesResponse[:payload] = :activities_response GetCampaignActivitiesResponse[:payload_member] = GetCampaignActivitiesResponse.member(:activities_response) GetCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignRequest.struct_class = Types::GetCampaignRequest GetCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) GetCampaignResponse.struct_class = Types::GetCampaignResponse GetCampaignResponse[:payload] = :campaign_response GetCampaignResponse[:payload_member] = GetCampaignResponse.member(:campaign_response) GetCampaignVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignVersionRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "version")) GetCampaignVersionRequest.struct_class = Types::GetCampaignVersionRequest GetCampaignVersionResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) GetCampaignVersionResponse.struct_class = Types::GetCampaignVersionResponse GetCampaignVersionResponse[:payload] = :campaign_response GetCampaignVersionResponse[:payload_member] = GetCampaignVersionResponse.member(:campaign_response) GetCampaignVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignVersionsRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) GetCampaignVersionsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetCampaignVersionsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetCampaignVersionsRequest.struct_class = Types::GetCampaignVersionsRequest GetCampaignVersionsResponse.add_member(:campaigns_response, Shapes::ShapeRef.new(shape: CampaignsResponse, required: true, location_name: "CampaignsResponse")) GetCampaignVersionsResponse.struct_class = Types::GetCampaignVersionsResponse GetCampaignVersionsResponse[:payload] = :campaigns_response GetCampaignVersionsResponse[:payload_member] = GetCampaignVersionsResponse.member(:campaigns_response) GetCampaignsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetCampaignsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetCampaignsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetCampaignsRequest.struct_class = Types::GetCampaignsRequest GetCampaignsResponse.add_member(:campaigns_response, Shapes::ShapeRef.new(shape: CampaignsResponse, required: true, location_name: "CampaignsResponse")) GetCampaignsResponse.struct_class = Types::GetCampaignsResponse GetCampaignsResponse[:payload] = :campaigns_response GetCampaignsResponse[:payload_member] = GetCampaignsResponse.member(:campaigns_response) GetEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetEmailChannelRequest.struct_class = Types::GetEmailChannelRequest GetEmailChannelResponse.add_member(:email_channel_response, Shapes::ShapeRef.new(shape: EmailChannelResponse, required: true, location_name: "EmailChannelResponse")) GetEmailChannelResponse.struct_class = Types::GetEmailChannelResponse GetEmailChannelResponse[:payload] = :email_channel_response GetEmailChannelResponse[:payload_member] = GetEmailChannelResponse.member(:email_channel_response) GetEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id")) GetEndpointRequest.struct_class = Types::GetEndpointRequest GetEndpointResponse.add_member(:endpoint_response, Shapes::ShapeRef.new(shape: EndpointResponse, required: true, location_name: "EndpointResponse")) GetEndpointResponse.struct_class = Types::GetEndpointResponse GetEndpointResponse[:payload] = :endpoint_response GetEndpointResponse[:payload_member] = GetEndpointResponse.member(:endpoint_response) GetEventStreamRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetEventStreamRequest.struct_class = Types::GetEventStreamRequest GetEventStreamResponse.add_member(:event_stream, Shapes::ShapeRef.new(shape: EventStream, required: true, location_name: "EventStream")) GetEventStreamResponse.struct_class = Types::GetEventStreamResponse GetEventStreamResponse[:payload] = :event_stream GetEventStreamResponse[:payload_member] = GetEventStreamResponse.member(:event_stream) GetGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetGcmChannelRequest.struct_class = Types::GetGcmChannelRequest GetGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse")) GetGcmChannelResponse.struct_class = Types::GetGcmChannelResponse GetGcmChannelResponse[:payload] = :gcm_channel_response GetGcmChannelResponse[:payload_member] = GetGcmChannelResponse.member(:gcm_channel_response) GetImportJobRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetImportJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "job-id")) GetImportJobRequest.struct_class = Types::GetImportJobRequest GetImportJobResponse.add_member(:import_job_response, Shapes::ShapeRef.new(shape: ImportJobResponse, required: true, location_name: "ImportJobResponse")) GetImportJobResponse.struct_class = Types::GetImportJobResponse GetImportJobResponse[:payload] = :import_job_response GetImportJobResponse[:payload_member] = GetImportJobResponse.member(:import_job_response) GetImportJobsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetImportJobsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetImportJobsRequest.struct_class = Types::GetImportJobsRequest GetImportJobsResponse.add_member(:import_jobs_response, Shapes::ShapeRef.new(shape: ImportJobsResponse, required: true, location_name: "ImportJobsResponse")) GetImportJobsResponse.struct_class = Types::GetImportJobsResponse GetImportJobsResponse[:payload] = :import_jobs_response GetImportJobsResponse[:payload_member] = GetImportJobsResponse.member(:import_jobs_response) GetSegmentImportJobsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentImportJobsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetSegmentImportJobsRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentImportJobsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetSegmentImportJobsRequest.struct_class = Types::GetSegmentImportJobsRequest GetSegmentImportJobsResponse.add_member(:import_jobs_response, Shapes::ShapeRef.new(shape: ImportJobsResponse, required: true, location_name: "ImportJobsResponse")) GetSegmentImportJobsResponse.struct_class = Types::GetSegmentImportJobsResponse GetSegmentImportJobsResponse[:payload] = :import_jobs_response GetSegmentImportJobsResponse[:payload_member] = GetSegmentImportJobsResponse.member(:import_jobs_response) GetSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentRequest.struct_class = Types::GetSegmentRequest GetSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) GetSegmentResponse.struct_class = Types::GetSegmentResponse GetSegmentResponse[:payload] = :segment_response GetSegmentResponse[:payload_member] = GetSegmentResponse.member(:segment_response) GetSegmentVersionRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentVersionRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "version")) GetSegmentVersionRequest.struct_class = Types::GetSegmentVersionRequest GetSegmentVersionResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) GetSegmentVersionResponse.struct_class = Types::GetSegmentVersionResponse GetSegmentVersionResponse[:payload] = :segment_response GetSegmentVersionResponse[:payload_member] = GetSegmentVersionResponse.member(:segment_response) GetSegmentVersionsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentVersionsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetSegmentVersionsRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) GetSegmentVersionsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetSegmentVersionsRequest.struct_class = Types::GetSegmentVersionsRequest GetSegmentVersionsResponse.add_member(:segments_response, Shapes::ShapeRef.new(shape: SegmentsResponse, required: true, location_name: "SegmentsResponse")) GetSegmentVersionsResponse.struct_class = Types::GetSegmentVersionsResponse GetSegmentVersionsResponse[:payload] = :segments_response GetSegmentVersionsResponse[:payload_member] = GetSegmentVersionsResponse.member(:segments_response) GetSegmentsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSegmentsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "page-size")) GetSegmentsRequest.add_member(:token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "token")) GetSegmentsRequest.struct_class = Types::GetSegmentsRequest GetSegmentsResponse.add_member(:segments_response, Shapes::ShapeRef.new(shape: SegmentsResponse, required: true, location_name: "SegmentsResponse")) GetSegmentsResponse.struct_class = Types::GetSegmentsResponse GetSegmentsResponse[:payload] = :segments_response GetSegmentsResponse[:payload_member] = GetSegmentsResponse.member(:segments_response) GetSmsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) GetSmsChannelRequest.struct_class = Types::GetSmsChannelRequest GetSmsChannelResponse.add_member(:sms_channel_response, Shapes::ShapeRef.new(shape: SMSChannelResponse, required: true, location_name: "SMSChannelResponse")) GetSmsChannelResponse.struct_class = Types::GetSmsChannelResponse GetSmsChannelResponse[:payload] = :sms_channel_response GetSmsChannelResponse[:payload_member] = GetSmsChannelResponse.member(:sms_channel_response) ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment")) ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) ImportJobRequest.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints")) ImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) ImportJobRequest.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url")) ImportJobRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) ImportJobRequest.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName")) ImportJobRequest.struct_class = Types::ImportJobRequest ImportJobResource.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment")) ImportJobResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) ImportJobResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) ImportJobResource.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints")) ImportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) ImportJobResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url")) ImportJobResource.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) ImportJobResource.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName")) ImportJobResource.struct_class = Types::ImportJobResource ImportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) ImportJobResponse.add_member(:completed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "CompletedPieces")) ImportJobResponse.add_member(:completion_date, Shapes::ShapeRef.new(shape: __string, location_name: "CompletionDate")) ImportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) ImportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ImportJobResource, location_name: "Definition")) ImportJobResponse.add_member(:failed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "FailedPieces")) ImportJobResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Failures")) ImportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) ImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus")) ImportJobResponse.add_member(:total_failures, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalFailures")) ImportJobResponse.add_member(:total_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalPieces")) ImportJobResponse.add_member(:total_processed, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalProcessed")) ImportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "Type")) ImportJobResponse.struct_class = Types::ImportJobResponse ImportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfImportJobResponse, location_name: "Item")) ImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) ImportJobsResponse.struct_class = Types::ImportJobsResponse ListOfActivityResponse.member = Shapes::ShapeRef.new(shape: ActivityResponse) ListOfApplicationResponse.member = Shapes::ShapeRef.new(shape: ApplicationResponse) ListOfCampaignResponse.member = Shapes::ShapeRef.new(shape: CampaignResponse) ListOfEndpointBatchItem.member = Shapes::ShapeRef.new(shape: EndpointBatchItem) ListOfImportJobResponse.member = Shapes::ShapeRef.new(shape: ImportJobResponse) ListOfSegmentResponse.member = Shapes::ShapeRef.new(shape: SegmentResponse) ListOfTreatmentResource.member = Shapes::ShapeRef.new(shape: TreatmentResource) ListOfWriteTreatmentResource.member = Shapes::ShapeRef.new(shape: WriteTreatmentResource) ListOf__string.member = Shapes::ShapeRef.new(shape: __string) MapOfAddressConfiguration.key = Shapes::ShapeRef.new(shape: __string) MapOfAddressConfiguration.value = Shapes::ShapeRef.new(shape: AddressConfiguration) MapOfAttributeDimension.key = Shapes::ShapeRef.new(shape: __string) MapOfAttributeDimension.value = Shapes::ShapeRef.new(shape: AttributeDimension) MapOfListOf__string.key = Shapes::ShapeRef.new(shape: __string) MapOfListOf__string.value = Shapes::ShapeRef.new(shape: ListOf__string) MapOfMessageResult.key = Shapes::ShapeRef.new(shape: __string) MapOfMessageResult.value = Shapes::ShapeRef.new(shape: MessageResult) MapOf__double.key = Shapes::ShapeRef.new(shape: __string) MapOf__double.value = Shapes::ShapeRef.new(shape: __double) MapOf__integer.key = Shapes::ShapeRef.new(shape: __string) MapOf__integer.value = Shapes::ShapeRef.new(shape: __integer) MapOf__string.key = Shapes::ShapeRef.new(shape: __string) MapOf__string.value = Shapes::ShapeRef.new(shape: __string) Message.add_member(:action, Shapes::ShapeRef.new(shape: Action, location_name: "Action")) Message.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) Message.add_member(:image_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageIconUrl")) Message.add_member(:image_small_icon_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageSmallIconUrl")) Message.add_member(:image_url, Shapes::ShapeRef.new(shape: __string, location_name: "ImageUrl")) Message.add_member(:json_body, Shapes::ShapeRef.new(shape: __string, location_name: "JsonBody")) Message.add_member(:media_url, Shapes::ShapeRef.new(shape: __string, location_name: "MediaUrl")) Message.add_member(:raw_content, Shapes::ShapeRef.new(shape: __string, location_name: "RawContent")) Message.add_member(:silent_push, Shapes::ShapeRef.new(shape: __boolean, location_name: "SilentPush")) Message.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title")) Message.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url")) Message.struct_class = Types::Message MessageBody.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message")) MessageBody.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID")) MessageBody.struct_class = Types::MessageBody MessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: Message, location_name: "APNSMessage")) MessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: Message, location_name: "DefaultMessage")) MessageConfiguration.add_member(:email_message, Shapes::ShapeRef.new(shape: CampaignEmailMessage, location_name: "EmailMessage")) MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage")) MessageConfiguration.add_member(:sms_message, Shapes::ShapeRef.new(shape: CampaignSmsMessage, location_name: "SMSMessage")) MessageConfiguration.struct_class = Types::MessageConfiguration MessageRequest.add_member(:addresses, Shapes::ShapeRef.new(shape: MapOfAddressConfiguration, location_name: "Addresses")) MessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context")) MessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, location_name: "MessageConfiguration")) MessageRequest.struct_class = Types::MessageRequest MessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) MessageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId")) MessageResponse.add_member(:result, Shapes::ShapeRef.new(shape: MapOfMessageResult, location_name: "Result")) MessageResponse.struct_class = Types::MessageResponse MessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus")) MessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode")) MessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage")) MessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken")) MessageResult.struct_class = Types::MessageResult PutEventStreamRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) PutEventStreamRequest.add_member(:write_event_stream, Shapes::ShapeRef.new(shape: WriteEventStream, required: true, location_name: "WriteEventStream")) PutEventStreamRequest.struct_class = Types::PutEventStreamRequest PutEventStreamRequest[:payload] = :write_event_stream PutEventStreamRequest[:payload_member] = PutEventStreamRequest.member(:write_event_stream) PutEventStreamResponse.add_member(:event_stream, Shapes::ShapeRef.new(shape: EventStream, required: true, location_name: "EventStream")) PutEventStreamResponse.struct_class = Types::PutEventStreamResponse PutEventStreamResponse[:payload] = :event_stream PutEventStreamResponse[:payload_member] = PutEventStreamResponse.member(:event_stream) QuietTime.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End")) QuietTime.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start")) QuietTime.struct_class = Types::QuietTime RecencyDimension.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration")) RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, location_name: "RecencyType")) RecencyDimension.struct_class = Types::RecencyDimension SMSChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) SMSChannelRequest.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId")) SMSChannelRequest.struct_class = Types::SMSChannelRequest SMSChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) SMSChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) SMSChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled")) SMSChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) SMSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived")) SMSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy")) SMSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) SMSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform")) SMSChannelResponse.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId")) SMSChannelResponse.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode")) SMSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) SMSChannelResponse.struct_class = Types::SMSChannelResponse SMSMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body")) SMSMessage.add_member(:message_type, Shapes::ShapeRef.new(shape: MessageType, location_name: "MessageType")) SMSMessage.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId")) SMSMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions")) SMSMessage.struct_class = Types::SMSMessage Schedule.add_member(:end_time, Shapes::ShapeRef.new(shape: __string, location_name: "EndTime")) Schedule.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "Frequency")) Schedule.add_member(:is_local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsLocalTime")) Schedule.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime")) Schedule.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "StartTime")) Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone")) Schedule.struct_class = Types::Schedule SegmentBehaviors.add_member(:recency, Shapes::ShapeRef.new(shape: RecencyDimension, location_name: "Recency")) SegmentBehaviors.struct_class = Types::SegmentBehaviors SegmentDemographics.add_member(:app_version, Shapes::ShapeRef.new(shape: SetDimension, location_name: "AppVersion")) SegmentDemographics.add_member(:channel, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Channel")) SegmentDemographics.add_member(:device_type, Shapes::ShapeRef.new(shape: SetDimension, location_name: "DeviceType")) SegmentDemographics.add_member(:make, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Make")) SegmentDemographics.add_member(:model, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Model")) SegmentDemographics.add_member(:platform, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Platform")) SegmentDemographics.struct_class = Types::SegmentDemographics SegmentDimensions.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "Attributes")) SegmentDimensions.add_member(:behavior, Shapes::ShapeRef.new(shape: SegmentBehaviors, location_name: "Behavior")) SegmentDimensions.add_member(:demographic, Shapes::ShapeRef.new(shape: SegmentDemographics, location_name: "Demographic")) SegmentDimensions.add_member(:location, Shapes::ShapeRef.new(shape: SegmentLocation, location_name: "Location")) SegmentDimensions.add_member(:user_attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "UserAttributes")) SegmentDimensions.struct_class = Types::SegmentDimensions SegmentImportResource.add_member(:channel_counts, Shapes::ShapeRef.new(shape: MapOf__integer, location_name: "ChannelCounts")) SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId")) SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format")) SegmentImportResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) SegmentImportResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url")) SegmentImportResource.add_member(:size, Shapes::ShapeRef.new(shape: __integer, location_name: "Size")) SegmentImportResource.struct_class = Types::SegmentImportResource SegmentLocation.add_member(:country, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Country")) SegmentLocation.struct_class = Types::SegmentLocation SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId")) SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate")) SegmentResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions")) SegmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) SegmentResponse.add_member(:import_definition, Shapes::ShapeRef.new(shape: SegmentImportResource, location_name: "ImportDefinition")) SegmentResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate")) SegmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "SegmentType")) SegmentResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version")) SegmentResponse.struct_class = Types::SegmentResponse SegmentsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfSegmentResponse, location_name: "Item")) SegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken")) SegmentsResponse.struct_class = Types::SegmentsResponse SendMessagesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) SendMessagesRequest.add_member(:message_request, Shapes::ShapeRef.new(shape: MessageRequest, required: true, location_name: "MessageRequest")) SendMessagesRequest.struct_class = Types::SendMessagesRequest SendMessagesRequest[:payload] = :message_request SendMessagesRequest[:payload_member] = SendMessagesRequest.member(:message_request) SendMessagesResponse.add_member(:message_response, Shapes::ShapeRef.new(shape: MessageResponse, required: true, location_name: "MessageResponse")) SendMessagesResponse.struct_class = Types::SendMessagesResponse SendMessagesResponse[:payload] = :message_response SendMessagesResponse[:payload_member] = SendMessagesResponse.member(:message_response) SetDimension.add_member(:dimension_type, Shapes::ShapeRef.new(shape: DimensionType, location_name: "DimensionType")) SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values")) SetDimension.struct_class = Types::SetDimension TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id")) TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) TreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent")) TreatmentResource.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State")) TreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) TreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) TreatmentResource.struct_class = Types::TreatmentResource UpdateApnsChannelRequest.add_member(:apns_channel_request, Shapes::ShapeRef.new(shape: APNSChannelRequest, required: true, location_name: "APNSChannelRequest")) UpdateApnsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateApnsChannelRequest.struct_class = Types::UpdateApnsChannelRequest UpdateApnsChannelRequest[:payload] = :apns_channel_request UpdateApnsChannelRequest[:payload_member] = UpdateApnsChannelRequest.member(:apns_channel_request) UpdateApnsChannelResponse.add_member(:apns_channel_response, Shapes::ShapeRef.new(shape: APNSChannelResponse, required: true, location_name: "APNSChannelResponse")) UpdateApnsChannelResponse.struct_class = Types::UpdateApnsChannelResponse UpdateApnsChannelResponse[:payload] = :apns_channel_response UpdateApnsChannelResponse[:payload_member] = UpdateApnsChannelResponse.member(:apns_channel_response) UpdateApnsSandboxChannelRequest.add_member(:apns_sandbox_channel_request, Shapes::ShapeRef.new(shape: APNSSandboxChannelRequest, required: true, location_name: "APNSSandboxChannelRequest")) UpdateApnsSandboxChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateApnsSandboxChannelRequest.struct_class = Types::UpdateApnsSandboxChannelRequest UpdateApnsSandboxChannelRequest[:payload] = :apns_sandbox_channel_request UpdateApnsSandboxChannelRequest[:payload_member] = UpdateApnsSandboxChannelRequest.member(:apns_sandbox_channel_request) UpdateApnsSandboxChannelResponse.add_member(:apns_sandbox_channel_response, Shapes::ShapeRef.new(shape: APNSSandboxChannelResponse, required: true, location_name: "APNSSandboxChannelResponse")) UpdateApnsSandboxChannelResponse.struct_class = Types::UpdateApnsSandboxChannelResponse UpdateApnsSandboxChannelResponse[:payload] = :apns_sandbox_channel_response UpdateApnsSandboxChannelResponse[:payload_member] = UpdateApnsSandboxChannelResponse.member(:apns_sandbox_channel_response) UpdateApplicationSettingsRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateApplicationSettingsRequest.add_member(:write_application_settings_request, Shapes::ShapeRef.new(shape: WriteApplicationSettingsRequest, required: true, location_name: "WriteApplicationSettingsRequest")) UpdateApplicationSettingsRequest.struct_class = Types::UpdateApplicationSettingsRequest UpdateApplicationSettingsRequest[:payload] = :write_application_settings_request UpdateApplicationSettingsRequest[:payload_member] = UpdateApplicationSettingsRequest.member(:write_application_settings_request) UpdateApplicationSettingsResponse.add_member(:application_settings_resource, Shapes::ShapeRef.new(shape: ApplicationSettingsResource, required: true, location_name: "ApplicationSettingsResource")) UpdateApplicationSettingsResponse.struct_class = Types::UpdateApplicationSettingsResponse UpdateApplicationSettingsResponse[:payload] = :application_settings_resource UpdateApplicationSettingsResponse[:payload_member] = UpdateApplicationSettingsResponse.member(:application_settings_resource) UpdateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateCampaignRequest.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "campaign-id")) UpdateCampaignRequest.add_member(:write_campaign_request, Shapes::ShapeRef.new(shape: WriteCampaignRequest, required: true, location_name: "WriteCampaignRequest")) UpdateCampaignRequest.struct_class = Types::UpdateCampaignRequest UpdateCampaignRequest[:payload] = :write_campaign_request UpdateCampaignRequest[:payload_member] = UpdateCampaignRequest.member(:write_campaign_request) UpdateCampaignResponse.add_member(:campaign_response, Shapes::ShapeRef.new(shape: CampaignResponse, required: true, location_name: "CampaignResponse")) UpdateCampaignResponse.struct_class = Types::UpdateCampaignResponse UpdateCampaignResponse[:payload] = :campaign_response UpdateCampaignResponse[:payload_member] = UpdateCampaignResponse.member(:campaign_response) UpdateEmailChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateEmailChannelRequest.add_member(:email_channel_request, Shapes::ShapeRef.new(shape: EmailChannelRequest, required: true, location_name: "EmailChannelRequest")) UpdateEmailChannelRequest.struct_class = Types::UpdateEmailChannelRequest UpdateEmailChannelRequest[:payload] = :email_channel_request UpdateEmailChannelRequest[:payload_member] = UpdateEmailChannelRequest.member(:email_channel_request) UpdateEmailChannelResponse.add_member(:email_channel_response, Shapes::ShapeRef.new(shape: EmailChannelResponse, required: true, location_name: "EmailChannelResponse")) UpdateEmailChannelResponse.struct_class = Types::UpdateEmailChannelResponse UpdateEmailChannelResponse[:payload] = :email_channel_response UpdateEmailChannelResponse[:payload_member] = UpdateEmailChannelResponse.member(:email_channel_response) UpdateEndpointRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateEndpointRequest.add_member(:endpoint_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "endpoint-id")) UpdateEndpointRequest.add_member(:endpoint_request, Shapes::ShapeRef.new(shape: EndpointRequest, required: true, location_name: "EndpointRequest")) UpdateEndpointRequest.struct_class = Types::UpdateEndpointRequest UpdateEndpointRequest[:payload] = :endpoint_request UpdateEndpointRequest[:payload_member] = UpdateEndpointRequest.member(:endpoint_request) UpdateEndpointResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody")) UpdateEndpointResponse.struct_class = Types::UpdateEndpointResponse UpdateEndpointResponse[:payload] = :message_body UpdateEndpointResponse[:payload_member] = UpdateEndpointResponse.member(:message_body) UpdateEndpointsBatchRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateEndpointsBatchRequest.add_member(:endpoint_batch_request, Shapes::ShapeRef.new(shape: EndpointBatchRequest, required: true, location_name: "EndpointBatchRequest")) UpdateEndpointsBatchRequest.struct_class = Types::UpdateEndpointsBatchRequest UpdateEndpointsBatchRequest[:payload] = :endpoint_batch_request UpdateEndpointsBatchRequest[:payload_member] = UpdateEndpointsBatchRequest.member(:endpoint_batch_request) UpdateEndpointsBatchResponse.add_member(:message_body, Shapes::ShapeRef.new(shape: MessageBody, required: true, location_name: "MessageBody")) UpdateEndpointsBatchResponse.struct_class = Types::UpdateEndpointsBatchResponse UpdateEndpointsBatchResponse[:payload] = :message_body UpdateEndpointsBatchResponse[:payload_member] = UpdateEndpointsBatchResponse.member(:message_body) UpdateGcmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateGcmChannelRequest.add_member(:gcm_channel_request, Shapes::ShapeRef.new(shape: GCMChannelRequest, required: true, location_name: "GCMChannelRequest")) UpdateGcmChannelRequest.struct_class = Types::UpdateGcmChannelRequest UpdateGcmChannelRequest[:payload] = :gcm_channel_request UpdateGcmChannelRequest[:payload_member] = UpdateGcmChannelRequest.member(:gcm_channel_request) UpdateGcmChannelResponse.add_member(:gcm_channel_response, Shapes::ShapeRef.new(shape: GCMChannelResponse, required: true, location_name: "GCMChannelResponse")) UpdateGcmChannelResponse.struct_class = Types::UpdateGcmChannelResponse UpdateGcmChannelResponse[:payload] = :gcm_channel_response UpdateGcmChannelResponse[:payload_member] = UpdateGcmChannelResponse.member(:gcm_channel_response) UpdateSegmentRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateSegmentRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "segment-id")) UpdateSegmentRequest.add_member(:write_segment_request, Shapes::ShapeRef.new(shape: WriteSegmentRequest, required: true, location_name: "WriteSegmentRequest")) UpdateSegmentRequest.struct_class = Types::UpdateSegmentRequest UpdateSegmentRequest[:payload] = :write_segment_request UpdateSegmentRequest[:payload_member] = UpdateSegmentRequest.member(:write_segment_request) UpdateSegmentResponse.add_member(:segment_response, Shapes::ShapeRef.new(shape: SegmentResponse, required: true, location_name: "SegmentResponse")) UpdateSegmentResponse.struct_class = Types::UpdateSegmentResponse UpdateSegmentResponse[:payload] = :segment_response UpdateSegmentResponse[:payload_member] = UpdateSegmentResponse.member(:segment_response) UpdateSmsChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id")) UpdateSmsChannelRequest.add_member(:sms_channel_request, Shapes::ShapeRef.new(shape: SMSChannelRequest, required: true, location_name: "SMSChannelRequest")) UpdateSmsChannelRequest.struct_class = Types::UpdateSmsChannelRequest UpdateSmsChannelRequest[:payload] = :sms_channel_request UpdateSmsChannelRequest[:payload_member] = UpdateSmsChannelRequest.member(:sms_channel_request) UpdateSmsChannelResponse.add_member(:sms_channel_response, Shapes::ShapeRef.new(shape: SMSChannelResponse, required: true, location_name: "SMSChannelResponse")) UpdateSmsChannelResponse.struct_class = Types::UpdateSmsChannelResponse UpdateSmsChannelResponse[:payload] = :sms_channel_response UpdateSmsChannelResponse[:payload_member] = UpdateSmsChannelResponse.member(:sms_channel_response) WriteApplicationSettingsRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) WriteApplicationSettingsRequest.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime")) WriteApplicationSettingsRequest.struct_class = Types::WriteApplicationSettingsRequest WriteCampaignRequest.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfWriteTreatmentResource, location_name: "AdditionalTreatments")) WriteCampaignRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description")) WriteCampaignRequest.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent")) WriteCampaignRequest.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused")) WriteCampaignRequest.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits")) WriteCampaignRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) WriteCampaignRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) WriteCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) WriteCampaignRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId")) WriteCampaignRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion")) WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) WriteCampaignRequest.struct_class = Types::WriteCampaignRequest WriteEventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn")) WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn")) WriteEventStream.struct_class = Types::WriteEventStream WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions")) WriteSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name")) WriteSegmentRequest.struct_class = Types::WriteSegmentRequest WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration")) WriteTreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule")) WriteTreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent")) WriteTreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription")) WriteTreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName")) WriteTreatmentResource.struct_class = Types::WriteTreatmentResource # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2016-12-01" api.metadata = { "endpointPrefix" => "pinpoint", "jsonVersion" => "1.1", "protocol" => "rest-json", "serviceFullName" => "Amazon Pinpoint", "signatureVersion" => "v4", "signingName" => "mobiletargeting", } api.add_operation(:create_app, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateApp" o.http_method = "POST" o.http_request_uri = "/v1/apps" o.input = Shapes::ShapeRef.new(shape: CreateAppRequest) o.output = Shapes::ShapeRef.new(shape: CreateAppResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:create_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateCampaign" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/campaigns" o.input = Shapes::ShapeRef.new(shape: CreateCampaignRequest) o.output = Shapes::ShapeRef.new(shape: CreateCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:create_import_job, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateImportJob" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/jobs/import" o.input = Shapes::ShapeRef.new(shape: CreateImportJobRequest) o.output = Shapes::ShapeRef.new(shape: CreateImportJobResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:create_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateSegment" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/segments" o.input = Shapes::ShapeRef.new(shape: CreateSegmentRequest) o.output = Shapes::ShapeRef.new(shape: CreateSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_apns_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteApnsChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/apns" o.input = Shapes::ShapeRef.new(shape: DeleteApnsChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteApnsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_apns_sandbox_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteApnsSandboxChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/apns_sandbox" o.input = Shapes::ShapeRef.new(shape: DeleteApnsSandboxChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteApnsSandboxChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_app, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteApp" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}" o.input = Shapes::ShapeRef.new(shape: DeleteAppRequest) o.output = Shapes::ShapeRef.new(shape: DeleteAppResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteCampaign" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}" o.input = Shapes::ShapeRef.new(shape: DeleteCampaignRequest) o.output = Shapes::ShapeRef.new(shape: DeleteCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_email_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteEmailChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/email" o.input = Shapes::ShapeRef.new(shape: DeleteEmailChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteEmailChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_event_stream, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteEventStream" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/eventstream" o.input = Shapes::ShapeRef.new(shape: DeleteEventStreamRequest) o.output = Shapes::ShapeRef.new(shape: DeleteEventStreamResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_gcm_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteGcmChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/gcm" o.input = Shapes::ShapeRef.new(shape: DeleteGcmChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteGcmChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteSegment" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}" o.input = Shapes::ShapeRef.new(shape: DeleteSegmentRequest) o.output = Shapes::ShapeRef.new(shape: DeleteSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:delete_sms_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteSmsChannel" o.http_method = "DELETE" o.http_request_uri = "/v1/apps/{application-id}/channels/sms" o.input = Shapes::ShapeRef.new(shape: DeleteSmsChannelRequest) o.output = Shapes::ShapeRef.new(shape: DeleteSmsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_apns_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApnsChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/apns" o.input = Shapes::ShapeRef.new(shape: GetApnsChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetApnsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_apns_sandbox_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApnsSandboxChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/apns_sandbox" o.input = Shapes::ShapeRef.new(shape: GetApnsSandboxChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetApnsSandboxChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_app, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApp" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}" o.input = Shapes::ShapeRef.new(shape: GetAppRequest) o.output = Shapes::ShapeRef.new(shape: GetAppResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_application_settings, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApplicationSettings" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/settings" o.input = Shapes::ShapeRef.new(shape: GetApplicationSettingsRequest) o.output = Shapes::ShapeRef.new(shape: GetApplicationSettingsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_apps, Seahorse::Model::Operation.new.tap do |o| o.name = "GetApps" o.http_method = "GET" o.http_request_uri = "/v1/apps" o.input = Shapes::ShapeRef.new(shape: GetAppsRequest) o.output = Shapes::ShapeRef.new(shape: GetAppsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaign" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}" o.input = Shapes::ShapeRef.new(shape: GetCampaignRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign_activities, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaignActivities" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/activities" o.input = Shapes::ShapeRef.new(shape: GetCampaignActivitiesRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignActivitiesResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign_version, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaignVersion" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}" o.input = Shapes::ShapeRef.new(shape: GetCampaignVersionRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignVersionResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaign_versions, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaignVersions" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}/versions" o.input = Shapes::ShapeRef.new(shape: GetCampaignVersionsRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignVersionsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_campaigns, Seahorse::Model::Operation.new.tap do |o| o.name = "GetCampaigns" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/campaigns" o.input = Shapes::ShapeRef.new(shape: GetCampaignsRequest) o.output = Shapes::ShapeRef.new(shape: GetCampaignsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_email_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetEmailChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/email" o.input = Shapes::ShapeRef.new(shape: GetEmailChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetEmailChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_endpoint, Seahorse::Model::Operation.new.tap do |o| o.name = "GetEndpoint" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}" o.input = Shapes::ShapeRef.new(shape: GetEndpointRequest) o.output = Shapes::ShapeRef.new(shape: GetEndpointResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_event_stream, Seahorse::Model::Operation.new.tap do |o| o.name = "GetEventStream" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/eventstream" o.input = Shapes::ShapeRef.new(shape: GetEventStreamRequest) o.output = Shapes::ShapeRef.new(shape: GetEventStreamResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_gcm_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetGcmChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/gcm" o.input = Shapes::ShapeRef.new(shape: GetGcmChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetGcmChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_import_job, Seahorse::Model::Operation.new.tap do |o| o.name = "GetImportJob" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/jobs/import/{job-id}" o.input = Shapes::ShapeRef.new(shape: GetImportJobRequest) o.output = Shapes::ShapeRef.new(shape: GetImportJobResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_import_jobs, Seahorse::Model::Operation.new.tap do |o| o.name = "GetImportJobs" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/jobs/import" o.input = Shapes::ShapeRef.new(shape: GetImportJobsRequest) o.output = Shapes::ShapeRef.new(shape: GetImportJobsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegment" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}" o.input = Shapes::ShapeRef.new(shape: GetSegmentRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment_import_jobs, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegmentImportJobs" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/jobs/import" o.input = Shapes::ShapeRef.new(shape: GetSegmentImportJobsRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentImportJobsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment_version, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegmentVersion" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}" o.input = Shapes::ShapeRef.new(shape: GetSegmentVersionRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentVersionResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segment_versions, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegmentVersions" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}/versions" o.input = Shapes::ShapeRef.new(shape: GetSegmentVersionsRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentVersionsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_segments, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSegments" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/segments" o.input = Shapes::ShapeRef.new(shape: GetSegmentsRequest) o.output = Shapes::ShapeRef.new(shape: GetSegmentsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:get_sms_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "GetSmsChannel" o.http_method = "GET" o.http_request_uri = "/v1/apps/{application-id}/channels/sms" o.input = Shapes::ShapeRef.new(shape: GetSmsChannelRequest) o.output = Shapes::ShapeRef.new(shape: GetSmsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:put_event_stream, Seahorse::Model::Operation.new.tap do |o| o.name = "PutEventStream" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/eventstream" o.input = Shapes::ShapeRef.new(shape: PutEventStreamRequest) o.output = Shapes::ShapeRef.new(shape: PutEventStreamResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:send_messages, Seahorse::Model::Operation.new.tap do |o| o.name = "SendMessages" o.http_method = "POST" o.http_request_uri = "/v1/apps/{application-id}/messages" o.input = Shapes::ShapeRef.new(shape: SendMessagesRequest) o.output = Shapes::ShapeRef.new(shape: SendMessagesResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_apns_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateApnsChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/apns" o.input = Shapes::ShapeRef.new(shape: UpdateApnsChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateApnsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_apns_sandbox_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateApnsSandboxChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/apns_sandbox" o.input = Shapes::ShapeRef.new(shape: UpdateApnsSandboxChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateApnsSandboxChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_application_settings, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateApplicationSettings" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/settings" o.input = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsRequest) o.output = Shapes::ShapeRef.new(shape: UpdateApplicationSettingsResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_campaign, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateCampaign" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/campaigns/{campaign-id}" o.input = Shapes::ShapeRef.new(shape: UpdateCampaignRequest) o.output = Shapes::ShapeRef.new(shape: UpdateCampaignResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_email_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEmailChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/email" o.input = Shapes::ShapeRef.new(shape: UpdateEmailChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEmailChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_endpoint, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEndpoint" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/endpoints/{endpoint-id}" o.input = Shapes::ShapeRef.new(shape: UpdateEndpointRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEndpointResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_endpoints_batch, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateEndpointsBatch" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/endpoints" o.input = Shapes::ShapeRef.new(shape: UpdateEndpointsBatchRequest) o.output = Shapes::ShapeRef.new(shape: UpdateEndpointsBatchResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_gcm_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateGcmChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/gcm" o.input = Shapes::ShapeRef.new(shape: UpdateGcmChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateGcmChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_segment, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateSegment" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/segments/{segment-id}" o.input = Shapes::ShapeRef.new(shape: UpdateSegmentRequest) o.output = Shapes::ShapeRef.new(shape: UpdateSegmentResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) api.add_operation(:update_sms_channel, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateSmsChannel" o.http_method = "PUT" o.http_request_uri = "/v1/apps/{application-id}/channels/sms" o.input = Shapes::ShapeRef.new(shape: UpdateSmsChannelRequest) o.output = Shapes::ShapeRef.new(shape: UpdateSmsChannelResponse) o.errors << Shapes::ShapeRef.new(shape: BadRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) o.errors << Shapes::ShapeRef.new(shape: NotFoundException) o.errors << Shapes::ShapeRef.new(shape: MethodNotAllowedException) o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException) end) end end end