aws-sdk-pinpoint 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -342,8 +342,8 @@ module Aws::Pinpoint
342
342
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
343
343
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
344
344
 
345
- ADMChannelRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: __string, location_name: "ClientId"))
346
- ADMChannelRequest.add_member(:client_secret, Shapes::ShapeRef.new(shape: __string, location_name: "ClientSecret"))
345
+ ADMChannelRequest.add_member(:client_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ClientId"))
346
+ ADMChannelRequest.add_member(:client_secret, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ClientSecret"))
347
347
  ADMChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
348
348
  ADMChannelRequest.struct_class = Types::ADMChannelRequest
349
349
 
@@ -355,7 +355,7 @@ module Aws::Pinpoint
355
355
  ADMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
356
356
  ADMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
357
357
  ADMChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
358
- ADMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
358
+ ADMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
359
359
  ADMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
360
360
  ADMChannelResponse.struct_class = Types::ADMChannelResponse
361
361
 
@@ -397,7 +397,7 @@ module Aws::Pinpoint
397
397
  APNSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
398
398
  APNSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
399
399
  APNSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
400
- APNSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
400
+ APNSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
401
401
  APNSChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
402
402
  APNSChannelResponse.struct_class = Types::APNSChannelResponse
403
403
 
@@ -440,7 +440,7 @@ module Aws::Pinpoint
440
440
  APNSSandboxChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
441
441
  APNSSandboxChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
442
442
  APNSSandboxChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
443
- APNSSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
443
+ APNSSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
444
444
  APNSSandboxChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
445
445
  APNSSandboxChannelResponse.struct_class = Types::APNSSandboxChannelResponse
446
446
 
@@ -464,7 +464,7 @@ module Aws::Pinpoint
464
464
  APNSVoipChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
465
465
  APNSVoipChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
466
466
  APNSVoipChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
467
- APNSVoipChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
467
+ APNSVoipChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
468
468
  APNSVoipChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
469
469
  APNSVoipChannelResponse.struct_class = Types::APNSVoipChannelResponse
470
470
 
@@ -488,18 +488,18 @@ module Aws::Pinpoint
488
488
  APNSVoipSandboxChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
489
489
  APNSVoipSandboxChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
490
490
  APNSVoipSandboxChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
491
- APNSVoipSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
491
+ APNSVoipSandboxChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
492
492
  APNSVoipSandboxChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
493
493
  APNSVoipSandboxChannelResponse.struct_class = Types::APNSVoipSandboxChannelResponse
494
494
 
495
- ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, location_name: "Item"))
495
+ ActivitiesResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfActivityResponse, required: true, location_name: "Item"))
496
496
  ActivitiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
497
497
  ActivitiesResponse.struct_class = Types::ActivitiesResponse
498
498
 
499
- ActivityResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
500
- ActivityResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, location_name: "CampaignId"))
499
+ ActivityResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
500
+ ActivityResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CampaignId"))
501
501
  ActivityResponse.add_member(:end, Shapes::ShapeRef.new(shape: __string, location_name: "End"))
502
- ActivityResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
502
+ ActivityResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
503
503
  ActivityResponse.add_member(:result, Shapes::ShapeRef.new(shape: __string, location_name: "Result"))
504
504
  ActivityResponse.add_member(:scheduled_start, Shapes::ShapeRef.new(shape: __string, location_name: "ScheduledStart"))
505
505
  ActivityResponse.add_member(:start, Shapes::ShapeRef.new(shape: __string, location_name: "Start"))
@@ -519,13 +519,13 @@ module Aws::Pinpoint
519
519
  AddressConfiguration.add_member(:title_override, Shapes::ShapeRef.new(shape: __string, location_name: "TitleOverride"))
520
520
  AddressConfiguration.struct_class = Types::AddressConfiguration
521
521
 
522
- ApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
523
- ApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
524
- ApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
522
+ ApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
523
+ ApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
524
+ ApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
525
525
  ApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
526
526
  ApplicationResponse.struct_class = Types::ApplicationResponse
527
527
 
528
- ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
528
+ ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
529
529
  ApplicationSettingsResource.add_member(:campaign_hook, Shapes::ShapeRef.new(shape: CampaignHook, location_name: "CampaignHook"))
530
530
  ApplicationSettingsResource.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
531
531
  ApplicationSettingsResource.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
@@ -537,11 +537,11 @@ module Aws::Pinpoint
537
537
  ApplicationsResponse.struct_class = Types::ApplicationsResponse
538
538
 
539
539
  AttributeDimension.add_member(:attribute_type, Shapes::ShapeRef.new(shape: AttributeType, location_name: "AttributeType"))
540
- AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
540
+ AttributeDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, required: true, location_name: "Values"))
541
541
  AttributeDimension.struct_class = Types::AttributeDimension
542
542
 
543
- AttributesResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
544
- AttributesResource.add_member(:attribute_type, Shapes::ShapeRef.new(shape: __string, location_name: "AttributeType"))
543
+ AttributesResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
544
+ AttributesResource.add_member(:attribute_type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "AttributeType"))
545
545
  AttributesResource.add_member(:attributes, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Attributes"))
546
546
  AttributesResource.struct_class = Types::AttributesResource
547
547
 
@@ -549,21 +549,21 @@ module Aws::Pinpoint
549
549
  BadRequestException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
550
550
  BadRequestException.struct_class = Types::BadRequestException
551
551
 
552
- BaiduChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
552
+ BaiduChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiKey"))
553
553
  BaiduChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
554
- BaiduChannelRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: __string, location_name: "SecretKey"))
554
+ BaiduChannelRequest.add_member(:secret_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "SecretKey"))
555
555
  BaiduChannelRequest.struct_class = Types::BaiduChannelRequest
556
556
 
557
557
  BaiduChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
558
558
  BaiduChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
559
- BaiduChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
559
+ BaiduChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Credential"))
560
560
  BaiduChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
561
561
  BaiduChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
562
562
  BaiduChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
563
563
  BaiduChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
564
564
  BaiduChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
565
565
  BaiduChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
566
- BaiduChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
566
+ BaiduChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
567
567
  BaiduChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
568
568
  BaiduChannelResponse.struct_class = Types::BaiduChannelResponse
569
569
 
@@ -586,11 +586,11 @@ module Aws::Pinpoint
586
586
  CampaignEmailMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
587
587
  CampaignEmailMessage.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
588
588
  CampaignEmailMessage.add_member(:html_body, Shapes::ShapeRef.new(shape: __string, location_name: "HtmlBody"))
589
- CampaignEmailMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, location_name: "Title"))
589
+ CampaignEmailMessage.add_member(:title, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Title"))
590
590
  CampaignEmailMessage.struct_class = Types::CampaignEmailMessage
591
591
 
592
- CampaignEventFilter.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, location_name: "Dimensions"))
593
- CampaignEventFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, location_name: "FilterType"))
592
+ CampaignEventFilter.add_member(:dimensions, Shapes::ShapeRef.new(shape: EventDimensions, required: true, location_name: "Dimensions"))
593
+ CampaignEventFilter.add_member(:filter_type, Shapes::ShapeRef.new(shape: FilterType, required: true, location_name: "FilterType"))
594
594
  CampaignEventFilter.struct_class = Types::CampaignEventFilter
595
595
 
596
596
  CampaignHook.add_member(:lambda_function_name, Shapes::ShapeRef.new(shape: __string, location_name: "LambdaFunctionName"))
@@ -605,22 +605,22 @@ module Aws::Pinpoint
605
605
  CampaignLimits.struct_class = Types::CampaignLimits
606
606
 
607
607
  CampaignResponse.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfTreatmentResource, location_name: "AdditionalTreatments"))
608
- CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
609
- CampaignResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
610
- CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
608
+ CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
609
+ CampaignResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
610
+ CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
611
611
  CampaignResponse.add_member(:default_state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "DefaultState"))
612
612
  CampaignResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
613
613
  CampaignResponse.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent"))
614
614
  CampaignResponse.add_member(:hook, Shapes::ShapeRef.new(shape: CampaignHook, location_name: "Hook"))
615
- CampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
615
+ CampaignResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
616
616
  CampaignResponse.add_member(:is_paused, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsPaused"))
617
- CampaignResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
617
+ CampaignResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "LastModifiedDate"))
618
618
  CampaignResponse.add_member(:limits, Shapes::ShapeRef.new(shape: CampaignLimits, location_name: "Limits"))
619
619
  CampaignResponse.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
620
620
  CampaignResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
621
621
  CampaignResponse.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
622
- CampaignResponse.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
623
- CampaignResponse.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
622
+ CampaignResponse.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "SegmentId"))
623
+ CampaignResponse.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "SegmentVersion"))
624
624
  CampaignResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State"))
625
625
  CampaignResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
626
626
  CampaignResponse.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
@@ -636,7 +636,7 @@ module Aws::Pinpoint
636
636
  CampaignState.add_member(:campaign_status, Shapes::ShapeRef.new(shape: CampaignStatus, location_name: "CampaignStatus"))
637
637
  CampaignState.struct_class = Types::CampaignState
638
638
 
639
- CampaignsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfCampaignResponse, location_name: "Item"))
639
+ CampaignsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfCampaignResponse, required: true, location_name: "Item"))
640
640
  CampaignsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
641
641
  CampaignsResponse.struct_class = Types::CampaignsResponse
642
642
 
@@ -651,7 +651,7 @@ module Aws::Pinpoint
651
651
  ChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
652
652
  ChannelResponse.struct_class = Types::ChannelResponse
653
653
 
654
- ChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: MapOfChannelResponse, location_name: "Channels"))
654
+ ChannelsResponse.add_member(:channels, Shapes::ShapeRef.new(shape: MapOfChannelResponse, required: true, location_name: "Channels"))
655
655
  ChannelsResponse.struct_class = Types::ChannelsResponse
656
656
 
657
657
  CreateAppRequest.add_member(:create_application_request, Shapes::ShapeRef.new(shape: CreateApplicationRequest, required: true, location_name: "CreateApplicationRequest"))
@@ -664,7 +664,7 @@ module Aws::Pinpoint
664
664
  CreateAppResponse[:payload] = :application_response
665
665
  CreateAppResponse[:payload_member] = CreateAppResponse.member(:application_response)
666
666
 
667
- CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
667
+ CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Name"))
668
668
  CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
669
669
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
670
670
 
@@ -870,8 +870,8 @@ module Aws::Pinpoint
870
870
 
871
871
  EmailChannelRequest.add_member(:configuration_set, Shapes::ShapeRef.new(shape: __string, location_name: "ConfigurationSet"))
872
872
  EmailChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
873
- EmailChannelRequest.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, location_name: "FromAddress"))
874
- EmailChannelRequest.add_member(:identity, Shapes::ShapeRef.new(shape: __string, location_name: "Identity"))
873
+ EmailChannelRequest.add_member(:from_address, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "FromAddress"))
874
+ EmailChannelRequest.add_member(:identity, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Identity"))
875
875
  EmailChannelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
876
876
  EmailChannelRequest.struct_class = Types::EmailChannelRequest
877
877
 
@@ -887,7 +887,7 @@ module Aws::Pinpoint
887
887
  EmailChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
888
888
  EmailChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
889
889
  EmailChannelResponse.add_member(:messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "MessagesPerSecond"))
890
- EmailChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
890
+ EmailChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
891
891
  EmailChannelResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
892
892
  EmailChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
893
893
  EmailChannelResponse.struct_class = Types::EmailChannelResponse
@@ -915,7 +915,7 @@ module Aws::Pinpoint
915
915
  EndpointBatchItem.add_member(:user, Shapes::ShapeRef.new(shape: EndpointUser, location_name: "User"))
916
916
  EndpointBatchItem.struct_class = Types::EndpointBatchItem
917
917
 
918
- EndpointBatchRequest.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointBatchItem, location_name: "Item"))
918
+ EndpointBatchRequest.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointBatchItem, required: true, location_name: "Item"))
919
919
  EndpointBatchRequest.struct_class = Types::EndpointBatchRequest
920
920
 
921
921
  EndpointDemographic.add_member(:app_version, Shapes::ShapeRef.new(shape: __string, location_name: "AppVersion"))
@@ -941,9 +941,9 @@ module Aws::Pinpoint
941
941
  EndpointLocation.struct_class = Types::EndpointLocation
942
942
 
943
943
  EndpointMessageResult.add_member(:address, Shapes::ShapeRef.new(shape: __string, location_name: "Address"))
944
- EndpointMessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
944
+ EndpointMessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, required: true, location_name: "DeliveryStatus"))
945
945
  EndpointMessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: __string, location_name: "MessageId"))
946
- EndpointMessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
946
+ EndpointMessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "StatusCode"))
947
947
  EndpointMessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage"))
948
948
  EndpointMessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
949
949
  EndpointMessageResult.struct_class = Types::EndpointMessageResult
@@ -989,7 +989,7 @@ module Aws::Pinpoint
989
989
  EndpointUser.add_member(:user_id, Shapes::ShapeRef.new(shape: __string, location_name: "UserId"))
990
990
  EndpointUser.struct_class = Types::EndpointUser
991
991
 
992
- EndpointsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointResponse, location_name: "Item"))
992
+ EndpointsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfEndpointResponse, required: true, location_name: "Item"))
993
993
  EndpointsResponse.struct_class = Types::EndpointsResponse
994
994
 
995
995
  Event.add_member(:app_package_name, Shapes::ShapeRef.new(shape: __string, location_name: "AppPackageName"))
@@ -997,11 +997,11 @@ module Aws::Pinpoint
997
997
  Event.add_member(:app_version_code, Shapes::ShapeRef.new(shape: __string, location_name: "AppVersionCode"))
998
998
  Event.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Attributes"))
999
999
  Event.add_member(:client_sdk_version, Shapes::ShapeRef.new(shape: __string, location_name: "ClientSdkVersion"))
1000
- Event.add_member(:event_type, Shapes::ShapeRef.new(shape: __string, location_name: "EventType"))
1000
+ Event.add_member(:event_type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "EventType"))
1001
1001
  Event.add_member(:metrics, Shapes::ShapeRef.new(shape: MapOf__double, location_name: "Metrics"))
1002
1002
  Event.add_member(:sdk_name, Shapes::ShapeRef.new(shape: __string, location_name: "SdkName"))
1003
1003
  Event.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "Session"))
1004
- Event.add_member(:timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "Timestamp"))
1004
+ Event.add_member(:timestamp, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Timestamp"))
1005
1005
  Event.struct_class = Types::Event
1006
1006
 
1007
1007
  EventDimensions.add_member(:attributes, Shapes::ShapeRef.new(shape: MapOfAttributeDimension, location_name: "Attributes"))
@@ -1013,52 +1013,52 @@ module Aws::Pinpoint
1013
1013
  EventItemResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
1014
1014
  EventItemResponse.struct_class = Types::EventItemResponse
1015
1015
 
1016
- EventStream.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1017
- EventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn"))
1016
+ EventStream.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1017
+ EventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DestinationStreamArn"))
1018
1018
  EventStream.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
1019
1019
  EventStream.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
1020
1020
  EventStream.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastUpdatedBy"))
1021
- EventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1021
+ EventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
1022
1022
  EventStream.struct_class = Types::EventStream
1023
1023
 
1024
- EventsBatch.add_member(:endpoint, Shapes::ShapeRef.new(shape: PublicEndpoint, location_name: "Endpoint"))
1025
- EventsBatch.add_member(:events, Shapes::ShapeRef.new(shape: MapOfEvent, location_name: "Events"))
1024
+ EventsBatch.add_member(:endpoint, Shapes::ShapeRef.new(shape: PublicEndpoint, required: true, location_name: "Endpoint"))
1025
+ EventsBatch.add_member(:events, Shapes::ShapeRef.new(shape: MapOfEvent, required: true, location_name: "Events"))
1026
1026
  EventsBatch.struct_class = Types::EventsBatch
1027
1027
 
1028
- EventsRequest.add_member(:batch_item, Shapes::ShapeRef.new(shape: MapOfEventsBatch, location_name: "BatchItem"))
1028
+ EventsRequest.add_member(:batch_item, Shapes::ShapeRef.new(shape: MapOfEventsBatch, required: true, location_name: "BatchItem"))
1029
1029
  EventsRequest.struct_class = Types::EventsRequest
1030
1030
 
1031
1031
  EventsResponse.add_member(:results, Shapes::ShapeRef.new(shape: MapOfItemResponse, location_name: "Results"))
1032
1032
  EventsResponse.struct_class = Types::EventsResponse
1033
1033
 
1034
- ExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1035
- ExportJobRequest.add_member(:s3_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "S3UrlPrefix"))
1034
+ ExportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
1035
+ ExportJobRequest.add_member(:s3_url_prefix, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "S3UrlPrefix"))
1036
1036
  ExportJobRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1037
1037
  ExportJobRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
1038
1038
  ExportJobRequest.struct_class = Types::ExportJobRequest
1039
1039
 
1040
- ExportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1041
- ExportJobResource.add_member(:s3_url_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "S3UrlPrefix"))
1040
+ ExportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
1041
+ ExportJobResource.add_member(:s3_url_prefix, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "S3UrlPrefix"))
1042
1042
  ExportJobResource.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1043
1043
  ExportJobResource.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
1044
1044
  ExportJobResource.struct_class = Types::ExportJobResource
1045
1045
 
1046
- ExportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1046
+ ExportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1047
1047
  ExportJobResponse.add_member(:completed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "CompletedPieces"))
1048
1048
  ExportJobResponse.add_member(:completion_date, Shapes::ShapeRef.new(shape: __string, location_name: "CompletionDate"))
1049
- ExportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
1050
- ExportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ExportJobResource, location_name: "Definition"))
1049
+ ExportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
1050
+ ExportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ExportJobResource, required: true, location_name: "Definition"))
1051
1051
  ExportJobResponse.add_member(:failed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "FailedPieces"))
1052
1052
  ExportJobResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Failures"))
1053
- ExportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1054
- ExportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1053
+ ExportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1054
+ ExportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
1055
1055
  ExportJobResponse.add_member(:total_failures, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalFailures"))
1056
1056
  ExportJobResponse.add_member(:total_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalPieces"))
1057
1057
  ExportJobResponse.add_member(:total_processed, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalProcessed"))
1058
- ExportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "Type"))
1058
+ ExportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Type"))
1059
1059
  ExportJobResponse.struct_class = Types::ExportJobResponse
1060
1060
 
1061
- ExportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfExportJobResponse, location_name: "Item"))
1061
+ ExportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfExportJobResponse, required: true, location_name: "Item"))
1062
1062
  ExportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
1063
1063
  ExportJobsResponse.struct_class = Types::ExportJobsResponse
1064
1064
 
@@ -1066,20 +1066,20 @@ module Aws::Pinpoint
1066
1066
  ForbiddenException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
1067
1067
  ForbiddenException.struct_class = Types::ForbiddenException
1068
1068
 
1069
- GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, location_name: "ApiKey"))
1069
+ GCMChannelRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApiKey"))
1070
1070
  GCMChannelRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
1071
1071
  GCMChannelRequest.struct_class = Types::GCMChannelRequest
1072
1072
 
1073
1073
  GCMChannelResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1074
1074
  GCMChannelResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
1075
- GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, location_name: "Credential"))
1075
+ GCMChannelResponse.add_member(:credential, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Credential"))
1076
1076
  GCMChannelResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: __boolean, location_name: "Enabled"))
1077
1077
  GCMChannelResponse.add_member(:has_credential, Shapes::ShapeRef.new(shape: __boolean, location_name: "HasCredential"))
1078
1078
  GCMChannelResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1079
1079
  GCMChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
1080
1080
  GCMChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
1081
1081
  GCMChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
1082
- GCMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
1082
+ GCMChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
1083
1083
  GCMChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
1084
1084
  GCMChannelResponse.struct_class = Types::GCMChannelResponse
1085
1085
 
@@ -1102,11 +1102,11 @@ module Aws::Pinpoint
1102
1102
  GCMMessage.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "Url"))
1103
1103
  GCMMessage.struct_class = Types::GCMMessage
1104
1104
 
1105
- GPSCoordinates.add_member(:latitude, Shapes::ShapeRef.new(shape: __double, location_name: "Latitude"))
1106
- GPSCoordinates.add_member(:longitude, Shapes::ShapeRef.new(shape: __double, location_name: "Longitude"))
1105
+ GPSCoordinates.add_member(:latitude, Shapes::ShapeRef.new(shape: __double, required: true, location_name: "Latitude"))
1106
+ GPSCoordinates.add_member(:longitude, Shapes::ShapeRef.new(shape: __double, required: true, location_name: "Longitude"))
1107
1107
  GPSCoordinates.struct_class = Types::GPSCoordinates
1108
1108
 
1109
- GPSPointDimension.add_member(:coordinates, Shapes::ShapeRef.new(shape: GPSCoordinates, location_name: "Coordinates"))
1109
+ GPSPointDimension.add_member(:coordinates, Shapes::ShapeRef.new(shape: GPSCoordinates, required: true, location_name: "Coordinates"))
1110
1110
  GPSPointDimension.add_member(:range_in_kilometers, Shapes::ShapeRef.new(shape: __double, location_name: "RangeInKilometers"))
1111
1111
  GPSPointDimension.struct_class = Types::GPSPointDimension
1112
1112
 
@@ -1402,40 +1402,40 @@ module Aws::Pinpoint
1402
1402
 
1403
1403
  ImportJobRequest.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
1404
1404
  ImportJobRequest.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
1405
- ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
1405
+ ImportJobRequest.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
1406
1406
  ImportJobRequest.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints"))
1407
- ImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1408
- ImportJobRequest.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url"))
1407
+ ImportJobRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
1408
+ ImportJobRequest.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "S3Url"))
1409
1409
  ImportJobRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1410
1410
  ImportJobRequest.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName"))
1411
1411
  ImportJobRequest.struct_class = Types::ImportJobRequest
1412
1412
 
1413
1413
  ImportJobResource.add_member(:define_segment, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefineSegment"))
1414
1414
  ImportJobResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
1415
- ImportJobResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
1415
+ ImportJobResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
1416
1416
  ImportJobResource.add_member(:register_endpoints, Shapes::ShapeRef.new(shape: __boolean, location_name: "RegisterEndpoints"))
1417
- ImportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1418
- ImportJobResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url"))
1417
+ ImportJobResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
1418
+ ImportJobResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "S3Url"))
1419
1419
  ImportJobResource.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
1420
1420
  ImportJobResource.add_member(:segment_name, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentName"))
1421
1421
  ImportJobResource.struct_class = Types::ImportJobResource
1422
1422
 
1423
- ImportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1423
+ ImportJobResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1424
1424
  ImportJobResponse.add_member(:completed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "CompletedPieces"))
1425
1425
  ImportJobResponse.add_member(:completion_date, Shapes::ShapeRef.new(shape: __string, location_name: "CompletionDate"))
1426
- ImportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
1427
- ImportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ImportJobResource, location_name: "Definition"))
1426
+ ImportJobResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
1427
+ ImportJobResponse.add_member(:definition, Shapes::ShapeRef.new(shape: ImportJobResource, required: true, location_name: "Definition"))
1428
1428
  ImportJobResponse.add_member(:failed_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "FailedPieces"))
1429
1429
  ImportJobResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Failures"))
1430
- ImportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1431
- ImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "JobStatus"))
1430
+ ImportJobResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1431
+ ImportJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "JobStatus"))
1432
1432
  ImportJobResponse.add_member(:total_failures, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalFailures"))
1433
1433
  ImportJobResponse.add_member(:total_pieces, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalPieces"))
1434
1434
  ImportJobResponse.add_member(:total_processed, Shapes::ShapeRef.new(shape: __integer, location_name: "TotalProcessed"))
1435
- ImportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "Type"))
1435
+ ImportJobResponse.add_member(:type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Type"))
1436
1436
  ImportJobResponse.struct_class = Types::ImportJobResponse
1437
1437
 
1438
- ImportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfImportJobResponse, location_name: "Item"))
1438
+ ImportJobsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfImportJobResponse, required: true, location_name: "Item"))
1439
1439
  ImportJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
1440
1440
  ImportJobsResponse.struct_class = Types::ImportJobsResponse
1441
1441
 
@@ -1561,19 +1561,19 @@ module Aws::Pinpoint
1561
1561
  MessageRequest.add_member(:addresses, Shapes::ShapeRef.new(shape: MapOfAddressConfiguration, location_name: "Addresses"))
1562
1562
  MessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
1563
1563
  MessageRequest.add_member(:endpoints, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Endpoints"))
1564
- MessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, location_name: "MessageConfiguration"))
1564
+ MessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, required: true, location_name: "MessageConfiguration"))
1565
1565
  MessageRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: __string, location_name: "TraceId"))
1566
1566
  MessageRequest.struct_class = Types::MessageRequest
1567
1567
 
1568
- MessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1568
+ MessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1569
1569
  MessageResponse.add_member(:endpoint_result, Shapes::ShapeRef.new(shape: MapOfEndpointMessageResult, location_name: "EndpointResult"))
1570
1570
  MessageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
1571
1571
  MessageResponse.add_member(:result, Shapes::ShapeRef.new(shape: MapOfMessageResult, location_name: "Result"))
1572
1572
  MessageResponse.struct_class = Types::MessageResponse
1573
1573
 
1574
- MessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, location_name: "DeliveryStatus"))
1574
+ MessageResult.add_member(:delivery_status, Shapes::ShapeRef.new(shape: DeliveryStatus, required: true, location_name: "DeliveryStatus"))
1575
1575
  MessageResult.add_member(:message_id, Shapes::ShapeRef.new(shape: __string, location_name: "MessageId"))
1576
- MessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, location_name: "StatusCode"))
1576
+ MessageResult.add_member(:status_code, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "StatusCode"))
1577
1577
  MessageResult.add_member(:status_message, Shapes::ShapeRef.new(shape: __string, location_name: "StatusMessage"))
1578
1578
  MessageResult.add_member(:updated_token, Shapes::ShapeRef.new(shape: __string, location_name: "UpdatedToken"))
1579
1579
  MessageResult.struct_class = Types::MessageResult
@@ -1582,8 +1582,8 @@ module Aws::Pinpoint
1582
1582
  MethodNotAllowedException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
1583
1583
  MethodNotAllowedException.struct_class = Types::MethodNotAllowedException
1584
1584
 
1585
- MetricDimension.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: __string, location_name: "ComparisonOperator"))
1586
- MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: __double, location_name: "Value"))
1585
+ MetricDimension.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ComparisonOperator"))
1586
+ MetricDimension.add_member(:value, Shapes::ShapeRef.new(shape: __double, required: true, location_name: "Value"))
1587
1587
  MetricDimension.struct_class = Types::MetricDimension
1588
1588
 
1589
1589
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "Message"))
@@ -1662,8 +1662,8 @@ module Aws::Pinpoint
1662
1662
  RawEmail.add_member(:data, Shapes::ShapeRef.new(shape: __blob, location_name: "Data"))
1663
1663
  RawEmail.struct_class = Types::RawEmail
1664
1664
 
1665
- RecencyDimension.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, location_name: "Duration"))
1666
- RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, location_name: "RecencyType"))
1665
+ RecencyDimension.add_member(:duration, Shapes::ShapeRef.new(shape: Duration, required: true, location_name: "Duration"))
1666
+ RecencyDimension.add_member(:recency_type, Shapes::ShapeRef.new(shape: RecencyType, required: true, location_name: "RecencyType"))
1667
1667
  RecencyDimension.struct_class = Types::RecencyDimension
1668
1668
 
1669
1669
  RemoveAttributesRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
@@ -1691,7 +1691,7 @@ module Aws::Pinpoint
1691
1691
  SMSChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
1692
1692
  SMSChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
1693
1693
  SMSChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
1694
- SMSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
1694
+ SMSChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
1695
1695
  SMSChannelResponse.add_member(:promotional_messages_per_second, Shapes::ShapeRef.new(shape: __integer, location_name: "PromotionalMessagesPerSecond"))
1696
1696
  SMSChannelResponse.add_member(:sender_id, Shapes::ShapeRef.new(shape: __string, location_name: "SenderId"))
1697
1697
  SMSChannelResponse.add_member(:short_code, Shapes::ShapeRef.new(shape: __string, location_name: "ShortCode"))
@@ -1712,7 +1712,7 @@ module Aws::Pinpoint
1712
1712
  Schedule.add_member(:frequency, Shapes::ShapeRef.new(shape: Frequency, location_name: "Frequency"))
1713
1713
  Schedule.add_member(:is_local_time, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsLocalTime"))
1714
1714
  Schedule.add_member(:quiet_time, Shapes::ShapeRef.new(shape: QuietTime, location_name: "QuietTime"))
1715
- Schedule.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, location_name: "StartTime"))
1715
+ Schedule.add_member(:start_time, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "StartTime"))
1716
1716
  Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: __string, location_name: "Timezone"))
1717
1717
  Schedule.struct_class = Types::Schedule
1718
1718
 
@@ -1746,36 +1746,36 @@ module Aws::Pinpoint
1746
1746
  SegmentGroupList.struct_class = Types::SegmentGroupList
1747
1747
 
1748
1748
  SegmentImportResource.add_member(:channel_counts, Shapes::ShapeRef.new(shape: MapOf__integer, location_name: "ChannelCounts"))
1749
- SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, location_name: "ExternalId"))
1750
- SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, location_name: "Format"))
1751
- SegmentImportResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
1752
- SegmentImportResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, location_name: "S3Url"))
1753
- SegmentImportResource.add_member(:size, Shapes::ShapeRef.new(shape: __integer, location_name: "Size"))
1749
+ SegmentImportResource.add_member(:external_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ExternalId"))
1750
+ SegmentImportResource.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
1751
+ SegmentImportResource.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
1752
+ SegmentImportResource.add_member(:s3_url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "S3Url"))
1753
+ SegmentImportResource.add_member(:size, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "Size"))
1754
1754
  SegmentImportResource.struct_class = Types::SegmentImportResource
1755
1755
 
1756
1756
  SegmentLocation.add_member(:country, Shapes::ShapeRef.new(shape: SetDimension, location_name: "Country"))
1757
1757
  SegmentLocation.add_member(:gps_point, Shapes::ShapeRef.new(shape: GPSPointDimension, location_name: "GPSPoint"))
1758
1758
  SegmentLocation.struct_class = Types::SegmentLocation
1759
1759
 
1760
- SegmentReference.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1760
+ SegmentReference.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1761
1761
  SegmentReference.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
1762
1762
  SegmentReference.struct_class = Types::SegmentReference
1763
1763
 
1764
- SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1765
- SegmentResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
1766
- SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
1764
+ SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1765
+ SegmentResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
1766
+ SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
1767
1767
  SegmentResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
1768
- SegmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1768
+ SegmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1769
1769
  SegmentResponse.add_member(:import_definition, Shapes::ShapeRef.new(shape: SegmentImportResource, location_name: "ImportDefinition"))
1770
1770
  SegmentResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
1771
1771
  SegmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
1772
1772
  SegmentResponse.add_member(:segment_groups, Shapes::ShapeRef.new(shape: SegmentGroupList, location_name: "SegmentGroups"))
1773
- SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "SegmentType"))
1773
+ SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, required: true, location_name: "SegmentType"))
1774
1774
  SegmentResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
1775
1775
  SegmentResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
1776
1776
  SegmentResponse.struct_class = Types::SegmentResponse
1777
1777
 
1778
- SegmentsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfSegmentResponse, location_name: "Item"))
1778
+ SegmentsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfSegmentResponse, required: true, location_name: "Item"))
1779
1779
  SegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "NextToken"))
1780
1780
  SegmentsResponse.struct_class = Types::SegmentsResponse
1781
1781
 
@@ -1791,12 +1791,12 @@ module Aws::Pinpoint
1791
1791
  SendMessagesResponse[:payload_member] = SendMessagesResponse.member(:message_response)
1792
1792
 
1793
1793
  SendUsersMessageRequest.add_member(:context, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "Context"))
1794
- SendUsersMessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, location_name: "MessageConfiguration"))
1794
+ SendUsersMessageRequest.add_member(:message_configuration, Shapes::ShapeRef.new(shape: DirectMessageConfiguration, required: true, location_name: "MessageConfiguration"))
1795
1795
  SendUsersMessageRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: __string, location_name: "TraceId"))
1796
- SendUsersMessageRequest.add_member(:users, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, location_name: "Users"))
1796
+ SendUsersMessageRequest.add_member(:users, Shapes::ShapeRef.new(shape: MapOfEndpointSendConfiguration, required: true, location_name: "Users"))
1797
1797
  SendUsersMessageRequest.struct_class = Types::SendUsersMessageRequest
1798
1798
 
1799
- SendUsersMessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
1799
+ SendUsersMessageResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
1800
1800
  SendUsersMessageResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestId"))
1801
1801
  SendUsersMessageResponse.add_member(:result, Shapes::ShapeRef.new(shape: MapOfMapOfEndpointMessageResult, location_name: "Result"))
1802
1802
  SendUsersMessageResponse.struct_class = Types::SendUsersMessageResponse
@@ -1813,13 +1813,13 @@ module Aws::Pinpoint
1813
1813
  SendUsersMessagesResponse[:payload_member] = SendUsersMessagesResponse.member(:send_users_message_response)
1814
1814
 
1815
1815
  Session.add_member(:duration, Shapes::ShapeRef.new(shape: __integer, location_name: "Duration"))
1816
- Session.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1817
- Session.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "StartTimestamp"))
1816
+ Session.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1817
+ Session.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "StartTimestamp"))
1818
1818
  Session.add_member(:stop_timestamp, Shapes::ShapeRef.new(shape: __string, location_name: "StopTimestamp"))
1819
1819
  Session.struct_class = Types::Session
1820
1820
 
1821
1821
  SetDimension.add_member(:dimension_type, Shapes::ShapeRef.new(shape: DimensionType, location_name: "DimensionType"))
1822
- SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "Values"))
1822
+ SetDimension.add_member(:values, Shapes::ShapeRef.new(shape: ListOf__string, required: true, location_name: "Values"))
1823
1823
  SetDimension.struct_class = Types::SetDimension
1824
1824
 
1825
1825
  SimpleEmail.add_member(:html_part, Shapes::ShapeRef.new(shape: SimpleEmailPart, location_name: "HtmlPart"))
@@ -1844,10 +1844,10 @@ module Aws::Pinpoint
1844
1844
  TooManyRequestsException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
1845
1845
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
1846
1846
 
1847
- TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
1847
+ TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
1848
1848
  TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
1849
1849
  TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
1850
- TreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent"))
1850
+ TreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "SizePercent"))
1851
1851
  TreatmentResource.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State"))
1852
1852
  TreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
1853
1853
  TreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
@@ -2039,7 +2039,7 @@ module Aws::Pinpoint
2039
2039
  VoiceChannelResponse.add_member(:is_archived, Shapes::ShapeRef.new(shape: __boolean, location_name: "IsArchived"))
2040
2040
  VoiceChannelResponse.add_member(:last_modified_by, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedBy"))
2041
2041
  VoiceChannelResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: __string, location_name: "LastModifiedDate"))
2042
- VoiceChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, location_name: "Platform"))
2042
+ VoiceChannelResponse.add_member(:platform, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Platform"))
2043
2043
  VoiceChannelResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
2044
2044
  VoiceChannelResponse.struct_class = Types::VoiceChannelResponse
2045
2045
 
@@ -2072,8 +2072,8 @@ module Aws::Pinpoint
2072
2072
  WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
2073
2073
  WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
2074
2074
 
2075
- WriteEventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, location_name: "DestinationStreamArn"))
2076
- WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "RoleArn"))
2075
+ WriteEventStream.add_member(:destination_stream_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DestinationStreamArn"))
2076
+ WriteEventStream.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "RoleArn"))
2077
2077
  WriteEventStream.struct_class = Types::WriteEventStream
2078
2078
 
2079
2079
  WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
@@ -2084,7 +2084,7 @@ module Aws::Pinpoint
2084
2084
 
2085
2085
  WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
2086
2086
  WriteTreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
2087
- WriteTreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "SizePercent"))
2087
+ WriteTreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "SizePercent"))
2088
2088
  WriteTreatmentResource.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
2089
2089
  WriteTreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
2090
2090
  WriteTreatmentResource.struct_class = Types::WriteTreatmentResource