getComponent method

Future<GetComponentOutput> getComponent({
  1. required String applicationId,
  2. required String componentId,
})

Gets the component of an application registered with AWS Systems Manager for SAP.

May throw InternalServerException. May throw UnauthorizedException. May throw ValidationException.

Parameter applicationId : The ID of the application.

Parameter componentId : The ID of the component.

Implementation

Future<GetComponentOutput> getComponent({
  required String applicationId,
  required String componentId,
}) async {
  final $payload = <String, dynamic>{
    'ApplicationId': applicationId,
    'ComponentId': componentId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/get-component',
    exceptionFnMap: _exceptionFns,
  );
  return GetComponentOutput.fromJson(response);
}