AWSPinpointTargeting Class Reference

Inherits from AWSService : NSObject
Declared in AWSPinpointTargetingService.h
AWSPinpointTargetingService.m

  configuration

The service configuration used to instantiate this service client.

@property (nonatomic, strong, readonly) AWSServiceConfiguration *configuration

Discussion

Warning: Once the client is instantiated, do not modify the configuration object. It may cause unspecified behaviors.

Declared In

AWSPinpointTargetingService.h

+ defaultPinpointTargeting

Returns the singleton service client. If the singleton object does not exist, the SDK instantiates the default service client with defaultServiceConfiguration from [AWSServiceManager defaultServiceManager]. The reference to this object is maintained by the SDK, and you do not need to retain it manually.

+ (instancetype)defaultPinpointTargeting

Return Value

The default service client.

Discussion

For example, set the default service configuration in - application:didFinishLaunchingWithOptions:

Swift

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId")
    let configuration = AWSServiceConfiguration(region: .USEast1, credentialsProvider: credentialProvider)
    AWSServiceManager.default().defaultServiceConfiguration = configuration

    return true
}

Objective-C

 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
      AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1
                                                                                                      identityPoolId:@"YourIdentityPoolId"];
      AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1
                                                                           credentialsProvider:credentialsProvider];
      [AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration;

      return YES;
  }

Then call the following to get the default service client:

Swift

 let PinpointTargeting = AWSPinpointTargeting.default()

Objective-C

 AWSPinpointTargeting *PinpointTargeting = [AWSPinpointTargeting defaultPinpointTargeting];

Declared In

AWSPinpointTargetingService.h

+ registerPinpointTargetingWithConfiguration:forKey:

Creates a service client with the given service configuration and registers it for the key.

+ (void)registerPinpointTargetingWithConfiguration:(AWSServiceConfiguration *)configuration forKey:(NSString *)key

Parameters

configuration

A service configuration object.

key

A string to identify the service client.

Discussion

For example, set the default service configuration in - application:didFinishLaunchingWithOptions:

Swift

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId")
    let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider)
    AWSPinpointTargeting.register(with: configuration!, forKey: "USWest2PinpointTargeting")

    return true
}

Objective-C

 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
     AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1
                                                                                                     identityPoolId:@"YourIdentityPoolId"];
     AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2
                                                                          credentialsProvider:credentialsProvider];

     [AWSPinpointTargeting registerPinpointTargetingWithConfiguration:configuration forKey:@"USWest2PinpointTargeting"];

     return YES;
 }

Then call the following to get the service client:

Swift

 let PinpointTargeting = AWSPinpointTargeting(forKey: "USWest2PinpointTargeting")

Objective-C

 AWSPinpointTargeting *PinpointTargeting = [AWSPinpointTargeting PinpointTargetingForKey:@"USWest2PinpointTargeting"];

Warning: After calling this method, do not modify the configuration object. It may cause unspecified behaviors.

Declared In

AWSPinpointTargetingService.h

+ PinpointTargetingForKey:

Retrieves the service client associated with the key. You need to call + registerPinpointTargetingWithConfiguration:forKey: before invoking this method.

+ (instancetype)PinpointTargetingForKey:(NSString *)key

Parameters

key

A string to identify the service client.

Return Value

An instance of the service client.

Discussion

For example, set the default service configuration in - application:didFinishLaunchingWithOptions:

Swift

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    let credentialProvider = AWSCognitoCredentialsProvider(regionType: .USEast1, identityPoolId: "YourIdentityPoolId")
    let configuration = AWSServiceConfiguration(region: .USWest2, credentialsProvider: credentialProvider)
    AWSPinpointTargeting.register(with: configuration!, forKey: "USWest2PinpointTargeting")

    return true
}

Objective-C

 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
     AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc] initWithRegionType:AWSRegionUSEast1
                                                                                                     identityPoolId:@"YourIdentityPoolId"];
     AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSWest2
                                                                          credentialsProvider:credentialsProvider];

     [AWSPinpointTargeting registerPinpointTargetingWithConfiguration:configuration forKey:@"USWest2PinpointTargeting"];

     return YES;
 }

Then call the following to get the service client:

Swift

 let PinpointTargeting = AWSPinpointTargeting(forKey: "USWest2PinpointTargeting")

Objective-C

 AWSPinpointTargeting *PinpointTargeting = [AWSPinpointTargeting PinpointTargetingForKey:@"USWest2PinpointTargeting"];

Declared In

AWSPinpointTargetingService.h

+ removePinpointTargetingForKey:

Removes the service client associated with the key and release it.

+ (void)removePinpointTargetingForKey:(NSString *)key

Parameters

key

A string to identify the service client.

Discussion

Warning: Before calling this method, make sure no method is running on this client.

Declared In

AWSPinpointTargetingService.h

– createCampaign:

Creates or updates a campaign.

- (AWSTask<AWSPinpointTargetingCreateCampaignResponse*> *)createCampaign:(AWSPinpointTargetingCreateCampaignRequest *)request

Parameters

request

A container for the necessary parameters to execute the CreateCampaign service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingCreateCampaignResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– createCampaign:completionHandler:

Creates or updates a campaign.

- (void)createCampaign:(AWSPinpointTargetingCreateCampaignRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingCreateCampaignResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the CreateCampaign service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– createImportJob:

Creates or updates an import job.

- (AWSTask<AWSPinpointTargetingCreateImportJobResponse*> *)createImportJob:(AWSPinpointTargetingCreateImportJobRequest *)request

Parameters

request

A container for the necessary parameters to execute the CreateImportJob service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingCreateImportJobResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– createImportJob:completionHandler:

Creates or updates an import job.

- (void)createImportJob:(AWSPinpointTargetingCreateImportJobRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingCreateImportJobResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the CreateImportJob service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– createSegment:

Used to create or update a segment.

- (AWSTask<AWSPinpointTargetingCreateSegmentResponse*> *)createSegment:(AWSPinpointTargetingCreateSegmentRequest *)request

Parameters

request

A container for the necessary parameters to execute the CreateSegment service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingCreateSegmentResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– createSegment:completionHandler:

Used to create or update a segment.

- (void)createSegment:(AWSPinpointTargetingCreateSegmentRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingCreateSegmentResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the CreateSegment service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteApnsChannel:

Deletes the APNs channel for an app.

- (AWSTask<AWSPinpointTargetingDeleteApnsChannelResponse*> *)deleteApnsChannel:(AWSPinpointTargetingDeleteApnsChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteApnsChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteApnsChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteApnsChannel:completionHandler:

Deletes the APNs channel for an app.

- (void)deleteApnsChannel:(AWSPinpointTargetingDeleteApnsChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteApnsChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteApnsChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteApnsSandboxChannel:

Delete an APNS sandbox channel

- (AWSTask<AWSPinpointTargetingDeleteApnsSandboxChannelResponse*> *)deleteApnsSandboxChannel:(AWSPinpointTargetingDeleteApnsSandboxChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteApnsSandboxChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteApnsSandboxChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteApnsSandboxChannel:completionHandler:

Delete an APNS sandbox channel

- (void)deleteApnsSandboxChannel:(AWSPinpointTargetingDeleteApnsSandboxChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteApnsSandboxChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteApnsSandboxChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteCampaign:

Deletes a campaign.

- (AWSTask<AWSPinpointTargetingDeleteCampaignResponse*> *)deleteCampaign:(AWSPinpointTargetingDeleteCampaignRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteCampaign service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteCampaignResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteCampaign:completionHandler:

Deletes a campaign.

- (void)deleteCampaign:(AWSPinpointTargetingDeleteCampaignRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteCampaignResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteCampaign service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteEmailChannel:

Delete an email channel

- (AWSTask<AWSPinpointTargetingDeleteEmailChannelResponse*> *)deleteEmailChannel:(AWSPinpointTargetingDeleteEmailChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteEmailChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteEmailChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteEmailChannel:completionHandler:

Delete an email channel

- (void)deleteEmailChannel:(AWSPinpointTargetingDeleteEmailChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteEmailChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteEmailChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteEventStream:

Deletes the event stream for an app.

- (AWSTask<AWSPinpointTargetingDeleteEventStreamResponse*> *)deleteEventStream:(AWSPinpointTargetingDeleteEventStreamRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteEventStream service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteEventStreamResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteEventStream:completionHandler:

Deletes the event stream for an app.

- (void)deleteEventStream:(AWSPinpointTargetingDeleteEventStreamRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteEventStreamResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteEventStream service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteGcmChannel:

Deletes the GCM channel for an app.

- (AWSTask<AWSPinpointTargetingDeleteGcmChannelResponse*> *)deleteGcmChannel:(AWSPinpointTargetingDeleteGcmChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteGcmChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteGcmChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteGcmChannel:completionHandler:

Deletes the GCM channel for an app.

- (void)deleteGcmChannel:(AWSPinpointTargetingDeleteGcmChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteGcmChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteGcmChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteSegment:

Deletes a segment.

- (AWSTask<AWSPinpointTargetingDeleteSegmentResponse*> *)deleteSegment:(AWSPinpointTargetingDeleteSegmentRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteSegment service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteSegmentResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteSegment:completionHandler:

Deletes a segment.

- (void)deleteSegment:(AWSPinpointTargetingDeleteSegmentRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteSegmentResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteSegment service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteSmsChannel:

Delete an SMS channel

- (AWSTask<AWSPinpointTargetingDeleteSmsChannelResponse*> *)deleteSmsChannel:(AWSPinpointTargetingDeleteSmsChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the DeleteSmsChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingDeleteSmsChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– deleteSmsChannel:completionHandler:

Delete an SMS channel

- (void)deleteSmsChannel:(AWSPinpointTargetingDeleteSmsChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingDeleteSmsChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the DeleteSmsChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getApnsChannel:

Returns information about the APNs channel for an app.

- (AWSTask<AWSPinpointTargetingGetApnsChannelResponse*> *)getApnsChannel:(AWSPinpointTargetingGetApnsChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetApnsChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetApnsChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getApnsChannel:completionHandler:

Returns information about the APNs channel for an app.

- (void)getApnsChannel:(AWSPinpointTargetingGetApnsChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetApnsChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetApnsChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getApnsSandboxChannel:

Get an APNS sandbox channel

- (AWSTask<AWSPinpointTargetingGetApnsSandboxChannelResponse*> *)getApnsSandboxChannel:(AWSPinpointTargetingGetApnsSandboxChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetApnsSandboxChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetApnsSandboxChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getApnsSandboxChannel:completionHandler:

Get an APNS sandbox channel

- (void)getApnsSandboxChannel:(AWSPinpointTargetingGetApnsSandboxChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetApnsSandboxChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetApnsSandboxChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getApplicationSettings:

Used to request the settings for an app.

- (AWSTask<AWSPinpointTargetingGetApplicationSettingsResponse*> *)getApplicationSettings:(AWSPinpointTargetingGetApplicationSettingsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetApplicationSettings service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetApplicationSettingsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getApplicationSettings:completionHandler:

Used to request the settings for an app.

- (void)getApplicationSettings:(AWSPinpointTargetingGetApplicationSettingsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetApplicationSettingsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetApplicationSettings service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaign:

Returns information about a campaign.

- (AWSTask<AWSPinpointTargetingGetCampaignResponse*> *)getCampaign:(AWSPinpointTargetingGetCampaignRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetCampaign service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetCampaignResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaign:completionHandler:

Returns information about a campaign.

- (void)getCampaign:(AWSPinpointTargetingGetCampaignRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetCampaignResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetCampaign service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaignActivities:

Returns information about the activity performed by a campaign.

- (AWSTask<AWSPinpointTargetingGetCampaignActivitiesResponse*> *)getCampaignActivities:(AWSPinpointTargetingGetCampaignActivitiesRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetCampaignActivities service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetCampaignActivitiesResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaignActivities:completionHandler:

Returns information about the activity performed by a campaign.

- (void)getCampaignActivities:(AWSPinpointTargetingGetCampaignActivitiesRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetCampaignActivitiesResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetCampaignActivities service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaignVersion:

Returns information about a specific version of a campaign.

- (AWSTask<AWSPinpointTargetingGetCampaignVersionResponse*> *)getCampaignVersion:(AWSPinpointTargetingGetCampaignVersionRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetCampaignVersion service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetCampaignVersionResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaignVersion:completionHandler:

Returns information about a specific version of a campaign.

- (void)getCampaignVersion:(AWSPinpointTargetingGetCampaignVersionRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetCampaignVersionResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetCampaignVersion service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaignVersions:

Returns information about your campaign versions.

- (AWSTask<AWSPinpointTargetingGetCampaignVersionsResponse*> *)getCampaignVersions:(AWSPinpointTargetingGetCampaignVersionsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetCampaignVersions service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetCampaignVersionsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaignVersions:completionHandler:

Returns information about your campaign versions.

- (void)getCampaignVersions:(AWSPinpointTargetingGetCampaignVersionsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetCampaignVersionsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetCampaignVersions service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaigns:

Returns information about your campaigns.

- (AWSTask<AWSPinpointTargetingGetCampaignsResponse*> *)getCampaigns:(AWSPinpointTargetingGetCampaignsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetCampaigns service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetCampaignsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getCampaigns:completionHandler:

Returns information about your campaigns.

- (void)getCampaigns:(AWSPinpointTargetingGetCampaignsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetCampaignsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetCampaigns service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getEmailChannel:

Get an email channel

- (AWSTask<AWSPinpointTargetingGetEmailChannelResponse*> *)getEmailChannel:(AWSPinpointTargetingGetEmailChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetEmailChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetEmailChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getEmailChannel:completionHandler:

Get an email channel

- (void)getEmailChannel:(AWSPinpointTargetingGetEmailChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetEmailChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetEmailChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getEndpoint:

Returns information about an endpoint.

- (AWSTask<AWSPinpointTargetingGetEndpointResponse*> *)getEndpoint:(AWSPinpointTargetingGetEndpointRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetEndpoint service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetEndpointResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getEndpoint:completionHandler:

Returns information about an endpoint.

- (void)getEndpoint:(AWSPinpointTargetingGetEndpointRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetEndpointResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetEndpoint service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getEventStream:

Returns the event stream for an app.

- (AWSTask<AWSPinpointTargetingGetEventStreamResponse*> *)getEventStream:(AWSPinpointTargetingGetEventStreamRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetEventStream service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetEventStreamResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getEventStream:completionHandler:

Returns the event stream for an app.

- (void)getEventStream:(AWSPinpointTargetingGetEventStreamRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetEventStreamResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetEventStream service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getGcmChannel:

Returns information about the GCM channel for an app.

- (AWSTask<AWSPinpointTargetingGetGcmChannelResponse*> *)getGcmChannel:(AWSPinpointTargetingGetGcmChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetGcmChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetGcmChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getGcmChannel:completionHandler:

Returns information about the GCM channel for an app.

- (void)getGcmChannel:(AWSPinpointTargetingGetGcmChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetGcmChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetGcmChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getImportJob:

Returns information about an import job.

- (AWSTask<AWSPinpointTargetingGetImportJobResponse*> *)getImportJob:(AWSPinpointTargetingGetImportJobRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetImportJob service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetImportJobResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getImportJob:completionHandler:

Returns information about an import job.

- (void)getImportJob:(AWSPinpointTargetingGetImportJobRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetImportJobResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetImportJob service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getImportJobs:

Returns information about your import jobs.

- (AWSTask<AWSPinpointTargetingGetImportJobsResponse*> *)getImportJobs:(AWSPinpointTargetingGetImportJobsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetImportJobs service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetImportJobsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getImportJobs:completionHandler:

Returns information about your import jobs.

- (void)getImportJobs:(AWSPinpointTargetingGetImportJobsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetImportJobsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetImportJobs service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegment:

Returns information about a segment.

- (AWSTask<AWSPinpointTargetingGetSegmentResponse*> *)getSegment:(AWSPinpointTargetingGetSegmentRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetSegment service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetSegmentResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegment:completionHandler:

Returns information about a segment.

- (void)getSegment:(AWSPinpointTargetingGetSegmentRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetSegmentResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetSegment service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegmentImportJobs:

Returns a list of import jobs for a specific segment.

- (AWSTask<AWSPinpointTargetingGetSegmentImportJobsResponse*> *)getSegmentImportJobs:(AWSPinpointTargetingGetSegmentImportJobsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetSegmentImportJobs service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetSegmentImportJobsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegmentImportJobs:completionHandler:

Returns a list of import jobs for a specific segment.

- (void)getSegmentImportJobs:(AWSPinpointTargetingGetSegmentImportJobsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetSegmentImportJobsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetSegmentImportJobs service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegmentVersion:

Returns information about a segment version.

- (AWSTask<AWSPinpointTargetingGetSegmentVersionResponse*> *)getSegmentVersion:(AWSPinpointTargetingGetSegmentVersionRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetSegmentVersion service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetSegmentVersionResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegmentVersion:completionHandler:

Returns information about a segment version.

- (void)getSegmentVersion:(AWSPinpointTargetingGetSegmentVersionRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetSegmentVersionResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetSegmentVersion service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegmentVersions:

Returns information about your segment versions.

- (AWSTask<AWSPinpointTargetingGetSegmentVersionsResponse*> *)getSegmentVersions:(AWSPinpointTargetingGetSegmentVersionsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetSegmentVersions service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetSegmentVersionsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegmentVersions:completionHandler:

Returns information about your segment versions.

- (void)getSegmentVersions:(AWSPinpointTargetingGetSegmentVersionsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetSegmentVersionsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetSegmentVersions service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegments:

Used to get information about your segments.

- (AWSTask<AWSPinpointTargetingGetSegmentsResponse*> *)getSegments:(AWSPinpointTargetingGetSegmentsRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetSegments service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetSegmentsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSegments:completionHandler:

Used to get information about your segments.

- (void)getSegments:(AWSPinpointTargetingGetSegmentsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetSegmentsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetSegments service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSmsChannel:

Get an SMS channel

- (AWSTask<AWSPinpointTargetingGetSmsChannelResponse*> *)getSmsChannel:(AWSPinpointTargetingGetSmsChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the GetSmsChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingGetSmsChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– getSmsChannel:completionHandler:

Get an SMS channel

- (void)getSmsChannel:(AWSPinpointTargetingGetSmsChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingGetSmsChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the GetSmsChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– putEventStream:

Use to create or update the event stream for an app.

- (AWSTask<AWSPinpointTargetingPutEventStreamResponse*> *)putEventStream:(AWSPinpointTargetingPutEventStreamRequest *)request

Parameters

request

A container for the necessary parameters to execute the PutEventStream service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingPutEventStreamResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– putEventStream:completionHandler:

Use to create or update the event stream for an app.

- (void)putEventStream:(AWSPinpointTargetingPutEventStreamRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingPutEventStreamResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the PutEventStream service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– sendMessages:

Send a batch of messages

- (AWSTask<AWSPinpointTargetingSendMessagesResponse*> *)sendMessages:(AWSPinpointTargetingSendMessagesRequest *)request

Parameters

request

A container for the necessary parameters to execute the SendMessages service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingSendMessagesResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– sendMessages:completionHandler:

Send a batch of messages

- (void)sendMessages:(AWSPinpointTargetingSendMessagesRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingSendMessagesResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the SendMessages service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateApnsChannel:

Use to update the APNs channel for an app.

- (AWSTask<AWSPinpointTargetingUpdateApnsChannelResponse*> *)updateApnsChannel:(AWSPinpointTargetingUpdateApnsChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateApnsChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateApnsChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateApnsChannel:completionHandler:

Use to update the APNs channel for an app.

- (void)updateApnsChannel:(AWSPinpointTargetingUpdateApnsChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateApnsChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateApnsChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateApnsSandboxChannel:

Update an APNS sandbox channel

- (AWSTask<AWSPinpointTargetingUpdateApnsSandboxChannelResponse*> *)updateApnsSandboxChannel:(AWSPinpointTargetingUpdateApnsSandboxChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateApnsSandboxChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateApnsSandboxChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateApnsSandboxChannel:completionHandler:

Update an APNS sandbox channel

- (void)updateApnsSandboxChannel:(AWSPinpointTargetingUpdateApnsSandboxChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateApnsSandboxChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateApnsSandboxChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateApplicationSettings:

Used to update the settings for an app.

- (AWSTask<AWSPinpointTargetingUpdateApplicationSettingsResponse*> *)updateApplicationSettings:(AWSPinpointTargetingUpdateApplicationSettingsRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateApplicationSettings service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateApplicationSettingsResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateApplicationSettings:completionHandler:

Used to update the settings for an app.

- (void)updateApplicationSettings:(AWSPinpointTargetingUpdateApplicationSettingsRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateApplicationSettingsResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateApplicationSettings service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateCampaign:

Use to update a campaign.

- (AWSTask<AWSPinpointTargetingUpdateCampaignResponse*> *)updateCampaign:(AWSPinpointTargetingUpdateCampaignRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateCampaign service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateCampaignResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateCampaign:completionHandler:

Use to update a campaign.

- (void)updateCampaign:(AWSPinpointTargetingUpdateCampaignRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateCampaignResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateCampaign service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateEmailChannel:

Update an email channel

- (AWSTask<AWSPinpointTargetingUpdateEmailChannelResponse*> *)updateEmailChannel:(AWSPinpointTargetingUpdateEmailChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateEmailChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateEmailChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateEmailChannel:completionHandler:

Update an email channel

- (void)updateEmailChannel:(AWSPinpointTargetingUpdateEmailChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateEmailChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateEmailChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateEndpoint:

Use to update an endpoint.

- (AWSTask<AWSPinpointTargetingUpdateEndpointResponse*> *)updateEndpoint:(AWSPinpointTargetingUpdateEndpointRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateEndpoint service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateEndpointResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateEndpoint:completionHandler:

Use to update an endpoint.

- (void)updateEndpoint:(AWSPinpointTargetingUpdateEndpointRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateEndpointResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateEndpoint service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateEndpointsBatch:

Use to update a batch of endpoints.

- (AWSTask<AWSPinpointTargetingUpdateEndpointsBatchResponse*> *)updateEndpointsBatch:(AWSPinpointTargetingUpdateEndpointsBatchRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateEndpointsBatch service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateEndpointsBatchResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateEndpointsBatch:completionHandler:

Use to update a batch of endpoints.

- (void)updateEndpointsBatch:(AWSPinpointTargetingUpdateEndpointsBatchRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateEndpointsBatchResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateEndpointsBatch service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateGcmChannel:

Use to update the GCM channel for an app.

- (AWSTask<AWSPinpointTargetingUpdateGcmChannelResponse*> *)updateGcmChannel:(AWSPinpointTargetingUpdateGcmChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateGcmChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateGcmChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateGcmChannel:completionHandler:

Use to update the GCM channel for an app.

- (void)updateGcmChannel:(AWSPinpointTargetingUpdateGcmChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateGcmChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateGcmChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateSegment:

Use to update a segment.

- (AWSTask<AWSPinpointTargetingUpdateSegmentResponse*> *)updateSegment:(AWSPinpointTargetingUpdateSegmentRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateSegment service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateSegmentResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateSegment:completionHandler:

Use to update a segment.

- (void)updateSegment:(AWSPinpointTargetingUpdateSegmentRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateSegmentResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateSegment service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateSmsChannel:

Update an SMS channel

- (AWSTask<AWSPinpointTargetingUpdateSmsChannelResponse*> *)updateSmsChannel:(AWSPinpointTargetingUpdateSmsChannelRequest *)request

Parameters

request

A container for the necessary parameters to execute the UpdateSmsChannel service method.

Return Value

An instance of AWSTask. On successful execution, task.result will contain an instance of AWSPinpointTargetingUpdateSmsChannelResponse. On failed execution, task.error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h

– updateSmsChannel:completionHandler:

Update an SMS channel

- (void)updateSmsChannel:(AWSPinpointTargetingUpdateSmsChannelRequest *)request completionHandler:(void ( ^ _Nullable ) ( AWSPinpointTargetingUpdateSmsChannelResponse *_Nullable response , NSError *_Nullable error ))completionHandler

Parameters

request

A container for the necessary parameters to execute the UpdateSmsChannel service method.

completionHandler

The completion handler to call when the load request is complete. response - A response object, or nil if the request failed. error - An error object that indicates why the request failed, or nil if the request was successful. On failed execution, error may contain an NSError with AWSPinpointTargetingErrorDomain domain and the following error code: AWSPinpointTargetingErrorBadRequest, AWSPinpointTargetingErrorInternalServerError, AWSPinpointTargetingErrorForbidden, AWSPinpointTargetingErrorNotFound, AWSPinpointTargetingErrorMethodNotAllowed, AWSPinpointTargetingErrorTooManyRequests.

Declared In

AWSPinpointTargetingService.h