public List getClientPlugins()

in codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java [134:186]


    public List<RuntimeClientPlugin> getClientPlugins() {
        return ListUtils.of(
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.MIDDLEWARE_SIGNING.dependency, "AwsAuth", HAS_CONFIG)
                    .servicePredicate((m, s) -> isSigV4Service(s)
                            && isAwsService(s)
                            && !testServiceId(s, "STS")
                            && !areAllOptionalAuthOperations(m, s))
                    .build(),
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.MIDDLEWARE_SIGNING.dependency, "SigV4Auth", HAS_CONFIG)
                    .servicePredicate((m, s) -> isSigV4Service(s)
                            && !isAwsService(s)
                            && !areAllOptionalAuthOperations(m, s))
                    .build(),
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.STS_MIDDLEWARE.dependency,
                            "StsAuth", HAS_CONFIG)
                    .additionalResolveFunctionParamsSupplier((m, s, o) -> new HashMap<String, Object>() {{
                        put("stsClientCtor", Symbol.builder().name("STSClient").build());
                    }})
                    .servicePredicate((m, s) -> testServiceId(s, "STS"))
                    .build(),
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.MIDDLEWARE_SIGNING.dependency, "AwsAuth", HAS_MIDDLEWARE)
                    // See operationUsesAwsAuth() below for AwsAuth Middleware customizations.
                    .servicePredicate((m, s) -> isSigV4Service(s)
                            && isAwsService(s)
                            && !testServiceId(s, "STS")
                            && !hasOptionalAuthOperation(m, s))
                    .build(),
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.MIDDLEWARE_SIGNING.dependency, "SigV4Auth", HAS_MIDDLEWARE)
                    // See operationUsesAwsAuth() below for AwsAuth Middleware customizations.
                    .servicePredicate((m, s) -> isSigV4Service(s)
                            && !isAwsService(s)
                            && !hasOptionalAuthOperation(m, s))
                    .build(),
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.MIDDLEWARE_SIGNING.dependency, "AwsAuth", HAS_MIDDLEWARE)
                    .operationPredicate((m, s, o) -> isSigV4Service(s)
                            && isAwsService(s)
                            && operationUsesAwsAuth(m, s, o))
                    .build(),
            RuntimeClientPlugin.builder()
                    .withConventions(AwsDependency.MIDDLEWARE_SIGNING.dependency, "SigV4Auth", HAS_MIDDLEWARE)
                    .operationPredicate((m, s, o) -> isSigV4Service(s)
                            && !isAwsService(s)
                            && operationUsesAwsAuth(m, s, o))
                    .build()

        );
    }