getAppInstanceStreamingConfigurations method

Future<GetAppInstanceStreamingConfigurationsResponse> getAppInstanceStreamingConfigurations({
  1. required String appInstanceArn,
})

Gets the streaming settings for an app instance.

May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw UnauthorizedClientException. May throw ThrottledClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter appInstanceArn : The ARN of the app instance.

Implementation

Future<GetAppInstanceStreamingConfigurationsResponse>
    getAppInstanceStreamingConfigurations({
  required String appInstanceArn,
}) async {
  ArgumentError.checkNotNull(appInstanceArn, 'appInstanceArn');
  _s.validateStringLength(
    'appInstanceArn',
    appInstanceArn,
    5,
    1600,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/app-instances/${Uri.encodeComponent(appInstanceArn)}/streaming-configurations',
    exceptionFnMap: _exceptionFns,
  );
  return GetAppInstanceStreamingConfigurationsResponse.fromJson(response);
}