aws-memorydb-cluster/src/main/java/software/amazon/memorydb/cluster/BaseHandlerStd.java [134:155]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected ProgressEvent<ResourceModel, CallbackContext> listTags(
            AmazonWebServicesClientProxy proxy,
            ProgressEvent<ResourceModel, CallbackContext> progress,
            ProxyClient<MemoryDbClient> proxyClient
    ) {

        if(!isArnPresent(progress.getResourceModel())) {
            return progress;
        }

        return proxy
                .initiate("AWS-MemoryDB-Cluster::ListTags", proxyClient, progress.getResourceModel(), progress.getCallbackContext())
                .translateToServiceRequest(Translator::translateToListTagsRequest)
                .makeServiceCall((awsRequest, client) -> handleExceptions(() -> client.injectCredentialsAndInvokeV2(awsRequest, client.client()::listTags)))
                .done( (listTagsRequest, listTagsResponse, proxyInvocation, resourceModel, context) -> {
                            if(CollectionUtils.isNotEmpty(listTagsResponse.tagList())) {
                                resourceModel.setTags(Translator.translateTags(listTagsResponse.tagList()));
                            }
                            return ProgressEvent.progress(resourceModel, context);
                        }
                );
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-memorydb-parametergroup/src/main/java/software/amazon/memorydb/parametergroup/BaseHandlerStd.java [127:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected ProgressEvent<ResourceModel, CallbackContext> listTags(
            AmazonWebServicesClientProxy proxy,
            ProgressEvent<ResourceModel, CallbackContext> progress,
            ProxyClient<MemoryDbClient> proxyClient
    ) {

        if(!isArnPresent(progress.getResourceModel())) {
            return progress;
        }

        return proxy
                .initiate("AWS-MemoryDB-ParameterGroup::ListTags", proxyClient, progress.getResourceModel(), progress.getCallbackContext())
                .translateToServiceRequest(Translator::translateToListTagsRequest)
                .makeServiceCall((awsRequest, client) -> handleExceptions(() -> client.injectCredentialsAndInvokeV2(awsRequest, client.client()::listTags)))
                .done( (listTagsRequest, listTagsResponse, proxyInvocation, resourceModel, context) -> {
                            if(CollectionUtils.isNotEmpty(listTagsResponse.tagList())) {
                                resourceModel.setTags(Translator.translateTags(listTagsResponse.tagList()));
                            }
                            return ProgressEvent.progress(resourceModel, context);
                        }
                );
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-memorydb-subnetgroup/src/main/java/software/amazon/memorydb/subnetgroup/BaseHandlerStd.java [150:171]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  protected ProgressEvent<ResourceModel, CallbackContext> listTags(
          AmazonWebServicesClientProxy proxy,
          ProgressEvent<ResourceModel, CallbackContext> progress,
          ProxyClient<MemoryDbClient> proxyClient
  ) {

    if(!isArnPresent(progress.getResourceModel())) {
      return progress;
    }

    return proxy
            .initiate("AWS-MemoryDB-SubnetGroup::ListTags", proxyClient, progress.getResourceModel(), progress.getCallbackContext())
            .translateToServiceRequest(Translator::translateToListTagsRequest)
            .makeServiceCall((awsRequest, client) -> handleExceptions(() -> client.injectCredentialsAndInvokeV2(awsRequest, client.client()::listTags)))
            .done( (listTagsRequest, listTagsResponse, proxyInvocation, resourceModel, context) -> {
                      if(CollectionUtils.isNotEmpty(listTagsResponse.tagList())) {
                        resourceModel.setTags(Translator.translateTags(listTagsResponse.tagList()));
                      }
                      return ProgressEvent.progress(resourceModel, context);
                    }
            );
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



