AWSKinesisVideo
Objective-C
@interface AWSKinesisVideo
Swift
class AWSKinesisVideo
-
The service configuration used to instantiate this service client.
Warning
Once the client is instantiated, do not modify the configuration object. It may cause unspecified behaviors.Declaration
Objective-C
@property (nonatomic, strong, readonly) AWSServiceConfiguration *configuration
-
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.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 KinesisVideo = AWSKinesisVideo.default()
Objective-C
AWSKinesisVideo *KinesisVideo = [AWSKinesisVideo defaultKinesisVideo];
Declaration
Objective-C
+ (nonnull instancetype)defaultKinesisVideo;
Swift
class func `default`() -> Self
Return Value
The default service client.
-
Creates a service client with the given service configuration and registers it for the key.
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) AWSKinesisVideo.register(with: configuration!, forKey: "USWest2KinesisVideo") 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]; [AWSKinesisVideo registerKinesisVideoWithConfiguration:configuration forKey:@"USWest2KinesisVideo"]; return YES; }
Then call the following to get the service client:
Swift
let KinesisVideo = AWSKinesisVideo(forKey: "USWest2KinesisVideo")
Objective-C
AWSKinesisVideo *KinesisVideo = [AWSKinesisVideo KinesisVideoForKey:@"USWest2KinesisVideo"];
Warning
After calling this method, do not modify the configuration object. It may cause unspecified behaviors.
Declaration
Objective-C
+ (void)registerKinesisVideoWithConfiguration:(id)configuration forKey:(nonnull NSString *)key;
Swift
class func register(withConfiguration configuration: Any!, forKey key: String)
Parameters
configuration
A service configuration object.
key
A string to identify the service client.
-
Retrieves the service client associated with the key. You need to call
+ registerKinesisVideoWithConfiguration:forKey:
before invoking this method.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) AWSKinesisVideo.register(with: configuration!, forKey: "USWest2KinesisVideo") 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]; [AWSKinesisVideo registerKinesisVideoWithConfiguration:configuration forKey:@"USWest2KinesisVideo"]; return YES; }
Then call the following to get the service client:
Swift
let KinesisVideo = AWSKinesisVideo(forKey: "USWest2KinesisVideo")
Objective-C
AWSKinesisVideo *KinesisVideo = [AWSKinesisVideo KinesisVideoForKey:@"USWest2KinesisVideo"];
Declaration
Objective-C
+ (nonnull instancetype)KinesisVideoForKey:(nonnull NSString *)key;
Swift
convenience init(forKey key: String)
Parameters
key
A string to identify the service client.
Return Value
An instance of the service client.
-
Removes the service client associated with the key and release it.
Warning
Before calling this method, make sure no method is running on this client.
Declaration
Objective-C
+ (void)removeKinesisVideoForKey:(nonnull NSString *)key;
Swift
class func remove(forKey key: String)
Parameters
key
A string to identify the service client.
-
Creates a signaling channel.
CreateSignalingChannel
is an asynchronous operation.See
AWSKinesisVideoCreateSignalingChannelInput
See
AWSKinesisVideoCreateSignalingChannelOutput
Declaration
Objective-C
- (id)createSignalingChannel: (nonnull AWSKinesisVideoCreateSignalingChannelInput *)request;
Swift
func createSignalingChannel(_ request: AWSKinesisVideoCreateSignalingChannelInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the CreateSignalingChannel service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoCreateSignalingChannelOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorAccountChannelLimitExceeded
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Creates a signaling channel.
CreateSignalingChannel
is an asynchronous operation.See
AWSKinesisVideoCreateSignalingChannelInput
See
AWSKinesisVideoCreateSignalingChannelOutput
Declaration
Objective-C
- (void)createSignalingChannel: (nonnull AWSKinesisVideoCreateSignalingChannelInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoCreateSignalingChannelOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func createSignalingChannel(_ request: AWSKinesisVideoCreateSignalingChannelInput) async throws -> AWSKinesisVideoCreateSignalingChannelOutput
Parameters
request
A container for the necessary parameters to execute the CreateSignalingChannel service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorAccountChannelLimitExceeded
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Creates a new Kinesis video stream.
When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream’s metadata, Kinesis Video Streams updates the version.
CreateStream
is an asynchronous operation.For information about how the service works, see How it Works.
You must have permissions for the
KinesisVideo:CreateStream
action.See
AWSKinesisVideoCreateStreamInput
See
AWSKinesisVideoCreateStreamOutput
Declaration
Objective-C
- (id)createStream:(nonnull AWSKinesisVideoCreateStreamInput *)request;
Swift
func createStream(_ request: AWSKinesisVideoCreateStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the CreateStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoCreateStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccountStreamLimitExceeded
,AWSKinesisVideoErrorDeviceStreamLimitExceeded
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorInvalidDevice
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Creates a new Kinesis video stream.
When you create a new stream, Kinesis Video Streams assigns it a version number. When you change the stream’s metadata, Kinesis Video Streams updates the version.
CreateStream
is an asynchronous operation.For information about how the service works, see How it Works.
You must have permissions for the
KinesisVideo:CreateStream
action.See
AWSKinesisVideoCreateStreamInput
See
AWSKinesisVideoCreateStreamOutput
Declaration
Objective-C
- (void)createStream:(nonnull AWSKinesisVideoCreateStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoCreateStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func createStream(_ request: AWSKinesisVideoCreateStreamInput) async throws -> AWSKinesisVideoCreateStreamOutput
Parameters
request
A container for the necessary parameters to execute the CreateStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccountStreamLimitExceeded
,AWSKinesisVideoErrorDeviceStreamLimitExceeded
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorInvalidDevice
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
An asynchronous API that deletes a stream’s existing edge configuration, as well as the corresponding media from the Edge Agent.
When you invoke this API, the sync status is set to
DELETING
. A deletion process starts, in which active edge jobs are stopped and all media is deleted from the edge device. The time to delete varies, depending on the total amount of stored media. If the deletion process fails, the sync status changes toDELETE_FAILED
. You will need to re-try the deletion.When the deletion process has completed successfully, the edge configuration is no longer accessible.
See
AWSKinesisVideoDeleteEdgeConfigurationInput
See
AWSKinesisVideoDeleteEdgeConfigurationOutput
Declaration
Objective-C
- (id)deleteEdgeConfiguration: (nonnull AWSKinesisVideoDeleteEdgeConfigurationInput *)request;
Swift
func deleteEdgeConfiguration(_ request: AWSKinesisVideoDeleteEdgeConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DeleteEdgeConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDeleteEdgeConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorStreamEdgeConfigurationNotFound
. -
An asynchronous API that deletes a stream’s existing edge configuration, as well as the corresponding media from the Edge Agent.
When you invoke this API, the sync status is set to
DELETING
. A deletion process starts, in which active edge jobs are stopped and all media is deleted from the edge device. The time to delete varies, depending on the total amount of stored media. If the deletion process fails, the sync status changes toDELETE_FAILED
. You will need to re-try the deletion.When the deletion process has completed successfully, the edge configuration is no longer accessible.
See
AWSKinesisVideoDeleteEdgeConfigurationInput
See
AWSKinesisVideoDeleteEdgeConfigurationOutput
Declaration
Objective-C
- (void)deleteEdgeConfiguration: (nonnull AWSKinesisVideoDeleteEdgeConfigurationInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoDeleteEdgeConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func deleteEdgeConfiguration(_ request: AWSKinesisVideoDeleteEdgeConfigurationInput) async throws -> AWSKinesisVideoDeleteEdgeConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the DeleteEdgeConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorStreamEdgeConfigurationNotFound
. -
Deletes a specified signaling channel.
DeleteSignalingChannel
is an asynchronous operation. If you don’t specify the channel’s current version, the most recent version is deleted.See
AWSKinesisVideoDeleteSignalingChannelInput
See
AWSKinesisVideoDeleteSignalingChannelOutput
Declaration
Objective-C
- (id)deleteSignalingChannel: (nonnull AWSKinesisVideoDeleteSignalingChannelInput *)request;
Swift
func deleteSignalingChannel(_ request: AWSKinesisVideoDeleteSignalingChannelInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DeleteSignalingChannel service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDeleteSignalingChannelOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorVersionMismatch
,AWSKinesisVideoErrorResourceInUse
. -
Deletes a specified signaling channel.
DeleteSignalingChannel
is an asynchronous operation. If you don’t specify the channel’s current version, the most recent version is deleted.See
AWSKinesisVideoDeleteSignalingChannelInput
See
AWSKinesisVideoDeleteSignalingChannelOutput
Declaration
Objective-C
- (void)deleteSignalingChannel: (nonnull AWSKinesisVideoDeleteSignalingChannelInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoDeleteSignalingChannelOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func deleteSignalingChannel(_ request: AWSKinesisVideoDeleteSignalingChannelInput) async throws -> AWSKinesisVideoDeleteSignalingChannelOutput
Parameters
request
A container for the necessary parameters to execute the DeleteSignalingChannel service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorVersionMismatch
,AWSKinesisVideoErrorResourceInUse
. -
Deletes a Kinesis video stream and the data contained in the stream.
This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.
To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the
DescribeStream
API.This operation requires permission for the
KinesisVideo:DeleteStream
action.See
AWSKinesisVideoDeleteStreamInput
See
AWSKinesisVideoDeleteStreamOutput
Declaration
Objective-C
- (id)deleteStream:(nonnull AWSKinesisVideoDeleteStreamInput *)request;
Swift
func deleteStream(_ request: AWSKinesisVideoDeleteStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DeleteStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDeleteStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorVersionMismatch
,AWSKinesisVideoErrorResourceInUse
. -
Deletes a Kinesis video stream and the data contained in the stream.
This method marks the stream for deletion, and makes the data in the stream inaccessible immediately.
To ensure that you have the latest version of the stream before deleting it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the
DescribeStream
API.This operation requires permission for the
KinesisVideo:DeleteStream
action.See
AWSKinesisVideoDeleteStreamInput
See
AWSKinesisVideoDeleteStreamOutput
Declaration
Objective-C
- (void)deleteStream:(nonnull AWSKinesisVideoDeleteStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoDeleteStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func deleteStream(_ request: AWSKinesisVideoDeleteStreamInput) async throws -> AWSKinesisVideoDeleteStreamOutput
Parameters
request
A container for the necessary parameters to execute the DeleteStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorVersionMismatch
,AWSKinesisVideoErrorResourceInUse
. -
Describes a stream’s edge configuration that was set using the
StartEdgeConfigurationUpdate
API and the latest status of the edge agent’s recorder and uploader jobs. Use this API to get the status of the configuration to determine if the configuration is in sync with the Edge Agent. Use this API to evaluate the health of the Edge Agent.See
AWSKinesisVideoDescribeEdgeConfigurationInput
See
AWSKinesisVideoDescribeEdgeConfigurationOutput
Declaration
Objective-C
- (id)describeEdgeConfiguration: (nonnull AWSKinesisVideoDescribeEdgeConfigurationInput *)request;
Swift
func describeEdgeConfiguration(_ request: AWSKinesisVideoDescribeEdgeConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeEdgeConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeEdgeConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorStreamEdgeConfigurationNotFound
. -
Describes a stream’s edge configuration that was set using the
StartEdgeConfigurationUpdate
API and the latest status of the edge agent’s recorder and uploader jobs. Use this API to get the status of the configuration to determine if the configuration is in sync with the Edge Agent. Use this API to evaluate the health of the Edge Agent.See
AWSKinesisVideoDescribeEdgeConfigurationInput
See
AWSKinesisVideoDescribeEdgeConfigurationOutput
Declaration
Objective-C
- (void) describeEdgeConfiguration: (nonnull AWSKinesisVideoDescribeEdgeConfigurationInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoDescribeEdgeConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeEdgeConfiguration(_ request: AWSKinesisVideoDescribeEdgeConfigurationInput) async throws -> AWSKinesisVideoDescribeEdgeConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the DescribeEdgeConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorStreamEdgeConfigurationNotFound
. -
Gets the
ImageGenerationConfiguration
for a given Kinesis video stream.See
AWSKinesisVideoDescribeImageGenerationConfigurationInput
See
AWSKinesisVideoDescribeImageGenerationConfigurationOutput
Declaration
Objective-C
- (id)describeImageGenerationConfiguration: (nonnull AWSKinesisVideoDescribeImageGenerationConfigurationInput *)request;
Swift
func describeImageGenerationConfiguration(_ request: AWSKinesisVideoDescribeImageGenerationConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeImageGenerationConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeImageGenerationConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Gets the
ImageGenerationConfiguration
for a given Kinesis video stream.See
AWSKinesisVideoDescribeImageGenerationConfigurationInput
See
AWSKinesisVideoDescribeImageGenerationConfigurationOutput
Declaration
Objective-C
- (void) describeImageGenerationConfiguration: (nonnull AWSKinesisVideoDescribeImageGenerationConfigurationInput *) request completionHandler: (void (^_Nullable)( AWSKinesisVideoDescribeImageGenerationConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeImageGenerationConfiguration(_ request: AWSKinesisVideoDescribeImageGenerationConfigurationInput) async throws -> AWSKinesisVideoDescribeImageGenerationConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the DescribeImageGenerationConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Returns the most current information about the stream. The
streamName
orstreamARN
should be provided in the input.See
AWSKinesisVideoDescribeMappedResourceConfigurationInput
See
AWSKinesisVideoDescribeMappedResourceConfigurationOutput
Declaration
Objective-C
- (id)describeMappedResourceConfiguration: (nonnull AWSKinesisVideoDescribeMappedResourceConfigurationInput *)request;
Swift
func describeMappedResourceConfiguration(_ request: AWSKinesisVideoDescribeMappedResourceConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeMappedResourceConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeMappedResourceConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
. -
Returns the most current information about the stream. The
streamName
orstreamARN
should be provided in the input.See
AWSKinesisVideoDescribeMappedResourceConfigurationInput
See
AWSKinesisVideoDescribeMappedResourceConfigurationOutput
Declaration
Objective-C
- (void) describeMappedResourceConfiguration: (nonnull AWSKinesisVideoDescribeMappedResourceConfigurationInput *) request completionHandler: (void (^_Nullable)( AWSKinesisVideoDescribeMappedResourceConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeMappedResourceConfiguration(_ request: AWSKinesisVideoDescribeMappedResourceConfigurationInput) async throws -> AWSKinesisVideoDescribeMappedResourceConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the DescribeMappedResourceConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
. -
Returns the most current information about the channel. Specify the
ChannelName
orChannelARN
in the input.See
AWSKinesisVideoDescribeMediaStorageConfigurationInput
See
AWSKinesisVideoDescribeMediaStorageConfigurationOutput
Declaration
Objective-C
- (id)describeMediaStorageConfiguration: (nonnull AWSKinesisVideoDescribeMediaStorageConfigurationInput *)request;
Swift
func describeMediaStorageConfiguration(_ request: AWSKinesisVideoDescribeMediaStorageConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeMediaStorageConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeMediaStorageConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
. -
Returns the most current information about the channel. Specify the
ChannelName
orChannelARN
in the input.See
AWSKinesisVideoDescribeMediaStorageConfigurationInput
See
AWSKinesisVideoDescribeMediaStorageConfigurationOutput
Declaration
Objective-C
- (void) describeMediaStorageConfiguration: (nonnull AWSKinesisVideoDescribeMediaStorageConfigurationInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoDescribeMediaStorageConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeMediaStorageConfiguration(_ request: AWSKinesisVideoDescribeMediaStorageConfigurationInput) async throws -> AWSKinesisVideoDescribeMediaStorageConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the DescribeMediaStorageConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
. -
Gets the
NotificationConfiguration
for a given Kinesis video stream.See
AWSKinesisVideoDescribeNotificationConfigurationInput
See
AWSKinesisVideoDescribeNotificationConfigurationOutput
Declaration
Objective-C
- (id)describeNotificationConfiguration: (nonnull AWSKinesisVideoDescribeNotificationConfigurationInput *)request;
Swift
func describeNotificationConfiguration(_ request: AWSKinesisVideoDescribeNotificationConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeNotificationConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeNotificationConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Gets the
NotificationConfiguration
for a given Kinesis video stream.See
AWSKinesisVideoDescribeNotificationConfigurationInput
See
AWSKinesisVideoDescribeNotificationConfigurationOutput
Declaration
Objective-C
- (void) describeNotificationConfiguration: (nonnull AWSKinesisVideoDescribeNotificationConfigurationInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoDescribeNotificationConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeNotificationConfiguration(_ request: AWSKinesisVideoDescribeNotificationConfigurationInput) async throws -> AWSKinesisVideoDescribeNotificationConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the DescribeNotificationConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.
See
AWSKinesisVideoDescribeSignalingChannelInput
See
AWSKinesisVideoDescribeSignalingChannelOutput
Declaration
Objective-C
- (id)describeSignalingChannel: (nonnull AWSKinesisVideoDescribeSignalingChannelInput *)request;
Swift
func describeSignalingChannel(_ request: AWSKinesisVideoDescribeSignalingChannelInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeSignalingChannel service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeSignalingChannelOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Returns the most current information about the signaling channel. You must specify either the name or the Amazon Resource Name (ARN) of the channel that you want to describe.
See
AWSKinesisVideoDescribeSignalingChannelInput
See
AWSKinesisVideoDescribeSignalingChannelOutput
Declaration
Objective-C
- (void)describeSignalingChannel: (nonnull AWSKinesisVideoDescribeSignalingChannelInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoDescribeSignalingChannelOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeSignalingChannel(_ request: AWSKinesisVideoDescribeSignalingChannelInput) async throws -> AWSKinesisVideoDescribeSignalingChannelOutput
Parameters
request
A container for the necessary parameters to execute the DescribeSignalingChannel service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Returns the most current information about the specified stream. You must specify either the
StreamName
or theStreamARN
.See
AWSKinesisVideoDescribeStreamInput
See
AWSKinesisVideoDescribeStreamOutput
Declaration
Objective-C
- (id)describeStream:(nonnull AWSKinesisVideoDescribeStreamInput *)request;
Swift
func describeStream(_ request: AWSKinesisVideoDescribeStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the DescribeStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoDescribeStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorNotAuthorized
. -
Returns the most current information about the specified stream. You must specify either the
StreamName
or theStreamARN
.See
AWSKinesisVideoDescribeStreamInput
See
AWSKinesisVideoDescribeStreamOutput
Declaration
Objective-C
- (void)describeStream:(nonnull AWSKinesisVideoDescribeStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoDescribeStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func describeStream(_ request: AWSKinesisVideoDescribeStreamInput) async throws -> AWSKinesisVideoDescribeStreamOutput
Parameters
request
A container for the necessary parameters to execute the DescribeStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorNotAuthorized
. -
Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the
GetMedia
orGetMediaForFragmentList
operations) or write to it (using thePutMedia
operation).The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.
In the request, specify the stream either by
StreamName
orStreamARN
.See
AWSKinesisVideoGetDataEndpointInput
See
AWSKinesisVideoGetDataEndpointOutput
Declaration
Objective-C
- (id)getDataEndpoint:(nonnull AWSKinesisVideoGetDataEndpointInput *)request;
Swift
func getDataEndpoint(_ request: AWSKinesisVideoGetDataEndpointInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the GetDataEndpoint service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoGetDataEndpointOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorNotAuthorized
. -
Gets an endpoint for a specified stream for either reading or writing. Use this endpoint in your application to read from the specified stream (using the
GetMedia
orGetMediaForFragmentList
operations) or write to it (using thePutMedia
operation).The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.
In the request, specify the stream either by
StreamName
orStreamARN
.See
AWSKinesisVideoGetDataEndpointInput
See
AWSKinesisVideoGetDataEndpointOutput
Declaration
Objective-C
- (void)getDataEndpoint:(nonnull AWSKinesisVideoGetDataEndpointInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoGetDataEndpointOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func dataEndpoint(_ request: AWSKinesisVideoGetDataEndpointInput) async throws -> AWSKinesisVideoGetDataEndpointOutput
Parameters
request
A container for the necessary parameters to execute the GetDataEndpoint service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorNotAuthorized
. -
Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the
SingleMasterChannelEndpointConfiguration
input parameter, which consists of theProtocols
andRole
properties.Protocols
is used to determine the communication mechanism. For example, if you specifyWSS
as the protocol, this API produces a secure websocket endpoint. If you specifyHTTPS
as the protocol, this API generates an HTTPS endpoint.Role
determines the messaging permissions. AMASTER
role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. AVIEWER
role results in this API generating an endpoint that a client can use to communicate only with aMASTER
.See
AWSKinesisVideoGetSignalingChannelEndpointInput
See
AWSKinesisVideoGetSignalingChannelEndpointOutput
Declaration
Objective-C
- (id)getSignalingChannelEndpoint: (nonnull AWSKinesisVideoGetSignalingChannelEndpointInput *)request;
Swift
func getSignalingChannelEndpoint(_ request: AWSKinesisVideoGetSignalingChannelEndpointInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the GetSignalingChannelEndpoint service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoGetSignalingChannelEndpointOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorAccessDenied
. -
Provides an endpoint for the specified signaling channel to send and receive messages. This API uses the
SingleMasterChannelEndpointConfiguration
input parameter, which consists of theProtocols
andRole
properties.Protocols
is used to determine the communication mechanism. For example, if you specifyWSS
as the protocol, this API produces a secure websocket endpoint. If you specifyHTTPS
as the protocol, this API generates an HTTPS endpoint.Role
determines the messaging permissions. AMASTER
role results in this API generating an endpoint that a client can use to communicate with any of the viewers on the channel. AVIEWER
role results in this API generating an endpoint that a client can use to communicate only with aMASTER
.See
AWSKinesisVideoGetSignalingChannelEndpointInput
See
AWSKinesisVideoGetSignalingChannelEndpointOutput
Declaration
Objective-C
- (void)getSignalingChannelEndpoint: (nonnull AWSKinesisVideoGetSignalingChannelEndpointInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoGetSignalingChannelEndpointOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func signalingChannelEndpoint(_ request: AWSKinesisVideoGetSignalingChannelEndpointInput) async throws -> AWSKinesisVideoGetSignalingChannelEndpointOutput
Parameters
request
A container for the necessary parameters to execute the GetSignalingChannelEndpoint service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorAccessDenied
. -
Returns an array of edge configurations associated with the specified Edge Agent.
In the request, you must specify the Edge Agent
HubDeviceArn
.See
AWSKinesisVideoListEdgeAgentConfigurationsInput
See
AWSKinesisVideoListEdgeAgentConfigurationsOutput
Declaration
Objective-C
- (id)listEdgeAgentConfigurations: (nonnull AWSKinesisVideoListEdgeAgentConfigurationsInput *)request;
Swift
func listEdgeAgentConfigurations(_ request: AWSKinesisVideoListEdgeAgentConfigurationsInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the ListEdgeAgentConfigurations service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoListEdgeAgentConfigurationsOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
. -
Returns an array of edge configurations associated with the specified Edge Agent.
In the request, you must specify the Edge Agent
HubDeviceArn
.See
AWSKinesisVideoListEdgeAgentConfigurationsInput
See
AWSKinesisVideoListEdgeAgentConfigurationsOutput
Declaration
Objective-C
- (void)listEdgeAgentConfigurations: (nonnull AWSKinesisVideoListEdgeAgentConfigurationsInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoListEdgeAgentConfigurationsOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func listEdgeAgentConfigurations(_ request: AWSKinesisVideoListEdgeAgentConfigurationsInput) async throws -> AWSKinesisVideoListEdgeAgentConfigurationsOutput
Parameters
request
A container for the necessary parameters to execute the ListEdgeAgentConfigurations service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
. -
Returns an array of
ChannelInfo
objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify aChannelNameCondition
.See
AWSKinesisVideoListSignalingChannelsInput
See
AWSKinesisVideoListSignalingChannelsOutput
Declaration
Objective-C
- (id)listSignalingChannels: (nonnull AWSKinesisVideoListSignalingChannelsInput *)request;
Swift
func listSignalingChannels(_ request: AWSKinesisVideoListSignalingChannelsInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the ListSignalingChannels service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoListSignalingChannelsOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorAccessDenied
. -
Returns an array of
ChannelInfo
objects. Each object describes a signaling channel. To retrieve only those channels that satisfy a specific condition, you can specify aChannelNameCondition
.See
AWSKinesisVideoListSignalingChannelsInput
See
AWSKinesisVideoListSignalingChannelsOutput
Declaration
Objective-C
- (void)listSignalingChannels: (nonnull AWSKinesisVideoListSignalingChannelsInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoListSignalingChannelsOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func listSignalingChannels(_ request: AWSKinesisVideoListSignalingChannelsInput) async throws -> AWSKinesisVideoListSignalingChannelsOutput
Parameters
request
A container for the necessary parameters to execute the ListSignalingChannels service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorAccessDenied
. -
Returns an array of
StreamInfo
objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify aStreamNameCondition
.See
AWSKinesisVideoListStreamsInput
See
AWSKinesisVideoListStreamsOutput
Declaration
Objective-C
- (id)listStreams:(nonnull AWSKinesisVideoListStreamsInput *)request;
Swift
func listStreams(_ request: AWSKinesisVideoListStreamsInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the ListStreams service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoListStreamsOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
. -
Returns an array of
StreamInfo
objects. Each object describes a stream. To retrieve only streams that satisfy a specific condition, you can specify aStreamNameCondition
.See
AWSKinesisVideoListStreamsInput
See
AWSKinesisVideoListStreamsOutput
Declaration
Objective-C
- (void)listStreams:(nonnull AWSKinesisVideoListStreamsInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoListStreamsOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func listStreams(_ request: AWSKinesisVideoListStreamsInput) async throws -> AWSKinesisVideoListStreamsOutput
Parameters
request
A container for the necessary parameters to execute the ListStreams service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
. -
Returns a list of tags associated with the specified signaling channel.
See
AWSKinesisVideoListTagsForResourceInput
See
AWSKinesisVideoListTagsForResourceOutput
Declaration
Objective-C
- (id)listTagsForResource: (nonnull AWSKinesisVideoListTagsForResourceInput *)request;
Swift
func listTags(forResource request: AWSKinesisVideoListTagsForResourceInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the ListTagsForResource service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoListTagsForResourceOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Returns a list of tags associated with the specified signaling channel.
See
AWSKinesisVideoListTagsForResourceInput
See
AWSKinesisVideoListTagsForResourceOutput
Declaration
Objective-C
- (void)listTagsForResource: (nonnull AWSKinesisVideoListTagsForResourceInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoListTagsForResourceOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func listTags(forResource request: AWSKinesisVideoListTagsForResourceInput) async throws -> AWSKinesisVideoListTagsForResourceOutput
Parameters
request
A container for the necessary parameters to execute the ListTagsForResource service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Returns a list of tags associated with the specified stream.
In the request, you must specify either the
StreamName
or theStreamARN
.See
AWSKinesisVideoListTagsForStreamInput
See
AWSKinesisVideoListTagsForStreamOutput
Declaration
Objective-C
- (id)listTagsForStream: (nonnull AWSKinesisVideoListTagsForStreamInput *)request;
Swift
func listTags(forStream request: AWSKinesisVideoListTagsForStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the ListTagsForStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoListTagsForStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorInvalidResourceFormat
. -
Returns a list of tags associated with the specified stream.
In the request, you must specify either the
StreamName
or theStreamARN
.See
AWSKinesisVideoListTagsForStreamInput
See
AWSKinesisVideoListTagsForStreamOutput
Declaration
Objective-C
- (void) listTagsForStream:(nonnull AWSKinesisVideoListTagsForStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoListTagsForStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func listTags(forStream request: AWSKinesisVideoListTagsForStreamInput) async throws -> AWSKinesisVideoListTagsForStreamOutput
Parameters
request
A container for the necessary parameters to execute the ListTagsForStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorInvalidResourceFormat
. -
An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The
SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to
SYNCING
. You will have to wait for the sync status to reach a terminal state such as:IN_SYNC
, orSYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, aResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into theSYNC_FAILED
state.To move an edge configuration from one device to another, use DeleteEdgeConfiguration to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.
See
AWSKinesisVideoStartEdgeConfigurationUpdateInput
See
AWSKinesisVideoStartEdgeConfigurationUpdateOutput
Declaration
Objective-C
- (id)startEdgeConfigurationUpdate: (nonnull AWSKinesisVideoStartEdgeConfigurationUpdateInput *)request;
Swift
func startEdgeConfigurationUpdate(_ request: AWSKinesisVideoStartEdgeConfigurationUpdateInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the StartEdgeConfigurationUpdate service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoStartEdgeConfigurationUpdateOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorNoDataRetention
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorResourceNotFound
. -
An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The
SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to
SYNCING
. You will have to wait for the sync status to reach a terminal state such as:IN_SYNC
, orSYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, aResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into theSYNC_FAILED
state.To move an edge configuration from one device to another, use DeleteEdgeConfiguration to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.
See
AWSKinesisVideoStartEdgeConfigurationUpdateInput
See
AWSKinesisVideoStartEdgeConfigurationUpdateOutput
Declaration
Objective-C
- (void)startEdgeConfigurationUpdate: (nonnull AWSKinesisVideoStartEdgeConfigurationUpdateInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoStartEdgeConfigurationUpdateOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func startEdgeConfigurationUpdate(_ request: AWSKinesisVideoStartEdgeConfigurationUpdateInput) async throws -> AWSKinesisVideoStartEdgeConfigurationUpdateOutput
Parameters
request
A container for the necessary parameters to execute the StartEdgeConfigurationUpdate service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorNoDataRetention
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorResourceNotFound
. -
Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.
See
AWSKinesisVideoTagResourceInput
See
AWSKinesisVideoTagResourceOutput
Declaration
Objective-C
- (id)tagResource:(nonnull AWSKinesisVideoTagResourceInput *)request;
Swift
func tagResource(_ request: AWSKinesisVideoTagResourceInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the TagResource service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoTagResourceOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.
See
AWSKinesisVideoTagResourceInput
See
AWSKinesisVideoTagResourceOutput
Declaration
Objective-C
- (void)tagResource:(nonnull AWSKinesisVideoTagResourceInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoTagResourceOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func tagResource(_ request: AWSKinesisVideoTagResourceInput) async throws -> AWSKinesisVideoTagResourceOutput
Parameters
request
A container for the necessary parameters to execute the TagResource service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.
You must provide either the
StreamName
or theStreamARN
.This operation requires permission for the
KinesisVideo:TagStream
action.A Kinesis video stream can support up to 50 tags.
See
AWSKinesisVideoTagStreamInput
See
AWSKinesisVideoTagStreamOutput
Declaration
Objective-C
- (id)tagStream:(nonnull AWSKinesisVideoTagStreamInput *)request;
Swift
func tagStream(_ request: AWSKinesisVideoTagStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the TagStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoTagStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorInvalidResourceFormat
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Adds one or more tags to a stream. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.
You must provide either the
StreamName
or theStreamARN
.This operation requires permission for the
KinesisVideo:TagStream
action.A Kinesis video stream can support up to 50 tags.
See
AWSKinesisVideoTagStreamInput
See
AWSKinesisVideoTagStreamOutput
Declaration
Objective-C
- (void)tagStream:(nonnull AWSKinesisVideoTagStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoTagStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func tagStream(_ request: AWSKinesisVideoTagStreamInput) async throws -> AWSKinesisVideoTagStreamOutput
Parameters
request
A container for the necessary parameters to execute the TagStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorInvalidResourceFormat
,AWSKinesisVideoErrorTagsPerResourceExceededLimit
. -
Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don’t specify the value. If you specify a tag key that does not exist, it’s ignored.
See
AWSKinesisVideoUntagResourceInput
See
AWSKinesisVideoUntagResourceOutput
Declaration
Objective-C
- (id)untagResource:(nonnull AWSKinesisVideoUntagResourceInput *)request;
Swift
func untagResource(_ request: AWSKinesisVideoUntagResourceInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UntagResource service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUntagResourceOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Removes one or more tags from a signaling channel. In the request, specify only a tag key or keys; don’t specify the value. If you specify a tag key that does not exist, it’s ignored.
See
AWSKinesisVideoUntagResourceInput
See
AWSKinesisVideoUntagResourceOutput
Declaration
Objective-C
- (void)untagResource:(nonnull AWSKinesisVideoUntagResourceInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoUntagResourceOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func untagResource(_ request: AWSKinesisVideoUntagResourceInput) async throws -> AWSKinesisVideoUntagResourceOutput
Parameters
request
A container for the necessary parameters to execute the UntagResource service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
. -
Removes one or more tags from a stream. In the request, specify only a tag key or keys; don’t specify the value. If you specify a tag key that does not exist, it’s ignored.
In the request, you must provide the
StreamName
orStreamARN
.See
AWSKinesisVideoUntagStreamInput
See
AWSKinesisVideoUntagStreamOutput
Declaration
Objective-C
- (id)untagStream:(nonnull AWSKinesisVideoUntagStreamInput *)request;
Swift
func untagStream(_ request: AWSKinesisVideoUntagStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UntagStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUntagStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorInvalidResourceFormat
. -
Removes one or more tags from a stream. In the request, specify only a tag key or keys; don’t specify the value. If you specify a tag key that does not exist, it’s ignored.
In the request, you must provide the
StreamName
orStreamARN
.See
AWSKinesisVideoUntagStreamInput
See
AWSKinesisVideoUntagStreamOutput
Declaration
Objective-C
- (void)untagStream:(nonnull AWSKinesisVideoUntagStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoUntagStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func untagStream(_ request: AWSKinesisVideoUntagStreamInput) async throws -> AWSKinesisVideoUntagStreamOutput
Parameters
request
A container for the necessary parameters to execute the UntagStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorInvalidResourceFormat
. -
Increases or decreases the stream’s data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the
Operation
parameter in the request body. In the request, you must specify either theStreamName
or theStreamARN
.This operation requires permission for the
KinesisVideo:UpdateDataRetention
action.Changing the data retention period affects the data in the stream as follows:
If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.
If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.
See
AWSKinesisVideoUpdateDataRetentionInput
See
AWSKinesisVideoUpdateDataRetentionOutput
Declaration
Objective-C
- (id)updateDataRetention: (nonnull AWSKinesisVideoUpdateDataRetentionInput *)request;
Swift
func updateDataRetention(_ request: AWSKinesisVideoUpdateDataRetentionInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UpdateDataRetention service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUpdateDataRetentionOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorVersionMismatch
. -
Increases or decreases the stream’s data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the
Operation
parameter in the request body. In the request, you must specify either theStreamName
or theStreamARN
.This operation requires permission for the
KinesisVideo:UpdateDataRetention
action.Changing the data retention period affects the data in the stream as follows:
If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours.
If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.
See
AWSKinesisVideoUpdateDataRetentionInput
See
AWSKinesisVideoUpdateDataRetentionOutput
Declaration
Objective-C
- (void)updateDataRetention: (nonnull AWSKinesisVideoUpdateDataRetentionInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoUpdateDataRetentionOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func updateDataRetention(_ request: AWSKinesisVideoUpdateDataRetentionInput) async throws -> AWSKinesisVideoUpdateDataRetentionOutput
Parameters
request
A container for the necessary parameters to execute the UpdateDataRetention service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorVersionMismatch
. -
Updates the
StreamInfo
andImageProcessingConfiguration
fields.See
AWSKinesisVideoUpdateImageGenerationConfigurationInput
See
AWSKinesisVideoUpdateImageGenerationConfigurationOutput
Declaration
Objective-C
- (id)updateImageGenerationConfiguration: (nonnull AWSKinesisVideoUpdateImageGenerationConfigurationInput *)request;
Swift
func updateImageGenerationConfiguration(_ request: AWSKinesisVideoUpdateImageGenerationConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UpdateImageGenerationConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUpdateImageGenerationConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNoDataRetention
. -
Updates the
StreamInfo
andImageProcessingConfiguration
fields.See
AWSKinesisVideoUpdateImageGenerationConfigurationInput
See
AWSKinesisVideoUpdateImageGenerationConfigurationOutput
Declaration
Objective-C
- (void) updateImageGenerationConfiguration: (nonnull AWSKinesisVideoUpdateImageGenerationConfigurationInput *) request completionHandler: (void (^_Nullable)( AWSKinesisVideoUpdateImageGenerationConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func updateImageGenerationConfiguration(_ request: AWSKinesisVideoUpdateImageGenerationConfigurationInput) async throws -> AWSKinesisVideoUpdateImageGenerationConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the UpdateImageGenerationConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNoDataRetention
. -
Associates a
SignalingChannel
to a stream to store the media. There are two signaling modes that you can specify :If
StorageStatus
is enabled, the data will be stored in theStreamARN
provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.If
StorageStatus
is disabled, no data will be stored, and theStreamARN
parameter will not be needed.
If
StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call theJoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.See
AWSKinesisVideoUpdateMediaStorageConfigurationInput
See
AWSKinesisVideoUpdateMediaStorageConfigurationOutput
Declaration
Objective-C
- (id)updateMediaStorageConfiguration: (nonnull AWSKinesisVideoUpdateMediaStorageConfigurationInput *)request;
Swift
func updateMediaStorageConfiguration(_ request: AWSKinesisVideoUpdateMediaStorageConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UpdateMediaStorageConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUpdateMediaStorageConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorNoDataRetention
. -
Associates a
SignalingChannel
to a stream to store the media. There are two signaling modes that you can specify :If
StorageStatus
is enabled, the data will be stored in theStreamARN
provided. In order for WebRTC Ingestion to work, the stream must have data retention enabled.If
StorageStatus
is disabled, no data will be stored, and theStreamARN
parameter will not be needed.
If
StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call theJoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.See
AWSKinesisVideoUpdateMediaStorageConfigurationInput
See
AWSKinesisVideoUpdateMediaStorageConfigurationOutput
Declaration
Objective-C
- (void) updateMediaStorageConfiguration: (nonnull AWSKinesisVideoUpdateMediaStorageConfigurationInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoUpdateMediaStorageConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func updateMediaStorageConfiguration(_ request: AWSKinesisVideoUpdateMediaStorageConfigurationInput) async throws -> AWSKinesisVideoUpdateMediaStorageConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the UpdateMediaStorageConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorNoDataRetention
. -
Updates the notification information for a stream.
See
AWSKinesisVideoUpdateNotificationConfigurationInput
See
AWSKinesisVideoUpdateNotificationConfigurationOutput
Declaration
Objective-C
- (id)updateNotificationConfiguration: (nonnull AWSKinesisVideoUpdateNotificationConfigurationInput *)request;
Swift
func updateNotificationConfiguration(_ request: AWSKinesisVideoUpdateNotificationConfigurationInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UpdateNotificationConfiguration service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUpdateNotificationConfigurationOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNoDataRetention
. -
Updates the notification information for a stream.
See
AWSKinesisVideoUpdateNotificationConfigurationInput
See
AWSKinesisVideoUpdateNotificationConfigurationOutput
Declaration
Objective-C
- (void) updateNotificationConfiguration: (nonnull AWSKinesisVideoUpdateNotificationConfigurationInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoUpdateNotificationConfigurationOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func updateNotificationConfiguration(_ request: AWSKinesisVideoUpdateNotificationConfigurationInput) async throws -> AWSKinesisVideoUpdateNotificationConfigurationOutput
Parameters
request
A container for the necessary parameters to execute the UpdateNotificationConfiguration service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNoDataRetention
. -
Updates the existing signaling channel. This is an asynchronous operation and takes time to complete.
If the
MessageTtlSeconds
value is updated (either increased or reduced), it only applies to new messages sent via this channel after it’s been updated. Existing messages are still expired as per the previousMessageTtlSeconds
value.See
AWSKinesisVideoUpdateSignalingChannelInput
See
AWSKinesisVideoUpdateSignalingChannelOutput
Declaration
Objective-C
- (id)updateSignalingChannel: (nonnull AWSKinesisVideoUpdateSignalingChannelInput *)request;
Swift
func updateSignalingChannel(_ request: AWSKinesisVideoUpdateSignalingChannelInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UpdateSignalingChannel service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUpdateSignalingChannelOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorVersionMismatch
. -
Updates the existing signaling channel. This is an asynchronous operation and takes time to complete.
If the
MessageTtlSeconds
value is updated (either increased or reduced), it only applies to new messages sent via this channel after it’s been updated. Existing messages are still expired as per the previousMessageTtlSeconds
value.See
AWSKinesisVideoUpdateSignalingChannelInput
See
AWSKinesisVideoUpdateSignalingChannelOutput
Declaration
Objective-C
- (void)updateSignalingChannel: (nonnull AWSKinesisVideoUpdateSignalingChannelInput *)request completionHandler: (void (^_Nullable)( AWSKinesisVideoUpdateSignalingChannelOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func updateSignalingChannel(_ request: AWSKinesisVideoUpdateSignalingChannelInput) async throws -> AWSKinesisVideoUpdateSignalingChannelOutput
Parameters
request
A container for the necessary parameters to execute the UpdateSignalingChannel service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorAccessDenied
,AWSKinesisVideoErrorVersionMismatch
. -
Updates stream metadata, such as the device name and media type.
You must provide the stream name or the Amazon Resource Name (ARN) of the stream.
To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the
DescribeStream
API.UpdateStream
is an asynchronous operation, and takes time to complete.See
AWSKinesisVideoUpdateStreamInput
See
AWSKinesisVideoUpdateStreamOutput
Declaration
Objective-C
- (id)updateStream:(nonnull AWSKinesisVideoUpdateStreamInput *)request;
Swift
func updateStream(_ request: AWSKinesisVideoUpdateStreamInput) -> Any!
Parameters
request
A container for the necessary parameters to execute the UpdateStream service method.
Return Value
An instance of
AWSTask
. On successful execution,task.result
will contain an instance ofAWSKinesisVideoUpdateStreamOutput
. On failed execution,task.error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorVersionMismatch
. -
Updates stream metadata, such as the device name and media type.
You must provide the stream name or the Amazon Resource Name (ARN) of the stream.
To make sure that you have the latest version of the stream before updating it, you can specify the stream version. Kinesis Video Streams assigns a version to each stream. When you update a stream, Kinesis Video Streams assigns a new version number. To get the latest stream version, use the
DescribeStream
API.UpdateStream
is an asynchronous operation, and takes time to complete.See
AWSKinesisVideoUpdateStreamInput
See
AWSKinesisVideoUpdateStreamOutput
Declaration
Objective-C
- (void)updateStream:(nonnull AWSKinesisVideoUpdateStreamInput *)request completionHandler: (void (^_Nullable)(AWSKinesisVideoUpdateStreamOutput *_Nullable, NSError *_Nullable))completionHandler;
Swift
func updateStream(_ request: AWSKinesisVideoUpdateStreamInput) async throws -> AWSKinesisVideoUpdateStreamOutput
Parameters
request
A container for the necessary parameters to execute the UpdateStream service method.
completionHandler
The completion handler to call when the load request is complete.
response
- A response object, ornil
if the request failed.error
- An error object that indicates why the request failed, ornil
if the request was successful. On failed execution,error
may contain anNSError
withAWSKinesisVideoErrorDomain
domain and the following error code:AWSKinesisVideoErrorClientLimitExceeded
,AWSKinesisVideoErrorInvalidArgument
,AWSKinesisVideoErrorResourceNotFound
,AWSKinesisVideoErrorResourceInUse
,AWSKinesisVideoErrorNotAuthorized
,AWSKinesisVideoErrorVersionMismatch
.