Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default providers in services #353

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion all_apis/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ environment:
dependencies:
shared_aws_api:
path: ../shared_aws_api
aws_credential_providers:
path: ../aws_credential_providers

dev_dependencies:
test: ^1.16.8


dependency_overrides:
shared_aws_api:
path: ../shared_aws_api
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -35,7 +36,7 @@ class AccessAnalyzer {
AccessAnalyzer({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_accessanalyzer_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_acm_api/lib/acm-2015-12-08.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -24,7 +25,7 @@ class ACM {
ACM({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_acm_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_acm_pca_api/lib/acm-pca-2017-08-22.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -39,7 +40,7 @@ class ACMPCA {
ACMPCA({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_acm_pca_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -33,7 +34,7 @@ class AlexaForBusiness {
AlexaForBusiness({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_alexaforbusiness_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_amplify_api/lib/amplify-2017-07-25.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -31,7 +32,7 @@ class Amplify {
Amplify({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_amplify_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_apigateway_api/lib/apigateway-2015-07-09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -28,7 +29,7 @@ class APIGateway {
APIGateway({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_apigateway_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -29,7 +30,7 @@ class ApiGatewayManagementApi {
ApiGatewayManagementApi({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_apigatewaymanagementapi_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -24,7 +25,7 @@ class ApiGatewayV2 {
ApiGatewayV2({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_apigatewayv2_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_appconfig_api/lib/appconfig-2019-10-09.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -29,7 +30,7 @@ class AppConfig {
AppConfig({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_appconfig_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -96,7 +97,7 @@ class ApplicationAutoScaling {
ApplicationAutoScaling({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_application_autoscaling_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -28,7 +29,7 @@ class ApplicationInsights {
ApplicationInsights({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_application_insights_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_appmesh_api/lib/appmesh-2018-10-01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -55,7 +56,7 @@ class AppMesh {
AppMesh({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
3 changes: 2 additions & 1 deletion generated/aws_appmesh_api/lib/appmesh-2019-01-25.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -42,7 +43,7 @@ class AppMesh {
AppMesh({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_appmesh_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_appstream_api/lib/appstream-2016-12-01.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -38,7 +39,7 @@ class AppStream {
AppStream({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_appstream_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_appsync_api/lib/appsync-2017-07-25.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand All @@ -25,7 +26,7 @@ class AppSync {
AppSync({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.RestJsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_appsync_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


3 changes: 2 additions & 1 deletion generated/aws_athena_api/lib/athena-2017-05-18.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import 'dart:convert';
import 'dart:typed_data';

import 'package:aws_credential_providers/aws_credential_providers.dart';
import 'package:shared_aws_api/shared.dart' as _s;
import 'package:shared_aws_api/shared.dart'
show
Expand Down Expand Up @@ -42,7 +43,7 @@ class Athena {
Athena({
required String region,
_s.AwsClientCredentials? credentials,
_s.AwsClientCredentialsProvider? credentialsProvider,
_s.AwsClientCredentialsProvider? credentialsProvider = defaultProvider,
_s.Client? client,
String? endpointUrl,
}) : _protocol = _s.JsonProtocol(
Expand Down
1 change: 1 addition & 0 deletions generated/aws_athena_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ environment:

dependencies:
shared_aws_api: ^1.2.0
aws_credential_providers: ^0.0.2


Loading